/* ============================================================================
   F U C I N A  ·  Forged Intelligence
   Editorial single-page site.  Brand-locked palette & typography.
   ============================================================================ */

/* ─────────────────  TOKENS  ───────────────── */
:root {
  /* Palette — exact brand-guide hex */
  --cream:        #F4EFE6;
  --cream-deep:   #EAE3D4;
  --stone:        #D7CFBE;
  --taupe:        #9C9082;
  --olive:        #6B6A45;
  --ink:          #1A1A1A;
  --noir:         #0E0E0C;
  --terracotta:   #A6552E;
  --ember:        #C97B3D;

  /* Functional */
  --bg:           var(--cream);
  --bg-dark:      var(--noir);
  --type:         var(--ink);
  --type-soft:    #4A4A48;
  --type-muted:   #7A7468;
  --rule:         #C9C0AE;
  --rule-dark:    #2A2825;

  /* Type families */
  --serif:  'Cormorant Garamond', 'EB Garamond', Garamond, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Layout */
  --measure-text: 60ch;
  --container:    1240px;
  --gutter:       max(24px, 5vw);

  /* Motion */
  --ease:    cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-in: cubic-bezier(0.6, 0, 0.4, 1);
  --slow:    1100ms;
  --med:     650ms;
  --fast:    280ms;

  /* Nav height (used to offset content) */
  --nav-h:   72px;
}

/* ─────────────────  RESET  ───────────────── */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Sticky-nav offset for in-page anchors */
#house, #disciplines, #portfolio, #voice, #apply, .counsel, .strip { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
body, h1, h2, h3, h4, p, ul, ol, li, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
input, textarea { background: transparent; border: 0; outline: 0; }
fieldset { border: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--terracotta); color: var(--cream); }

/* ─────────────────  BASE  ───────────────── */
body {
  background: var(--bg);
  color: var(--type);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Subtle paper texture via two soft radial gradients */
  background-image:
    radial-gradient(ellipse 1200px 800px at 12% -10%, rgba(166,85,46,.045), transparent 60%),
    radial-gradient(ellipse 1000px 700px at 105% 110%, rgba(107,106,69,.05), transparent 60%);
  background-attachment: fixed;
}

/* Type primitives */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.display em { font-style: italic; font-weight: 400; }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--type-soft);
  max-width: 56ch;
}

.caps {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--type-muted);
}

.chapter {
  color: var(--terracotta);
  letter-spacing: 0.32em;
  margin-bottom: var(--s-5);
}

.rule {
  display: inline-block;
  width: 56px;
  height: 1px;
  background: var(--rule);
  vertical-align: middle;
}

.dot { color: var(--rule); margin: 0 var(--s-2); }

