/* ==========================================================================
   Studio Del Cadia — design system
   ========================================================================== */

:root {
  --bg: #FAF8F4;
  --bg-alt: #F2EEE6;
  --sage: #E8ECE4;
  --surface: #FFFFFF;
  --ink: #16202E;
  --ink-soft: #465063;
  --muted: #7B8291;
  --line: #E4DED2;
  --line-strong: #CFC6B6;
  --accent: #9A7B4F;
  --accent-deep: #7A5F38;
  --accent-tint: #F3ECE0;

  --font-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(22, 32, 46, .04), 0 12px 32px -12px rgba(22, 32, 46, .12);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }

.display {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  line-height: .98;
  letter-spacing: -0.025em;
}
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink-soft); max-width: 40ch; }
.muted { color: var(--muted); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { color: #fff; }

.arrow { width: 16px; height: 16px; flex: none; }

.link-underline {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease), color .3s;
}
.link-underline:hover { background-size: 100% 1px; color: var(--accent-deep); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 248, 244, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { width: 44px; height: 44px; flex: none; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 1.45rem; letter-spacing: -.01em; }
.brand__sub { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: block; padding: 10px 14px;
  font-size: .92rem; color: var(--ink-soft); transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { padding: 12px 20px; font-size: .88rem; }

.nav__toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 27px; }
.nav-open .nav__toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0;
  font-family: var(--font-serif); font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.1;
  transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.mobile-nav li a small { font-family: var(--font-sans); font-size: .75rem; color: var(--muted); letter-spacing: .12em; }
.nav-open .mobile-nav li a { transform: none; opacity: 1; }
.nav-open .mobile-nav li:nth-child(2) a { transition-delay: .05s; }
.nav-open .mobile-nav li:nth-child(3) a { transition-delay: .1s; }
.nav-open .mobile-nav li:nth-child(4) a { transition-delay: .15s; }
.nav-open .mobile-nav li:nth-child(5) a { transition-delay: .2s; }
.mobile-nav__foot { font-size: .92rem; color: var(--ink-soft); display: grid; gap: 4px; }
.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { position: relative; padding: 168px 0 0; overflow: hidden; isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero h1 { margin: 28px 0 36px; }
.hero .lead { margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__aside { position: relative; padding-bottom: 12px; }
.hero__year {
  font-family: var(--font-serif); font-size: clamp(6rem, 15vw, 13rem); line-height: .8;
  letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  user-select: none; margin-bottom: 28px;
}
.hero__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.hero__card blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.25; }
.hero__card figcaption { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.hero__card::before {
  content: "“"; position: absolute; top: -26px; left: 22px; font-family: var(--font-serif);
  font-size: 5rem; line-height: 1; color: var(--accent);
}

.hero__orbit {
  position: absolute; z-index: -1; right: -12vw; top: 40px; width: min(820px, 80vw); aspect-ratio: 1;
  color: var(--line); pointer-events: none;
}
.hero__orbit circle { fill: none; stroke: currentColor; stroke-width: 1; }
.hero__orbit .dot { fill: var(--accent); stroke: none; }
.orbit-spin { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}
.stat { padding: 32px 32px 36px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__value { font-family: var(--font-serif); font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; }
.stat__value sup { font-size: .45em; color: var(--accent); vertical-align: top; margin-left: 4px; }
.stat__label { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); }

/* Page hero (inner pages) */
.page-hero { padding: 180px 0 clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { margin: 24px 0 28px; max-width: 14ch; }
.page-hero .display { font-size: clamp(3rem, 7.4vw, 6.4rem); }
.page-hero__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.breadcrumb { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--line); background: var(--bg); overflow: hidden;
  padding: 26px 0; white-space: nowrap; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 48s linear infinite; padding-right: 48px; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 48px;
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--ink-soft);
}
.marquee__track span::after { content: "✦"; font-size: .5em; color: var(--accent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--sage { background: var(--sage); }
.section--ink { background: var(--ink); color: #EDEAE3; }
.section--ink .eyebrow { color: #B9B4AA; }
.section--ink .h2 em, .section--ink .h3 em { color: #CDB083; }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin-top: 20px; }
.section-head--stack { grid-template-columns: 1fr; max-width: 820px; }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.split__sticky { position: sticky; top: 120px; }
.prose { font-size: 1.08rem; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose--large { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--ink); }
.prose--large em { color: var(--accent); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.service {
  position: relative; display: grid; grid-template-columns: 80px 1.1fr 1.4fr 48px; gap: 32px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--line-strong); isolation: isolate;
  transition: padding .5s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--surface); opacity: 0; transition: opacity .5s var(--ease);
}
.service:hover::before { opacity: 1; }
.service:hover { padding-inline: 12px; }
.service__num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--accent); }
.service__title { font-family: var(--font-serif); font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; }
.service__desc { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.service__go {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s, color .4s, transform .5s var(--ease);
}
.service:hover .service__go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
.service > a::after { content: ""; position: absolute; inset: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 30px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-deep);
  display: grid; place-items: center;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1.1; }
.card p { color: var(--ink-soft); font-size: .95rem; }

/* Focus panels */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.focus__panel {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 5vw, 64px); min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: var(--surface); border: 1px solid var(--line);
}
.focus__panel--dark { background: var(--ink); color: #EDEAE3; border-color: var(--ink); }
.focus__panel--dark .muted { color: #A9AEB8; }
.focus__panel--dark .h3 em { color: #CDB083; }
.focus__panel .tag {
  align-self: flex-start; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; opacity: .7;
}
.focus__panel .h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 16px; }
.focus__art { position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; opacity: .5; color: var(--line-strong); }
.focus__panel--dark .focus__art { color: #2E3A4D; opacity: 1; }
.focus__art circle, .focus__art path { fill: none; stroke: currentColor; stroke-width: 1; }
.focus__panel > :not(.focus__art) { position: relative; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { padding: 40px 40px 8px 0; border-top: 1px solid rgba(237, 234, 227, .2); position: relative; }
.step + .step { padding-left: 40px; border-left: 1px solid rgba(237, 234, 227, .2); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-serif); font-size: 4.5rem; line-height: 1; color: #CDB083; margin-bottom: 28px;
}
.step h3 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 12px; }
.step p { color: #B9BCC4; }
.steps--light .step { border-color: var(--line-strong); }
.steps--light .step::before { color: var(--accent); }
.steps--light .step p { color: var(--ink-soft); }
.steps--four { grid-template-columns: repeat(4, 1fr); }
.steps--four .step { padding-right: 28px; }
.steps--four .step + .step { padding-left: 28px; }
.steps--four .step::before { font-size: 3.4rem; }
.steps--four .step h3 { font-size: 1.6rem; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cred {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent;
  display: flex; flex-direction: column; gap: 18px;
}
.cred__seal {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
}
.cred__seal svg { width: 26px; height: 26px; }
.cred h3 { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.15; }
.cred p { font-size: .92rem; color: var(--ink-soft); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 48px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 12px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
}
.timeline li:last-child::before { background: var(--accent); }
.timeline__year { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.timeline h3 { font-family: var(--font-serif); font-size: 1.6rem; margin: 10px 0 6px; }
.timeline p { color: var(--ink-soft); }

/* Service detail */
.detail { display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 40px; padding: 64px 0; border-top: 1px solid var(--line-strong); scroll-margin-top: 100px; }
.detail:last-child { border-bottom: 1px solid var(--line-strong); }
.detail__num { font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; color: var(--accent); }
.detail h2 { font-family: var(--font-serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.detail h2 em { color: var(--accent); }
.detail__body p { color: var(--ink-soft); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: baseline; font-size: .98rem; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 1px; background: var(--accent); transform: translateY(-4px);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: .92rem; color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 10px);
  background: var(--ink); color: #EDEAE3; padding: clamp(48px, 8vw, 112px);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end;
}
.cta-band .h2 em { color: #CDB083; }
.cta-band p { color: #B9BCC4; max-width: 42ch; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-band__art { position: absolute; right: -140px; bottom: -220px; width: 560px; height: 560px; color: #26324A; pointer-events: none; }
.cta-band__art circle { fill: none; stroke: currentColor; stroke-width: 1; }
.cta-band > *:not(.cta-band__art) { position: relative; }
.cta-band .link-underline { color: #EDEAE3; }
.cta-band .link-underline:hover { color: #CDB083; }

/* --------------------------------------------------------------------------
   Contact & forms
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.info-list li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.info-list dt, .info-list .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info-list .v { font-size: 1.05rem; word-break: break-word; }
.info-list a.v:hover { color: var(--accent-deep); }

.map-card {
  margin-top: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  overflow: hidden; display: block; transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.map-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.map-card svg { width: 100%; height: auto; }
.map-card__foot { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-top: 1px solid var(--line); font-size: .92rem; }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow);
}
.form h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 8px; }
.form__intro { color: var(--ink-soft); margin-bottom: 32px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .82rem; font-weight: 500; color: var(--ink-soft); padding: 0; }
.field label span[aria-hidden] { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--bg); transition: border-color .3s, background .3s, box-shadow .3s;
  font-size: 1rem;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-tint);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #B4533E; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span {
  display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: .92rem; transition: all .3s var(--ease); background: var(--bg);
}
.radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.form__note { font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; font-size: .92rem; padding: 14px 16px; border-radius: var(--radius-sm); display: none; }
.form__status.is-ok { display: block; background: var(--sage); color: #2F4A33; }
.form__status.is-err { display: block; background: #F6E4DF; color: #8A3624; }

/* Legal page */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--font-serif); font-size: 2rem; margin: 56px 0 16px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding: clamp(80px, 10vw, 128px) 0 36px; background: var(--bg); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 72px; }
.footer__claim { font-family: var(--font-serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; max-width: 14ch; margin-top: 28px; }
.footer__claim em { color: var(--accent); }
.footer__col h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a, .footer__col li { font-size: .95rem; color: var(--ink-soft); }
.footer__col a:hover { color: var(--ink); }
.footer__wordmark {
  font-family: var(--font-serif); font-size: clamp(4rem, 15.5vw, 15rem); line-height: .85; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; user-select: none;
  margin-bottom: 36px; overflow: hidden;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 28px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted);
}
.footer__bottom a:hover { color: var(--ink); }
.footer__legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.credit { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.credit svg { width: 12px; height: 12px; fill: var(--accent); }
.credit strong { font-weight: 500; color: var(--ink); transition: color .3s; }
.credit a:hover strong { color: var(--accent-deep); }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .reveal[data-delay="4"] { transition-delay: .4s; }

.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .12em 0; margin: 0 -.12em -.12em 0; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .split-words.is-visible .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .split-words .w > span { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .steps--four { grid-template-columns: repeat(2, 1fr); }
  .steps--four .step:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
  .hero__grid, .page-hero__row, .section-head, .split, .contact-grid, .cta-band, .focus { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .hero { padding-top: 136px; }
  .hero__year { font-size: clamp(5rem, 26vw, 9rem); margin-bottom: 20px; }
  .service { grid-template-columns: 48px 1fr 40px; gap: 16px 20px; }
  .service__desc { grid-column: 2 / 3; grid-row: 2; }
  .service > a { grid-row: 1; grid-column: 3; }
  .service__go { width: 40px; height: 40px; }
  .steps, .creds { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; }
  .detail { grid-template-columns: 1fr; gap: 20px; padding: 48px 0; }
  .focus__panel { min-height: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 72px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.25rem; }
  .brand__sub { white-space: nowrap; letter-spacing: .12em; font-size: .6rem; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr; }
  .steps--four { grid-template-columns: 1fr; }
  .steps--four .step, .steps--four .step + .step { padding-left: 0; border-left: 0; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
