:root {
  --ink: #1f211c;
  --ink-soft: #4d5047;
  --bone: #f3eee6;
  --paper: #faf8f3;
  --olive: #5f6651;
  --olive-deep: #414738;
  --sand: #c7ae91;
  --clay: #9d614a;
  --line: rgba(31, 33, 28, .18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1280px;
  --pad: clamp(1.15rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
::selection { color: var(--paper); background: var(--olive-deep); }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .8rem 1rem; color: var(--paper); background: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: 78px; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(to bottom, rgba(18,20,16,.62), rgba(18,20,16,.18));
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  color: var(--ink); background: rgba(250,248,243,.94);
  border-color: var(--line); backdrop-filter: blur(16px) saturate(130%);
}
.nav-shell {
  width: min(100%, calc(var(--max) + 2 * var(--pad))); height: 100%;
  margin: auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem;
}
.brand {
  font-family: var(--serif); font-size: 1.08rem; letter-spacing: .15em; line-height: 1;
  white-space: nowrap;
}
.brand small { display: block; margin-top: .38rem; font: 500 .55rem/1 var(--sans); letter-spacing: .28em; opacity: .74; }
.primary-nav { justify-self: end; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.25vw, 2.25rem); margin: 0; padding: 0; }
.primary-nav a {
  position: relative; display: inline-grid; place-items: center; min-height: 44px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: currentColor; transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.nav-cta { border: 1px solid currentColor; padding: .7rem 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; color: inherit; background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 22px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.hero, .page-hero { position: relative; display: grid; overflow: hidden; color: #fff; background: var(--ink); }
.hero { min-height: 100svh; align-items: end; }
.page-hero { min-height: 78svh; align-items: end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78) contrast(.96); transform: scale(1.015); }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,17,13,.16) 10%, rgba(15,17,13,.12) 42%, rgba(15,17,13,.78) 100%); }
.hero-content {
  position: relative; z-index: 2; width: min(100%, calc(var(--max) + 2 * var(--pad)));
  margin: 0 auto; padding: clamp(8rem, 18vh, 13rem) var(--pad) clamp(3rem, 9vh, 7rem);
  min-width: 0;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr); align-items: end; gap: clamp(2rem, 7vw, 7rem); }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.25rem; font-size: .68rem; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .66; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 1050px; margin: 0; font-size: clamp(3.2rem, 8vw, 8.6rem); line-height: .88; }
.page-hero h1 { max-width: 980px; font-size: clamp(3.1rem, 7vw, 7.4rem); }
.hero-copy { margin: 0 0 .7rem; max-width: 28rem; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; color: rgba(255,255,255,.9); }
.hero-scroll { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.5rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll::after { content: "↓"; font-size: 1rem; }

.section { padding: clamp(5rem, 11vw, 10rem) var(--pad); }
.container { width: min(100%, var(--max)); margin: auto; min-width: 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(2.5rem, 9vw, 9rem); align-items: start; }
.section-label { margin: .5rem 0 0; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }
.display { margin: 0; font-size: clamp(2.7rem, 5.8vw, 6.2rem); line-height: .97; }
.lead { max-width: 44rem; margin: 2rem 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.75; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { position: relative; min-width: 0; min-height: 72vh; overflow: hidden; background: var(--ink); color: #fff; }
.service-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: saturate(.7); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15,16,13,.85) 100%); }
.service-card:hover img { transform: scale(1.035); filter: saturate(.9); }
.service-card-content { position: absolute; z-index: 2; inset: auto clamp(1.4rem,4vw,3.75rem) clamp(1.6rem,4vw,3.75rem); }
.service-number { display: block; margin-bottom: 1rem; font-size: .66rem; letter-spacing: .18em; opacity: .7; }
.service-card h2 { margin: 0; font-size: clamp(2.4rem, 4.3vw, 4.9rem); line-height: .98; }
.service-card p { max-width: 34rem; margin: 1rem 0 0; color: rgba(255,255,255,.84); }
.service-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; margin-top: 1.4rem; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.service-link::after { content: "↗"; font-size: 1rem; transition: transform .2s ease; }
.service-link:hover::after { transform: translate(3px,-3px); }

.statement { color: var(--paper); background: var(--olive-deep); }
.statement-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(260px,.6fr); gap: clamp(3rem,9vw,9rem); align-items: end; }
.statement blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 6.6rem); line-height: .97; letter-spacing: -.04em; }
.statement-copy { border-top: 1px solid rgba(255,255,255,.35); padding-top: 1.35rem; color: rgba(255,255,255,.76); }