/* ─────────────────  CONTAINER  ───────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ─────────────────  BUTTONS  ───────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--med) var(--ease),
    color var(--med) var(--ease),
    border-color var(--med) var(--ease),
    transform var(--med) var(--ease);
  user-select: none;
}
.btn--ember   { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.btn--ember:hover { background: var(--noir); border-color: var(--noir); color: var(--cream); }
.btn--ghost   { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--lg      { padding: 18px 28px; font-size: 12px; letter-spacing: 0.28em; }
.btn svg path { transition: transform var(--med) var(--ease); }
.btn:hover svg { animation: arrow .55s var(--ease); }
@keyframes arrow {
  0% { transform: translateX(0); }
  50% { transform: translateX(4px); opacity: .4; }
  51% { transform: translateX(-6px); opacity: 0; }
  52% { transform: translateX(-6px); opacity: .4; }
  100% { transform: translateX(0); opacity: 1; }
}

/* ─────────────────  NAV  ───────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: background var(--med) var(--ease), border-color var(--med) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--rule);
}
.nav.is-light {
  /* over hero (dark image) */
  color: var(--cream);
}
.nav.is-light:not(.is-scrolled) .nav__cta { color: var(--cream); border-color: rgba(244,239,230,.5); }
.nav.is-light:not(.is-scrolled) .nav__cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.nav.is-light:not(.is-scrolled) .nav__links a { color: rgba(244,239,230,.85); }
.nav.is-light:not(.is-scrolled) .nav__links a:hover { color: var(--cream); }

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-6);
}
.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
}
.nav__brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  width: 28px; height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
}
.nav__brand-mark sup { color: var(--terracotta); font-size: 0.5em; position: absolute; right: 4px; top: 2px; }
.nav__brand-word {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.32em;
  font-weight: 500;
}
.nav__links {
  justify-self: center;
  display: flex;
  gap: var(--s-7);
}
.nav__links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--type-soft);
  transition: color var(--fast) var(--ease);
}
.nav__links a:hover { color: var(--terracotta); }
.nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--ink);
  padding: 11px 18px;
  color: var(--ink);
  transition: background var(--med) var(--ease), color var(--med) var(--ease);
}
.nav__cta-short { display: none; }
.nav__cta:hover { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.nav__cta svg { transition: transform var(--med) var(--ease); }
.nav__cta:hover svg { transform: translateX(3px); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; gap: var(--s-4); padding: 14px var(--gutter); }
  .nav__brand-word { font-size: 16px; letter-spacing: 0.28em; }
}
@media (max-width: 520px) {
  .nav__cta-full { display: none; }
  .nav__cta-short { display: inline; }
  .nav__cta { padding: 10px 14px; font-size: 10.5px; letter-spacing: 0.22em; }
}

/* ─────────────────  HERO  ───────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  isolation: isolate;
  padding: var(--s-10) var(--gutter) var(--s-9);
}
.hero__art {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
}
.hero__art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  transform: scale(1.04);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,12,.55) 0%, rgba(14,14,12,.35) 30%, rgba(14,14,12,.65) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(14,14,12,0) 0%, rgba(14,14,12,.45) 100%);
}
.hero__inner {
  max-width: 880px;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-6);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  color: rgba(244,239,230,.78);
}
.hero__eyebrow .rule { background: rgba(244,239,230,.4); width: 48px; }
.hero__eyebrow .caps { color: rgba(244,239,230,.85); letter-spacing: 0.28em; }
.hero__monogram { color: var(--cream); margin-top: var(--s-3); }
.hero__monogram svg { opacity: .92; }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 7.6vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--cream);
  margin-top: var(--s-3);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.15em; margin-bottom: -0.15em; }
.hero__title .line em {
  font-style: italic;
  font-weight: 400;
  color: rgba(244,239,230,.92);
}
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
  font-style: italic;
  font-weight: 400;
  color: rgba(244,239,230,.86);
  max-width: 56ch;
  margin-top: var(--s-3);
}
.hero__actions {
  display: flex; gap: var(--s-4); flex-wrap: wrap; justify-content: center;
  margin-top: var(--s-4);
}
.hero__actions .btn--ghost {
  border-color: rgba(244,239,230,.6);
  color: var(--cream);
}
.hero__actions .btn--ghost:hover {
  background: var(--cream); color: var(--ink); border-color: var(--cream);
}
.hero__meta {
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; justify-content: center;
  color: rgba(244,239,230,.7);
  margin-top: var(--s-5);
}
.hero__meta .caps { color: rgba(244,239,230,.78); letter-spacing: 0.32em; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(244,239,230,.7);
}
.hero__scroll .caps { color: rgba(244,239,230,.7); letter-spacing: 0.32em; }
.hero__scroll-line {
  display: block; width: 1px; height: 56px; background: rgba(244,239,230,.4);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: var(--cream);
  animation: scrolldot 2.6s var(--ease) infinite;
}
@keyframes scrolldot {
  0% { top: -50%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* Reveal animations on hero load */
