/* =========================================================
   Metis Advisory Group — site layer
   site/site.css
   ---------------------------------------------------------
   Shared chrome and components for every page. Tokens (color,
   type, spacing, motion) come from colors_and_type.css, which
   each page links first. Page files keep only what is unique
   to them.

   Brand rules this file follows:
   · 60% bone neutrals · 30% deep indigo · 10% charred plum
   · Libre Franklin Light for body, Libre Caslon italic for the
     accent word in a headline, never for whole paragraphs
   · Line-art glyphs as imagery; no photography, no gradients
     louder than a breath
   · Restrained radii, indigo-tinted shadows
   ========================================================= */

/* ---------- Base ---------- */
html { scroll-padding-top: 96px; }
/* In-page anchors glide natively; smooth-scroll.js takes over on desktop. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--bone-200);
  color: var(--metis-deep-indigo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--metis-charred-plum); color: var(--bone-200); }
a { color: inherit; }
img { max-width: 100%; }
em.s, h1 em, h2 em, h3 em, .s-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--metis-charred-plum);
  letter-spacing: -0.01em;
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--bone-200); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em, .on-dark em.s { color: var(--plum-300); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--metis-deep-indigo); color: var(--bone-200); padding: 10px 16px; border-radius: 8px; font-size: 13px; text-decoration: none; border: 0; }
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }
.wrap--narrow { max-width: 920px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--metis-charred-plum); margin: 0;
}
.eyebrow--rule::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.on-dark .eyebrow { color: var(--plum-300); }

.display {
  font-size: clamp(52px, 7.4vw, 108px);
  font-weight: 300; letter-spacing: -0.035em; line-height: 0.98;
  margin: 22px 0 28px; text-wrap: balance;
}
.h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 300; letter-spacing: -0.028em; line-height: 1.02;
  margin: 16px 0 0; text-wrap: balance;
}
.lede { font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--slate-700); max-width: 600px; margin: 0; }
.on-dark .lede { color: var(--slate-300); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.005em; line-height: 1;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.btn svg { transition: transform 260ms var(--ease-out); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--metis-charred-plum); color: var(--bone-200); }
.btn--primary:hover { background: var(--plum-600); color: var(--bone-200); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(76,46,69,0.28); }
.btn--ghost { background: transparent; color: var(--metis-deep-indigo); border-color: rgba(28,30,63,0.2); }
.btn--ghost:hover { background: rgba(28,30,63,0.05); color: var(--metis-deep-indigo); border-color: rgba(28,30,63,0.32); }
.btn--light { background: var(--bone-200); color: var(--metis-deep-indigo); }
.btn--light:hover { background: var(--bone-100); color: var(--metis-deep-indigo); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.btn--line-light { background: transparent; color: var(--bone-200); border-color: rgba(246,244,242,0.3); }
.btn--line-light:hover { background: rgba(246,244,242,0.08); color: var(--bone-200); border-color: rgba(246,244,242,0.5); }
.btn--sm { padding: 11px 16px; font-size: 13px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--metis-charred-plum); text-decoration: none; border: 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 3px; transition: background-size 320ms var(--ease-out), color 200ms var(--ease-out);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--plum-600); }
.on-dark .link-arrow { color: var(--plum-300); }
.on-dark .link-arrow:hover { color: var(--bone-200); }

/* ---------- Header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; height: 72px; z-index: 100;
  display: flex; align-items: center; padding: 0 48px; box-sizing: border-box;
  background: rgba(246,244,242,0); border-bottom: 1px solid transparent;
  transition: background 280ms var(--ease-out), border-color 280ms var(--ease-out), backdrop-filter 280ms;
}
.top.is-scrolled, .top.is-open {
  background: rgba(246,244,242,0.86);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(28,30,63,0.07);
}
.top .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; border: 0; color: var(--metis-deep-indigo); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; flex-shrink: 0; }
.top .brand img { height: 34px; width: 34px; object-fit: contain; transition: transform 600ms var(--ease-out); }
.top .brand:hover img { transform: rotate(-8deg); }
.top nav { display: flex; align-items: center; gap: 30px; margin-left: 48px; flex: 1; justify-content: flex-end; padding-right: 22px; }
.top nav a {
  position: relative; font-size: 13px; font-weight: 400; text-decoration: none; border: 0;
  color: var(--slate-700); padding: 6px 0; transition: color 180ms var(--ease-out);
}
.top nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--metis-charred-plum); transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.top nav a:hover { color: var(--metis-deep-indigo); }
.top nav a:hover::after, .top nav a[aria-current="page"]::after { transform: scaleX(1); }
.top nav a[aria-current="page"] { color: var(--metis-deep-indigo); font-weight: 500; }
.top nav .nav-insights { display: inline-flex; align-items: center; gap: 7px; }
.pulse-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--metis-charred-plum); flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--metis-charred-plum); opacity: 0; animation: metisPulse 2.6s var(--ease-out) infinite; }
@keyframes metisPulse { 0% { transform: scale(0.4); opacity: 0.8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.nav-toggle { display: none; }
.nav-cta-mobile { display: none; }

/* ---------- Footer ---------- */
.foot {
  background: var(--metis-deep-indigo); color: var(--bone-200);
  padding: 96px 0 36px; position: relative; overflow: hidden;
}
.foot .wm { position: absolute; right: -90px; bottom: -110px; height: 460px; opacity: 0.05; pointer-events: none; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 44px; position: relative; }
.foot .tagline { font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.3; max-width: 330px; margin: 0 0 28px; }
.foot .letter { display: block; max-width: 320px; padding: 18px 20px; border: 1px solid rgba(246,244,242,0.14); border-radius: 12px; text-decoration: none; color: var(--bone-200); transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out); }
.foot .letter:hover { border-color: rgba(192,164,181,0.5); background: rgba(246,244,242,0.04); color: var(--bone-200); }
.foot .letter b { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--plum-300); margin-bottom: 6px; }
.foot .letter span { font-size: 14px; line-height: 1.5; }
.foot h2 { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--plum-300); margin: 6px 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot ul a { font-size: 14px; font-weight: 300; color: var(--bone-200); text-decoration: none; border: 0; opacity: 0.86; transition: opacity 180ms, color 180ms; }
.foot ul a:hover { opacity: 1; color: var(--plum-200); }
.foot-base {
  position: relative; margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(246,244,242,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--slate-400); letter-spacing: 0.04em;
}
.foot-base .motto { font-family: var(--font-display); font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: 128px 0; position: relative; }
.section--tight { padding: 88px 0; }
.section--raised { background: var(--bone-100); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section--dark { background: var(--metis-deep-indigo); color: var(--bone-200); overflow: hidden; }
.section--dark .h2 { color: var(--bone-200); }
.sec-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: end; margin-bottom: 64px; }
.sec-head p { font-size: 17px; line-height: 1.65; color: var(--slate-700); margin: 0; max-width: 520px; }
.on-dark .sec-head p, .section--dark .sec-head p { color: var(--slate-300); }
.center { text-align: center; }

