/* Fonts: Lora (headings) and Figtree (body), self-hosted, SIL OFL 1.1. Licenses: /assets/fonts/OFL-*.txt */
@font-face { font-family: "Lora"; src: url("fonts/lora-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
/* Metric-matched fallbacks so the swap does not shift the layout */
@font-face { font-family: "Lora Fallback"; src: local("Times New Roman"), local("Liberation Serif"), local("Tinos"); size-adjust: 117.2%; ascent-override: 85.8%; descent-override: 23.4%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("Liberation Sans"), local("Arimo"); size-adjust: 101.6%; ascent-override: 93.5%; descent-override: 24.6%; line-gap-override: 0%; }
/* Seneca Safety Partners — site styles v4 (premium). v3 notes follow.
   Palette and type follow Seneca Brand Guidelines v1.0. Display: Georgia, falling back to self-hosted Gelasio (Georgia-metric, SIL OFL).
   Text: Calibri, falling back to self-hosted Carlito (Calibri-metric, SIL OFL). */

:root {
  --navy: #083048; --gold: #E0B838; --gold-deep: #B8922A; --steel: #4A5560; --silver: #C0C0C0; --green: #2E6F4E;
  --panel: #EEF2F6; --panel-2: #F7F9FB;
  --ink-950: #062538; --ink-900: #083048; --ink-850: #0b3a56; --ink-800: #0e4363; --ink-700: #1a5577;
  --on-dark: #F7F9FB; --on-dark-2: #C9D3DC; --line-dark: rgba(255,255,255,.12); --line-dark-2: rgba(255,255,255,.22);
  --paper: #FFFFFF; --paper-2: #EEF2F6; --card: #ffffff;
  --ink: #16202B; --ink-2: #4A5560; --line: #DCE2E8; --line-2: #C0C0C0;
  --mint: #E0B838; --mint-ink: #2E6F4E; --mint-soft: rgba(224,184,56,.16);
  --iris: #C0C0C0; --iris-ink: #4A5560; --iris-soft: rgba(192,192,192,.18);
  --coral: #C0C0C0; --coral-ink: #4A5560;
  --amber: #E0B838;
  --display: Georgia, "Gelasio", "Times New Roman", serif;
  --sans: Calibri, "Carlito", "Segoe UI", Arial, sans-serif;
  --mono: Calibri, "Carlito", "Segoe UI", Arial, sans-serif;
  --max: 1240px; --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r: 10px; --r-lg: 16px;
  --ease: cubic-bezier(.2,.75,.2,1);
  --shadow: 0 1px 2px rgba(8,48,72,.06), 0 24px 48px -24px rgba(8,48,72,.28);
  --grain: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--mint); color: var(--ink-950); padding: .6rem .9rem; border-radius: 8px; font-family: var(--mono); font-size: .8rem; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); }

.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.dark .eyebrow { color: var(--on-dark-2); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: .98; }
.display em, h2 em { font-style: italic; color: var(--mint-ink); }
.dark .display em, .dark h2 em { color: var(--mint); }
h2.sec-title { font-family: var(--display); font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.02em; margin: .9rem 0 1.1rem; max-width: 18ch; }
.lede { font-size: clamp(1.08rem, .5vw + .95rem, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.dark .lede { color: var(--on-dark-2); }
h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.tag-sample { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .28rem .55rem; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.ph { font-family: var(--mono); font-size: .78em; font-weight: 500; letter-spacing: 0; color: var(--ink); background: repeating-linear-gradient(135deg, rgba(224,184,56,.10) 0 6px, transparent 6px 12px), var(--paper-2); border: 1px dashed #8A6B1C; border-radius: 6px; padding: .12em .45em; -webkit-box-decoration-break: clone; box-decoration-break: clone; white-space: normal; }
.dark .ph, .tier.core .ph { color: var(--on-dark); background: repeating-linear-gradient(135deg, rgba(224,184,56,.12) 0 6px, transparent 6px 12px), rgba(255,255,255,.04); border-color: rgba(224,184,56,.55); }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.dark { background: var(--ink-900); color: var(--on-dark); }
.dark a { color: var(--on-dark); }
.mesh { position: relative; isolation: isolate; overflow: hidden; }
.mesh::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -2;
  background: radial-gradient(60% 50% at 78% 18%, rgba(192,192,192,.28), transparent 60%), radial-gradient(45% 40% at 12% 85%, rgba(224,184,56,.16), transparent 60%), radial-gradient(40% 35% at 55% 60%, rgba(59,71,196,.22), transparent 70%), linear-gradient(180deg, var(--ink-950), var(--ink-900) 60%, var(--ink-850)); }
.mesh::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.gridlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px); background-size: calc((min(100vw, var(--max)) - 2 * var(--pad)) / 12) 100%; background-position: center; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent); }

.btn { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; gap: .65rem; font-family: var(--sans); font-weight: 560; font-size: .98rem; letter-spacing: -.005em; text-decoration: none; padding: .95rem 1.35rem; border-radius: 999px; border: 0; cursor: pointer; transform: translate(var(--bx), var(--by)); transition: transform .35s var(--ease), background .25s, box-shadow .25s, color .25s; }
.btn .arr { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--mint); color: var(--ink-950) !important; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 10px 30px -10px rgba(224,184,56,.6); }
.btn-primary .arr { background: var(--ink-950); color: var(--mint); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 16px 40px -12px rgba(224,184,56,.75); }
.btn-ghost { color: var(--on-dark); background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px var(--line-dark-2) inset; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ink { background: var(--ink); color: var(--paper) !important; }
.btn-ink .arr { background: var(--mint); color: var(--ink); }
.btn-ink:hover { background: #000; }
.textlink { display: inline-flex; align-items: center; gap: .4rem; font-weight: 560; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: gap .25s var(--ease); }
.textlink:hover { gap: .7rem; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding-top: 12px; height: 84px; margin-bottom: -84px; }
.nav-bar { margin-inline: max(12px, calc((100vw - var(--max)) / 2 + var(--pad) - 16px)); display: flex; align-items: center; gap: 1.5rem; height: 60px; padding: 0 10px 0 18px; border-radius: 16px; color: var(--on-dark); background: rgba(10,17,34,.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px var(--line-dark) inset; transition: background .3s, box-shadow .3s; }
.nav.scrolled .nav-bar { background: rgba(8,13,27,.84); box-shadow: 0 0 0 1px var(--line-dark-2) inset, 0 18px 40px -18px rgba(0,0,0,.6); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--on-dark); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; }
.brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-top: -1px; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links > li > a, .nav-links > li > button { font: 500 .9rem/1 var(--sans); color: var(--on-dark-2); text-decoration: none; background: none; border: 0; padding: .65rem .8rem; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; transition: color .2s, background .2s; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > button[aria-expanded="true"], .nav-links a[aria-current="page"] { color: var(--on-dark); background: rgba(255,255,255,.07); }
.nav-links button svg { width: 10px; transition: transform .25s var(--ease); }
.nav-links button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta .btn { padding: .55rem .6rem .55rem 1rem; font-size: .88rem; }
.nav-cta .btn .arr { width: 1.4rem; height: 1.4rem; }
.has-mega { position: relative; }
.mega { position: absolute; left: 0; top: calc(100% + 16px); width: 760px; transform: translate(-30%, 8px); opacity: 0; visibility: hidden; transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s; background: rgba(12,19,38,.96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-radius: 18px; box-shadow: 0 0 0 1px var(--line-dark-2) inset, 0 40px 80px -30px rgba(0,0,0,.8); padding: 10px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; }
.mega.open { opacity: 1; visibility: visible; transform: translate(-30%, 0); transition-delay: 0s; }
.mega-list { list-style: none; margin: 0; padding: 4px; }
.mega-list a { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.mega-list a:hover, .mega-list a:focus-visible { background: rgba(255,255,255,.06); }
.mega-list .n { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; color: var(--mint); background: var(--mint-soft); box-shadow: 0 0 0 1px rgba(224,184,56,.25) inset; }
.mega-list strong { font-weight: 600; color: var(--on-dark); font-size: .98rem; }
.mega-list strong em { font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-left: .5rem; border: 1px solid rgba(224,184,56,.4); border-radius: 999px; padding: .1rem .4rem; vertical-align: .15em; }
.mega-list small { color: var(--on-dark-2); font-size: .85rem; line-height: 1.45; }
.mega-side { border-radius: 12px; padding: 20px; background: radial-gradient(120% 90% at 100% 0%, rgba(192,192,192,.28), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(224,184,56,.14), transparent 60%), rgba(255,255,255,.02); box-shadow: 0 0 0 1px var(--line-dark) inset; display: flex; flex-direction: column; gap: .8rem; }
.mega-side p { color: var(--on-dark-2); font-size: .9rem; margin: 0; }
.mega-side .display { font-size: 1.75rem; line-height: 1.02; color: var(--on-dark); }
.mega-side .tl { font-size: .88rem; color: var(--on-dark); text-decoration: none; display: flex; justify-content: space-between; padding: .5rem 0; border-top: 1px solid var(--line-dark); }
.mega-side .tl:hover { color: var(--mint); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: .5rem; background: rgba(255,255,255,.06); color: var(--on-dark); border: 0; border-radius: 10px; padding: .6rem .85rem; font: 500 .88rem var(--sans); box-shadow: 0 0 0 1px var(--line-dark-2) inset; cursor: pointer; }
.menu-btn i { width: 14px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.mobile-panel { display: none; }

/* ---------- HERO ---------- */
.hero { padding: 150px 0 clamp(5rem, 8vw, 7.5rem); }
.hero .grid { align-items: center; row-gap: 4rem; }
.hero-copy { grid-column: 1 / span 6; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3.4rem, 6.9vw, 6.6rem); margin: 1.4rem 0 1.6rem; }
.hero h1 .line { display: block; }
.hero .lede { max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--on-dark-2); text-transform: uppercase; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); margin-right: .55rem; vertical-align: .12em; box-shadow: 0 0 8px var(--mint); }
.hero-visual { grid-column: 7 / span 6; position: relative; perspective: 1800px; padding: 30px 0 30px 20px; }
.app { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(22,33,64,.94), rgba(12,20,40,.97)); box-shadow: 0 0 0 1px var(--line-dark-2) inset, var(--shadow); color: var(--on-dark); overflow: hidden; }
.app::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(192,192,192,.6), rgba(255,255,255,.04) 40%, rgba(224,184,56,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; }
.app-top { display: flex; align-items: center; gap: .75rem; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); font-family: var(--mono); font-size: .7rem; color: var(--on-dark-2); letter-spacing: .04em; }
.app-top b { color: var(--on-dark); font-weight: 500; }
.app-top .tag-sample { margin-left: auto; color: var(--amber); border-color: rgba(224,184,56,.5); font-size: .62rem; }
.app-tabs { display: flex; gap: 4px; padding: 10px 14px 0; font-size: .78rem; color: var(--on-dark-2); }
.app-tabs span { padding: .4rem .7rem; border-radius: 8px 8px 0 0; }
.app-tabs span.on { color: var(--on-dark); background: rgba(255,255,255,.05); box-shadow: inset 0 -2px 0 var(--mint); }
.hero-app { transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .9s var(--ease); }
.hero-visual:hover .hero-app { transform: rotateY(-4deg) rotateX(1deg); }
.plan-rows { list-style: none; margin: 0; padding: 8px; }
.plan-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 13px 12px; border-radius: 12px; transition: background .5s; }
.plan-row + .plan-row { box-shadow: 0 -1px 0 var(--line-dark); }
.plan-row.active { background: rgba(192,192,192,.08); }
.plan-row .what { font-size: .92rem; font-weight: 500; line-height: 1.35; }
.plan-row .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: .66rem; padding: .22rem .5rem; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--on-dark-2); box-shadow: 0 0 0 1px var(--line-dark) inset; white-space: nowrap; }
.chip.cite { color: #E5E8EC; background: var(--iris-soft); box-shadow: 0 0 0 1px rgba(192,192,192,.28) inset; }
.status { align-self: start; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; transition: background .5s, color .5s; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-open { color: var(--coral); background: rgba(255,143,125,.12); }
.s-prog { color: var(--iris); background: var(--iris-soft); }
.s-closed { color: var(--mint); background: var(--mint-soft); }
.app-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line-dark); }
.closure-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 10px; }
.closure { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 5px; }
.closure i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.closure i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--iris), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.closure i.done::after { transform: scaleX(1); }
.closure i.half::after { transform: scaleX(.5); }
.float { position: absolute; z-index: 3; border-radius: 14px; padding: 14px 16px; background: rgba(20,31,62,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line-dark-2) inset, var(--shadow); color: var(--on-dark); font-size: .84rem; line-height: 1.4; width: 250px; animation: bob 8s ease-in-out infinite; }
.float .k { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); display: flex; justify-content: space-between; gap: .5rem; margin-bottom: 6px; }
.float .k b { color: var(--mint); font-weight: 500; }
.float.f1 { top: -6px; right: -26px; }
.float.f2 { bottom: -8px; left: -30px; animation-delay: -4s; }
.float .bar { margin-top: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.float .bar b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber), var(--mint)); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.glow { position: absolute; inset: 0 -10% -10% 10%; background: radial-gradient(closest-side, rgba(192,192,192,.4), transparent); filter: blur(40px); z-index: -1; }