.hero__eyebrow, .hero__monogram, .hero__title .line, .hero__lede,
.hero__actions, .hero__meta {
  opacity: 0; transform: translateY(14px);
  animation: rise var(--slow) var(--ease) forwards;
}
.hero__eyebrow   { animation-delay: 120ms; }
.hero__monogram  { animation-delay: 280ms; }
.hero__title .line:nth-child(1) { animation-delay: 440ms; }
.hero__title .line:nth-child(2) { animation-delay: 580ms; }
.hero__lede      { animation-delay: 760ms; }
.hero__actions   { animation-delay: 920ms; }
.hero__meta      { animation-delay: 1060ms; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────  HOUSE NOTE STRIP  ───────────────── */
.strip {
  background: var(--cream-deep);
  padding: var(--s-8) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.strip__quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 60ch;
  margin: 0 auto var(--s-4);
}
.strip__attr { color: var(--terracotta); }

/* ─────────────────  HOUSE  ───────────────── */
.house {
  padding: clamp(64px, 9vw, 144px) var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.house__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.house__figure { position: relative; }
.house__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--rule);
  filter: saturate(0.96);
}
.house__figure figcaption {
  margin-top: var(--s-3);
  color: var(--type-muted);
}
.house__copy { padding-top: var(--s-4); }
.house__copy h2 { margin-bottom: var(--s-5); position: relative; }
.house__copy h2::after {
  content: "";
  display: block;
  width: 64px; height: 1px;
  background: var(--terracotta);
  margin-top: 18px;
}
.house__sections { margin-top: var(--s-7); display: grid; gap: var(--s-6); }
.house__sec h3 {
  color: var(--terracotta);
  margin-bottom: var(--s-2);
}
.house__sec p {
  font-size: 16px;
  color: var(--type);
  line-height: 1.65;
  max-width: var(--measure-text);
}

@media (max-width: 900px) {
  .house__grid { grid-template-columns: 1fr; }
  .house__figure img { aspect-ratio: 3 / 4; }
}

/* ─────────────────  DISCIPLINES  ───────────────── */
.disciplines {
  background: var(--cream-deep);
  padding: clamp(72px, 10vw, 160px) var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.disciplines__head {
  max-width: var(--container);
  margin: 0 auto var(--s-9);
  text-align: left;
}
.disciplines__head .display { max-width: 18ch; margin-bottom: var(--s-5); }
.disciplines__head .lede { max-width: 60ch; }

.disc-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.disc {
  position: relative;
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color var(--med) var(--ease);
}
.disc:hover { border-top-color: var(--terracotta); }
.disc__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: var(--s-3);
}
.disc__kicker { color: var(--terracotta); margin-bottom: var(--s-1); }
.disc__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.disc__body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--type-soft);
  max-width: 36ch;
}
.disc__for {
  margin-top: auto;
  padding-top: var(--s-5);
  color: var(--type-muted);
  letter-spacing: 0.22em;
  border-top: 1px dashed var(--rule);
}

@media (max-width: 900px) {
  .disc-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .disc__body { max-width: var(--measure-text); }
}

/* ─────────────────  COUNSEL IMAGE  ───────────────── */
.counsel {
  position: relative;
  padding: 0;
}
.counsel__fig {
  position: relative;
  width: 100%;
  height: clamp(420px, 70vh, 760px);
  overflow: hidden;
}
.counsel__fig img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.counsel__caption {
  position: absolute;
  left: var(--gutter);
  bottom: var(--s-5);
  background: rgba(244,239,230,.86);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.4);
}
.counsel__caption .caps { color: var(--terracotta); }