/* Page hero for interior pages */
.page-hero { padding: 168px 0 72px; position: relative; overflow: hidden; }
.page-hero .glyph { position: absolute; right: 64px; top: 150px; width: 220px; color: var(--metis-charred-plum); opacity: 0.16; pointer-events: none; }
.page-hero .actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.page-hero--dark { background: var(--metis-deep-indigo); color: var(--bone-200); }
.page-hero--dark .display { color: var(--bone-200); }
.page-hero--plum { background: var(--plum-900); color: var(--bone-200); }
.page-hero--plum .display { color: var(--bone-200); }
.page-hero--dark .glyph, .page-hero--plum .glyph { color: var(--plum-300); opacity: 0.22; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--slate-600); margin-bottom: 22px; }
.crumbs a { text-decoration: none; border: 0; color: inherit; }
.crumbs a:hover { color: var(--metis-charred-plum); }
.on-dark .crumbs { color: var(--slate-400); }
.on-dark .crumbs a:hover { color: var(--plum-200); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip-static { font-size: 12px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(28,30,63,0.14); color: var(--slate-700); }
.on-dark .chip-static { border-color: rgba(246,244,242,0.18); color: var(--slate-300); }

/* Top-of-page dark sections need a light header */
body.header-on-dark .top:not(.is-scrolled):not(.is-open) .brand,
body.header-on-dark .top:not(.is-scrolled):not(.is-open) nav a { color: var(--bone-200); }
body.header-on-dark .top:not(.is-scrolled):not(.is-open) nav a[aria-current="page"] { color: var(--bone-200); }
body.header-on-dark .top:not(.is-scrolled):not(.is-open) nav a::after { background: var(--plum-300); }
body.header-on-dark .top:not(.is-scrolled):not(.is-open) .brand img { filter: brightness(0) invert(0.95); }
body.header-on-dark .top:not(.is-scrolled):not(.is-open) .nav-toggle { color: var(--bone-200); }
body.header-on-dark .top:not(.is-scrolled):not(.is-open) .pulse-dot { background: var(--plum-300); }
body.header-on-dark .top:not(.is-scrolled):not(.is-open) .btn--primary { background: var(--bone-200); color: var(--metis-deep-indigo); }

/* ---------- Doors: the two service tracks ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 380px; padding: 44px 44px 40px; border-radius: 20px; box-sizing: border-box;
  text-decoration: none; border: 0; color: var(--bone-200);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.door--biz { background: var(--metis-deep-indigo); }
.door--ind { background: var(--metis-charred-plum); }
.door:hover { color: var(--bone-200); transform: translateY(-4px); box-shadow: 0 30px 60px rgba(28,30,63,0.22); }
.door .door-glyph { position: absolute; right: -30px; top: -30px; width: 260px; color: var(--plum-300); opacity: 0.16; transition: transform 900ms var(--ease-out), opacity 400ms; pointer-events: none; }
.door--ind .door-glyph { color: var(--plum-200); }
.door:hover .door-glyph { transform: rotate(-14deg) scale(1.06); opacity: 0.24; }
.door .kicker { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--plum-300); }
.door--ind .kicker { color: var(--plum-200); }
.door h3 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.04; margin: 18px 0 14px; color: var(--bone-200); max-width: 440px; }
.door h3 em { color: var(--plum-200); }
.door p { font-size: 15.5px; line-height: 1.6; color: rgba(246,244,242,0.78); margin: 0; max-width: 420px; }
.door ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.door li { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(246,244,242,0.2); color: rgba(246,244,242,0.88); }
.door .go {
  margin-top: auto; padding-top: 36px; display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
}
.door .go .circle {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(246,244,242,0.35);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 320ms var(--ease-out), color 320ms var(--ease-out), border-color 320ms;
}
.door:hover .go .circle { background: var(--bone-200); color: var(--metis-deep-indigo); border-color: var(--bone-200); }
.door--ind:hover .go .circle { color: var(--metis-charred-plum); }

/* ---------- Offering cards ---------- */
.offerings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offer {
  background: var(--bone-100); border: 1px solid var(--border-soft); border-radius: 16px;
  padding: 36px 34px 32px; display: flex; flex-direction: column; position: relative;
}
.offer .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--metis-charred-plum); }
.offer .glyph { position: absolute; right: 28px; top: 28px; width: 64px; height: 64px; color: var(--metis-charred-plum); opacity: 0.7; }
.offer .glyph svg { width: 100%; height: 100%; }
.offer h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; margin: 18px 0 12px; max-width: 80%; }
.offer > p { font-size: 15px; line-height: 1.6; color: var(--slate-700); margin: 0 0 22px; }
.offer .format { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--metis-charred-plum); margin: -8px 0 20px; }
.offer ul { list-style: none; padding: 18px 0 0; margin: 0 0 26px; border-top: 1px solid var(--border-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.offer li { font-size: 13.5px; line-height: 1.45; color: var(--slate-800); padding-left: 16px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--plum-300); }
.offer .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Signal / moment cards ---------- */
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.signal {
  display: flex; flex-direction: column; gap: 18px; min-height: 200px; box-sizing: border-box;
  padding: 30px 28px 26px; border-radius: 16px; background: var(--bone-100); border: 1px solid var(--border-soft);
  text-decoration: none; color: inherit;
}
.signal .q { font-family: var(--font-display); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--metis-deep-indigo); margin: 0; }
.signal .a { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--metis-charred-plum); font-weight: 500; }
.signal .a .arr { transition: transform 260ms var(--ease-out); }
a.signal:hover .a .arr { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--border); }
.step { padding: 30px 28px 8px 0; position: relative; }
.step::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--metis-charred-plum); box-shadow: 0 0 0 5px var(--bone-200);
}
.section--raised .step::before { box-shadow: 0 0 0 5px var(--bone-100); }
.step .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--slate-600); }
.step h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; margin: 12px 0 4px; }
.step .verb { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--metis-charred-plum); margin-bottom: 12px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--slate-700); margin: 0; max-width: 260px; }

