/* Elevare Digital — site styles
   Palette: dark navy, silver, white. Fonts: Space Grotesk (display), DM Sans (body). */

:root {
  --bg: #060b18;
  --bg-2: #0a1122;
  --card: #0d1529;
  --card-2: #121c35;
  --line: #1c2740;
  --line-2: #2a3756;
  --text: #eef1f6;
  --muted: #a3acbd;
  --dim: #6f7a90;
  --silver: #c3cad6;
  --silver-hi: #f2f4f8;
  --ice: #cfb17b;
  --metal: linear-gradient(176deg, #ffffff 0%, #dfe5ee 38%, #8d9ab2 52%, #c9d1de 68%, #f4f7fb 100%);
  --ok: #9fd3a8;
  --warn: #e8c37e;
  --bad: #ef9a8a;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1160px;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 30px 60px -30px rgba(2, 6, 18, 0.8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--silver-hi); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; color: var(--silver); }
.brand span { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; font-variation-settings: "wdth" 85; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--card); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: 10px; color: var(--bg); }
.nav .btn:hover { background: var(--silver-hi); color: var(--bg); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; margin: auto; }

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-radius: var(--radius); justify-content: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  padding: 13px 22px; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
  background: var(--text); color: var(--bg);
}
.btn:hover { background: var(--silver-hi); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); border-color: var(--silver); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ice); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ice); box-shadow: 0 0 12px var(--ice); }
.lead { font-size: 18.5px; color: var(--muted); line-height: 1.65; max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 112px 0 104px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
}
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 900px; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--dim); }
.hero .lead { margin-top: 26px; }
.page-hero { padding: 88px 0 72px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); }

.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

/* Before/after flow visual */
.flow { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.flow-label { font-family: var(--font-display); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.flow-chaos { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; border-bottom: 1px dashed var(--line-2); }
.chip { font-size: 13px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); background: var(--bg-2); }
.chip:nth-child(2n) { transform: rotate(-2deg); }
.chip:nth-child(3n) { transform: rotate(2.5deg); }
.flow-order { padding-top: 18px; display: grid; gap: 8px; }
.flow-step { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.flow-step b { font-family: var(--font-display); font-weight: 500; color: var(--dim); font-size: 12px; }
.tag { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag.ok { color: var(--ok); border-color: rgba(159,211,168,.35); }
.tag.warn { color: var(--warn); border-color: rgba(232,195,126,.35); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s, transform .2s; }
a.card { text-decoration: none; display: block; }
a.card:hover, .card.hover:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { font-size: 20px; margin-top: 18px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.card .more { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--silver); }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--silver); }
.icon svg { width: 22px; height: 22px; }
.card.feature { border-color: var(--line-2); background: linear-gradient(180deg, var(--card-2), var(--card)); position: relative; }
.badge { display: inline-block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: var(--silver); padding: 4px 9px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5ccd8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  border: 1px solid var(--line-2);
}
.checks.on-card li { color: var(--text); }

/* Symptom grid (problems) */
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.symptoms div { background: var(--bg); padding: 24px; }
.symptoms h3 { font-size: 16.5px; }
.symptoms p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 960px) { .symptoms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .symptoms { grid-template-columns: 1fr; } }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.steps li::before { content: "0" counter(s); font-family: var(--font-display); color: var(--dim); font-size: 13px; }
.steps h3 { font-size: 18px; margin-top: 12px; }
.steps p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Timeline (vertical, detailed) */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 44px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--silver); }
.timeline .when { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.timeline h3 { font-size: 22px; margin-top: 6px; }
.timeline p { color: var(--muted); margin-top: 10px; max-width: 640px; }
.timeline .out { margin-top: 14px; font-size: 14px; color: var(--silver); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-wide { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; gap: 40px; } }
.sticky { position: sticky; top: 104px; }
@media (max-width: 900px) { .sticky { position: static; } }

/* Deliverables / spec panel */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.panel-row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
.panel-row:last-child { border-bottom: 0; }
.panel-row dt { color: var(--dim); font-size: 14px; }
.panel-row dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .panel-row { grid-template-columns: 1fr; gap: 4px; } }