/* ─────────────────  PORTFOLIO  ───────────────── */
.portfolio {
  padding: clamp(72px, 10vw, 160px) var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.portfolio__head { margin-bottom: var(--s-9); max-width: 760px; }
.portfolio__head .display { margin-bottom: var(--s-5); max-width: 18ch; }

.portfolio__case {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding-top: var(--s-7);
  border-top: 1px solid var(--ink);
}
.portfolio__case + .portfolio__case {
  margin-top: clamp(48px, 6vw, 96px);
}
.portfolio__meta { padding-top: var(--s-2); display: grid; gap: var(--s-3); }
.portfolio__meta .caps:first-child { color: var(--terracotta); }
.portfolio__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--s-5);
  letter-spacing: -0.005em;
}
.portfolio__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--type-soft);
  max-width: 60ch;
  margin-bottom: 0;
}
.portfolio__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5) var(--s-6);
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
}
.portfolio__notes li {
  display: grid; gap: 4px;
}
.portfolio__notes-k { color: var(--type-muted); }
.portfolio__notes-v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}
.portfolio__footnote {
  margin-top: var(--s-9);
  text-align: center;
  color: var(--type-muted);
  letter-spacing: 0.32em;
}

@media (max-width: 900px) {
  .portfolio__case { grid-template-columns: 1fr; }
  .portfolio__notes { grid-template-columns: 1fr; }
}

/* ─────────────────  VOICE & TONE  ───────────────── */
.voice {
  background: var(--noir);
  color: var(--cream);
  padding: clamp(72px, 10vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.voice::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(166,85,46,.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(107,106,69,.16), transparent 60%);
  pointer-events: none;
}
.voice__head {
  max-width: var(--container);
  margin: 0 auto var(--s-9);
  position: relative;
}
.voice__head .display { color: var(--cream); margin-bottom: var(--s-5); max-width: 16ch; }
.voice__head .lede { color: rgba(244,239,230,.78); max-width: 60ch; }
.voice__head .chapter { color: var(--ember); }

.principles {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  position: relative;
}
.principles li {
  padding-top: var(--s-5);
  border-top: 1px solid rgba(244,239,230,.18);
}
.principles li .caps {
  color: var(--ember);
  font-style: italic;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: var(--s-3);
}
.principles li h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: var(--s-2);
  color: var(--cream);
}
.principles li p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(244,239,230,.72);
}

@media (max-width: 900px) {
  .principles { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .principles { grid-template-columns: 1fr; }
}

/* ─────────────────  TAGLINE PANEL  ───────────────── */
.tagline {
  background: var(--noir);
  color: var(--cream);
  text-align: center;
  padding: var(--s-9) var(--gutter);
  border-top: 1px solid rgba(244,239,230,.12);
}
.tagline__line {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin-bottom: var(--s-4);
}
.tagline__attr { color: var(--ember); letter-spacing: 0.32em; }

/* ─────────────────  APPLY  ───────────────── */
.apply {
  padding: clamp(72px, 10vw, 160px) var(--gutter);
  max-width: 980px;
  margin-inline: auto;
}
.apply__head { text-align: center; margin-bottom: var(--s-9); }
.apply__head .display { margin-bottom: var(--s-5); }
.apply__head .lede { margin-inline: auto; }

.form { display: grid; gap: var(--s-6); }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.field { display: grid; gap: 10px; }
.field > .caps { color: var(--type-muted); }
.field input, .field textarea {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1.5px solid var(--ink);
  transition: border-color var(--med) var(--ease), background var(--med) var(--ease);
  width: 100%;
  min-height: 52px;
}
.field textarea {
  resize: vertical;
  font-size: 17px;
  line-height: 1.5;
  border: 1px solid var(--rule);
  padding: 14px 16px;
  background: rgba(255,255,255,.5);
}
.field input:focus, .field textarea:focus {
  border-color: var(--terracotta);
  background: rgba(255,255,255,.7);
}
.field--note { margin-top: var(--s-2); }

.intent {
  display: grid; gap: 10px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-6) 0;
}
.intent legend {
  color: var(--type-muted);
  margin-bottom: var(--s-4);
  padding: 0;
}
.intent__opt {
  display: grid;
  grid-template-columns: 28px auto 1fr;
  align-items: start;
  gap: var(--s-4);
  padding: 18px 20px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: border-color var(--med) var(--ease), background var(--med) var(--ease), transform var(--med) var(--ease);
}
.intent__opt:hover { border-color: var(--ink); background: rgba(255,255,255,.6); }
.intent__opt input { /* radio dot */
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  margin-top: 4px;
  position: relative;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease);
}
.intent__opt input:checked {
  border-color: var(--terracotta);
}
.intent__opt input:checked::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--terracotta);
}
.intent__opt:has(input:checked) {
  border-color: var(--terracotta);
  background: rgba(166,85,46,.06);
}
.intent__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--terracotta);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  padding-top: 1px;
}
.intent__copy {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--type-soft);
}
.intent__copy strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.form__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap;
  margin-top: var(--s-3);
}
.form__note { color: var(--type-muted); }
.form__note a { color: var(--terracotta); border-bottom: 1px solid var(--terracotta); padding-bottom: 1px; }