.strip { border-top: 1px solid var(--line-dark); background: var(--ink-950); color: var(--on-dark-2); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.3rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.strip ul { display: flex; flex-wrap: wrap; gap: .5rem 2.4rem; list-style: none; margin: 0; padding: 0; color: var(--on-dark); }

.sec-head { grid-column: 1 / span 7; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-aside { grid-column: 9 / span 4; align-self: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--ink-2); font-size: 1.02rem; }
.dark .sec-aside { color: var(--on-dark-2); }

/* ---------- BEFORE / AFTER ---------- */
.ba { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 110px 1fr; align-items: stretch; }
.ba-panel { position: relative; border-radius: var(--r-lg); padding: 24px; overflow: hidden; }
.ba-before { background: var(--paper-2); box-shadow: 0 0 0 1px var(--line) inset; }
.ba-after { background: var(--ink-900); color: var(--on-dark); box-shadow: var(--shadow); }
.ba-after::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 85% 0%, rgba(192,192,192,.25), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(224,184,56,.14), transparent 60%); pointer-events: none; }
.ba-label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; position: relative; z-index: 1; }
.ba-after .ba-label { color: var(--on-dark-2); }
.ba-label .tag-sample { font-size: .6rem; padding: .18rem .45rem; }
.scrap-field { position: relative; height: 400px; }
.scrap { position: absolute; width: 212px; background: var(--card); border-radius: 10px; padding: 11px 13px; box-shadow: 0 12px 24px -14px rgba(8,48,72,.4), 0 0 0 1px var(--line) inset; font-size: .8rem; line-height: 1.35; transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease); }
.ba:hover .scrap { transform: rotate(calc(var(--r, 0deg) * 1.5)) translateY(-3px); }
.scrap .k { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; gap: .5rem; margin-bottom: 4px; }
.scrap .warn { color: var(--coral-ink); }
.scrap.note { background: #fff4c7; }
.scrap .strike { text-decoration: line-through; color: var(--ink-2); }
.ba-mid { display: grid; place-items: center; }
.ba-mid svg { width: 100%; height: 80px; overflow: visible; }
.ba-mid .flowline { stroke-dasharray: 4 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.system { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sys-core { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 16px; border-radius: 12px; background: linear-gradient(120deg, rgba(224,184,56,.18), rgba(192,192,192,.16)); box-shadow: 0 0 0 1px rgba(224,184,56,.35) inset; }
.sys-core strong { font-weight: 600; }
.sys-core .mono { color: var(--on-dark-2); font-size: .7rem; }
.sys-cell { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line-dark) inset; font-size: .86rem; }
.sys-cell .k { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 4px; }
.sys-cell .k i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.sys-cell strong { font-weight: 560; display: block; }
.sys-cell .d { color: var(--on-dark-2); font-size: .78rem; }
.ba-cap { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 110px 1fr; margin-top: 18px; font-size: .94rem; color: var(--ink-2); }
.ba-cap p { margin: 0; max-width: 46ch; }
.ba-cap p:last-child { grid-column: 3; }

/* ---------- SERVICE BENTO ---------- */
.bento { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 34px); text-decoration: none; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .45s var(--ease), box-shadow .45s var(--ease); overflow: hidden; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 50px -30px rgba(8,48,72,.35); }
.svc .n { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -.015em; margin: 1.6rem 0 .6rem; }
.svc p { color: var(--ink-2); margin: 0 0 1.2rem; max-width: 42ch; }
.svc .go { display: inline-flex; align-items: center; gap: .6rem; font-weight: 560; font-size: .92rem; margin-top: auto; }
.svc .go b { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform .35s var(--ease), background .3s; font-weight: 400; }
.svc:hover .go b { transform: translateX(4px) rotate(-45deg); background: var(--mint-ink); }
.svc.core { grid-column: span 7; grid-row: span 2; background: var(--ink-900); color: var(--on-dark); box-shadow: var(--shadow); }
.svc.core::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 100% 0%, rgba(192,192,192,.22), transparent 60%); pointer-events: none; }
.svc.core .n, .svc.core p { color: var(--on-dark-2); }
.svc.core .go b { background: var(--mint); color: var(--ink-950); }
.svc.core h3 { font-size: clamp(2.6rem, 4vw, 3.8rem); }
.svc.side { grid-column: span 5; }
.svc .art { margin: .4rem 0 1.4rem; position: relative; z-index: 1; }
.badge-core { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); border: 1px solid rgba(224,184,56,.4); border-radius: 999px; padding: .22rem .6rem; }
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.loop div { border-radius: 12px; padding: 12px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px var(--line-dark) inset; font-size: .82rem; line-height: 1.35; }
.loop .mono { display: block; color: var(--mint); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.mini-cal { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.mini-cal i { aspect-ratio: 1; border-radius: 3px; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line) inset; }
.mini-cal i.on { background: var(--ink); box-shadow: none; }
.mini-cal i.due { background: var(--mint-ink); box-shadow: none; }
.mini-q { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-q span { font-size: .78rem; padding: .32rem .65rem; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; }

/* ---------- MONTHLY DASHBOARD ---------- */
.dash-wrap { grid-column: 1 / -1; }
.dash { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; padding: 12px; }
.panel { border-radius: 14px; padding: 16px 18px; background: rgba(255,255,255,.035); box-shadow: 0 0 0 1px var(--line-dark) inset; min-width: 0; }
.panel .k { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 12px; }
.panel .k .wkn { color: var(--mint); }
.panel h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: .35rem; }
.panel p { font-size: .86rem; color: var(--on-dark-2); margin: 0; }
.memo { grid-row: span 2; display: flex; flex-direction: column; }
.memo .doc { flex: 1; border-radius: 10px; background: #F7F9FB; color: var(--ink); padding: 18px 18px 14px; font-size: .8rem; line-height: 1.45; }
.memo .doc .t { font-family: var(--display); font-size: 1.55rem; line-height: 1; margin-bottom: 4px; }
.memo .doc .m { font-family: var(--mono); font-size: .6rem; color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.memo .doc h5 { font: 600 .66rem var(--mono); text-transform: uppercase; letter-spacing: .1em; margin: 12px 0 6px; color: var(--ink-2); }
.memo .doc ul { margin: 0; padding-left: 1rem; }
.memo .doc li { margin-bottom: 3px; }
.sig { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .62rem; color: var(--mint-ink); text-transform: uppercase; letter-spacing: .08em; }
.sig svg { width: 14px; height: 14px; }
.cal-list { list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.cal-list li { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-dark); }
.cal-list li:first-child { border-top: 0; padding-top: 0; }
.cal-list .d { font-family: var(--mono); font-size: .66rem; color: var(--on-dark-2); }
.cal-list .bell { font-family: var(--mono); font-size: .58rem; color: var(--mint); text-transform: uppercase; letter-spacing: .08em; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.photos i { aspect-ratio: 4/3; border-radius: 8px; position: relative; overflow: hidden; background: linear-gradient(160deg, #1a5577, #0b3a56); box-shadow: 0 0 0 1px var(--line-dark) inset; }
.photos i::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
.photos i::after { content: ""; position: absolute; right: 7px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.photos i.flag::after { background: var(--coral); box-shadow: 0 0 8px var(--coral); }
.pq { display: flex; align-items: center; gap: 14px; }
.ring { width: 66px; height: 66px; flex: none; }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: rgba(255,255,255,.08); }
.ring .fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.6s var(--ease); }
.in .ring .fg { stroke-dashoffset: 0; }
.week-track { grid-column: 1 / -1; }
.weeks { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.weeks::before, .weeks::after { content: ""; position: absolute; left: 8px; right: 0; top: 11px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); }
.weeks::after { background: linear-gradient(90deg, var(--iris), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.in .weeks::after { transform: scaleX(1); }
.wk { position: relative; padding: 34px 16px 0 0; }
.wk::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-900); box-shadow: 0 0 0 2px var(--mint), 0 0 16px rgba(224,184,56,.5); z-index: 1; }
.wk .mono { color: var(--mint); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.wk strong { display: block; font-weight: 600; margin: 3px 0; }
.wk .d { color: var(--on-dark-2); font-size: .86rem; }

/* ---------- SAMPLE REGISTER ---------- */
.register-wrap { border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -40px rgba(8,48,72,.35); overflow: hidden; }
.register-top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.register-top .tag-sample { color: #7a5d00; margin-left: auto; }
.register-top strong { font-weight: 600; }
.register-top .mono { color: var(--ink-2); font-size: .74rem; }
.register-scroll { overflow-x: auto; }
table.register { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 1000px; }
.register th { text-align: left; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; padding: 12px 14px; background: #F7F9FB; border-bottom: 1px solid var(--line); white-space: nowrap; }
.register td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; }
.register tr:last-child td { border-bottom: 0; }
.register tbody tr { transition: background .2s; }
.register tbody tr:hover { background: #F7F9FB; }
.register .idn { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); }
.register .cite { font-family: var(--mono); font-size: .74rem; white-space: nowrap; color: var(--iris-ink); }
.lbl { display: inline-block; margin-top: 5px; font-size: .68rem; font-family: var(--mono); letter-spacing: .04em; padding: .12rem .45rem; border-radius: 5px; background: var(--paper-2); color: var(--ink-2); }
.lbl.bp { background: #EEF2F6; color: var(--iris-ink); }
.rank { display: inline-flex; gap: 2px; vertical-align: middle; margin-right: .4rem; }
.rank i { width: 5px; height: 14px; border-radius: 2px; background: var(--line); }
.rank.r3 i { background: var(--coral-ink); } .rank.r2 i:nth-child(-n+2) { background: #b8741a; } .rank.r1 i:first-child { background: var(--ink-2); }
.register .cost { font-family: var(--mono); font-weight: 600; letter-spacing: .05em; }
.register .date { font-family: var(--mono); font-size: .76rem; white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; padding: .26rem .55rem; border-radius: 999px; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.o { color: var(--coral-ink); background: #EEF2F6; } .st.p { color: var(--iris-ink); background: #EEF2F6; } .st.c { color: var(--mint-ink); background: #E3EFE8; }
.register-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); background: #F7F9FB; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- WORKFLOW ---------- */
.flow-wrap { grid-column: 1 / -1; }
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow::before { content: ""; position: absolute; left: 36px; right: 10%; top: 35px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.dark .flow::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 6px, transparent 6px 12px); }
.flow .pulse { position: absolute; top: 30px; left: 36px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px var(--mint); animation: travel 6s var(--ease) infinite; }
@keyframes travel { 0% { left: 36px; opacity: 0; } 8%, 90% { opacity: 1; } 100% { left: 82%; opacity: 0; } }
.node { position: relative; }
.node .dot { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset, 0 14px 30px -18px rgba(8,48,72,.4); }
.node .dot svg { width: 28px; height: 28px; }
.dark .node .dot { background: var(--ink-800); box-shadow: 0 0 0 1px var(--line-dark-2) inset, 0 14px 30px -18px rgba(0,0,0,.7); }
.node.ai .dot { background: #EEF2F6; box-shadow: 0 0 0 1px rgba(59,71,196,.3) inset; color: var(--iris-ink); }
.node.human .dot { background: #E3EFE8; box-shadow: 0 0 0 1px rgba(7,113,79,.3) inset; color: var(--mint-ink); }
.dark .node.ai .dot { background: #0e4363; color: var(--iris); box-shadow: 0 0 0 1px rgba(192,192,192,.45) inset; }
.dark .node.human .dot { background: #0b3a56; color: var(--mint); box-shadow: 0 0 0 1px rgba(224,184,56,.5) inset; }
.node .who { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.dark .node .who { color: var(--on-dark-2); }
.node strong { display: block; font-weight: 600; font-size: 1.02rem; margin: 4px 0; }
.node p { font-size: .88rem; color: var(--ink-2); margin: 0; max-width: 26ch; }
.dark .node p { color: var(--on-dark-2); }
.flow-back { margin-top: 28px; display: flex; align-items: center; gap: .9rem; font-size: .9rem; color: var(--ink-2); padding: 14px 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; }
.dark .flow-back { color: var(--on-dark-2); box-shadow: 0 0 0 1px var(--line-dark) inset; }
.flow-back svg { width: 34px; height: 34px; flex: none; color: var(--coral-ink); }
.dark .flow-back svg { color: var(--coral); }
.split-legend { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 32px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.dark .split-legend { color: var(--on-dark-2); }
.split-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.split-legend i { width: 12px; height: 12px; border-radius: 4px; }

/* ---------- COMPARISON ---------- */
.cmp-wrap { grid-column: 1 / -1; border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -40px rgba(8,48,72,.3); }
.cmp-scroll { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 860px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 17px 20px; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.45; }
.cmp thead th { padding: 22px 20px; font-weight: 400; border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
.cmp thead th .t { display: block; font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--ink); }
.cmp thead th .s { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 7px; }
.cmp tbody th { font-weight: 600; width: 22%; font-size: .92rem; }
.cmp td.us { background: rgba(224,184,56,.08); }
.cmp thead th.us { background: var(--ink-900); }
.cmp thead .us .t { color: var(--on-dark); } .cmp thead .us .s { color: var(--mint); }
.cmp tr:last-child > * { border-bottom: 0; }
.cmp .m { display: flex; align-items: flex-start; gap: .55rem; }
.cmp .m svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.cmp .m.y svg { color: var(--mint-ink); } .cmp .m.n svg { color: var(--coral-ink); } .cmp .m.h svg { color: #8A6B1C; }
.cmp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding: 14px 20px; border-top: 1px solid var(--line); background: #F7F9FB; font-size: .8rem; color: var(--ink-2); }

/* ---------- PROMISE vs NEVER ---------- */
.pv { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(8,48,72,.45); }
.pv-side { padding: clamp(26px, 3.6vw, 48px); position: relative; }
.pv-yes { background: linear-gradient(160deg, #0b3a56, #0a1426); color: var(--on-dark); }
.pv-no { background: #EEF2F6; color: var(--ink); }
.pv-side h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; margin: .8rem 0 1.6rem; }
.pv-side .k { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.pv-yes .k { color: var(--mint); } .pv-no .k { color: var(--coral-ink); }
.pv ol { list-style: none; margin: 0; padding: 0; }
.pv li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-dark); }
.pv-no li { border-top-color: var(--line-2); }
.pv .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.pv .ic svg { width: 16px; height: 16px; }
.pv-yes .ic { background: var(--mint-soft); color: var(--mint); box-shadow: 0 0 0 1px rgba(224,184,56,.3) inset; }
.pv-no .ic { background: #EEF2F6; color: var(--coral-ink); }
.pv li strong { display: block; font-weight: 600; }
.pv li .d { font-size: .9rem; color: var(--on-dark-2); }
.pv-no li .d { color: var(--ink-2); }
.pv-no li strong { text-decoration: line-through; text-decoration-color: rgba(177,58,39,.6); text-decoration-thickness: 2px; }
.pv-seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); z-index: 2; width: 104px; height: 104px; }
.pv-seal text { font-family: var(--mono); font-size: 8.4px; letter-spacing: 2.2px; fill: var(--on-dark); text-transform: uppercase; }
.pv-foot { grid-column: 1 / -1; margin-top: 18px; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; color: var(--ink-2); font-size: .94rem; }

/* fit */
.fit { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.fit-card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; }
.fit-card.no { background: transparent; box-shadow: 0 0 0 1px var(--line-2) inset; }
.fit-card h3 { font-family: var(--display); font-weight: 400; font-size: 2.1rem; line-height: 1; margin: .7rem 0 1.3rem; }
.fit-card ul { list-style: none; margin: 0; padding: 0; }
.fit-card li { display: flex; gap: .8rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.fit-card li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--mint-ink); }
.fit-card.no li svg { color: var(--coral-ink); }

.reserved { grid-column: 1 / -1; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); border: 1.5px dashed var(--line-2); display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem 3rem; align-items: center; background: repeating-linear-gradient(135deg, rgba(8,48,72,.022) 0 10px, transparent 10px 20px); }
.reserved h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.05; margin: .6rem 0 .6rem; }
.reserved ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reserved li { font-family: var(--mono); font-size: .74rem; padding: .5rem .75rem; border-radius: 8px; border: 1px dashed var(--line-2); color: var(--ink-2); background: var(--paper); }
.reserved li::before { content: "○ "; }

.cta-band { border-radius: 28px; padding: clamp(2.5rem, 6vw, 5.5rem); display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem 3rem; align-items: end; box-shadow: var(--shadow); }
.cta-band h2 { font-family: var(--display); font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .96; letter-spacing: -.025em; }
.cta-band p { color: var(--on-dark-2); }

/* ---------- PAGE HERO (inner) ---------- */
.page-hero { padding: 160px 0 clamp(4rem, 7vw, 6rem); }
.page-hero .grid { align-items: end; row-gap: 2.5rem; }
.page-hero .ph-copy { grid-column: 1 / span 7; }
.page-hero h1 { font-family: var(--display); font-size: clamp(3rem, 6vw, 5.6rem); line-height: .97; letter-spacing: -.022em; margin: 1.3rem 0 1.3rem; max-width: 14ch; }
.page-hero .ph-aside { grid-column: 9 / span 4; }
.facts { margin: 0; border-radius: 16px; padding: 6px 20px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line-dark-2) inset; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 13px 0; border-top: 1px solid var(--line-dark); font-size: .92rem; }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); padding-top: 3px; white-space: nowrap; }
.facts dd { margin: 0; text-align: right; color: var(--on-dark); }
.crumbs-line { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.crumbs-line a { color: var(--on-dark-2); text-decoration: none; }
.crumbs-line a:hover { color: var(--on-dark); }

.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); padding-block: clamp(2.5rem, 5vw, 4.2rem); border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.row .rl { grid-column: 1 / span 4; }
.row .rl .num { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); letter-spacing: .08em; }
.row .rl h2 { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.02; letter-spacing: -.015em; margin-top: .6rem; }
.row .rl .stick { position: sticky; top: 110px; }
.row .rr { grid-column: 6 / span 7; }
.row .rr.wide { grid-column: 5 / span 8; }
.row .rr > p { font-size: 1.06rem; }
.row .rr.full, .row .full { grid-column: 1 / -1; margin-top: 2rem; }
.dark .row { border-top-color: var(--line-dark); }
.dark .row .rl .num { color: var(--on-dark-2); }
.list-check { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.list-check li { display: grid; grid-template-columns: 22px 1fr; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--line); font-size: 1.04rem; }
.list-check li:last-child { border-bottom: 1px solid var(--line); }
.list-check svg { width: 18px; height: 18px; margin-top: 5px; color: var(--mint-ink); }
.list-x li svg { color: var(--coral-ink); }
.list-check li .d { display: block; font-size: .92rem; color: var(--ink-2); }
.callout { border-radius: 16px; padding: 20px 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin-top: 1.5rem; }
.callout .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #EEF2F6; color: var(--coral-ink); }
.callout .ic svg { width: 20px; height: 20px; }
.callout.calm .ic { background: #E3EFE8; color: var(--mint-ink); }
.callout p { margin: 0; }
.callout strong { display: block; margin-bottom: 2px; }
.links-row { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; margin-top: 1.8rem; }

/* ---------- PRICING ---------- */
.tiers { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 18px; align-items: stretch; }
.tier { position: relative; border-radius: var(--r-lg); padding: 30px 28px 28px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.tier:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 50px -30px rgba(8,48,72,.3); }
.tier .tn { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.tier h3 { font-family: var(--display); font-weight: 400; font-size: 2.35rem; line-height: 1; margin: 1.2rem 0 .5rem; }
.tier .nm { margin-bottom: .8rem; }
.tier .for { color: var(--ink-2); font-size: .94rem; min-height: 3.2em; }
.tier .price { margin: 1.2rem 0 1.3rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier .price .lbl { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .45rem; background: none; padding: 0; }
.tier ul { list-style: none; margin: 0 0 1.6rem; padding: 0; font-size: .93rem; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: .65rem; padding: .36rem 0; }
.tier li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--mint-ink); }
.tier li.plus { font-weight: 600; }
.tier .btn { margin-top: auto; justify-content: space-between; }
.tier.core { background: var(--ink-900); color: var(--on-dark); box-shadow: var(--shadow); transform: translateY(-16px); }
.tier.core:hover { transform: translateY(-20px); }
.tier.core::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(150deg, var(--mint), rgba(255,255,255,.05) 45%, var(--iris)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tier.core::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(80% 40% at 100% 0%, rgba(192,192,192,.22), transparent 60%); pointer-events: none; }
.tier.core .tn, .tier.core .for, .tier.core .price .lbl { color: var(--on-dark-2); }
.tier.core .price { border-color: var(--line-dark); }
.tier.core li svg { color: var(--mint); }

.matrix-wrap { grid-column: 1 / -1; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
.matrix-scroll { overflow-x: auto; }
table.matrix { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 760px; }
.matrix th, .matrix td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { background: #F7F9FB; font-weight: 400; padding-block: 22px; vertical-align: bottom; width: 17%; }
.matrix thead th:first-child { width: auto; text-align: left; }
.matrix thead th .t { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.matrix thead th .s { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px; }
.matrix th[scope="row"] { text-align: left; font-weight: 500; }
.matrix .grp th { text-align: left; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: #F7F9FB; padding-block: 11px; font-weight: 500; }
.matrix td.c2 { background: rgba(224,184,56,.07); }
.matrix thead th.c2 { background: var(--ink-900); color: var(--on-dark); }
.matrix thead th.c2 .s { color: var(--mint); }
.matrix td svg { width: 20px; height: 20px; margin-inline: auto; color: var(--mint-ink); }
.matrix td .no { display: inline-block; width: 14px; height: 2px; background: var(--line-2); vertical-align: middle; }
.matrix td .txt { font-size: .82rem; color: var(--ink-2); }
.matrix tr:last-child > * { border-bottom: 0; }
.matrix tbody tr:not(.grp):hover > * { background: #F7F9FB; }
.matrix tbody tr:not(.grp):hover > td.c2 { background: rgba(224,184,56,.14); }

/* ---------- HOW IT WORKS ---------- */
.gantt { grid-column: 1 / -1; border-radius: var(--r-lg); background: var(--ink-900); color: var(--on-dark); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); position: relative; overflow: hidden; }
.gantt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 100% 0%, rgba(192,192,192,.18), transparent 60%); pointer-events: none; }
.gantt-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 18px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.gantt-axis, .g-row { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: center; }
.gantt-axis .ticks { position: relative; height: 22px; font-family: var(--mono); font-size: .66rem; color: var(--on-dark-2); }
.gantt-axis .ticks span { position: absolute; transform: translateX(-50%); }
.g-row { padding: 14px 0; border-top: 1px solid var(--line-dark); position: relative; z-index: 1; }
.g-row .lab strong { display: block; font-weight: 600; font-size: .98rem; }
.g-row .lab span { font-size: .82rem; color: var(--on-dark-2); }
.g-track { position: relative; height: 40px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px calc(100% / 30)); }
.g-bar { position: absolute; top: 6px; bottom: 6px; left: var(--s); width: var(--w); border-radius: 8px; background: linear-gradient(90deg, #C0C0C0, #E0B838); box-shadow: 0 8px 20px -8px rgba(224,184,56,.5); display: flex; align-items: center; padding: 0 10px; font-family: var(--mono); font-size: .66rem; color: var(--ink-950); font-weight: 600; white-space: nowrap; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.g-bar.walk { background: linear-gradient(90deg, #f3d37a, var(--amber)); box-shadow: 0 8px 20px -8px rgba(224,184,56,.5); }
.g-bar.sign { background: linear-gradient(90deg, #E0B838, #f0d675); }
.in .g-bar { transform: scaleX(1); }
.g-row:nth-child(2) .g-bar { transition-delay: .12s; } .g-row:nth-child(3) .g-bar { transition-delay: .24s; } .g-row:nth-child(4) .g-bar { transition-delay: .36s; } .g-row:nth-child(5) .g-bar { transition-delay: .48s; }
.g-out { grid-column: 2; font-size: .8rem; color: var(--on-dark-2); }
.g-out b { color: var(--on-dark); font-weight: 500; }
.gantt-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); position: relative; z-index: 1; }
.gantt-legend i { display: inline-block; width: 22px; height: 8px; border-radius: 4px; margin-right: .5rem; vertical-align: middle; }

.wheel-wrap { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wheel { width: 100%; max-width: 580px; justify-self: center; overflow: visible; }
.wheel text { font-family: var(--mono); }
.wheel .rot { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel-key { list-style: none; margin: 0; padding: 0; }
.wheel-key li { display: grid; grid-template-columns: 16px 108px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-dark); align-items: start; }
.wheel-key li:last-child { border-bottom: 1px solid var(--line-dark); }
.wheel-key i { width: 14px; height: 14px; border-radius: 4px; margin-top: 4px; }
.wheel-key strong { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; font-weight: 500; }
.wheel-key span { color: var(--on-dark-2); font-size: .95rem; }
.year { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: 1.6rem; }
.year div { font-family: var(--mono); font-size: .6rem; text-align: center; color: var(--on-dark-2); }
.year div b { display: block; height: 28px; border-radius: 5px; background: rgba(255,255,255,.05); margin-bottom: 6px; }
.year div.hot b { background: linear-gradient(180deg, rgba(224,184,56,.7), rgba(224,184,56,.25)); }
.year-cap { font-size: .82rem; color: var(--on-dark-2); margin-top: .8rem; }

/* ---------- FORM ---------- */
.form-card { border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line) inset, 0 40px 80px -50px rgba(8,48,72,.4); padding: clamp(22px, 3.5vw, 44px); }
.field { margin-bottom: 1.4rem; }
.field > label, fieldset > legend { display: block; font-weight: 600; font-size: .96rem; margin-bottom: .5rem; padding: 0; }
.hint { display: block; font-size: .85rem; color: var(--ink-2); margin: -.25rem 0 .55rem; }
input[type="text"], input[type="email"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #F7F9FB; border: 1px solid var(--line-2); border-radius: 12px; padding: .82rem .95rem; transition: border-color .2s, box-shadow .2s, background .2s; }
input:hover, select:hover, textarea:hover { border-color: #8C97A1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(224,184,56,.4); }
textarea { min-height: 8rem; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230b1222' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choices span { display: inline-block; padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; background: #F7F9FB; transition: background .2s, color .2s, border-color .2s; }
.choices label:hover span { border-color: var(--ink-2); }
.choices input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choices input:focus-visible + span { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--amber); }
.err { display: block; font-size: .84rem; font-weight: 500; color: var(--coral-ink); margin-top: .45rem; }
.err:empty { display: none; }
[aria-invalid="true"] { border-color: var(--coral-ink) !important; }
.form-status { border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1.25rem; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: .94rem; }
.form-status[hidden] { display: none; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 1.7rem 3.4rem; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; background: var(--ink); color: var(--mint); }
.steps li::after { content: ""; position: absolute; left: 1.15rem; top: 2.6rem; bottom: .3rem; width: 1px; background: var(--line-2); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; }
.steps span { color: var(--ink-2); font-size: .94rem; }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: clamp(1rem, 2.2vw, 2rem); row-gap: 3rem; }
.contact-grid .side { grid-column: 1 / span 4; }
.contact-grid .side .stick { position: sticky; top: 110px; }
.contact-grid .main { grid-column: 6 / span 7; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink-950); color: var(--on-dark); padding-top: clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 80%; background: radial-gradient(50% 60% at 50% 100%, rgba(192,192,192,.18), transparent 70%); z-index: -1; }
.footer::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; pointer-events: none; z-index: -1; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: end; padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-dark); }
.foot-top .display { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
.foot-top .act { justify-self: end; max-width: 26rem; }
.foot-top .act p { color: var(--on-dark-2); margin-bottom: 1.3rem; }
.foot-cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-block: 3rem; }
.foot-cols h2 { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 500; margin-bottom: 1rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: .6rem; }
.foot-cols a { text-decoration: none; color: var(--on-dark); opacity: .82; transition: opacity .2s; font-size: .95rem; }
.foot-cols a:hover { opacity: 1; text-decoration: underline; }
.foot-brand p { color: var(--on-dark-2); font-size: .92rem; max-width: 34ch; margin-top: 1rem; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.4rem; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; color: var(--on-dark-2); text-transform: uppercase; }
.wordmark-xl { font-family: var(--display); font-size: clamp(3.4rem, 13.4vw, 13rem); line-height: .78; letter-spacing: -.035em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; margin: 1rem 0 -.1em; user-select: none; text-align: center; overflow: hidden; }

/* 404 */
.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; }
.nf .code { font-family: var(--display); font-size: clamp(8rem, 22vw, 18rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); letter-spacing: -.04em; }
.nf-links { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 30rem; }
.nf-links a { display: flex; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--line-dark); text-decoration: none; font-size: 1.1rem; transition: padding .3s var(--ease), color .2s; }
.nf-links a:hover { padding-left: .5rem; color: var(--mint); }
.nf-links li:last-child a { border-bottom: 1px solid var(--line-dark); }

/* pinned CTA */
.pin { position: fixed; right: 20px; bottom: 20px; z-index: 40; transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform 320ms var(--ease), opacity 320ms, visibility 0s 320ms; }
.pin.on { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
.rise { animation: rise 1s var(--ease) both; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .2s; } .rise.d3 { animation-delay: .32s; } .rise.d4 { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-panel { position: fixed; top: 82px; left: 12px; right: 12px; z-index: 49; border-radius: 18px; padding: 8px; background: rgba(10,17,34,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 0 0 1px var(--line-dark-2) inset, var(--shadow); color: var(--on-dark); max-height: calc(100vh - 100px); overflow: auto; }
  .mobile-panel.open { display: block; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; }
  .mobile-panel a:not(.btn) { display: block; padding: 13px 14px; border-radius: 12px; text-decoration: none; font-size: 1.04rem; color: var(--on-dark); }
  .mobile-panel a:not(.btn):hover { background: rgba(255,255,255,.06); }
  .mobile-panel .grp { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); padding: 14px 14px 4px; }
  .mobile-panel .btn { margin: 10px; display: flex; justify-content: space-between; }
  .hero-copy, .hero-visual { grid-column: 1 / -1; }
  .hero-visual { max-width: 660px; margin-inline: auto; width: 100%; }
  .sec-head { grid-column: 1 / -1; }
  .sec-aside { grid-column: 1 / -1; margin-top: -1.5rem; }
  .dash { grid-template-columns: 1fr 1fr; }
  .memo { grid-row: auto; grid-column: 1 / -1; }
  .page-hero .ph-copy, .page-hero .ph-aside { grid-column: 1 / -1; }
  .page-hero .ph-aside { max-width: 560px; }
  .tiers { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; }
  .tier.core { transform: none; } .tier.core:hover { transform: translateY(-4px); }
  .wheel-wrap { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .contact-grid .side, .contact-grid .main { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-bar { padding-left: 14px; }
  .brand small { display: none; }
  .hero { padding-top: 124px; }
  .hero h1 { font-size: clamp(3rem, 13.6vw, 4.3rem); }
  .hero-visual { padding: 0; }
  .hero-app { transform: none !important; }
  .float { position: relative; width: auto; inset: auto; margin-top: 12px; animation: none; }
  .float.f1 { display: none; }
  .ba { grid-template-columns: 1fr; }
  .ba-mid { height: 64px; } .ba-mid svg { transform: rotate(90deg); width: 64px; height: 64px; }
  .ba-cap { grid-template-columns: 1fr; gap: .6rem; } .ba-cap p:last-child { grid-column: 1; }
  .scrap-field { height: 520px; }
  .scrap { width: 200px; }
  .system { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; } .svc.core, .svc.side { grid-column: 1; grid-row: auto; }
  .loop { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; padding: 8px; }
  .weeks { grid-template-columns: 1fr 1fr; row-gap: 24px; } .weeks::before, .weeks::after { display: none; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { left: 35px; right: auto; top: 30px; bottom: 60px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .dark .flow::before { background: repeating-linear-gradient(180deg, rgba(255,255,255,.2) 0 6px, transparent 6px 12px); }
  .flow .pulse { display: none; }
  .node { display: grid; grid-template-columns: 72px 1fr; gap: 0 18px; padding-bottom: 22px; }
  .node .dot { grid-row: span 3; margin: 0; }
  .pv { grid-template-columns: 1fr; } .pv-seal { display: none; }
  .fit { grid-template-columns: 1fr; }
  .reserved { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; border-radius: 22px; }
  .row .rl, .row .rr, .row .rr.wide { grid-column: 1 / -1; }
  .row .rl .stick { position: static; margin-bottom: 1.4rem; }
  .gantt-axis, .g-row { grid-template-columns: 1fr; gap: 8px; }
  .gantt-axis .lab { display: none; }
  .g-out { grid-column: 1; }
  .foot-top { grid-template-columns: 1fr; } .foot-top .act { justify-self: start; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .wheel-key li { grid-template-columns: 16px 1fr; } .wheel-key span { grid-column: 2; }
  .contact-grid .side .stick { position: static; }
  .pin { left: 16px; right: 16px; bottom: 14px; } .pin .btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rise { animation: fade .2s linear both !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-app, .hero-visual:hover .hero-app { transform: none; }
  .flow .pulse, .wheel .rot { animation: none !important; }
  .btn { transform: none !important; }
  .in .g-bar, .g-bar { transform: none; }
}
@media print { .nav, .pin, .skip { display: none; } }
html:not(.js) .g-bar, html:not(.js) .weeks::after { transform: none; }
html:not(.js) .ring .fg { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .g-bar, .weeks::after { transform: none !important; } .ring .fg { stroke-dashoffset: 0 !important; } }

/* ---- review round 1 fixes ---- */
figure { margin: 0; }
h2.sec-title, .page-hero h1, .hero h1 { text-wrap: balance; }
.hero-app .app-top .tag-sample { margin-left: 0; order: -1; }
.hero-app .app-top > span:not(.tag-sample) { margin-left: auto; }
.float.f1 { top: auto; bottom: 86px; right: -34px; }
.float.f2 { bottom: -18px; left: -34px; }
.ba-mid { position: relative; }
.ba-mid::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.ba-node { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-900); color: var(--mint); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 16px 30px -12px rgba(8,48,72,.5); }
.ba-node svg { width: 22px; height: 22px; }
.ba-node::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(7,113,79,.35); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.svc.core { justify-content: flex-start; }
.svc.core .art { margin-top: auto; }
.mini-plan { list-style: none; margin: 0 0 12px; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px var(--line-dark) inset; }
.mini-plan li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 10px; font-size: .86rem; }
.mini-plan li + li { box-shadow: 0 -1px 0 var(--line-dark); }
.mini-plan .chip { font-size: .62rem; }
.footer .display em { color: var(--mint); }
.wordmark-xl { font-size: clamp(4rem, 16.6vw, 17rem); -webkit-text-stroke: 1px rgba(255,255,255,.12); margin-top: 1.5rem; }
.flow::before { right: calc(20% - 40px); }
@keyframes travel { 0% { left: 36px; opacity: 0; } 8%, 90% { opacity: 1; } 100% { left: calc(80% + 24px); opacity: 0; } }
@media (max-width: 760px) { .ba-mid::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); } .ba-node svg { transform: rotate(90deg); } .ba-mid { height: 90px; } }
.g-bar.narrow { overflow: visible; color: transparent; }
.g-bar.narrow::after { content: attr(data-l); position: absolute; left: calc(100% + 10px); color: var(--on-dark); font-weight: 500; }
.g-bar.narrow.end::after { left: auto; right: calc(100% + 10px); }
.float.f1 { top: -10px; bottom: auto; right: -30px; }
@media (max-width: 760px) {
  .scrap-field { height: auto; display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
  .scrap { position: relative; left: auto !important; top: auto !important; width: 86%; }
  .scrap:nth-child(even) { align-self: flex-end; }
  table.register, table.cmp { min-width: 0; }
  .register thead, .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .register tbody, .register tr, .register td, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto !important; }
  .register tr { position: relative; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .register td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
  .register td::before { content: attr(data-th); font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
  .register td.idn { display: none; }
  .register td.fnd { display: block; font-weight: 600; padding-right: 118px; margin-bottom: 6px; }
  .register td.fnd::before { display: none; }
  .register td.stc { position: absolute; top: 14px; right: 16px; display: block; padding: 0; }
  .register td.stc::before { display: none; }
  .register .cite { white-space: normal; }
  .cmp tr { padding: 16px; border-bottom: 1px solid var(--line); }
  .cmp tbody th { border: 0; padding: 0 0 8px; font-size: 1rem; }
  .cmp td { border: 0; padding: 8px 10px; border-radius: 10px; }
  .cmp td::before { content: attr(data-th); display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 3px; }
  .cmp td.us { margin-top: 4px; box-shadow: 0 0 0 1px rgba(7,113,79,.25) inset; }
  .matrix th[scope="row"] { position: sticky; left: 0; background: var(--card); z-index: 1; min-width: 180px; box-shadow: 1px 0 0 var(--line); }
}
.g-row { row-gap: 6px; padding: 12px 0; }
.hero-meta { gap: .5rem 1.2rem; }
.mega .eyebrow { color: var(--on-dark-2); }
.nf-a { grid-column: 1 / span 6; } .nf-b { grid-column: 7 / span 6; }
@media (max-width: 760px) { .nf-a, .nf-b { grid-column: 1 / -1; } .nf .code { font-size: 9rem; } }
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* =====================================================================
   v3 BRAND LAYER — Seneca Brand Guidelines v1.0
   Paper first, navy as ink and as selective bands, gold for CTAs and rules.
   ===================================================================== */
body { font-size: 18px; line-height: 1.62; color: var(--ink); font-feature-settings: "kern", "liga"; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.dark :focus-visible, .footer :focus-visible, .app :focus-visible { outline-color: var(--gold); }
.mono, .cite, .date, .cost { font-variant-numeric: tabular-nums; }
.mesh::before, .mesh::after, .gridlines, .glow { display: none !important; }

/* Type: Georgia display, Calibri text. Georgia reads best a touch tighter and never at hairline sizes. */
.display, h2.sec-title, .hero h1, .page-hero h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; color: var(--navy); }
.dark .display, .dark h2.sec-title, .dark h1 { color: var(--on-dark); }
.display em, h2 em, h1 em { font-style: italic; color: var(--navy); background-image: linear-gradient(var(--gold), var(--gold)); background-size: 100% .08em; background-repeat: no-repeat; background-position: 0 92%; padding-bottom: .02em; }
.dark .display em, .dark h2 em, .dark h1 em, .footer .display em { color: var(--gold); background-image: none; }
h2.sec-title { font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.08; max-width: 20ch; }
h3 { font-weight: 700; letter-spacing: 0; color: var(--navy); }
.dark h3 { color: var(--on-dark); }

/* Kickers: small caps, letterspaced, a short gold rule (gold stays a rule, never small text on white) */
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .16em; color: var(--steel); }
.eyebrow::before { width: 22px; height: 2px; background: var(--gold); opacity: 1; }
.dark .eyebrow { color: var(--on-dark-2); }
.tag-sample { font-family: var(--sans); font-weight: 700; font-size: .7rem; color: var(--steel); border-color: var(--silver); background: var(--panel-2); }
.dark .tag-sample, .app .tag-sample { color: var(--gold); border-color: rgba(224,184,56,.55); background: transparent; }
.ph { font-family: var(--sans); font-size: .82em; font-weight: 700; color: var(--navy); border-color: var(--gold-deep); background: repeating-linear-gradient(135deg, rgba(224,184,56,.16) 0 6px, transparent 6px 12px), #FBF6E4; }

/* Buttons: gold primary with navy text (contrast 7.6:1), navy secondary, outline */
.btn { font-weight: 700; border-radius: 8px; letter-spacing: .01em; }
.btn .arr { border-radius: 4px; }
.btn-primary { background: var(--gold); color: var(--navy) !important; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 22px -12px rgba(184,146,42,.9); }
.btn-primary .arr { background: var(--navy); color: var(--gold); }
.btn-primary:hover { background: #E8C452; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 28px -12px rgba(184,146,42,1); }
.btn-ink { background: var(--navy); color: #fff !important; }
.btn-ink .arr { background: var(--gold); color: var(--navy); }
.btn-ink:hover { background: var(--ink-950); }
.btn-line { color: var(--navy); background: transparent; box-shadow: 0 0 0 1.5px var(--navy) inset; }
.btn-line:hover { background: var(--panel); }
.textlink { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--gold); }
.dark .textlink { color: var(--on-dark); }

/* NAV: white glass on paper, navy ink */
.nav { height: 96px; margin-bottom: -96px; }
.nav-bar { height: 72px; color: var(--navy); background: rgba(255,255,255,.82); box-shadow: 0 0 0 1px var(--line) inset, 0 10px 30px -22px rgba(8,48,72,.5); border-radius: 12px; padding: 0 10px 0 14px; }
.nav.scrolled .nav-bar { background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px var(--line) inset, 0 16px 34px -20px rgba(8,48,72,.45); }
.brand { color: var(--navy); gap: 12px; padding: 0; }
.brand .emblem { width: auto; height: 48px; flex: none; }
.brand .wm { font-family: var(--display); font-size: 1.12rem; letter-spacing: 0; font-weight: 400; color: var(--navy); line-height: 1.1; }
.brand small { font-family: var(--sans); font-weight: 700; font-size: .62rem; letter-spacing: .16em; color: var(--steel); margin-top: 3px; }
.nav-links > li > a, .nav-links > li > button { color: var(--steel); font-weight: 700; font-size: .92rem; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > button[aria-expanded="true"], .nav-links a[aria-current="page"] { color: var(--navy); background: var(--panel); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 6px 6px 0 0; }
.menu-btn { color: var(--navy); background: var(--panel-2); box-shadow: 0 0 0 1px var(--line) inset; font-weight: 700; }
.mega { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(8,48,72,.45); border-radius: 14px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mega-list a:hover, .mega-list a:focus-visible { background: var(--panel-2); }
.mega-list .n { width: 76px; font-family: var(--sans); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: #FBF6E4; box-shadow: 0 0 0 1px rgba(184,146,42,.45) inset; border-radius: 8px; }
.mega-list a { grid-template-columns: 76px 1fr; }
.mega-list strong { color: var(--navy); }
.mega-list strong em { font-family: var(--sans); font-weight: 700; color: var(--navy); background: var(--gold); border: 0; }
.mega-list small { color: var(--steel); }
.mega-side { background: var(--navy); box-shadow: none; }
.mega-side .display { color: #fff; }
.mega-side .eyebrow { color: var(--on-dark-2); }
.mega-side .tl { color: #fff; }
.mega-side .tl:hover { color: var(--gold); }
.mobile-panel { background: #fff; color: var(--navy); }
.mobile-panel a { color: var(--navy); }
.mobile-panel .grp { color: var(--steel); }
.pl { font-family: var(--sans); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }

/* HERO: paper, navy ink, restrained. The app mock is the one dark object. */
.hero { padding: 168px 0 clamp(4.5rem, 7vw, 6.5rem); background: linear-gradient(180deg, var(--panel-2), #fff 70%); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: 1.02; }
.hero .lede, .page-hero .lede { color: var(--steel); }
.hero-meta { border-top: 1px solid var(--line); color: var(--steel); font-family: var(--sans); font-weight: 700; }
.hero-meta span::before { background: var(--gold); box-shadow: none; }
.hero-visual { perspective: none; }
.app { background: var(--navy); color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(8,48,72,.6), 0 0 0 1px rgba(8,48,72,.9); border-radius: 14px; }
.hero-app { transform: none !important; }
.float { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -22px rgba(8,48,72,.5); border-radius: 10px; }
.float .k { color: var(--steel); }
.float .k b { color: var(--green); }
.float .bar { background: var(--panel); }
.float .bar b { background: var(--green); }

/* Page hero: paper, a navy rule, facts in a quiet card */
.page-hero { padding: 168px 0 clamp(3.5rem, 6vw, 5rem); background: linear-gradient(180deg, var(--panel-2), #fff); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--navy); }
.crumbs-line { color: var(--steel); font-family: var(--sans); font-weight: 700; }
.crumbs-line a { color: var(--navy); }
.facts { background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 12px; }
.facts dt { color: var(--steel); font-family: var(--sans); font-weight: 700; }
.facts dd { color: var(--navy); }
.facts > div { border-color: var(--line) !important; }

/* Pillars band */
.pillars { background: #fff; border-bottom: 1px solid var(--line); }
.pillars ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars li { padding: 2.2rem 2rem 2.2rem 0; display: grid; gap: .6rem; align-content: start; }
.pillars li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.pillars .pk { display: flex; align-items: center; gap: .7rem; }
.pillars .col { width: 18px; height: 30px; color: var(--navy); }
.pillars .pk b { font-family: var(--display); font-weight: 400; font-size: 1.7rem; color: var(--navy); }
.pillars .pk::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold) 0 36px, transparent 36px); }
.pillars p { margin: 0; color: var(--steel); }
.pillars p strong { color: var(--ink); }
.pillars .textlink { justify-self: start; font-size: .92rem; }
@media (max-width: 760px) { .pillars ol { grid-template-columns: 1fr; } .pillars li, .pillars li + li { padding: 1.5rem 0; border-left: 0; } .pillars li + li { border-top: 1px solid var(--line); } }

/* Dark band: flat brand navy, no glows */
.dark { background: var(--navy); }
.band { border-block: 4px solid var(--gold); }
.lede { color: var(--steel); }
.dark .lede, .dark .sec-aside { color: var(--on-dark-2); }
.sec-aside { color: var(--steel); }

/* Status chips: success green for done, gold for in progress, silver for open */
.status, .st { font-family: var(--sans); font-weight: 700; }
.s-closed, .st.c { color: #fff !important; background: var(--green) !important; box-shadow: none !important; }
.s-prog, .st.p { color: var(--navy) !important; background: var(--gold) !important; box-shadow: none !important; }
.s-open, .st.o { color: var(--navy) !important; background: var(--panel) !important; box-shadow: 0 0 0 1px var(--silver) inset !important; }
.app .s-open { color: var(--on-dark) !important; background: rgba(255,255,255,.08) !important; box-shadow: 0 0 0 1px var(--line-dark-2) inset !important; }
.s-closed::before, .s-prog::before, .s-open::before, .st::before { box-shadow: none !important; }
.chip { font-family: var(--sans); font-weight: 700; }
.app .chip.cite, .register .cite { color: var(--navy); }
.app .chip.cite { color: var(--gold); }
.list-check li svg, .fit-card li svg { color: var(--green); }
.list-x li svg, .fit-card.no li svg { color: var(--steel); }

/* Cards and tables */
.svc, .fit-card, .tier, .register-wrap, .cmp-wrap, .matrix-wrap, .form-card, .reserved, .pv-side, .ba-panel { border-radius: var(--r-lg); }
.svc.core { background: var(--navy); color: var(--on-dark); }
.svc .n { font-family: var(--sans); font-weight: 700; }
.svc .n .pl { margin-right: .45rem; }
.svc.core .pl { color: var(--gold); }
.badge-core { font-family: var(--sans); font-weight: 700; color: var(--navy); background: var(--gold); border: 0; }
.tier.core { background: var(--navy); }
.tier.core .badge-core { color: var(--navy); }
.register th, .cmp thead th .s, .matrix thead .s { font-family: var(--sans); font-weight: 700; color: var(--steel); }
.register th { background: var(--panel); }
.cmp th.us, .cmp td.us, .matrix .c2 { background: #FBF6E4 !important; }
.cmp thead th.us { box-shadow: inset 0 3px 0 var(--gold); }
.matrix thead th.c2 { box-shadow: inset 0 3px 0 var(--gold); }
.matrix .grp th { background: var(--panel); color: var(--navy); font-family: var(--sans); font-weight: 700; }
.matrix td svg { color: var(--green); }
.lbl { font-family: var(--sans); font-weight: 700; background: var(--panel); color: var(--navy); }
.lbl.bp { background: #FBF6E4; color: #6E5512; }
.rank i { background: var(--silver); }
.rank.r3 i, .rank.r2 i:nth-child(-n+2), .rank.r1 i:first-child { background: var(--navy); }
.cmp .m.y svg { color: var(--green); }
.cmp .m.h svg { color: #8A6B1C; }
.cmp .m.n svg { color: var(--steel); }

/* Gantt + wheel colours on brand */
.g-bar { background: var(--navy) !important; color: #fff !important; }
.g-bar.walk { background: var(--gold) !important; color: var(--navy) !important; }
.g-bar.sign { background: var(--green) !important; color: #fff !important; }
.g-bar.narrow::after { color: var(--navy) !important; }
.gantt { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.gantt-head, .gantt-legend, .gantt-axis { color: var(--steel); font-family: var(--sans); font-weight: 700; }
.g-row { border-color: var(--line) !important; }
.g-row .lab strong { color: var(--navy); }
.g-row .lab span, .g-out { color: var(--steel); }
.g-out b { color: var(--ink); }
.g-track { background-image: linear-gradient(to right, var(--line) 1px, transparent 1px) !important; }

/* Workflow on paper */
.node.ai .dot { color: var(--navy); background: #fff; box-shadow: 0 0 0 1px var(--silver) inset; }
.node.human .dot { color: #fff; background: var(--green); box-shadow: none; }
.flow::before { background: linear-gradient(90deg, var(--silver), var(--green)) !important; }
.pulse { background: var(--gold) !important; box-shadow: none !important; }

/* Promise graphic */
.pv-yes { background: #fff; box-shadow: 0 0 0 1px var(--line), inset 0 4px 0 var(--green); }
.pv-yes .ic { color: #fff; background: var(--green); }
.pv-no { background: var(--panel); }
.pv-no .ic { color: var(--steel); background: #fff; box-shadow: 0 0 0 1px var(--silver) inset; }
.pv-side .k { font-family: var(--sans); font-weight: 700; color: var(--steel); }
.pv-seal text { font-family: var(--sans); font-weight: 700; fill: #fff; }

/* Before/after */
.ba-after { background: var(--navy); }
.ba-node { background: var(--gold) !important; color: var(--navy) !important; box-shadow: none !important; }
.ba-node::after { border-color: var(--gold) !important; }
.scrap { box-shadow: 0 0 0 1px var(--line), 0 12px 24px -16px rgba(8,48,72,.4); }
.scrap .warn { color: #6E5512; background: #FBF6E4; }
.sys-cell .k i { background: var(--green) !important; box-shadow: none !important; }

/* Footer: navy, emblem lockup, gold rule */
.footer { background: var(--navy); color: var(--on-dark); border-top: 4px solid var(--gold); }
.footer .brand { color: #fff; }
.footer .brand .emblem { height: 72px; }
.footer .brand .wm { color: #fff; font-size: 1.35rem; }
.footer .brand small { color: var(--gold); letter-spacing: .04em; text-transform: none; font-family: var(--display); font-style: italic; font-weight: 400; font-size: .92rem; }
.footer h2 { color: var(--on-dark-2); font-family: var(--sans); font-weight: 700; }
.footer a { color: #fff; }
.foot-legal { color: var(--on-dark-2); font-family: var(--sans); font-weight: 700; }
.wordmark-xl { display: none; }

/* 404 */
.nf { padding: 168px 0 6rem; background: linear-gradient(180deg, var(--panel-2), #fff); min-height: 80vh; }
.nf-mark { display: grid; place-items: center; padding: 48px; }
.emblem-lg { width: auto; height: clamp(160px, 22vw, 240px); }
.nf h1 { color: var(--navy); }
.nf-links a { color: var(--navy); border-color: var(--line) !important; }

/* Pin + skip */
.pin .btn { box-shadow: 0 16px 34px -14px rgba(8,48,72,.6); }
.skip { background: var(--gold); color: var(--navy); font-family: var(--sans); font-weight: 700; }

/* Calibri/Carlito runs small: lift the tiniest labels for legibility */
.app-top, .panel .k, .float .k, .scrap .k, .sys-cell .k, .node .who, .closure-label, .split-legend, .cal-list .bell, .memo .doc .m { font-family: var(--sans); font-weight: 700; font-size: .7rem; }
.chip, .status, .st { font-size: .72rem; }
/* v3 review round 1 */
.hero h1 { font-size: clamp(2.8rem, 4.7vw, 4.6rem); }
.svc.core, .ba-after, .tier.core { background-image: none !important; }
.svc.core h3, .tier.core h3, .footer .display, .ba-after strong, .sys-core strong { color: #fff; }
.svc.core p { color: var(--on-dark-2); }
.cmp thead th.us .t { color: var(--navy); }
.cmp thead th.us .s { color: #6E5512; }
.pv-yes strong { color: var(--navy); }
.pv-yes .d { color: var(--steel); }
.pv-no strong { color: var(--ink); }
.pv-no .d { color: var(--steel); }
.matrix thead th.c2 .t { color: var(--navy); }
.matrix thead th.c2 .s { color: #6E5512; }
.tier.core::before, .tier.core::after, .svc.core::before, .svc.core::after, .ba-after::before, .ba-after::after { display: none !important; }
@media (max-width: 760px) { .float.f2 { left: 0; right: auto; bottom: -26px; } .float.f1 { right: 0; } .hero-visual { padding-left: 0; } }
.pv .pv-yes li .d { color: var(--steel); } .pv .pv-yes li strong { color: var(--navy); }
.pv .pv-yes li { border-top-color: var(--line); }
/* Logo: never squeeze. Fixed intrinsic ratio 392:498. */
.brand picture, .nf-mark picture { flex: none; display: block; line-height: 0; }
.brand .emblem { height: 48px !important; width: 38px !important; max-width: none; aspect-ratio: 392 / 498; }
.footer .brand .emblem { height: 72px !important; width: 57px !important; }
@media (max-width: 420px) { .brand .wm { font-size: 1.02rem; } }

/* =====================================================================
   v4 PREMIUM LAYER — editorial type, graded photography, cinematic depth.
   Headings: Lora. Body: Figtree (both SIL OFL). Swap fonts via --font-head and --font-body.
   ===================================================================== */
:root {
  --font-head: "Lora", "Lora Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Figtree Fallback", "Segoe UI", Arial, sans-serif;
  --display: var(--font-head);
  --sans: var(--font-body);
  --mono: var(--font-body);
  --hair: rgba(224,184,56,.42);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --shadow-lg: 0 1px 1px rgba(8,48,72,.04), 0 2px 4px rgba(8,48,72,.04), 0 8px 16px rgba(8,48,72,.05), 0 24px 48px -12px rgba(8,48,72,.16), 0 48px 96px -32px rgba(8,48,72,.22);
  --noise: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html { scroll-behavior: auto; }
body { font-size: 18px; line-height: 1.62; font-feature-settings: "kern", "liga"; background: #FBFAF6; text-rendering: optimizeLegibility; }
::selection { background: var(--gold); color: var(--navy); }
.sr { position: absolute !important; }

/* Paper with a faint tooth — premium print feel */
body::before { content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; background-image: var(--noise); opacity: .035; mix-blend-mode: multiply; }

/* Loading line */
.loadline { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 9999; background: linear-gradient(90deg, var(--gold-deep), var(--gold) 60%, #F3DC8E); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
html.js .loadline { animation: ll 1.1s var(--ease-out) .05s forwards, llout .5s ease 1.25s forwards; }
@keyframes ll { to { transform: scaleX(1); } }
@keyframes llout { to { opacity: 0; } }

/* ---- Type scale: editorial */
.display, h2.sec-title, .page-hero h1, .band-h, .step-h, .foot-top .display { font-family: var(--display); font-weight: 340; font-variation-settings: "SOFT" 0, "WONK" 0; }
.display em, h2 em, .page-hero h1 em, .band-h em { font-style: italic; font-weight: 300; color: var(--gold-deep); text-decoration: none; background: none; }
.dark .display em, .dark h2 em, .cine h1 em, .band-h em, .footer .display em { color: var(--gold); }
h2.sec-title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; max-width: 15ch; margin: 1.1rem 0 1.4rem; color: var(--navy); }
.dark h2.sec-title { color: #fff; }
.lede { font-size: clamp(1.12rem, .5vw + 1rem, 1.36rem); line-height: 1.5; }
.sec-aside { font-size: 1.12rem; line-height: 1.6; }
.eyebrow { font-family: var(--sans); font-weight: 650; font-size: .76rem; letter-spacing: .2em; color: var(--steel); }
.eyebrow::before { width: 28px; height: 1px; background: var(--gold-deep); opacity: 1; }
.dark .eyebrow, .cine .eyebrow { color: #E9EEF2; }
.dark .eyebrow::before, .cine .eyebrow::before { background: var(--gold); }

/* Oversized numerals */
.sec-head { position: relative; }
.bignum { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(5.5rem, 13vw, 11.5rem); line-height: .78; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(184,146,42,.55); margin: 0 0 1.4rem -.04em; user-select: none; }
.dark .bignum { -webkit-text-stroke-color: rgba(224,184,56,.45); }

/* ---- Buttons: refined, arrow swaps on hover */
.btn { font-weight: 650; letter-spacing: .005em; padding: 1rem 1.15rem 1rem 1.5rem; overflow: hidden; isolation: isolate; }
.btn .arr { position: relative; overflow: hidden; width: 1.75rem; height: 1.75rem; }
.btn .arr svg { transition: transform .45s var(--ease-out); }
.btn .arr::after { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; transform: translateX(-140%); transition: transform .45s var(--ease-out); }
.btn:hover .arr { transform: none; }
.btn:hover .arr svg { transform: translateX(160%); }
.btn:hover .arr::after { transform: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn:hover::before { transform: translateX(120%); }
.btn-primary { background: var(--gold); color: var(--navy) !important; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 1px 2px rgba(8,48,72,.2), 0 14px 32px -14px rgba(184,146,42,.9); }
.btn-primary .arr { background: var(--navy); color: var(--gold); }
.btn-ghost { color: #fff !important; background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.32) inset; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost .arr { color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.textlink { font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease-out); padding-bottom: 2px; }
.textlink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---- Nav: transparent over cinematic heroes, white glass once scrolled */
.nav-bar { border-radius: 14px; transition: background .4s var(--ease-out), box-shadow .4s, color .3s; }
body:has(.cine) .nav:not(.scrolled) .nav-bar { background: rgba(6,37,56,.28); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
body:has(.cine) .nav:not(.scrolled) .brand .wm, body:has(.cine) .nav:not(.scrolled) .nav-links > li > a, body:has(.cine) .nav:not(.scrolled) .nav-links > li > button, body:has(.cine) .nav:not(.scrolled) .menu-btn { color: #fff; }
body:has(.cine) .nav:not(.scrolled) .brand .wm small { color: #E9EEF2; }
body:has(.cine) .nav:not(.scrolled) .nav-links > li > a:hover, body:has(.cine) .nav:not(.scrolled) .nav-links > li > button:hover, body:has(.cine) .nav:not(.scrolled) .nav-links > li > button[aria-expanded="true"], body:has(.cine) .nav:not(.scrolled) .nav-links a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
body:has(.cine) .nav:not(.scrolled) .menu-btn { background: rgba(255,255,255,.1); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset; }
.brand .wm { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }

/* ---- Cinematic hero */
.cine { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-950); color: #fff; border: 0; }
.hero.cine { min-height: min(100svh, 980px); padding: 150px 0 clamp(4rem, 7vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.hero-bg, .ph-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture, .ph-bg picture, .hero-bg img, .ph-bg img { width: 100%; height: 100%; }
.hero-bg img, .ph-bg img { object-fit: cover; object-position: 50% 62%; transform: scale(1.06); animation: kb 2.4s var(--ease-out) both; }
@keyframes kb { from { transform: scale(1.14); filter: brightness(.7); } to { transform: scale(1.06); filter: none; } }
.cine::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6,37,56,.94) 0%, rgba(6,37,56,.78) 38%, rgba(6,37,56,.32) 70%, rgba(6,37,56,.5) 100%),
  linear-gradient(180deg, rgba(6,37,56,.55) 0%, transparent 30%, transparent 62%, rgba(6,37,56,.92) 100%); }
.cine::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.hero.cine h1 { font-size: clamp(3.3rem, 8.4vw, 7.6rem); line-height: .92; letter-spacing: -.045em; color: #fff; margin: 1.6rem 0 1.8rem; font-weight: 320; }
.hero.cine h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero.cine h1 .li { display: inline-block; animation-name: lineup; animation-duration: 1.2s; animation-timing-function: var(--ease-out); }
@keyframes lineup { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero.cine .hero-copy { grid-column: 1 / span 7; }
.hero.cine .lede { color: #DCE4EA; max-width: 40ch; }
.hero.cine .hero-meta { border-top: 1px solid rgba(255,255,255,.18); color: #DCE4EA; }
.hero.cine .hero-meta span::before { background: var(--gold); }
.hero.cine .hero-visual { grid-column: 8 / span 5; align-self: end; padding: 0; }
.hero-credit { position: absolute; right: var(--pad); bottom: 14px; margin: 0; font-size: .7rem; letter-spacing: .06em; color: rgba(255,255,255,.72); }
/* floating glass action-plan card */
.cine .hero-app { background: rgba(255,255,255,.1) !important; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 40px 80px -30px rgba(0,0,0,.65); }
.cine .hero-app * { border-color: rgba(255,255,255,.14) !important; }
.cine .hero-app .app-top, .cine .hero-app .app-top b, .cine .hero-app .what, .cine .hero-app .closure-label { color: #fff !important; background: transparent !important; }
.cine .hero-app .app-tabs span { color: #DCE4EA !important; background: transparent !important; }
.cine .hero-app .app-tabs .on { color: var(--navy) !important; background: var(--gold) !important; border-radius: 999px; }
.cine .hero-app .plan-row { background: rgba(6,37,56,.38) !important; }
.cine .hero-app .plan-row.active { background: rgba(6,37,56,.6) !important; box-shadow: 0 0 0 1px rgba(224,184,56,.5) inset; }
.cine .hero-app .chip { background: rgba(255,255,255,.1) !important; color: #E9EEF2 !important; }
.cine .hero-app .tag-sample { color: var(--gold) !important; }
.cine .float { background: rgba(251,250,246,.96) !important; color: var(--ink) !important; box-shadow: var(--shadow-lg) !important; }
.cine .hero-visual { animation: floatin 1.4s var(--ease-out) .5s both; }
@keyframes floatin { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---- Inner page heroes: shorter cinematic band */
.page-hero.cine { padding: 176px 0 clamp(4rem, 7vw, 6rem); color: #fff; }
.page-hero.cine h1 { color: #fff; font-size: clamp(3.2rem, 7.6vw, 7rem); line-height: .94; letter-spacing: -.04em; font-weight: 320; max-width: 13ch; }
.page-hero.cine .lede { color: #DCE4EA; }
.page-hero.cine .crumbs-line, .page-hero.cine .crumbs-line a { color: #DCE4EA; }
.page-hero.cine .ph-aside .facts { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: .4rem 1.4rem; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.page-hero.cine .facts div { border-color: rgba(255,255,255,.14) !important; }
.page-hero.cine .facts dt { color: var(--gold) !important; }
.page-hero.cine .facts dd { color: #fff !important; }
.page-hero.cine .ph { color: #fff; background: repeating-linear-gradient(135deg, rgba(224,184,56,.14) 0 6px, transparent 6px 12px), rgba(6,37,56,.5); border-color: rgba(224,184,56,.7); }
.page-hero.cine::before { background: linear-gradient(90deg, rgba(6,37,56,.95), rgba(6,37,56,.82) 50%, rgba(6,37,56,.6)), linear-gradient(180deg, rgba(6,37,56,.5), transparent 40%, rgba(6,37,56,.7)); }

/* ---- Marquee of platforms (text only) */
.marquee { background: var(--navy); color: #E9EEF2; border-block: 1px solid rgba(224,184,56,.35); overflow: hidden; padding: 1.25rem 0; }
.mq-track { display: flex; width: max-content; animation: mq 48s linear infinite; }
.mq-set { display: flex; align-items: center; }
.mq-set span { font-family: var(--display); font-weight: 340; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -.01em; white-space: nowrap; padding: 0 1.6rem; }
.mq-set i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: none; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---- Sticky scroll story: Prepare / Maintain / Protect */
.story { padding-block: clamp(5rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem); background: #FBFAF6; }
.story-head { margin-bottom: clamp(2rem, 5vw, 4rem); }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story-media { position: sticky; top: 112px; height: min(76vh, 720px); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); isolation: isolate; }
.story-media .sm { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.story-media .sm.on { opacity: 1; transform: none; }
.story-media picture, .story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,37,56,.75)), var(--noise); background-blend-mode: normal, overlay; opacity: 1; pointer-events: none; }
.sm-cap { position: absolute; left: 1.6rem; bottom: 1.4rem; z-index: 2; color: #fff; font-family: var(--display); font-size: 1.6rem; letter-spacing: -.01em; }
.sm-rail { position: absolute; right: 1.4rem; bottom: 1.6rem; z-index: 3; display: flex; gap: 6px; }
.sm-rail i { width: 22px; height: 2px; background: rgba(255,255,255,.35); transition: background .4s, width .4s var(--ease-out); }
.sm-rail i.on { width: 44px; background: var(--gold); }
.story-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 78vh; display: flex; align-items: center; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step-in { padding-block: 3rem; opacity: .32; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.step.on .step-in { opacity: 1; transform: none; }
.step-num { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(6rem, 12vw, 10rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--gold-deep); margin-bottom: 1.6rem; }
.step-k { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin: 0 0 .8rem; }
.step-k b { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 1.5rem; color: var(--gold-deep); }
.step-k span { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.step-h { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: var(--navy); margin: 0 0 1.2rem; }
.step-in > p:not(.step-k) { color: var(--steel); font-size: 1.12rem; max-width: 40ch; }
.step-img { display: none; }
html:not(.js) .step-in { opacity: 1; transform: none; }

/* ---- Full-bleed graded image band */
.band-img { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(7rem, 16vw, 13rem) 0; background: var(--ink-950); }
.band-img > picture { position: absolute; inset: 0; z-index: -2; }
.band-img > picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.band-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,37,56,.9), rgba(6,37,56,.45) 55%, rgba(6,37,56,.2)), var(--noise); background-blend-mode: normal, overlay; }
.band-h { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .94; letter-spacing: -.045em; margin: 1.2rem 0 1.4rem; font-weight: 320; color: #fff; }
.band-p { color: #E9EEF2; font-size: 1.2rem; max-width: 40ch; }

/* ---- Navy band with grain + gold aura */
.section.dark.grain { background: radial-gradient(60% 50% at 85% 0%, rgba(224,184,56,.14), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(74,85,96,.5), transparent 70%), var(--navy); isolation: isolate; }
.section.dark.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .18; mix-blend-mode: overlay; pointer-events: none; }

/* ---- Depth: gold hairlines, layered shadows, cursor glow */
.section { padding-block: clamp(5.5rem, 12vw, 10rem); }
.section + .section:not(.dark)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--max), 100% - 2 * var(--pad)); transform: translateX(-50%); height: 1px; background: linear-gradient(90deg, transparent, var(--hair), transparent); }
.tier, .svc, .fit-card, .dash, .cmp-wrap, .reg-wrap, .pv-side, .reserved, .gantt, .wheel-wrap, .callout, .form-card, .app:not(.hero-app) { box-shadow: var(--shadow-lg); }
.cglow { position: relative; }
.cglow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(224,184,56,.16), transparent 45%); z-index: 1; }
.cglow:hover::after { opacity: 1; }
.svg-draw path, .svg-draw circle { transition: stroke-dashoffset 1.6s var(--ease-out); }

/* ---- Footer: big emblem, editorial sign-off */
.footer { background: radial-gradient(70% 60% at 50% 0%, rgba(224,184,56,.10), transparent 70%), var(--ink-950); border-top: 1px solid rgba(224,184,56,.5); }
.footer::after { background-image: var(--noise); opacity: .14; mix-blend-mode: overlay; }
.foot-mark { display: flex; justify-content: center; padding-bottom: 2.5rem; }
.foot-mark img { width: clamp(120px, 14vw, 180px); height: auto; }
.foot-top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.foot-top .display { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .95; letter-spacing: -.04em; color: #fff; max-width: 16ch; }
.foot-top .act { justify-self: center; text-align: center; }
.foot-top .act .btn { margin-inline: auto; }

/* ---- Load choreography for page heroes */
.page-hero.cine .rise { animation-duration: 1.2s; animation-timing-function: var(--ease-out); }

@media (max-width: 1080px) {
  .hero.cine .hero-copy { grid-column: 1 / -1; }
  .hero.cine .hero-visual { grid-column: 1 / -1; max-width: 640px; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .step { min-height: 0; }
  .step-in { opacity: 1; transform: none; padding-block: 2.5rem; }
  .step-img { display: block; border-radius: 16px; overflow: hidden; margin: 1.4rem 0; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
  .step-img picture, .step-img img { width: 100%; height: 100%; object-fit: cover; }
  .step-num { font-size: 5.5rem; margin-bottom: 1rem; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero.cine { min-height: 0; padding-top: 128px; }
  .hero.cine h1 { font-size: clamp(2.9rem, 13.4vw, 4rem); letter-spacing: -.04em; }
  .cine::before { background: linear-gradient(180deg, rgba(6,37,56,.82), rgba(6,37,56,.7) 50%, rgba(6,37,56,.95)); }
  .bignum { font-size: 5.2rem; }
  .hero-credit { position: static; padding: 1.2rem var(--pad) 0; }
  .page-hero.cine { padding-top: 136px; }
  .page-hero.cine h1 { font-size: clamp(2.7rem, 12vw, 3.8rem); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .loadline { animation: none; opacity: 0; }
  .mq-track { animation: none; flex-wrap: wrap; width: auto; }
  .mq-set + .mq-set { display: none; }
  .mq-set { flex-wrap: wrap; justify-content: center; row-gap: .6rem; }
  .hero-bg img, .ph-bg img { animation: none; transform: none; }
  .hero.cine h1 .li, .cine .hero-visual { animation: none; }
  .story-media .sm, .step-in, .btn::before, .btn .arr svg, .btn .arr::after { transition: none; }
  .step-in { opacity: 1; transform: none; }
}
/* hero composition: headline spans the frame, glass card overlaps the lower right */
.hero.cine .hero-copy { grid-column: 1 / -1; }
.hero.cine .lede, .hero.cine .actions, .hero.cine .hero-meta { max-width: 520px; }
.hero.cine .hero-visual { grid-column: 7 / span 6; margin-top: -330px; }
@media (max-width: 1080px) { .hero.cine .hero-visual { grid-column: 1 / -1; margin-top: 3rem; } .hero.cine .lede, .hero.cine .actions, .hero.cine .hero-meta { max-width: none; } }

/* iteration 2: weightier display, brighter photography, quieter grain */
.display, h2.sec-title, .page-hero h1, .band-h, .step-h, .foot-top .display, .hero.cine h1, .page-hero.cine h1 { font-weight: 400; }
.display em, h2 em, .page-hero h1 em, .band-h em { font-weight: 360; }
.hero.cine h1 { font-size: clamp(3.3rem, 9.2vw, 8rem); }
.cine::before { background:
  linear-gradient(90deg, rgba(6,37,56,.9) 0%, rgba(6,37,56,.66) 36%, rgba(6,37,56,.18) 68%, rgba(6,37,56,.28) 100%),
  linear-gradient(180deg, rgba(6,37,56,.5) 0%, transparent 26%, transparent 60%, rgba(6,37,56,.9) 100%); }
.cine::after { opacity: .1; }
.story-media::after { background: linear-gradient(180deg, transparent 55%, rgba(6,37,56,.75)); }
.band-img::before { background: linear-gradient(90deg, rgba(6,37,56,.88), rgba(6,37,56,.4) 55%, rgba(6,37,56,.12)); }
.band-img .eyebrow { color: #E9EEF2; }
.band-img .eyebrow::before { background: var(--gold); }
.step-in { opacity: .45; }
.ba { box-shadow: none; }
@media (max-width: 640px) {
  .cine::before { background: linear-gradient(180deg, rgba(6,37,56,.7), rgba(6,37,56,.45) 45%, rgba(6,37,56,.92)); }
  .hero-bg img { object-position: 62% 50%; }
}

/* iteration 3 */
:root { --paper-2: #F3F1EA; --panel-2: #F7F5EF; --panel: #EEEBE2; }
.cine .hero-app { background: rgba(6,37,56,.55) !important; }
.cine .float.f2 { display: none; }
.cine .float.f1 { left: -64px; right: auto; top: auto; bottom: -34px; max-width: 260px; }
.step { min-height: 68vh; }
.step-in, .step.on .step-in { opacity: 1; transform: none; }
.step-num { transition: color .6s var(--ease-out), -webkit-text-stroke-color .6s; -webkit-text-stroke-color: rgba(184,146,42,.45); }
.step.on .step-num { color: rgba(224,184,56,.14); -webkit-text-stroke-color: var(--gold-deep); }
.step .step-h { color: var(--steel); transition: color .5s; }
.step.on .step-h { color: var(--navy); }
.step-in { border-left: 2px solid transparent; padding-left: 1.6rem; margin-left: -1.6rem; transition: border-color .5s; }
.step.on .step-in { border-left-color: var(--gold); }
@media (max-width: 900px) { .step-in { margin-left: 0; padding-left: 0; border: 0; } .step .step-h { color: var(--navy); } }
.cine .float.f1 { top: 46%; bottom: auto; left: -110px; }
@media (max-width: 1080px) { .cine .float.f1 { left: auto; right: 12px; top: auto; bottom: -30px; } }
/* Accent gold on light grounds: Deep Gold shaded to #9C7A1E so large italic accents clear WCAG 3:1 on paper. */
:root { --gold-text: #9C7A1E; }
.display em, h2 em, .page-hero h1 em, .step-k b { color: var(--gold-text); }
.dark .display em, .dark h2 em, .cine h1 em, .band-h em, .footer .display em, .tier.core h2 em { color: var(--gold); }
.step-num::before { content: attr(data-n); }
@media (max-width: 640px) {
  .hero-bg { bottom: auto; height: 920px; }
  .hero-bg img { object-position: 72% 100%; }
  .hero.cine::before { background: linear-gradient(180deg, rgba(6,37,56,.78) 0, rgba(6,37,56,.62) 380px, rgba(6,37,56,.35) 700px, rgba(6,37,56,1) 920px); }
}
@media (max-width: 640px) {
  .hero-bg { height: 1000px; }
  .hero-bg img { object-position: 50% 100%; }
  .hero.cine::before { background: linear-gradient(180deg, rgba(6,37,56,.8) 0, rgba(6,37,56,.62) 420px, rgba(6,37,56,.2) 760px, rgba(6,37,56,1) 1000px); }
}
.tier .price .amt { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.tier .price .amt small { font-family: var(--sans); font-size: .95rem; letter-spacing: 0; color: var(--steel); margin-left: .15rem; }
.tier.core .price .amt { color: #fff; } .tier.core .price .amt small { color: #DCE4EA; }
.tier .tnote { font-size: .92rem; color: var(--steel); margin: .6rem 0 0; }

/* v6: phone, fallback, SLA table, review note */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fallback { border: 1px solid var(--gold-deep); background: #FBF6E6; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1rem; color: var(--ink); }
.form-fallback p { margin: 0; font-size: .98rem; }
.form-fallback a, .contact-card a, .review-note a { color: var(--navy); font-weight: 700; }
.contact-card { margin-top: 2rem; padding: 1.2rem 1.4rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
.contact-card .c-email { font-family: var(--display); font-size: 1.9rem; margin: .4rem 0 .3rem; }
.contact-card .c-email a { text-decoration: none; }
.review-note { border-left: 3px solid var(--gold); background: #FBF6E6; padding: 1rem 1.3rem; border-radius: 0 12px 12px 0; color: var(--ink); }
.sla-wrap { overflow-x: auto; border-radius: 14px; box-shadow: var(--shadow-lg); background: #fff; }
.sla { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.sla caption { text-align: left; padding: 1rem 1.2rem; font-weight: 650; color: var(--navy); caption-side: top; }
.sla th, .sla td { text-align: left; vertical-align: top; padding: .8rem 1.2rem; border-top: 1px solid var(--line); }
.sla thead th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); background: var(--panel-2); }
.sla tbody th { font-weight: 650; color: var(--navy); width: 36%; }
.disclose { border-left: 3px solid var(--gold); padding-left: 1rem; }
.tier .box { margin: 1.2rem 0 1.4rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); }
.tier .box-h { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 0 0 .6rem; }
.tier.core .box-h { color: #DCE4EA; }
.tier .box li { font-size: .92rem; }
/* free templates */
.tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); grid-column: 1 / -1; }
.tpl { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; border-top: 1px solid var(--hair, #E0B838); }
.tpl-img { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--line); }
.tpl-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s var(--ease-out, ease); }
.tpl:hover .tpl-img img { transform: scale(1.025); }
.tpl-fmt { position: absolute; left: 14px; top: 14px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.tpl-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.tpl-body h3 { font-family: var(--display); font-size: 1.6rem; color: var(--navy); margin: 0; }
.tpl-body p { margin: 0; }
.dls { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
.dl { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1rem; border-radius: 12px; background: var(--gold); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.dl:hover, .dl:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(8,48,72,.18); }
.dl svg, .dl > span:first-child { transform: rotate(90deg); }
.dl span strong { display: block; font-size: .95rem; }
.dl small { display: block; font-size: .76rem; color: var(--ink); }
.tpl-cta { margin-top: auto !important; padding-top: .8rem; border-top: 1px dashed var(--line-2, #ccc); font-size: .95rem; color: var(--steel); }
@media (max-width: 860px) { .tpls { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tpl-img img, .dl { transition: none; } }
.contact-card .c-email { font-size: clamp(1.05rem, 5.2vw, 1.9rem); overflow-wrap: anywhere; }
.contact-card, .form-fallback { overflow-wrap: anywhere; }

.form-fallback[hidden] { display: none !important; }

/* roles + design features */
.roles { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin: 0 0 28px; }
.role { border-radius: 16px; padding: 24px 26px; background: #fff; box-shadow: 0 0 0 1px rgba(8,48,72,.14) inset; }
.role h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--navy); margin: 8px 0 14px; }
.r-k { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.role-people { border-top: 4px solid var(--green); } .role-people .r-k { color: var(--green); }
.role-agents { border-top: 4px solid var(--navy); } .role-agents .r-k { color: var(--steel); }
.role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--steel); }
.role li { padding-left: 18px; position: relative; } .role li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }
.role-plus { align-self: center; font-size: 1.8rem; color: var(--gold-deep); font-weight: 700; }
.features { border-radius: 16px; padding: 24px 26px; background: rgba(8,48,72,.04); box-shadow: 0 0 0 1px rgba(8,48,72,.1) inset; margin-bottom: 32px; }
.features h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; color: var(--navy); margin: 0 0 14px; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 24px; }
.features li strong { display: block; color: var(--navy); margin-bottom: 4px; } .features li span { color: var(--steel); font-size: .95rem; line-height: 1.5; }
.f-note { margin: 18px 0 0; font-size: .85rem; color: var(--steel); }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } .role-plus { justify-self: center; } }

.fit.program .fit-card p { color: var(--steel); line-height: 1.6; margin: 0; }
.fit.program + .f-note, .rr .f-note { font-size: .88rem; color: var(--steel); margin-top: 16px; }
.fit.program .fit-card h3 { font-size: 1.5rem; line-height: 1.2; }
@media (max-width: 760px) { .fit.program { grid-template-columns: 1fr; } }

/* ===== Redesign 2026-11-01 ===== */
.hero-clean .hero-copy-wide { max-width: 36rem; }
.hero-clean .grid { align-items: end; gap: 2rem; }
.hero-value {
  background: rgba(8,48,72,.78); backdrop-filter: blur(10px);
  color: var(--on-dark); border: 1px solid rgba(224,184,56,.35);
  border-radius: var(--r-lg); padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.55);
  max-width: 22rem; justify-self: end;
}
.hero-value .hv-k { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 .35rem; }
.hero-value .hv-h { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.25; margin: 0 0 1rem; color: var(--on-dark); }
.hero-value .hv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.hero-value .hv-list li { display: grid; gap: .1rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-value .hv-list li:first-child { border-top: 0; padding-top: 0; }
.hero-value .hv-list strong { color: var(--on-dark); font-size: .95rem; }
.hero-value .hv-list span { color: var(--on-dark-2); font-size: .86rem; }
.hero-value .hv-note { margin: 1rem 0 0; font-size: .78rem; color: var(--on-dark-2); }

.pillar-row { grid-column: 1 / -1; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.pillar-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.35rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem;
  box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s;
}
.pillar-card:hover { transform: translateY(-2px); border-color: rgba(224,184,56,.55); }
.pillar-card.featured { border-color: rgba(224,184,56,.65); background: linear-gradient(180deg, #fffef8, #fff); }
.pillar-num { font-family: var(--mono); font-size: .72rem; color: var(--gold-deep); letter-spacing: .06em; }
.pillar-k { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.pillar-card h3 { margin: 0; font-size: 1.2rem; }
.pillar-card p { margin: 0; color: var(--ink-2); flex: 1; }
.pillar-card .textlink { margin-top: .4rem; }

.pain-grid { grid-column: 1 / -1; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.pain-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.25rem 1.2rem; box-shadow: 0 1px 2px rgba(8,48,72,.04);
}
.pain-k { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); margin-bottom: .55rem; padding: .15rem .45rem; background: rgba(224,184,56,.16); border-radius: 4px; }
.pain-card p { margin: 0; color: var(--ink-2); }

.model-compare { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1.15fr; gap: 1rem; align-items: stretch; }
.model-col {
  border-radius: var(--r-lg); padding: 1.4rem 1.35rem; border: 1px solid var(--line); background: var(--card);
}
.model-fte { background: var(--paper-2); }
.model-seneca { border-color: rgba(224,184,56,.55); box-shadow: var(--shadow); background: linear-gradient(180deg, #fffef8, #fff); }
.model-k { margin: 0 0 .35rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.model-seneca .model-k { color: var(--gold-deep); }
.model-col h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.model-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.model-col li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-2); }
.model-col li svg { flex: 0 0 auto; margin-top: .15rem; color: var(--green); width: 18px; height: 18px; }
.model-foot { margin: 1.1rem 0 0; font-size: .86rem; color: var(--ink-2); }
.model-mid { display: grid; place-items: center; }
.model-mid span {
  width: 2.4rem; height: 2.4rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--mono); font-size: .75rem; font-weight: 600;
}

.outcome-row { grid-column: 1 / -1; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.outcome {
  border-top: 2px solid var(--gold); padding: 1.1rem 0 0;
}
.dark .outcome { border-top-color: var(--gold); }
.outcome-n { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--gold); }
.outcome h3 { margin: .35rem 0 .45rem; font-size: 1.15rem; }
.dark .outcome h3 { color: var(--on-dark); }
.outcome p { margin: 0; color: var(--ink-2); }
.dark .outcome p { color: var(--on-dark-2); }

.steps3 { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); counter-reset: none; }
.steps3 li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.3rem 1.25rem; box-shadow: var(--shadow);
}
.s3-n {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px;
  background: var(--navy); color: var(--gold); font-family: var(--mono); font-size: .85rem; margin-bottom: .7rem;
}
.steps3 h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.steps3 p { margin: 0; color: var(--ink-2); }

.hle-strip {
  margin-top: .5rem; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.35rem; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line);
}
.hle-strip h3 { margin: .2rem 0 .35rem; }
.hle-strip p:last-child { margin: 0; color: var(--ink-2); max-width: 46rem; }

.sample-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.sample-top {
  display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between;
  padding: .9rem 1.15rem; background: var(--navy); color: var(--on-dark);
}
.sample-top strong { font-weight: 600; }
.sample-lines { list-style: none; margin: 0; padding: 0; }
.sample-lines li {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 1.15rem;
  border-top: 1px solid var(--line); align-items: start;
}
.sl-status {
  display: inline-flex; align-items: center; justify-content: center; height: 1.7rem; padding: 0 .55rem;
  border-radius: 999px; font-size: .72rem; font-family: var(--mono); font-weight: 600; letter-spacing: .02em;
}
.sl-status.s-closed { background: rgba(46,111,78,.12); color: var(--green); }
.sl-status.s-prog { background: rgba(224,184,56,.18); color: #8A6B1C; }
.sl-status.s-open { background: rgba(74,85,96,.12); color: var(--steel); }
.sl-what { margin: 0 0 .45rem; font-weight: 600; color: var(--navy); }
.sl-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.sample-lines li > * { min-width: 0; }
.sample-lines .chip.cite {
  white-space: normal; overflow-wrap: anywhere; max-width: 100%;
  height: auto; min-height: 1.55rem; padding: .2rem .55rem; line-height: 1.25;
}
.sl-status { justify-self: start; width: max-content; max-width: 100%; }
.sample-foot { margin: 0; padding: .95rem 1.15rem 1.15rem; color: var(--ink-2); font-size: .9rem; border-top: 1px solid var(--line); background: var(--paper-2); }

.price-signal { grid-column: 1 / -1; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.ps-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.25rem; background: var(--card);
}
.ps-card.featured { border-color: rgba(224,184,56,.65); box-shadow: var(--shadow); background: linear-gradient(180deg, #fffef8, #fff); }
.ps-k { margin: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ps-card h3 { margin: .35rem 0 .6rem; }
.ps-price { margin: 0 0 .75rem; color: var(--navy); font-size: 1.05rem; }
.ps-price b { font-size: 1.65rem; font-family: var(--display); font-weight: 400; }
.ps-price span { color: var(--ink-2); margin-left: .15rem; }
.ps-card > p:last-child { margin: 0; color: var(--ink-2); }

@media (max-width: 960px) {
  .pillar-row, .pain-grid, .outcome-row, .steps3, .price-signal { grid-template-columns: 1fr; }
  .model-compare { grid-template-columns: 1fr; }
  .model-mid { display: none; }
  .hero-value { justify-self: stretch; max-width: none; }
  .sample-lines li { grid-template-columns: 1fr; gap: .45rem; }
}
@media (max-width: 640px) {
  .hero-clean .grid { display: flex; flex-direction: column; }
}
/* Keep the home headline's longest word inside the 36rem hero column on wide screens (the .line mask clipped "compliance," above ~1150px). */
@media (min-width: 641px) {
  .hero.cine.hero-clean h1 { font-size: clamp(3.3rem, 9.2vw, 6.75rem); }
}
