/* ============================================================
   MFP Therapy — spec preview
   Design system: charcoal ink + warm bone + sage / clay accents
   ============================================================ */

:root {
  /* color */
  --ink:        #1c1c1c;
  --ink-2:      #2a2a2a;
  --bone:       #f4f1ea;
  --bone-2:     #ece7dc;
  --paper:      #fbfaf6;
  --sage:       #5d6f5b;
  --sage-deep:  #455143;
  --sage-soft:  #e3e8df;
  --clay:       #c2a888;
  --clay-deep:  #a98c69;
  --line:       rgba(28,28,28,0.12);
  --line-light: rgba(244,241,234,0.18);
  --muted:      #5a564e;
  --muted-dark: rgba(244,241,234,0.72);

  /* type */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* fluid type scale */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.25vw, 1.13rem);
  --fs-lead:    clamp(1.15rem, 1.02rem + 0.6vw, 1.45rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  --fs-h2:      clamp(1.85rem, 1.25rem + 2.7vw, 3.4rem);
  --fs-h1:      clamp(2.35rem, 1.35rem + 4.6vw, 5.3rem);
  --fs-display: clamp(2.4rem, 1.4rem + 4.6vw, 5rem);

  /* space */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);

  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; overflow-wrap: break-word; text-wrap: balance; }
p { margin: 0; overflow-wrap: break-word; }
a { color: inherit; }

.wrap { width: min(100% - calc(var(--gutter) * 2), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bone); padding: 0.7rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2.5px solid var(--sage); outline-offset: 3px; border-radius: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; border-radius: 100px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(28,28,28,0.22); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--bone); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.22); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,241,234,0);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(247,245,239,0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 0; }

.brand { display: inline-flex; align-items: baseline; gap: 0.45rem; text-decoration: none; }
.brand-mark {
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-word {
  font-family: var(--sans); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--sage);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink); position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1.5px;
  background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink); color: var(--bone); padding: 0.6rem 1.25rem; border-radius: 100px;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--sage-deep); transform: translateY(-1px); }
.nav-cta--mobile { display: none; }

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-cta--mobile { display: inline-flex; font-size: 0.9rem; padding: 0.55rem 1.15rem; text-decoration: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--bone-2) 0%, var(--bone) 45%),
    var(--bone);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* soft clay glow, upper right */
.hero-glow {
  position: absolute; top: -14%; right: -6%;
  width: min(64vw, 720px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(194,168,136,0.5), rgba(194,168,136,0) 66%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.26; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: clamp(2.4rem, 2rem + 3vw, 3.6rem);
  padding-top: clamp(3.25rem, 2.4rem + 6vw, 6rem);
  padding-bottom: clamp(3.25rem, 2.4rem + 5vw, 5.5rem);
}
.hero-copy { max-width: 38rem; min-width: 0; }
.hero-stats, .hero-visual { min-width: 0; }

/* sage visual panel — lives in its own grid cell, never under the text */
.hero-visual { position: relative; min-height: 300px; }
.hero-panel {
  position: absolute; inset: 0;
  background:
    radial-gradient(135% 120% at 20% 12%, rgba(132,150,126,0.6) 0%, transparent 50%),
    radial-gradient(120% 130% at 88% 96%, rgba(18,18,18,0.6) 0%, transparent 58%),
    linear-gradient(152deg, var(--sage) 0%, var(--sage-deep) 54%, var(--ink-2) 118%);
  border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%;
  box-shadow: 0 44px 90px rgba(28,28,28,0.26), inset 0 1px 0 rgba(244,241,234,0.16);
  overflow: hidden; isolation: isolate;
}
/* grain inside the panel for depth */
.hero-panel::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.4; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.hero-panel-sheen {
  position: absolute; top: -30%; left: -20%; width: 80%; height: 90%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(244,241,234,0.22), transparent 62%);
  filter: blur(6px);
}
.hero-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-monogram {
  position: absolute; right: 5%; bottom: -5%; z-index: 1;
  font-family: var(--serif); font-weight: 700; font-size: clamp(5rem, 14vw, 11rem);
  line-height: 1; letter-spacing: -0.02em; color: rgba(244,241,234,0.09);
}
.hero-tag-chip {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: clamp(1.1rem, 5%, 1.9rem); z-index: 4; white-space: nowrap;
  display: inline-flex; align-items: center;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone);
  padding: 0.62rem 1.05rem; border-radius: 100px;
  background: rgba(28,28,28,0.32); border: 1px solid rgba(244,241,234,0.28);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 10px 26px rgba(20,24,20,0.32);
}
.hero-stroke { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.js .hero-stroke { animation: draw 2.4s var(--ease) 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* restricted "before" line fades in under the restored line */
.hero-before { opacity: 1; }
.js .hero-before { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-before { animation: fadeLine 1.2s var(--ease) 1.4s forwards; }
}
@keyframes fadeLine { to { opacity: 1; } }

/* focal assessment point breathes */
.hero-focal-ring { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-focal-ring { animation: focalPulse 3.6s var(--ease) 1.8s infinite; }
}
@keyframes focalPulse {
  0%, 100% { transform: scale(1); stroke-opacity: 0.55; }
  50%      { transform: scale(1.55); stroke-opacity: 0.1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-before { opacity: 1; animation: none !important; }
  .hero-focal-ring { animation: none !important; }
}

/* assessment nodes pulse in along the movement line */
.hero-node { transform-box: fill-box; transform-origin: center; }
.js .hero-node { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-node { animation: nodeIn 0.7s var(--ease) forwards; }
  .js .hero-node:nth-of-type(1) { animation-delay: 1.5s; }
  .js .hero-node:nth-of-type(2) { animation-delay: 1.75s; }
  .js .hero-node:nth-of-type(3) { animation-delay: 2s; }
  .js .hero-node:nth-of-type(4) { animation-delay: 2.25s; }
}
@keyframes nodeIn {
  0% { opacity: 0; transform: scale(0); }
  70% { opacity: 1; transform: scale(1.35); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stroke { animation: none !important; stroke-dashoffset: 0; }
  .js .hero-node { opacity: 1; animation: none !important; }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) clamp(17rem, 30vw, 25rem);
    column-gap: clamp(2rem, 4vw, 4.5rem); row-gap: clamp(2.4rem, 2vw, 3.4rem);
    align-items: center;
  }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-stats { grid-column: 1; grid-row: 2; }
  .hero-visual { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; min-height: clamp(360px, 38vw, 480px); }
}
.eyebrow {
  display: flex; align-items: flex-start; gap: 0.7rem; max-width: 100%;
  font-size: var(--fs-eyebrow); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sage-deep); font-weight: 600; margin-bottom: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay-deep); flex: none; margin-top: 0.5em; }
