:root {
  --ink: #1c1612;
  --ink-soft: #4a4038;
  --paper: #f3ece3;
  --paper-2: #e6ddd0;
  --white: #fbf7f2;
  --cedar: #c45c32;
  --cedar-deep: #8d3a1e;
  --rail: #141210;
  --line: rgba(28, 22, 18, 0.16);
  --display: "Instrument Serif", Georgia, serif;
  --body: "Sora", sans-serif;
  --header: 4.25rem;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cedar);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem var(--pad);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.mark {
  color: var(--ink);
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-name em {
  font-style: italic;
  font-weight: 400;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-nav a:hover {
  color: var(--cedar-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--cedar-deep);
  color: var(--white);
  min-height: 2.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cedar-deep);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 5.7rem);
}

h1 em {
  font-style: italic;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

.lede,
.prose p,
.spec p,
.jobs,
.reviews-note,
.area-copy p {
  color: var(--ink-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 1.25rem var(--pad) 2.5rem;
  min-height: calc(100svh - var(--header));
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 18px,
    rgba(28, 22, 18, 0.035) 18px,
    rgba(28, 22, 18, 0.035) 19px
  );
}

.lede {
  max-width: 38ch;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.8rem;
}

.phone {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  gap: 0.15rem;
}

.phone-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cedar-deep);
}

.phone {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  color: var(--ink);
  border-bottom: 2px solid var(--cedar);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.phone:hover {
  color: var(--cedar-deep);
  border-color: var(--ink);
}

.listing-figure {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.listing-figure a {
  color: var(--ink);
}

.hero-stage {
  position: relative;
  height: min(36rem, calc(100svh - var(--header) - 2.5rem));
  min-height: 26rem;
}

.elevation {
  width: auto;
  height: 100%;
  max-width: 100%;
  margin-left: auto;
  color: var(--ink);
  display: block;
}

.print {
  margin: 0;
  background: var(--white);
  padding: 0.55rem 0.55rem 0.45rem;
  box-shadow: 0 18px 40px rgba(28, 22, 18, 0.16);
  width: min(400px, 58%);
}

.print img {
  width: 100%;
  height: auto;
}

.print figcaption,
.about-photo figcaption,
.specimen figcaption {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.print-deck {
  position: absolute;
  top: 7%;
  left: 4%;
  transform: rotate(-1.4deg);
}

.print-frame {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(340px, 48%);
  transform: rotate(1.6deg);
}

.about,
.services,
.area {
  padding: 4.5rem var(--pad);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 420px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.prose p {
  margin: 0 0 1rem;
  max-width: 58ch;
}

.about-photo {
  margin: 0;
}

.about-photo img,
.specimen img {
  width: 100%;
  height: auto;
}

.services {
  background: var(--paper-2);
}

.services-head {
  max-width: 18ch;
  margin-bottom: 2.2rem;
}

.spec {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.spec li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease;
}

.spec li:hover {
  padding-left: 0.75rem;
}

.idx {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--cedar);
}

.spec p {
  margin: 0;
  max-width: 46ch;
}

.jobs {
  margin: 1.6rem 0 0;
  max-width: 68ch;
  font-size: 0.95rem;
}

.specimen {
  margin: 0 var(--pad) 0 auto;
  padding: 0 0 4.5rem;
  max-width: 26rem;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.4rem);
}

.reviews {
  background: var(--rail);
  color: var(--paper);
  padding: 4.5rem var(--pad) 4rem;
}

.reviews .kicker {
  color: #e7b49a;
}

.reviews-head {
  max-width: 20ch;
  margin-bottom: 2.5rem;
}

.reviews-note,
.reviews .reviews-more {
  color: rgba(243, 236, 227, 0.72);
}

.reviews-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

blockquote {
  margin: 0;
  padding: 1.4rem 1.4rem 1.2rem;
  border-top: 3px solid var(--cedar);
  background: rgba(243, 236, 227, 0.04);
}

blockquote p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

blockquote footer {
  margin-top: 1.1rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-style: italic;
}

blockquote footer span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 236, 227, 0.62);
}

.reviews-more {
  margin: 1.6rem 0 0;
}

.reviews-more a,
.text-link {
  color: inherit;
}

.area {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--line);
}

.area-copy p {
  max-width: 42ch;
}

.phone-large {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.site-footer {
  padding: 1.5rem var(--pad) 2.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: end;
}

.preview-note {
  margin: 0;
  max-width: 46ch;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.footer-line {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
}

.footer-line a {
  margin-left: 0.8rem;
  font-family: var(--body);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.quotes .reveal:nth-child(2) { animation-delay: 0.08s; }
.quotes .reveal:nth-child(3) { animation-delay: 0.16s; }
.spec .reveal:nth-child(2) { animation-delay: 0.05s; }
.spec .reveal:nth-child(3) { animation-delay: 0.1s; }
.spec .reveal:nth-child(4) { animation-delay: 0.15s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .btn-header {
    order: 2;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem var(--pad) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
    font-size: 1rem;
  }

  .hero,
  .about,
  .area {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    align-items: start;
  }

  .hero-stage {
    height: auto;
    min-height: 0;
    display: grid;
    gap: 0.9rem;
  }

  .elevation {
    height: auto;
    width: 100%;
    max-width: 16rem;
    margin-left: 0;
  }

  .print,
  .print-deck,
  .print-frame {
    position: static;
    width: 100%;
    max-width: 400px;
    transform: none;
  }

  .spec li:hover {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .btn,
  .spec li,
  .phone {
    transition: none;
  }
  [data-depth] {
    transform: none !important;
  }
}