/* ---------- Diagnostics (accordion cards) ---------- */
.diag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.diag {
  background: var(--bone-100); border: 1px solid var(--border-soft); border-radius: 14px;
  padding: 30px 32px; scroll-margin-top: 110px; transition: border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.diag:target { border-color: rgba(76,46,69,0.45); box-shadow: 0 0 0 4px rgba(76,46,69,0.08); }
.diag .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.diag h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.25; margin: 0; }
.diag .acro { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--metis-charred-plum); padding: 4px 10px; border-radius: 999px; background: rgba(76,46,69,0.08); flex-shrink: 0; }
.diag p { font-size: 14px; line-height: 1.6; color: var(--slate-700); margin: 0; }
.diag details { margin-top: 14px; }
.diag summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--metis-charred-plum); font-weight: 500; }
.diag summary::-webkit-details-marker { display: none; }
.diag summary::after { content: "+"; font-size: 15px; transition: transform 240ms var(--ease-out); }
.diag details[open] summary::after { transform: rotate(45deg); }
.diag .extra { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); font-size: 13.5px; line-height: 1.6; color: var(--slate-700); }
.diag .extra .link-arrow { margin-top: 14px; }

/* ---------- Movements ---------- */
.movements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.move .glyph-box { height: 116px; color: var(--metis-deep-indigo); margin-bottom: 26px; display: flex; align-items: flex-end; }
.move .glyph-box svg { width: 116px; height: 116px; }
.move .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--slate-600); }
.move h3 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 46px; line-height: 1; letter-spacing: -0.015em; color: var(--metis-charred-plum); margin: 10px 0 14px; }
.move .tag { font-size: 17px; font-weight: 500; margin-bottom: 12px; }
.move p { font-size: 14.5px; line-height: 1.65; color: var(--slate-700); margin: 0; max-width: 340px; }