.eyebrow-text { min-width: 0; }
.hero-h {
  font-size: var(--fs-h1); color: var(--ink); margin-bottom: 1.7rem; letter-spacing: -0.025em;
  text-wrap: balance; line-height: 0.99;
}
.hero-h span { display: block; }
.hero-sub {
  font-size: var(--fs-lead); color: var(--muted); max-width: 40ch; line-height: 1.55; margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: clamp(2.8rem, 2rem + 4vw, 4.5rem); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.6rem);
  margin: 0; padding-top: 1.8rem; border-top: 1px solid var(--line); max-width: 46rem;
}
.hero-stats div { position: relative; padding-left: 1rem; }
.hero-stats div::before {
  content: ""; position: absolute; left: 0; top: 0.15rem; width: 2px; height: 1.5rem; background: var(--clay);
}
.hero-stats dt { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.hero-stats dd { margin: 0; font-family: var(--serif); font-size: clamp(1.02rem, 0.9rem + 0.5vw, 1.25rem); color: var(--ink); line-height: 1.2; }
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1.05rem; }
  .hero-h { letter-spacing: -0.02em; }
  .hero-visual { min-height: 260px; }
  .eyebrow { letter-spacing: 0.16em; }
}
@media (max-width: 380px) {
  .hero-tag-chip { font-size: 0.66rem; letter-spacing: 0.1em; padding: 0.5rem 0.85rem; }
}

/* ============================================================
   INTRO / ABOUT
   ============================================================ */
.intro { background: var(--paper); padding-block: var(--space-section); }
.intro-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 5vw, 5.5rem); align-items: center;
}
.intro-lead { position: relative; }
.section-tag {
  font-size: var(--fs-eyebrow); letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--sage); margin-bottom: 1.1rem;
}
.section-tag--light { color: var(--clay); }
.intro-h { font-size: var(--fs-h2); color: var(--ink); max-width: 16ch; text-wrap: balance; line-height: 1.06; }
.intro-body { position: relative; padding-left: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); }
.intro-body::before {
  content: ""; position: absolute; left: 0; top: 0.35rem; bottom: 0.35rem; width: 2px;
  background: linear-gradient(var(--clay), var(--sage)); border-radius: 2px;
}
.intro-body p { color: var(--muted); margin-bottom: 1.1rem; max-width: 42ch; }
.intro-body p:first-child { color: var(--ink-2); }
.intro-sign {
  font-family: var(--serif); font-style: italic; color: var(--sage-deep) !important; font-size: 1.15rem;
  margin-top: 1.6rem !important;
}
@media (max-width: 820px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-h { max-width: 22ch; }
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  background: var(--ink); color: var(--bone); padding-block: var(--space-section);
  position: relative; overflow: hidden;
}
.approach::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 50vw; height: 50vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(93,111,91,0.45), transparent 65%); pointer-events: none;
}
.approach-head { max-width: 30rem; margin-bottom: clamp(2.5rem, 2rem + 4vw, 4.5rem); position: relative; }
.approach-h { font-size: var(--fs-h2); color: var(--bone); }
.steps {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 3rem);
}
.step {
  position: relative; padding-top: 2.3rem; border-top: 1px solid var(--line-light);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.step::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--clay); box-shadow: 0 0 0 4px rgba(194,168,136,0.16);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover { border-top-color: rgba(216,189,151,0.55); transform: translateY(-4px); }