.image-break { min-height: 72vh; background: var(--ink); }
.image-break img { width: 100%; height: 72vh; object-fit: cover; object-position: center; filter: saturate(.72); }

.process-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: clamp(3.5rem,8vw,7rem); }
.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 5rem minmax(0,.8fr) minmax(0,1fr); gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.process-item span { color: var(--olive); font-size: .7rem; letter-spacing: .16em; }
.process-item h3 { margin: -.25rem 0 0; font-size: clamp(1.7rem,2.7vw,2.8rem); line-height: 1; }
.process-item p { margin: 0; color: var(--ink-soft); }

.detail-intro { background: var(--bone); }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(3rem,8vw,8rem); align-items: center; }
.detail-image { aspect-ratio: 4/5; overflow: hidden; background: var(--sand); }
.detail-image img { height: 100%; object-fit: cover; filter: saturate(.75); }
.detail-copy h2 { margin: 0; font-size: clamp(2.8rem,5vw,5.7rem); line-height: .96; }
.detail-copy > p { margin: 1.6rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.offer-list { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.offer-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.offer-list li::before { content: "—"; color: var(--clay); }

.editorial-band { background: var(--ink); color: var(--paper); }
.editorial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(2rem,5vw,5rem); }
.editorial-item { min-width: 0; border-top: 1px solid rgba(255,255,255,.28); padding-top: 1.4rem; }
.editorial-item span { font-size: .65rem; letter-spacing: .17em; opacity: .58; }
.editorial-item h3 { margin: 2rem 0 1rem; font-size: clamp(1.8rem,3vw,3rem); line-height: 1.04; }
.editorial-item p { margin: 0; color: rgba(255,255,255,.67); }

.cta-section { text-align: center; background: var(--sand); }
.cta-section .eyebrow { justify-content: center; }
.cta-section h2 { max-width: 980px; margin: auto; font-size: clamp(3rem,7vw,7.6rem); line-height: .9; }
.cta-section p { max-width: 40rem; margin: 1.8rem auto 0; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 2.3rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .8rem 1.25rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.button:hover { color: var(--paper); background: var(--ink); }
.button.dark { color: var(--paper); background: var(--ink); }
.button.dark:hover { color: var(--ink); background: transparent; }

.site-footer { padding: 3rem var(--pad) 2rem; color: rgba(255,255,255,.74); background: var(--ink); }
.footer-grid { width: min(100%,var(--max)); margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-brand { color: #fff; font-family: var(--serif); font-size: clamp(2rem,4vw,4rem); letter-spacing: -.03em; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.2rem; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-note { width: min(100%,var(--max)); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 1rem; font-size: .65rem; opacity: .62; }

.toast { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; max-width: min(390px,calc(100vw - 2rem)); padding: 1rem 1.2rem; color: #fff; background: var(--ink); box-shadow: 0 12px 40px rgba(0,0,0,.25); visibility: hidden; opacity: 0; transform: translateY(1rem); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.toast.show { visibility: visible; opacity: 1; transform: none; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { height: 68px; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .nav-cta { display: none; }
  .primary-nav {
    position: fixed; inset: 68px 0 auto; max-height: 0; overflow: hidden;
    justify-self: stretch; color: var(--ink); background: var(--paper);
    transition: max-height .3s ease; border-bottom: 1px solid transparent;
  }
  .primary-nav.open { max-height: calc(100svh - 68px); border-color: var(--line); }
  .primary-nav ul { display: block; padding: 1rem var(--pad) 2rem; }
  .primary-nav a { display: flex; justify-content: space-between; width: 100%; min-height: 54px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .hero-grid, .intro-grid, .statement-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
  .statement-copy { max-width: 36rem; }
  .process-head { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-item + .editorial-item { margin-top: 1rem; }
}

@media (max-width: 720px) {
  .hero { min-height: 92svh; }
  .page-hero { min-height: 72svh; }
  h1 { font-size: clamp(3.15rem,16vw,5.3rem); overflow-wrap: anywhere; }
  .page-hero h1 { font-size: clamp(3rem,14vw,5rem); }
  .hero-content { padding-bottom: 2.5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 68vh; }
  .process-item { grid-template-columns: 2.6rem minmax(0,1fr); gap: 1rem; }
  .process-item p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { justify-content: flex-start; }
  .footer-note { display: block; }
  .footer-note span { display: block; margin-top: .45rem; }
}

@media (max-width: 360px) {
  :root { --pad: 1rem; }
  .brand { font-size: .92rem; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .display { font-size: 2rem; overflow-wrap: normal; hyphens: auto; }
  .service-card h2 { font-size: 2.3rem; overflow-wrap: anywhere; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