/* ---------- Insight cards (shared by home, insights, service pages, articles) ---------- */
.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.essay {
  display: flex; flex-direction: column; box-sizing: border-box; min-height: 300px;
  padding: 30px 28px 26px; border-radius: 16px; background: var(--bone-100); border: 1px solid var(--border-soft);
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
}
.essay .glyph { height: 52px; width: 52px; color: var(--metis-deep-indigo); opacity: 0.85; margin-bottom: 26px; }
.essay .glyph svg { width: 100%; height: 100%; }
.essay .topic { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--metis-charred-plum); font-weight: 500; margin-bottom: 12px; }
.essay h3 { font-size: 22px; font-weight: 500; line-height: 1.22; letter-spacing: -0.012em; margin: 0 0 12px; text-wrap: balance; color: var(--metis-deep-indigo); }
.essay p { font-size: 14px; line-height: 1.58; color: var(--slate-700); margin: 0 0 22px; }
.essay .foot-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--slate-600); padding-top: 16px; border-top: 1px solid var(--border-soft); }
.essay .foot-row .go { color: var(--metis-charred-plum); transition: transform 260ms var(--ease-out); }
a.essay:hover .foot-row .go { transform: translateX(4px); }
.essay--desk { background: transparent; border-style: dashed; border-color: rgba(28,30,63,0.16); min-height: 0; }
.essay--desk h3 { font-weight: 400; color: var(--slate-800); }
.essay--desk .topic { color: var(--slate-600); }

.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-empty { font-size: 15px; color: var(--slate-600); }