/* Example tiles */
.example { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.example .before, .example .after { font-size: 14.5px; margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--line-2); color: var(--muted); }
.example .after { border-left-color: var(--silver); color: var(--text); }
.example .lbl { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; font-family: var(--font-display); }
.example h3 { font-size: 18px; }

/* About */
.portrait { border-radius: var(--radius-lg); border: 1px solid var(--line-2); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.quote { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; letter-spacing: -0.01em; }
.prose p { color: var(--muted); font-size: 17px; margin-top: 18px; line-height: 1.75; }
.prose p:first-child { margin-top: 0; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose h3 { font-size: 20px; margin-top: 32px; }
.prose ul, .prose ol { color: var(--muted); font-size: 17px; line-height: 1.75; padding-left: 22px; margin: 16px 0 0; }
.prose li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--silver-hi); text-underline-offset: 3px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-display); font-size: 18.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; color: var(--silver); font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 720px; }
.faq details > div p + p { margin-top: 12px; }

/* CTA band */
.cta-band { border: 1px solid var(--line-2); border-radius: 22px; padding: 56px; background: radial-gradient(ellipse at 100% 0%, #1c2a4a 0%, var(--card) 55%); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 38px); }
.cta-band p { color: var(--muted); margin-top: 12px; max-width: 560px; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 36px 28px; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Forms ---------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.field { margin-bottom: 22px; }
.field label, .field legend { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.field .opt { color: var(--dim); font-weight: 400; }
.field .hint { font-size: 13px; color: var(--dim); margin: -4px 0 10px; }
fieldset.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px;
  transition: border-color .15s, background .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--silver); background: var(--bg); }
.field.invalid input, .field.invalid textarea { border-color: var(--bad); }
.err { display: none; font-size: 13px; color: var(--bad); margin-top: 6px; }
.field.invalid .err { display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s; user-select: none; }
.pill input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill input:focus-visible + span { outline: 2px solid var(--silver-hi); outline-offset: 2px; }
.hp { position: absolute; left: -5000px; }
.form-alert { display: none; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(239,154,138,.4); color: var(--bad); font-size: 14px; margin-bottom: 18px; }
.form-alert.show { display: block; }

/* ---------- Health check ---------- */
.hc { max-width: 760px; margin: 0 auto; }
.hc-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.hc-progress div { height: 100%; width: 0; background: var(--silver-hi); transition: width .3s ease; }
.hc-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 26px; font-family: var(--font-display); letter-spacing: .08em; }
.hc-q h2 { font-size: clamp(24px, 3vw, 32px); }
.hc-q .area { margin-bottom: 14px; }
.hc-opts { display: grid; gap: 10px; margin-top: 28px; }
.hc-opt { text-align: left; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; cursor: pointer; display: flex; gap: 14px; align-items: center; transition: border-color .15s, background .15s; font-size: 16px; }
.hc-opt:hover { border-color: var(--silver); background: var(--card-2); }
.hc-opt .k { flex: none; width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; color: var(--dim); }
.hc-opt[aria-pressed="true"] { border-color: var(--text); background: var(--card-2); }
.hc-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.hc-back { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; padding: 8px 0; }
.hc-back:hover { color: var(--text); }
.hc-back[hidden] { visibility: hidden; display: block; }
.score-ring { width: 168px; height: 168px; position: relative; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-display); }
.score-ring .num strong { font-size: 46px; font-weight: 600; display: block; line-height: 1; }
.score-ring .num span { font-size: 12px; color: var(--dim); letter-spacing: .14em; text-transform: uppercase; }
.result-top { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
@media (max-width: 640px) { .result-top { grid-template-columns: 1fr; } }
.bars { display: grid; gap: 14px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 170px 1fr 44px; gap: 14px; align-items: center; font-size: 14.5px; }
.bar .track { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 8px; background: var(--silver); }
.bar .fill.low { background: var(--bad); }
.bar .fill.mid { background: var(--warn); }
.bar .fill.high { background: var(--ok); }
.bar .pct { text-align: right; color: var(--muted); font-family: var(--font-display); font-size: 13px; }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr 44px; } .bar .track { grid-column: 1 / -1; grid-row: 2; } }
.fix { border-left: 2px solid var(--silver); padding: 4px 0 4px 18px; margin-top: 20px; }
.fix h4 { font-size: 17px; }
.fix p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- Insights ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .meta { font-size: 13px; color: var(--dim); margin-top: auto; padding-top: 22px; }
.article-head { padding: 80px 0 40px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(32px, 4.6vw, 50px); margin-top: 18px; }
.article-head .meta { margin-top: 18px; color: var(--dim); font-size: 14px; }
.article-body { padding: 56px 0 96px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--muted); font-size: 14.5px; }
.foot-grid a:hover { color: var(--text); }
.foot-grid .tagline { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.foot-base a { color: var(--dim); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px; background: rgba(10,16,32,.95); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta { padding-bottom: 76px; }
  .section { padding: 72px 0; }
  .hero { padding: 80px 0 72px; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.center { text-align: center; }
.center .lead, .center .section-head { margin-left: auto; margin-right: auto; }

.more svg, .back-link svg { width: 16px; height: 16px; flex: none; }
.card .more { white-space: nowrap; }

/* =========================================================
   v2 — "wow" layer: atmosphere, metallic type, signature hero
   ========================================================= */
body {
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(46, 74, 140, 0.20), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(207, 177, 123, 0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-variation-settings: "wdth" 96, "opsz" 96; }
h1 {
  font-weight: 650; letter-spacing: -0.03em; line-height: 1;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.section-head h2, .cta-band h2 { font-weight: 650; letter-spacing: -0.03em; }
.site-header { background: rgba(6, 11, 24, 0.74); }
.section-alt { background: rgba(10, 18, 38, 0.6); }
.card { background: linear-gradient(180deg, rgba(22, 33, 59, 0.75), rgba(14, 23, 48, 0.75)); }
.icon { background: rgba(207, 177, 123, 0.08); border-color: rgba(207, 177, 123, 0.22); color: var(--ice); }

/* Metallic primary button */
.btn {
  background: linear-gradient(180deg, #ffffff, #cfd7e3);
  color: #0a1226; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 32px -14px rgba(0, 0, 0, .7);
}
.btn:hover { background: linear-gradient(180deg, #ffffff, #e2e8f1); }
.btn-ghost { background: rgba(255,255,255,0.02); color: var(--text); box-shadow: none; }
.btn-ghost:hover { background: rgba(207,177,123,0.08); border-color: var(--ice); }
.nav .btn { color: #0a1226; }

/* ---------- Signature hero: chaos → clarity ---------- */
.ch { position: relative; height: 230vh; border-bottom: 1px solid var(--line); }
.ch-pin { position: sticky; top: 72px; height: calc(100vh - 72px); min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.ch-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; width: 100%; }
.ch h1 { font-size: clamp(48px, 7.4vw, 112px); }
.ch .lead { margin-top: 28px; max-width: 500px; }
.ch-stage { position: relative; height: min(560px, 68vh); }
.ch-col-head { position: absolute; top: 0; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--silver); display: flex; align-items: center; gap: 8px; }
.ch-col-head i { font-style: normal; font-size: 12px; color: var(--dim); font-weight: 400; font-family: var(--font-body); }
.ch-col-line { position: absolute; top: 30px; bottom: 0; width: 1px; background: linear-gradient(var(--line-2), transparent); }
.frag {
  position: absolute; left: 0; top: 0; width: 31%; height: 74px;
  border-radius: 12px; padding: 11px 13px;
  will-change: transform; transform-origin: center;
  font-size: 13px; line-height: 1.35;
}
.frag .raw, .frag .clean { position: absolute; inset: 0; padding: 11px 13px; border-radius: inherit; display: flex; flex-direction: column; justify-content: space-between; }
.frag .raw { background: #1a2440; border: 1px solid #33456c; color: #d6dceb; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); }
.frag .raw small { font-size: 11px; color: #8f9bb6; display: flex; align-items: center; gap: 6px; }
.frag .raw small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--src, #8f9bb6); }
.frag.sticky .raw { background: #e9df9f; border-color: #d8cb7c; color: #3b3415; font-family: "Comic Sans MS", "Marker Felt", cursive; }
.frag.sticky .raw small { color: #6d6230; }
.frag.paper .raw { background: #eef0f4; border-color: #d9dde6; color: #2a3045; }
.frag.paper .raw small { color: #69708a; }
.frag .clean { background: linear-gradient(180deg, #17233f, #121c35); border: 1px solid #2d3f66; color: var(--text); opacity: 0; }
.frag .clean b { font-weight: 500; }
.frag .clean span { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); }
.frag .clean em { font-style: normal; font-size: 10.5px; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(207,177,123,.35); color: var(--ice); }
.frag .clean em.ok { color: var(--ok); border-color: rgba(159,211,168,.35); }
.ch-status { position: absolute; left: 0; right: 0; bottom: -46px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.ch-status strong { font-family: var(--font-display); font-size: 22px; color: var(--text); font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }
.ch-toggle { background: none; border: 1px solid var(--line-2); color: var(--silver); font: inherit; font-size: 13px; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.ch-toggle:hover { border-color: var(--ice); color: var(--text); }
.ch-hint { margin-top: 36px; font-size: 14px; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.ch-hint::before { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--ice), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }

@media (max-width: 960px) {
  .ch { height: 260vh; }
  .ch-pin { align-items: flex-start; padding-top: 28px; }
  .ch-grid { grid-template-columns: 1fr; gap: 26px; }
  .ch h1 { font-size: clamp(42px, 11vw, 64px); }
  .ch .lead { font-size: 16px; margin-top: 16px; }
  .ch .btn-row, .ch-hint { display: none; }
  .ch-stage { height: 380px; }
  .frag { height: 58px; font-size: 11px; padding: 0; }
  .frag .raw, .frag .clean { padding: 8px 9px; }
  .frag .raw small, .frag .clean span { font-size: 9.5px; }
  .frag .clean em { display: none; }
  .ch-col-head { font-size: 12px; }
  .ch-col-head i { display: none; }
  .ch-toggle { display: none; }
  .ch-status { font-size: 13px; }
  .ch-status strong { font-size: 18px; }
  .ch ~ * .mobile-cta, body.home .mobile-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ch { height: auto; }
  .ch-pin { position: relative; top: 0; height: auto; padding: 72px 0 96px; }
}

/* ---------- Overheard: big typographic symptoms ---------- */
.overheard { list-style: none; margin: 0; padding: 0; }
.overheard li { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.overheard li:last-child { border-bottom: 1px solid var(--line); }
.overheard q { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-variation-settings: "wdth" 80; color: var(--text); quotes: "\201C" "\201D"; transition: color .3s; }
.overheard li:hover q { color: var(--ice); }
.overheard p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) { .overheard li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; } }

/* ---------- Service rows ---------- */
.svc { border-top: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.svc a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--metal); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.svc a:hover::before { width: 100%; }
.svc h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.03em; font-variation-settings: "wdth" 82; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.svc a:hover h3 { transform: translateX(10px); }
.svc p { color: var(--muted); font-size: 15.5px; max-width: 440px; }
.svc .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--silver); transition: all .3s; }
.svc .go svg { width: 18px; height: 18px; }
.svc a:hover .go { background: var(--text); color: #0a1226; border-color: var(--text); transform: rotate(-45deg); }
.svc .start { display: inline-block; margin-left: 14px; vertical-align: middle; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; background: var(--ice); color: #0a1226; transform: translateY(-6px); }
@media (max-width: 800px) { .svc a { grid-template-columns: 1fr auto; gap: 12px 20px; } .svc p { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- Big statement ---------- */
.statement { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; font-variation-settings: "wdth" 84; max-width: 1050px; }
.statement span { color: var(--dim); }

/* Founder block */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.founder .portrait { position: relative; border: 0; border-radius: 22px; }
.founder .portrait::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--metal); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.founder .quote { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variation-settings: "wdth" 84; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 40px; } .founder .portrait { max-width: 420px; } }

/* Health-check teaser */
.teaser { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; border-radius: 28px; padding: 64px; border: 1px solid #2a3756;
  background: radial-gradient(600px 300px at 90% 10%, rgba(207,177,123,.22), transparent 70%), linear-gradient(180deg, #0f1a33, #0a1226); }
.teaser h2 { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -0.035em; font-weight: 700; font-variation-settings: "wdth" 84; line-height: 1; }
.teaser p { color: var(--muted); margin-top: 18px; max-width: 520px; font-size: 17px; }
.mini-ring { width: 200px; height: 200px; position: relative; }
.mini-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mini-ring div { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-display); }
.mini-ring strong { font-size: 54px; font-weight: 700; display: block; line-height: 1; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mini-ring span { font-size: 13px; color: var(--dim); font-family: var(--font-body); }
@media (max-width: 800px) { .teaser { grid-template-columns: 1fr; padding: 40px 28px; } .mini-ring { width: 150px; height: 150px; } }

/* Process line */
.steps li { background: transparent; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; padding: 22px 4px 0; }
.steps li::before { font-size: 44px; font-weight: 600; color: transparent; -webkit-text-stroke: 1px #3d5280; letter-spacing: -0.04em; line-height: 1; display: block; }
.steps li:hover::before { -webkit-text-stroke-color: var(--ice); }
.steps h3 { font-size: 21px; margin-top: 18px; }
.foot-grid h4 { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--silver); font-weight: 600; }
.hc-meta, .timeline .when, .example .lbl, .flow-label, .badge { text-transform: none !important; letter-spacing: 0 !important; }
.tiny[style*="uppercase"] { text-transform: none !important; letter-spacing: 0 !important; color: var(--ice); font-size: 14px; }
.page-hero { position: relative; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 140%; pointer-events: none; background: radial-gradient(closest-side, rgba(207,177,123,.14), transparent); }
h1 { background-size: 100% 1em; background-repeat: repeat-y; }

/* Premium accents: gold hairline under the header, gold focus ring, selection */
.site-header { border-bottom-color: transparent; box-shadow: 0 1px 0 rgba(207,177,123,.18); }
:focus-visible { outline-color: var(--ice); }
::selection { background: rgba(207,177,123,.35); color: #fff; }
.prose a, .faq a { color: var(--ice) !important; }

/* =========================================================
   v3 — premium layout layer
   ========================================================= */

/* Floating glass header */
.site-header { position: sticky; top: 12px; margin-top: 12px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .wrap { height: 64px; }
.site-header .wrap::before {
  content: ""; position: absolute; inset: 0 12px; z-index: -1; border-radius: 18px;
  background: rgba(10, 17, 34, 0.68); border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px);
}
.site-header .wrap { position: relative; padding: 0 30px 0 36px; }
@media (max-width: 960px) {
  .nav { top: 72px; left: 12px; right: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 18px; background: rgba(10,17,34,.96); }
}
.ch-pin { top: 76px; height: calc(100vh - 76px); }

/* Section rhythm helpers */
.section-xl { padding: 140px 0; }
@media (max-width: 640px) { .section-xl { padding: 88px 0; } }
.kicker-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.kicker-row h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 720px; margin-top: 16px; letter-spacing: -0.035em; font-weight: 650; }
.kicker-row p { color: var(--muted); max-width: 380px; font-size: 16.5px; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  border-radius: 24px; padding: 30px; min-height: 340px;
  background: linear-gradient(160deg, rgba(25, 37, 66, .9), rgba(12, 19, 39, .9));
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .4s, transform .4s cubic-bezier(.2,.7,.2,1);
}
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px 220px at var(--mx, 70%) var(--my, 0%), rgba(207,177,123,.10), transparent 70%); opacity: 0; transition: opacity .4s; }
.tile:hover { border-color: rgba(207,177,123,.35); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile .art { flex: 1; display: flex; align-items: center; justify-content: center; margin: 6px 0 22px; min-height: 150px; }
.tile h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tile p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 460px; }
.tile .go { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--silver); transition: all .3s; }
.tile .go svg { width: 16px; height: 16px; }
.tile:hover .go { background: var(--ice); border-color: var(--ice); color: #0a1122; transform: rotate(45deg); }
.t-audit { grid-column: span 7; min-height: 440px; }
.t-systems { grid-column: span 5; min-height: 440px; }
.t-flow, .t-auto, .t-opt { grid-column: span 4; }
.pill-gold { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; background: var(--ice); color: #0a1122; }
@media (max-width: 1000px) { .t-audit, .t-systems { grid-column: span 12; min-height: 380px; } .t-flow, .t-auto, .t-opt { grid-column: span 6; } .t-opt { grid-column: span 12; } }
@media (max-width: 640px) { .t-flow, .t-auto, .t-opt { grid-column: span 12; } .tile { padding: 24px; } }

/* tile art: process map */
.pmap { width: 100%; max-width: 560px; }
.pmap text { font-family: var(--font-body); fill: #a3acbd; font-size: 11px; }
.pmap .n { fill: #121c35; stroke: #2a3756; }
.pmap .bn { fill: rgba(207,177,123,.14); stroke: #cfb17b; }
.pmap .pulse { fill: none; stroke: #cfb17b; opacity: .6; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
/* mini dashboard */
.dash { width: 100%; max-width: 330px; display: grid; gap: 10px; }
.dash-row { display: grid; grid-template-columns: 90px 1fr 26px; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); background: rgba(6,11,24,.5); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.dash-row b { color: var(--text); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.dash-row i { display: block; height: 6px; border-radius: 6px; background: var(--line-2); position: relative; overflow: hidden; }
.dash-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--c, var(--silver)); }
/* flow + automation chips */
.chain { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 280px; }
.chain div { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(6,11,24,.5); border: 1px solid var(--line); font-size: 13.5px; color: var(--text); }
.chain div small { margin-left: auto; color: var(--dim); font-size: 12px; }
.chain span.av { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; background: #23304f; color: var(--silver-hi); }
.chain hr { width: 1px; height: 16px; margin: 0 0 0 26px; border: 0; background: repeating-linear-gradient(var(--ice) 0 3px, transparent 3px 6px); }
.chain .trig { border-color: rgba(207,177,123,.35); }
.chain .trig span.av { background: var(--ice); color: #0a1122; }
.spark { width: 100%; max-width: 320px; }

/* ---------- Light platinum section ---------- */
.light { background: #eef1f6; color: #0a1122; position: relative; }
.light .eyebrow { color: #8a6d3b; }
.light .eyebrow::before { background: #a8874e; box-shadow: none; }
.light h2 { color: #0a1122; }
.light .kicker-row p { color: #4a5468; }
.light .btn-ghost { color: #0a1122; border-color: #c3cad6; }
.light .btn-ghost:hover { background: #fff; border-color: #a8874e; }
.lsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 1px solid #d3d9e3; }
.lsteps li { counter-increment: s; padding: 32px 24px 8px 0; position: relative; }
.lsteps li::before { content: "0" counter(s); display: block; font-family: var(--font-display); font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: #a8874e; font-variation-settings: "wdth" 85; }
.lsteps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #a8874e; }
.lsteps h3 { font-size: 22px; margin-top: 22px; color: #0a1122; letter-spacing: -0.02em; }
.lsteps p { color: #4a5468; font-size: 15px; margin-top: 10px; }
@media (max-width: 1000px) { .lsteps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lsteps { grid-template-columns: 1fr; } .lsteps li::before { font-size: 48px; } }

/* ---------- Full-bleed founder ---------- */
.founder-full { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder-full .photo { position: relative; overflow: hidden; }
.founder-full .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.founder-full .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bg) 100%), linear-gradient(0deg, rgba(6,11,24,.55), transparent 35%); }
.founder-full .copy { display: flex; flex-direction: column; justify-content: center; padding: 96px clamp(28px, 6vw, 110px) 96px clamp(28px, 4vw, 64px); }
.founder-full .quote { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.founder-full .quote::before { content: "\201C"; display: block; font-size: 1.9em; line-height: .6; color: var(--ice); margin-bottom: 10px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.skills span { font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--silver); }
.sig { margin-top: 36px; display: flex; align-items: center; gap: 16px; }
.sig::before { content: ""; width: 40px; height: 1px; background: var(--ice); }
@media (max-width: 900px) { .founder-full { grid-template-columns: 1fr; } .founder-full .photo { min-height: 520px; } .founder-full .photo::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 45%); } .founder-full .copy { padding-top: 24px; } }

/* ---------- Footer wordmark ---------- */
.wordmark { margin-top: 64px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.06em; line-height: .78; font-size: clamp(90px, 21vw, 330px);
  background: linear-gradient(180deg, rgba(238,241,246,.20), rgba(238,241,246,.02) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap; overflow: hidden; margin-bottom: -0.08em; font-variation-settings: "wdth" 90; }
.kicker-row { flex-wrap: nowrap; }
.kicker-row h2 { max-width: 640px; }
.kicker-row p { flex: 0 1 340px; }
@media (max-width: 900px) { .kicker-row { flex-wrap: wrap; } }
.tile .art { margin-top: 40px; }
.section-xl { padding: 120px 0; }
.frag.paper .raw { background: #222d48; border-color: #3a4868; color: #e3e7ef; }
.frag.paper .raw small { color: #97a2b8; }

/* Hero v4: auto-playing before/after (no scroll needed) */
.ch { height: auto; }
.ch-pin { position: relative; top: 0; height: auto; min-height: calc(100vh - 76px); padding: 40px 0 110px; }
.ch-right { display: flex; flex-direction: column; gap: 28px; }
.ch-phase { align-self: flex-start; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(13,21,41,.8); border: 1px solid var(--line-2); }
.ch-phase button { font: inherit; font-size: 13.5px; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: background .35s, color .35s; }
.ch-phase button b { font-weight: 600; color: var(--text); margin-right: 4px; transition: color .35s; }
.ch-phase button[aria-pressed="true"] { background: var(--text); color: #2a3756; }
.ch-phase button[aria-pressed="true"] b { color: #0a1122; }
.ch-phase button[data-to="1"][aria-pressed="true"] { background: var(--ice); color: #3b2f17; }
@media (max-width: 960px) {
  .ch { height: auto; }
  .ch-pin { min-height: 0; padding: 24px 0 120px; }
  .ch .btn-row { display: flex; }
  .ch-phase button { font-size: 12px; padding: 7px 11px; }
  .ch-toggle { display: inline-block; }
}
.ch-phase .d { margin-left: 2px; }
@media (max-width: 960px) { .ch-phase .d { display: none; } }