.form__success {
  text-align: center;
  padding: var(--s-9) var(--s-5);
  border: 1px solid var(--terracotta);
  background: rgba(166,85,46,.05);
}
.form__success-title { color: var(--terracotta); margin-bottom: var(--s-3); }

@media (max-width: 720px) {
  .form__row { grid-template-columns: 1fr; }
  .intent__opt { grid-template-columns: 22px 1fr; }
  .intent__num { display: none; }
}

/* ─────────────────  FOOTER  ───────────────── */
.footer {
  background: var(--noir);
  color: var(--cream);
  padding: clamp(72px, 8vw, 128px) var(--gutter) var(--s-7);
  border-top: 1px solid rgba(244,239,230,.1);
}
.footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: var(--s-9);
}
.footer__brand {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.footer__brand .nav__brand-mark { color: var(--cream); border-color: rgba(244,239,230,.6); }
.footer__brand .nav__brand-mark sup { color: var(--ember); }
.footer__word {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.32em;
  color: var(--cream);
}
.footer__sub {
  margin-left: auto;
  color: rgba(244,239,230,.55);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  border-top: 1px solid rgba(244,239,230,.12);
  border-bottom: 1px solid rgba(244,239,230,.12);
  padding: var(--s-7) 0;
}
.footer__label {
  color: var(--ember);
  margin-bottom: var(--s-4);
  letter-spacing: 0.32em;
}
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols a {
  font-family: var(--serif);
  font-size: 19px;
  color: rgba(244,239,230,.85);
  transition: color var(--fast) var(--ease);
}
.footer__cols a:hover { color: var(--ember); }
.footer__cols li {
  font-family: var(--serif);
  font-size: 19px;
  color: rgba(244,239,230,.85);
}

.footer__tagline {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  padding: var(--s-3) 0;
}

.footer__base {
  display: flex; justify-content: space-between; gap: var(--s-5);
  color: rgba(244,239,230,.45);
  border-top: 1px solid rgba(244,239,230,.08);
  padding-top: var(--s-5);
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .footer__cols { grid-template-columns: 1fr; gap: var(--s-7); padding: var(--s-7) 0; }
  .footer__brand { flex-direction: column; gap: 6px; }
  .footer__sub { margin-left: 0; }
  .footer__base { flex-direction: column; }
}

/* ─────────────────  REVEAL ON SCROLL  ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--slow) var(--ease),
    transform var(--slow) var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--right { transform: translateX(28px); }
.reveal--right.is-in { transform: translateX(0); }
.reveal--left  { transform: translateX(-28px); }
.reveal--left.is-in  { transform: translateX(0); }

/* Stagger children — each child also acts as its own reveal target,
   so long sections (where later children are far below the fold)
   still animate in when reached. */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--slow) var(--ease),
    transform var(--slow) var(--ease);
}
.reveal-stagger.is-in > *,
.reveal-stagger > *.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 60ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 220ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 380ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 540ms; }