/* ---------- Spotlight: Insights band on the home page ---------- */
.spotlight { background: var(--metis-deep-indigo); color: var(--bone-200); position: relative; overflow: hidden; padding: 136px 0 128px; }
.spotlight .halo { position: absolute; width: 900px; height: 900px; right: -320px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(124,76,111,0.32), rgba(124,76,111,0) 62%); pointer-events: none; }
.spotlight .orbit { position: absolute; right: 4%; top: 80px; width: 340px; color: var(--plum-300); opacity: 0.14; pointer-events: none; }
.spot-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: stretch; position: relative; }
.spot-feature {
  display: flex; flex-direction: column; text-decoration: none; border: 0; color: var(--bone-200);
  padding: 44px 44px 36px; border-radius: 20px; min-height: 420px; box-sizing: border-box;
  background: linear-gradient(160deg, rgba(246,244,242,0.07), rgba(246,244,242,0.02));
  border: 1px solid rgba(246,244,242,0.12); position: relative; overflow: hidden;
  transition: border-color 320ms var(--ease-out), transform 420ms var(--ease-out);
}
.spot-feature:hover { color: var(--bone-200); border-color: rgba(192,164,181,0.45); transform: translateY(-3px); }
.spot-feature .badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(192,164,181,0.35); color: var(--plum-200); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.spot-feature .badge .pulse-dot { background: var(--plum-300); }
.spot-feature .badge .pulse-dot::after { border-color: var(--plum-300); }
.spot-feature .meta { margin-top: 30px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum-300); }
.spot-feature h3 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 300; line-height: 1.08; letter-spacing: -0.025em; margin: 14px 0 18px; color: var(--bone-200); text-wrap: balance; }
.spot-feature p { font-size: 16px; line-height: 1.6; color: var(--slate-300); margin: 0; max-width: 520px; }
.spot-feature .cta { margin-top: auto; padding-top: 34px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum-200); }
.spot-feature .cta svg { transition: transform 260ms var(--ease-out); }
.spot-feature:hover .cta svg { transform: translateX(4px); }
.spot-feature .wm-glyph { position: absolute; right: -40px; bottom: -40px; width: 220px; color: var(--plum-300); opacity: 0.12; pointer-events: none; }
.spot-side { display: flex; flex-direction: column; }
.spot-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(246,244,242,0.14); }
.spot-list li { border-bottom: 1px solid rgba(246,244,242,0.14); }
.spot-list a { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 24px 4px; text-decoration: none; border: 0; color: var(--bone-200); transition: padding 300ms var(--ease-out); }
.spot-list a:hover { padding-left: 12px; color: var(--bone-200); }
.spot-list .t { font-size: 19px; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.spot-list .m { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum-300); }
.spot-list .arr { color: var(--plum-300); transition: transform 260ms var(--ease-out); }
.spot-list a:hover .arr { transform: translateX(4px); }
.spot-pillars { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.spot-pillars a { font-size: 12px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(246,244,242,0.18); color: var(--slate-300); text-decoration: none; transition: border-color 200ms, color 200ms; }
.spot-pillars a:hover { border-color: var(--plum-300); color: var(--bone-200); }
.spot-actions { margin-top: auto; padding-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Latest-essay pill */
.latest-pill {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%; box-sizing: border-box;
  padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--bone-100); border: 1px solid rgba(28,30,63,0.1);
  text-decoration: none; color: var(--metis-deep-indigo); font-size: 13px; box-shadow: var(--shadow-xs);
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.latest-pill:hover { border-color: rgba(76,46,69,0.35); box-shadow: var(--shadow-sm); color: var(--metis-deep-indigo); }
.latest-pill .tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: var(--metis-charred-plum); color: var(--bone-200); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; flex-shrink: 0; }
.latest-pill .tag .pulse-dot { background: var(--plum-200); width: 5px; height: 5px; }
.latest-pill .tag .pulse-dot::after { border-color: var(--plum-200); }
.latest-pill .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.latest-pill .arr { color: var(--metis-charred-plum); flex-shrink: 0; transition: transform 240ms var(--ease-out); }
.latest-pill:hover .arr { transform: translateX(3px); }

/* ---------- Marquee ---------- */
@keyframes metisMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); }
.marquee .track { display: flex; width: max-content; animation: metisMarquee 80s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .item { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.15; color: var(--metis-deep-indigo); }
.marquee .item em { color: var(--metis-charred-plum); font-style: italic; }
.marquee .item .diamond { display: inline-block; width: 10px; height: 10px; margin: 0 52px; transform: rotate(45deg); background: var(--metis-charred-plum); }

/* ---------- Closing CTA ---------- */
.closing { padding: 160px 0; text-align: center; position: relative; overflow: hidden; }
.closing .h2 { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -0.035em; margin: 20px auto 26px; max-width: 980px; }
.closing p.sub { font-size: 18px; line-height: 1.6; color: var(--slate-700); max-width: 560px; margin: 0 auto 40px; }
.closing .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.closing .ambient { position: absolute; width: 220px; color: var(--metis-deep-indigo); opacity: 0.09; pointer-events: none; }

/* ---------- Subscribe ---------- */
.subscribe {
  border-radius: 20px; padding: 72px 64px; background: var(--bone-100); border: 1px solid var(--border-soft);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden;
}
.subscribe .h2 { font-size: clamp(32px, 3.8vw, 48px); }
.subscribe p { font-size: 16px; line-height: 1.65; color: var(--slate-700); margin: 18px 0 0; max-width: 460px; }
.subscribe iframe { width: 100%; max-width: 480px; height: 150px; border: 1px solid rgba(28,30,63,0.14); border-radius: 10px; background: var(--bone-200); }
.subscribe .small { margin-top: 12px; font-size: 11px; color: var(--slate-500); letter-spacing: 0.04em; }
.subscribe .wm { position: absolute; left: -60px; bottom: -70px; width: 220px; color: var(--metis-charred-plum); opacity: 0.07; pointer-events: none; }

/* ---------- Cross-sell: reader → client ---------- */
.crosssell { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.crosssell a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 28px; border-radius: 14px; text-decoration: none; border: 1px solid var(--border-soft);
  background: var(--bone-100); color: var(--metis-deep-indigo); transition: border-color 220ms var(--ease-out), transform 300ms var(--ease-out), box-shadow 300ms;
}
.crosssell a:hover { border-color: rgba(76,46,69,0.35); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--metis-deep-indigo); }
.crosssell .k { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--metis-charred-plum); font-weight: 500; margin-bottom: 8px; }
.crosssell .t { font-size: 18px; font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; }
.crosssell .arr { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--metis-charred-plum); transition: background 240ms, color 240ms; }
.crosssell a:hover .arr { background: var(--metis-charred-plum); color: var(--bone-200); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-weight: 300; font-size: 15px; color: var(--metis-deep-indigo);
  padding: 13px 15px; background: var(--bone-200); border: 1px solid rgba(28,30,63,0.12); border-radius: 9px; outline: none;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--metis-charred-plum); box-shadow: 0 0 0 4px rgba(76,46,69,0.1); }
.form .submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form .note { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--slate-600); }
.form .note a { color: var(--metis-charred-plum); }
.form-done { padding: 28px 30px; border-radius: 14px; background: rgba(76,46,69,0.06); border: 1px solid rgba(76,46,69,0.2); font-size: 15px; line-height: 1.6; }
.form-done .title { font-family: var(--font-display); font-style: italic; font-size: 24px; color: var(--metis-charred-plum); margin-bottom: 8px; }
.form-done a { color: var(--metis-charred-plum); }