.step:hover::before { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(194,168,136,0.22); }
.step-num {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.7rem);
  color: transparent; -webkit-text-stroke: 1.3px var(--clay); line-height: 1; margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
}
.step:hover .step-num { color: var(--clay); }
.step-num { transition: color 0.4s var(--ease); }
.step-body h3 { font-size: var(--fs-h3); color: var(--bone); margin-bottom: 0.7rem; }
.step-body p { color: var(--muted-dark); max-width: 32ch; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-block: 1.8rem; }
  .step-body p { max-width: 46ch; }
}

/* ============================================================
   WHAT WE TREAT
   ============================================================ */
.work { background: var(--bone); padding-block: var(--space-section); }
.work-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start;
}
.work-intro { position: sticky; top: 6rem; }
.work-h { font-size: var(--fs-h2); margin-bottom: 1.2rem; max-width: 14ch; }
.work-lead { color: var(--muted); max-width: 38ch; margin-bottom: 1.8rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 600;
  color: var(--sage-deep); border-bottom: 1.5px solid transparent; padding-bottom: 2px;
}
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover { border-bottom-color: var(--sage); }
.link-arrow:hover span { transform: translateX(5px); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 0.5rem + 2vw, 1.6rem); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:nth-child(even) { transform: translateY(1.6rem); }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(28,28,28,0.1); border-color: transparent; }
.card:nth-child(even):hover { transform: translateY(calc(1.6rem - 6px)); }
.card h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.card p { color: var(--muted); }
@media (max-width: 820px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-intro { position: static; }
  .work-h { max-width: 20ch; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(even) { transform: none; }
  .card:nth-child(even):hover { transform: translateY(-6px); }
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement {
  background: var(--sage-deep); color: var(--bone); position: relative; overflow: hidden;
  padding-block: clamp(3rem, 2.2rem + 4.5vw, 5.5rem);
}
.statement::before {
  content: ""; position: absolute; top: -40%; left: -8%; width: 40vw; height: 40vw; max-width: 480px; max-height: 480px;
  background: radial-gradient(circle, rgba(194,168,136,0.28), transparent 65%); pointer-events: none;
}
.statement-grid {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: clamp(1.8rem, 1rem + 3vw, 4rem);
  align-items: center;
}
.statement-text {
  font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.8vw, 2.15rem); line-height: 1.32;
  max-width: 24ch; color: var(--bone); margin: 0;
}
.statement .btn-light { flex: none; white-space: nowrap; }
@media (max-width: 720px) {
  .statement-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--paper); padding-block: var(--space-section); }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center;
}
.contact-h { font-size: var(--fs-h2); margin-bottom: 1rem; }
.contact .section-tag--light { color: var(--clay-deep); }
.contact-sub { color: var(--muted); max-width: 34ch; font-size: var(--fs-lead); line-height: 1.5; }
.contact-actions { display: grid; gap: 0.4rem; }
.contact-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.contact-line:hover { padding-left: 0.6rem; }
.contact-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-family: var(--serif); font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.45rem); color: var(--ink); }
.contact-actions .btn { margin-top: 1.2rem; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--bone); padding-top: clamp(3rem, 2rem + 4vw, 5rem); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-light);
}
.footer-brand .brand-mark { color: var(--bone); }
.footer-brand .brand-word { color: var(--clay); }
.footer-tag { color: var(--muted-dark); margin-top: 0.8rem; max-width: 28ch; font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-nav a { color: var(--muted-dark); text-decoration: none; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--bone); }
.footer-base { padding-block: 1.6rem; }
.footer-base p { color: rgba(244,241,234,0.5); font-size: 0.85rem; }

/* spec footer (mandatory) */
.spec-footer {
  background: #141414; color: rgba(244,241,234,0.6); text-align: center;
  font-size: 0.82rem; padding: 1.1rem var(--gutter); line-height: 1.6;
}
.spec-footer a { color: var(--clay); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .js .reveal[data-delay="1"] { transition-delay: 0.08s; }
  .js .reveal[data-delay="2"] { transition-delay: 0.16s; }
  .js .reveal[data-delay="3"] { transition-delay: 0.24s; }
  .js .reveal[data-delay="4"] { transition-delay: 0.32s; }
  .js .reveal[data-delay="5"] { transition-delay: 0.4s; }
  .js .reveal[data-delay="6"] { transition-delay: 0.48s; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