/* ---------- Drafted-email popup (site/site.js) ---------- */
html.compose-open, html.compose-open body { overflow: hidden; }
.compose { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.compose-scrim { position: absolute; inset: 0; background: rgba(14,15,34,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 260ms var(--ease-out); }
.compose-card {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); overflow-y: auto; box-sizing: border-box;
  padding: 40px 40px 30px; border-radius: 22px; background: var(--bone-100); border: 1px solid var(--border-soft);
  box-shadow: 0 40px 100px rgba(14,15,34,0.35);
  opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 320ms var(--ease-out), transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
}
.compose.is-open .compose-scrim { opacity: 1; }
.compose.is-open .compose-card { opacity: 1; transform: none; }
.compose-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--slate-600); font-size: 24px; line-height: 1; cursor: pointer; transition: background 160ms, color 160ms, transform 300ms var(--ease-out); }
.compose-x:hover { background: rgba(28,30,63,0.06); color: var(--metis-deep-indigo); transform: rotate(90deg); }
.compose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; margin: 14px 0 10px; padding-right: 32px; }
.compose-lede { font-size: 14.5px; line-height: 1.6; color: var(--slate-700); margin: 0 0 22px; }
.compose-mail { border: 1px solid rgba(28,30,63,0.12); border-radius: 14px; background: var(--bone-200); overflow: hidden; }
.compose-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(28,30,63,0.08); font-size: 14px; }
.compose-row .k { width: 58px; flex-shrink: 0; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--slate-600); }
.compose-row .v { color: var(--metis-deep-indigo); }
.compose-row input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: var(--metis-deep-indigo); padding: 2px 0; }
.compose-body { display: block; width: 100%; box-sizing: border-box; min-height: 280px; border: 0; resize: vertical; outline: none; background: transparent; padding: 16px; font-family: var(--font-sans); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--metis-deep-indigo); }
.compose-mail:focus-within { border-color: var(--metis-charred-plum); box-shadow: 0 0 0 4px rgba(76,46,69,0.1); }
.compose-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.compose-note { margin: 18px 0 0; font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--slate-600); }
.compose-note a { color: var(--metis-charred-plum); }
@media (max-width: 680px) {
  .compose { padding: 0; align-items: flex-end; }
  .compose-card { max-height: 92vh; border-radius: 22px 22px 0 0; padding: 30px 20px 24px; }
  .compose-body { min-height: 220px; }
  .compose-actions .btn--primary { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .compose-card, .compose-scrim { transition: none; } }

/* ---------- Reveal stagger (works with site/reveal.js) ---------- */
html.reveal-ready [data-reveal-stagger] > [data-reveal]:nth-child(2) { transition-delay: 90ms; }
html.reveal-ready [data-reveal-stagger] > [data-reveal]:nth-child(3) { transition-delay: 180ms; }
html.reveal-ready [data-reveal-stagger] > [data-reveal]:nth-child(4) { transition-delay: 270ms; }
html.reveal-ready [data-reveal-stagger] > [data-reveal]:nth-child(5) { transition-delay: 360ms; }
html.reveal-ready [data-reveal-stagger] > [data-reveal]:nth-child(6) { transition-delay: 450ms; }

/* ---------- Keyframes shared by glyph motion ---------- */
@keyframes metisBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.06); } 97% { transform: scaleY(1); } }
@keyframes metisFlutter { 0%, 100% { transform: scaleX(1) translateX(0); } 50% { transform: scaleX(0.96) translateX(-1.8%); } }
@keyframes metisFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Motion layer (site/motion.js)
   Every hidden starting state is scoped under html.motion-ok,
   which motion.js adds only when the visitor allows motion.
   ========================================================= */

/* Page-to-page cross-fade (browsers with cross-document View Transitions) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: 260ms var(--ease-in) both metisPageOut; }
  ::view-transition-new(root) { animation: 620ms var(--ease-out) both metisPageIn; }
}
@keyframes metisPageOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes metisPageIn { from { opacity: 0; transform: translateY(22px); } }

/* 1. Headlines rise word by word */
.motion-ok .split .sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.12em 0.16em; margin: -0.08em -0.12em -0.16em; }
.motion-ok .split .sw-i {
  display: inline-block; transform: translate3d(0, 108%, 0) rotate(5deg); transform-origin: 0 100%; opacity: 0;
  transition: transform 1100ms cubic-bezier(0.19, 1, 0.22, 1) calc(var(--i, 0) * 65ms + 60ms),
              opacity 500ms ease calc(var(--i, 0) * 65ms + 60ms);
}
.motion-ok .split.is-in .sw-i { transform: none; opacity: 1; }
.motion-ok .split em .sw-i { transition-duration: 1300ms, 700ms; }

/* 2. Line art draws itself */
.motion-ok svg.draw .dr-s { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1700ms cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0ms); }
.motion-ok svg.draw.is-in .dr-s { stroke-dashoffset: 0; }
.motion-ok svg.draw .dr-s.dr-done { stroke-dasharray: none; }
.motion-ok svg.draw .dr-f { opacity: 0; transition: opacity 800ms ease calc(var(--d, 0ms) + 450ms), transform 900ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d, 0ms) + 450ms); }
.motion-ok svg.draw .dr-dot { transform: scale(0.15); transform-box: fill-box; transform-origin: center; }
.motion-ok svg.draw.is-in .dr-f { opacity: var(--o, 1); transform: none; }

/* 3. Cursor ring: plum on light ground, bone on dark ground */
.cursor-ring {
  position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 9999; pointer-events: none;
  opacity: 0; transition: opacity 300ms var(--ease-out);
  --ring: var(--metis-charred-plum); --fill: var(--metis-charred-plum); --ink: var(--bone-200);
}
.cursor-ring.dark { --ring: var(--plum-200); --fill: var(--bone-200); --ink: var(--metis-deep-indigo); }
.cursor-ring.on { opacity: 1; }
.cursor-ring::before {
  content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--ring); box-sizing: border-box; background: transparent;
  transition: transform 420ms cubic-bezier(0.19, 1, 0.22, 1), background 300ms var(--ease-out), border-color 300ms, opacity 300ms;
}
.cursor-ring.hover::before { transform: scale(1.6); opacity: 0.55; }
.cursor-ring.label::before { transform: scale(2.4); background: var(--fill); border-color: var(--fill); opacity: 1; box-shadow: 0 8px 24px rgba(14,15,34,0.25); }
.cursor-ring.text::before { transform: scale(0.4, 1.15); border-radius: 3px; }
.cursor-ring.down::before { transform: scale(0.8); }
.cursor-ring.label.down::before { transform: scale(2.1); }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0.6); opacity: 0;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap; transition: opacity 240ms var(--ease-out), transform 420ms cubic-bezier(0.19, 1, 0.22, 1);
}
.cursor-ring.label .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 4. Magnetic buttons follow the pointer quickly, then spring back */
.mag-on { transition: transform 140ms linear, background 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out) !important; }

/* Primary buttons catch the light every few seconds */
.motion-ok .btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.motion-ok .btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,0.32), rgba(255,255,255,0));
  transform: skewX(-20deg); animation: metisSheen 7s ease-in-out 1.6s infinite;
}
@keyframes metisSheen { 0%, 72% { left: -70%; } 100% { left: 135%; } }

/* 5. Pointer glow on cards */
.fx-glow { position: relative; overflow: hidden; }
.fx-glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124,76,111,0.11), rgba(124,76,111,0) 60%);
  transition: opacity 400ms var(--ease-out);
}
.fx-glow:hover::after { opacity: 1; }
.door.fx-glow::after, .spot-feature.fx-glow::after, .road.fx-glow::after {
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(222,204,213,0.16), rgba(222,204,213,0) 60%);
}
.essay .glyph svg, .offer .glyph svg, .who-card .ico svg, .pillar .ico svg { transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1); }
.essay:hover .glyph svg, .offer:hover .glyph svg, .who-card:hover .ico svg, .pillar:hover .ico svg { transform: rotate(-10deg) scale(1.08); }

/* 6. Constellation field on dark bands */
.net { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1600ms var(--ease-out); }
.net.on { opacity: 1; }
.spotlight > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.editor > p, .editor > blockquote, .editor > .att, .origin > p, .origin > blockquote { position: relative; z-index: 1; }
.motion-ok .spotlight .halo { animation: metisDrift 16s ease-in-out infinite alternate; }
@keyframes metisDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-120px, 80px) scale(1.12); } }

/* 7. Marquee: JS drives it when motion is on */
.marquee.js .track { animation: none; will-change: transform; }

/* 9. Timelines, lists and rules that draw in */
@media (min-width: 961px) {
  .motion-ok .steps { position: relative; border-top-color: transparent; }
  .motion-ok .steps::after {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--border-strong);
    transform: scaleX(0); transform-origin: left; transition: transform 1800ms cubic-bezier(0.65, 0, 0.35, 1);
  }
  .motion-ok .steps.is-in::after { transform: scaleX(1); }
}
.motion-ok .step::before { z-index: 1; transform: scale(0); transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.motion-ok .steps.is-in .step::before { transform: scale(1); }
.motion-ok .steps.is-in .step:nth-child(2)::before { transition-delay: 380ms; }
.motion-ok .steps.is-in .step:nth-child(3)::before { transition-delay: 760ms; }
.motion-ok .steps.is-in .step:nth-child(4)::before { transition-delay: 1140ms; }

.motion-ok .spot-list li { opacity: 0; transform: translateX(-18px); transition: opacity 700ms var(--ease-out), transform 900ms cubic-bezier(0.19, 1, 0.22, 1); }
.motion-ok .spot-list.is-in li { opacity: 1; transform: none; }
.motion-ok .spot-list.is-in li:nth-child(2) { transition-delay: 120ms; }
.motion-ok .spot-list.is-in li:nth-child(3) { transition-delay: 240ms; }

.motion-ok .practice .prow, .motion-ok .practice .practice-head { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 900ms cubic-bezier(0.19, 1, 0.22, 1), padding 320ms var(--ease-out); }
.motion-ok .practice.is-in .prow, .motion-ok .practice.is-in .practice-head { opacity: 1; transform: none; }
.motion-ok .practice.is-in .prow:nth-of-type(1) { transition-delay: 100ms, 100ms, 0ms; }
.motion-ok .practice.is-in .prow:nth-of-type(2) { transition-delay: 190ms, 190ms, 0ms; }
.motion-ok .practice.is-in .prow:nth-of-type(3) { transition-delay: 280ms, 280ms, 0ms; }
.motion-ok .practice.is-in .prow:nth-of-type(4) { transition-delay: 370ms, 370ms, 0ms; }

.motion-ok .eyebrow--rule::before { transform: scaleX(0); transform-origin: left; transition: transform 900ms cubic-bezier(0.19, 1, 0.22, 1) 150ms; }
.motion-ok .eyebrow--rule.is-in::before { transform: scaleX(1); }

/* Pulse the arrows that invite a click */
.motion-ok .latest-pill .arr, .motion-ok .spot-feature .cta svg { animation: metisNudge 2.8s ease-in-out infinite; }
@keyframes metisNudge { 0%, 60%, 100% { transform: translateX(0); } 75% { transform: translateX(4px); } }

/* Door kicker lines extend on hover */
.door .kicker { display: inline-flex; align-items: center; gap: 0; }
.door .kicker::before { content: ""; width: 0; height: 1px; background: currentColor; transition: width 500ms cubic-bezier(0.19, 1, 0.22, 1), margin 500ms cubic-bezier(0.19, 1, 0.22, 1); }
.door:hover .kicker::before { width: 28px; margin-right: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .top nav { gap: 22px; margin-left: 28px; }
}
@media (max-width: 960px) {
  .wrap { padding: 0 32px; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .doors, .offerings, .diag-grid, .crosssell, .subscribe, .spot-grid { grid-template-columns: 1fr; }
  .signals, .essay-grid, .related-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; border-top: 0; }
  .step { border-top: 1px solid var(--border); }
  .movements { grid-template-columns: 1fr; gap: 48px; }
  .subscribe { padding: 56px 40px; gap: 32px; }
}
@media (max-width: 860px) {
  .top { padding: 0 20px; }
  .top .brand { flex: 1; font-size: 15px; }
  .top > .btn { display: none; }
  .top nav {
    position: fixed; top: 72px; left: 0; right: 0; margin: 0; padding: 8px 20px 24px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bone-200); box-shadow: 0 24px 40px rgba(28,30,63,0.12);
    border-bottom: 1px solid rgba(28,30,63,0.1);
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; padding-top: 0; padding-bottom: 0;
    transition: max-height 360ms var(--ease-out), opacity 240ms var(--ease-out), padding 360ms var(--ease-out);
  }
  .top.is-open nav { max-height: 560px; opacity: 1; pointer-events: auto; padding-top: 8px; padding-bottom: 24px; }
  .top nav a { font-size: 18px; padding: 15px 0; border-bottom: 1px solid rgba(28,30,63,0.07); color: var(--metis-deep-indigo) !important; }
  .top nav a::after { display: none; }
  .top nav .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 18px; border-bottom: 0; color: var(--bone-200) !important; font-size: 15px; padding: 15px 22px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px; background: transparent; border: 0; cursor: pointer; color: var(--metis-deep-indigo);
  }
  .nav-toggle span { width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 240ms var(--ease-out), opacity 200ms; }
  .top.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .top.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .top.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  body.header-on-dark .top.is-open .brand img { filter: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 22px; }
  .section { padding: 84px 0; }
  .section--tight { padding: 64px 0; }
  .page-hero { padding: 128px 0 52px; }
  .page-hero .glyph { width: 120px; right: 16px; top: 100px; }
  .lede { font-size: 17px; }
  .door { min-height: 0; padding: 34px 26px 28px; }
  .signals, .essay-grid, .related-list, .steps { grid-template-columns: 1fr; }
  .offer { padding: 30px 24px 26px; }
  .offer ul { grid-template-columns: 1fr; }
  .offer .glyph { width: 48px; height: 48px; right: 20px; top: 22px; }
  .essay { min-height: 0; }
  .spotlight { padding: 92px 0 88px; }
  .spot-feature { padding: 32px 26px 28px; min-height: 0; }
  .closing { padding: 104px 0; }
  .subscribe { padding: 44px 24px; }
  .form .row { grid-template-columns: 1fr; }
  .foot { padding: 72px 0 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-base { flex-direction: column; margin-top: 56px; }
  .marquee .item .diamond { margin: 0 30px; width: 8px; height: 8px; }
  .latest-pill { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
  .cursor-ring { display: none; }
  .pulse-dot::after { animation: none; }
  .door, .door .door-glyph, .spot-feature, .btn, .crosssell a { transition: none; }
}
