/* ==========================================================================
   Deka Homepage — combined editorial stylesheet (the live front page).

   An amalgamation of the explored homepage versions:
     • Typography, canvas, section chrome, hero layout, manifesto,
       capabilities, outcomes, voices slider, trust  → from v1.
     • Self-hosted video background on the hero          → from v3.
     • Instrument-library cards (with checker), Why-Deka dark band,
       request-a-demo form, journal cards, final CTA      → from v4,
       re-skinned to v1's --deka-* tokens + Cormorant Garamond accents.

   Self-contained: scoped under `body`. Tokens come from
   client-tokens.css (--deka-*). Loaded only on the front page.
   The frozen reference snapshot is assets/css/home-v5.css.
   ========================================================================== */

body {
    background: var(--deka-ivory);
    color: var(--deka-ink);
    font-family: var(--deka-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;

    /* Local card/surface helpers (light-blue laser-card field + muted text). */
    --hm-sky:     #e8eefb;
    --hm-sky-2:   #d4ddf3;
    --hm-muted:   rgba(4, 5, 65, 0.58);
    --hm-muted-2: rgba(4, 5, 65, 0.42);
    --hm-rule:    rgba(4, 5, 65, 0.09);
}

body a { color: inherit; text-decoration: none; }
body button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body img,
body svg { display: block; max-width: 100%; }

/* ---------- Strict text color policy ---------- */
.manifesto,
.capabilities,
.instruments,
.voices,
.demo,
.journal,
.trust { color: var(--deka-ink); }

.hero,
.why,
.outcomes { color: var(--deka-ivory); }

/* Headings on dark sections must stay light — beat base.css's explicit
   `h1..h4 { color: var(--anchor-navy) }`. Accent <em> keep their own color. */
.hero :is(h1, h2, h3, h4),
.why :is(h1, h2, h3, h4),
.outcomes :is(h1, h2, h3, h4) { color: var(--deka-ivory); }

/* ——— type ——— */
.eyebrow {
    font-family: var(--deka-mono);
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.display {
    font-family: var(--deka-serif);
    font-weight: 300; letter-spacing: -0.02em; line-height: 0.98;
}
.display em { font-style: italic; font-weight: 300; color: var(--deka-sapphire); }

/* ——— layout primitives ——— */
.container { max-width: 1440px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 720px) { .container { padding: 0 24px; } }
.rule { height: 1px; background: var(--deka-rule); }

/* ==========================================================================
   01 — HERO  (v1 layout + typography, v3 self-hosted video background)
   ========================================================================== */
.hero {
    position: relative; min-height: 100vh;
    background: var(--deka-ink); color: var(--deka-ivory);
    overflow: hidden;
}
/* video stack */
.hero-video-frame {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden; pointer-events: none; background: var(--deka-ink);
}
.hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-video-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse 60% 45% at 78% 40%, rgba(43, 82, 159, 0.45), transparent 60%),
        linear-gradient(180deg, rgba(4, 5, 65, 0.80) 0%, rgba(4, 5, 65, 0.58) 38%, rgba(4, 5, 65, 0.86) 100%);
}
.hero-bottom-fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 360px; z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(245, 244, 239, 0) 0%, rgba(245, 244, 239, 0.18) 32%, rgba(245, 244, 239, 0.6) 72%, var(--deka-ivory) 100%);
}
.hero-poster {
    position: absolute; inset: 0; z-index: 3;
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    background: var(--deka-ink);
    opacity: 1; transition: opacity 0.8s ease 0.15s;
}
.hero.video-ready .hero-poster { opacity: 0; }
.hero-grain,
.hero-beam { display: none; }

.hero-inner {
    position: relative; z-index: 4;
    /* padding-top/bottom only — keep .container's horizontal padding (the two
       classes share one element; the `padding` shorthand would zero the sides). */
    padding-top: 180px; padding-bottom: 120px; min-height: 100vh;
    display: grid; grid-template-columns: 1fr; align-content: space-between; gap: 80px;
}
.hero-meta {
    display: flex; justify-content: space-between; align-items: center;
    color: rgba(245, 244, 239, 0.6); gap: 16px; flex-wrap: wrap;
}
.hero-meta .mono {
    font-family: var(--deka-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.hero-headline {
    max-width: 1100px; font-size: clamp(40px, 7.2vw, 120px); overflow: visible;
    color: var(--deka-ivory);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-headline em { color: var(--deka-sapphire-soft); }
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .line > span {
    display: inline-block; transform: translateY(105%);
    animation: hm-reveal 1.1s cubic-bezier(.22, .8, .2, 1) forwards;
}
.hero-headline .line:nth-child(2) > span { animation-delay: .12s; }
.hero-headline .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes hm-reveal { to { transform: translateY(0); } }

.hero-foot {
    display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: 48px; align-items: end; margin-top: 64px;
}
@media (max-width: 880px) { .hero-foot { grid-template-columns: 1fr; gap: 32px; } }
.hero-sub {
    font-family: var(--deka-serif); font-weight: 300; font-style: italic;
    font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5;
    color: rgba(245, 244, 239, 0.86); max-width: 44ch;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hero-stat .num {
    font-family: var(--deka-serif); font-size: clamp(40px, 4vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -0.02em;
}
.hero-stat .num sup {
    font-size: 0.4em; vertical-align: top; margin-left: 4px;
    color: var(--deka-brass); font-family: var(--deka-mono); font-weight: 400;
}
.hero-stat .cap {
    font-family: var(--deka-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(245, 244, 239, 0.6); margin-top: 10px;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 20px 28px; background: var(--deka-ivory); color: var(--deka-ink); border-radius: 999px;
    font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7); }
.hero-cta .arrow { width: 20px; height: 12px; }
.hero-scroll {
    position: absolute; left: 56px; bottom: 36px; z-index: 4;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    color: rgba(245, 244, 239, 0.5);
    font-family: var(--deka-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
}
.hero-scroll .tick {
    width: 1px; height: 54px;
    background: linear-gradient(180deg, rgba(245, 244, 239, 0.6), transparent);
    animation: hm-tick 2.4s ease-in-out infinite; transform-origin: top;
}
@keyframes hm-tick { 0%, 100% { transform: scaleY(0.2); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } }

/* ==========================================================================
   SECTION CHROME
   .section-head  → v1 editorial three-up index / title / label
   .center-head   → v4 centered kicker + heading + lede
   ========================================================================== */
section { position: relative; }
.section-head {
    display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: end;
    padding: 28px 0 20px; border-bottom: 1px solid var(--deka-rule);
}
.section-index { font-family: var(--deka-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--deka-sapphire); }
.section-title { font-family: var(--deka-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--deka-ink); opacity: 0.7; }
.section-label { font-family: var(--deka-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--deka-ink); opacity: 0.5; }

.center-head { text-align: center; margin-bottom: 64px; display: flex; flex-direction: column; align-items: center; }
.center-head .kicker {
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--deka-sapphire); font-weight: 500;
    display: inline-flex; align-items: center; gap: 10px;
}
.center-head .kicker::before,
.center-head .kicker::after { content: ''; width: 24px; height: 1px; background: var(--deka-sapphire); }
.center-head h2 {
    margin-top: 16px; font-family: var(--deka-sans); font-weight: 600;
    font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -0.025em;
    color: var(--deka-ink); text-wrap: balance;
}
.center-head h2 em { font-family: var(--deka-serif); font-style: italic; font-weight: 400; color: var(--deka-sapphire); }
.center-head p { margin-top: 16px; max-width: 56ch; font-size: 16px; color: var(--hm-muted); line-height: 1.6; }

/* ==========================================================================
   02 — MANIFESTO  (v1)
   ========================================================================== */
.manifesto { padding: 140px 0 120px; background: var(--deka-ivory); }
.manifesto-body { padding: 80px 0 40px; display: grid; grid-template-columns: 1fr 7fr 1fr; gap: 48px; }
@media (max-width: 880px) { .manifesto-body { grid-template-columns: 1fr; } }
.manifesto-quote {
    grid-column: 2 / 3; font-family: var(--deka-serif); font-weight: 300;
    font-size: clamp(34px, 4.2vw, 64px); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance;
}
.manifesto-quote em { font-style: italic; color: var(--deka-sapphire); }
.manifesto-foot { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; padding-top: 80px; border-top: 1px solid var(--deka-rule); }
@media (max-width: 880px) { .manifesto-foot { grid-template-columns: 1fr; gap: 24px; } }
.manifesto-col h4 { font-family: var(--deka-serif); font-weight: 400; font-size: 22px; margin-bottom: 10px; letter-spacing: -0.01em; }
.manifesto-col p { font-size: 14.5px; line-height: 1.65; color: rgba(4, 5, 65, 0.7); max-width: 38ch; }

/* ==========================================================================
   03 — CAPABILITIES  (v1)
   ========================================================================== */
.capabilities { padding: 120px 0 160px; background: var(--deka-bone); }
.cap-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; padding: 80px 0 64px; }
@media (max-width: 880px) { .cap-head { grid-template-columns: 1fr; } }
.cap-head h2 { font-family: var(--deka-serif); font-weight: 300; font-size: clamp(44px, 5vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
.cap-head h2 em { font-style: italic; color: var(--deka-sapphire); }
.cap-head p { font-size: 15.5px; line-height: 1.7; color: rgba(4, 5, 65, 0.72); max-width: 46ch; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--deka-rule); }
@media (max-width: 1000px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cap-grid { grid-template-columns: 1fr; } }
.cap-card {
    padding: 40px 32px 48px; border-right: 1px solid var(--deka-rule); border-bottom: 1px solid var(--deka-rule);
    position: relative; min-height: 380px; background: var(--deka-bone);
    transition: background .45s ease, color .45s ease;
    display: flex; flex-direction: column; justify-content: space-between;
}
.cap-card:last-child { border-right: none; }
@media (max-width: 1000px) {
    .cap-card:nth-child(2n) { border-right: none; }
    .cap-card:last-child { border-right: none; }
}
.cap-card:hover { background: var(--deka-ink); color: var(--deka-ivory); }
.cap-card:hover .cap-num { color: var(--deka-brass); }
.cap-card:hover .cap-kicker { color: rgba(245, 244, 239, 0.55); }
.cap-num { font-family: var(--deka-serif); font-size: 88px; font-weight: 300; line-height: 0.9; color: var(--deka-sapphire); letter-spacing: -0.03em; transition: color .45s ease; }
.cap-body h3 { font-family: var(--deka-serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 12px; letter-spacing: -0.01em; }
.cap-body p { font-size: 14px; line-height: 1.65; opacity: 0.75; max-width: 32ch; }
.cap-kicker { font-family: var(--deka-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(4, 5, 65, 0.5); margin-top: 24px; transition: color .45s ease; }

/* ==========================================================================
   04 — INSTRUMENT LIBRARY  (v4 card grid, re-skinned, CHECKER background)
        Replaces v1's bullseye "lineup".
   ========================================================================== */
.instruments { padding: 140px 0 160px; background: var(--deka-ivory); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
    background: #fff; border: 1px solid var(--deka-rule); border-radius: 22px; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -32px rgba(4, 5, 65, 0.22); }
.svc-img {
    aspect-ratio: 1/1; position: relative; overflow: hidden; display: grid; place-items: center;
    /* checker field (from v4's hero) layered over the light-blue laser stage */
    background:
        repeating-conic-gradient(rgba(43, 82, 159, 0.07) 0% 25%, transparent 0% 50%) 0 0 / 34px 34px,
        linear-gradient(160deg, var(--hm-sky), var(--hm-sky-2));
}
.svc-img::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.5), transparent 52%);
}
.svc-img .placeholder-laser {
    position: absolute; inset: 8% 12%; z-index: 1; width: auto; height: auto;
    max-width: 76%; max-height: 84%; margin: auto; object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(4, 5, 65, 0.25));
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.svc:hover .placeholder-laser { transform: translateY(-6px) scale(1.02); }
.svc-img .tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: #fff; color: var(--deka-sapphire);
    font-family: var(--deka-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
    padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 20px -10px rgba(4, 5, 65, 0.2);
}
.svc-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-family: var(--deka-serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; color: var(--deka-ink); margin-bottom: 10px; }
.svc-body p { font-size: 14.5px; color: var(--hm-muted); line-height: 1.6; flex: 1; }
.svc-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--deka-rule); display: flex; align-items: center; justify-content: space-between; }
.svc-foot .meta { font-family: var(--deka-mono); font-size: 11px; color: var(--hm-muted-2); letter-spacing: 0.12em; text-transform: uppercase; }
.svc-foot .arrow {
    width: 36px; height: 36px; border-radius: 50%; background: var(--hm-sky); color: var(--deka-sapphire);
    display: grid; place-items: center; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.svc:hover .svc-foot .arrow { background: var(--deka-sapphire); color: #fff; transform: translateX(4px); }

/* ==========================================================================
   05 — WHY DEKA  (v4 dark band: stats + laser collage + quote)
   ========================================================================== */
.why { padding: 120px 0; background: var(--deka-ink); color: var(--deka-ivory); overflow: hidden; position: relative; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }
.why .kicker { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--deka-sapphire-soft); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.why .kicker::before { content: ''; width: 24px; height: 1px; background: var(--deka-sapphire-soft); }
.why h2 {
    font-family: var(--deka-sans); font-weight: 600; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08;
    letter-spacing: -0.03em; margin-top: 20px; color: var(--deka-ivory); text-wrap: balance;
}
.why h2 em { font-family: var(--deka-serif); font-style: italic; font-weight: 400; color: var(--deka-brass); }
.why p { margin-top: 20px; font-size: 16px; line-height: 1.6; color: rgba(245, 244, 239, 0.72); max-width: 44ch; }
.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.why-stat { border-top: 1px solid rgba(245, 244, 239, 0.14); padding-top: 16px; }
.why-stat .num { font-family: var(--deka-serif); font-size: 40px; font-weight: 300; letter-spacing: -0.02em; color: var(--deka-ivory); line-height: 1; }
.why-stat .num em { font-family: var(--deka-mono); color: var(--deka-brass); font-weight: 400; font-size: 0.4em; vertical-align: top; margin-left: 3px; font-style: normal; }
.why-stat .lbl { font-family: var(--deka-mono); font-size: 10px; color: rgba(245, 244, 239, 0.6); margin-top: 10px; letter-spacing: 0.18em; text-transform: uppercase; }

.why-collage { position: relative; aspect-ratio: 1/1; }
.why-collage .tile {
    position: absolute; border-radius: 20px; overflow: hidden;
    background: linear-gradient(160deg, var(--hm-sky), var(--hm-sky-2));
    display: grid; place-items: center; box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
}
.why-collage .tile img { position: absolute; inset: 7%; width: auto; height: auto; max-width: 86%; max-height: 86%; margin: auto; object-fit: contain; filter: drop-shadow(0 14px 24px rgba(4, 5, 65, 0.4)); }
.why-collage .tile.t1 { top: 0; left: 0; width: 56%; height: 56%; }
.why-collage .tile.t2 { top: 8%; right: 0; width: 38%; height: 44%; background: linear-gradient(160deg, #1f3270, #2b529f); }
.why-collage .tile.t3 { bottom: 0; left: 12%; width: 48%; height: 40%; background: linear-gradient(160deg, var(--deka-bone), var(--deka-bone-2)); }
.why-collage .tile.t4 {
    bottom: 6%; right: 4%; width: 42%; height: 48%;
    background: linear-gradient(160deg, rgba(43, 82, 159, 0.92), rgba(4, 5, 65, 0.95));
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 20px; color: #fff;
}
.why-collage .tile.t4 .quote-mark { font-family: var(--deka-serif); font-style: italic; font-size: 80px; line-height: 0.6; color: var(--deka-brass); }
.why-collage .tile.t4 .qtext { font-family: var(--deka-serif); font-style: italic; font-size: 18px; line-height: 1.3; margin-top: 12px; color: #fff; }
.why-collage .tile.t4 .qauthor { font-family: var(--deka-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 14px; color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   06 — OUTCOMES / EVIDENCE  (v1)
   ========================================================================== */
.outcomes { padding: 160px 0; background: var(--deka-ink); color: var(--deka-ivory); }
.outcomes .section-head { border-bottom-color: var(--deka-rule-light); }
.outcomes .section-head .section-title,
.outcomes .section-head .section-label { color: rgba(245, 244, 239, 0.55); }
.outcomes .section-head .section-index { color: var(--deka-brass); }
.outcomes-wrap { padding: 96px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
@media (max-width: 960px) { .outcomes-wrap { grid-template-columns: 1fr; } }
.outcomes-lead h2 { font-family: var(--deka-serif); font-weight: 300; font-size: clamp(44px, 4.8vw, 76px); line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch; }
.outcomes-lead h2 em { font-style: italic; color: var(--deka-brass); }
.outcomes-lead p { font-family: var(--deka-serif); font-style: italic; font-size: 21px; line-height: 1.55; color: rgba(245, 244, 239, 0.75); max-width: 44ch; margin-top: 28px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-self: end; }
.metric { padding: 28px 24px; border-left: 1px solid var(--deka-rule-light); border-top: 1px solid var(--deka-rule-light); }
.metric:nth-child(2n) { border-right: 1px solid var(--deka-rule-light); }
.metric:nth-last-child(-n+2) { border-bottom: 1px solid var(--deka-rule-light); }
.metric .num { font-family: var(--deka-serif); font-weight: 300; font-size: clamp(52px, 5.5vw, 88px); line-height: 0.95; letter-spacing: -0.03em; }
.metric .num sup { font-family: var(--deka-mono); font-size: 0.28em; color: var(--deka-brass); font-weight: 400; vertical-align: top; margin-left: 3px; }
.metric .lbl { font-family: var(--deka-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245, 244, 239, 0.55); margin-top: 12px; max-width: 22ch; line-height: 1.5; }

/* ==========================================================================
   07 — VOICES SLIDER  (v1)
   ========================================================================== */
.voices { padding: 140px 0 160px; background: var(--deka-bone); }
.voices-slider { position: relative; padding: 40px 0 0; }
.voices-track { position: relative; min-height: 360px; }
.voice-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transform: translateY(14px); pointer-events: none;
    display: grid; grid-template-columns: 1fr 7fr; gap: 64px;
    padding: 56px 0 72px; border-top: 1px solid var(--deka-rule); border-bottom: 1px solid var(--deka-rule);
}
@media (max-width: 720px) { .voice-slide { grid-template-columns: 1fr; gap: 24px; } }
.voice-slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.voice-slide .voice-no { font-family: var(--deka-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--deka-sapphire); }
.voice-slide .q { font-family: var(--deka-serif); font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1.2; letter-spacing: -0.01em; max-width: 36ch; text-wrap: balance; }
.voice-slide .q em { font-style: italic; color: var(--deka-sapphire); }
.voice-slide .who { margin-top: 36px; display: flex; gap: 20px; align-items: center; }
.voice-slide .avatar { width: 48px; height: 48px; border-radius: 50%; background: repeating-linear-gradient(135deg, rgba(4, 5, 65, 0.1) 0 2px, transparent 2px 6px), var(--deka-bone-2); border: 1px solid var(--deka-rule); }
.voice-slide .meta .n { font-family: var(--deka-serif); font-weight: 400; font-size: 19px; letter-spacing: -0.01em; }
.voice-slide .meta .t { font-family: var(--deka-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(4, 5, 65, 0.6); margin-top: 4px; }
.voices-controls { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; }
.voices-dots { display: flex; gap: 10px; align-items: center; }
.voices-dots button { width: 28px; height: 1px; background: rgba(4, 5, 65, 0.25); border: 0; padding: 0; cursor: pointer; position: relative; transition: background .4s ease; }
.voices-dots button::before { content: ''; position: absolute; inset: -10px 0; }
.voices-dots button.active { background: var(--deka-ink); }
.voices-counter { font-family: var(--deka-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(4, 5, 65, 0.5); }
.voices-arrows { display: flex; gap: 10px; }
.voices-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--deka-rule); display: inline-flex; align-items: center; justify-content: center; transition: all .3s ease; background: transparent; color: var(--deka-ink); }
.voices-arrows button:hover { background: var(--deka-ink); color: var(--deka-ivory); border-color: var(--deka-ink); }

/* ==========================================================================
   08 — SPECIFY A SYSTEM / DEMO FORM  (v4, re-skinned)
   ========================================================================== */
.demo { padding: 120px 0; background: var(--deka-ivory); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } }
.demo-copy h2 { font-family: var(--deka-sans); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; color: var(--deka-ink); }
.demo-copy h2 em { font-family: var(--deka-serif); font-style: italic; font-weight: 400; color: var(--deka-sapphire); }
.demo-copy p { margin-top: 18px; max-width: 44ch; font-size: 15.5px; color: var(--hm-muted); line-height: 1.65; }
.demo-bullets { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.demo-bullet { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--deka-ink); }
.demo-bullet .check { width: 20px; height: 20px; border-radius: 50%; background: var(--hm-sky); color: var(--deka-sapphire); display: grid; place-items: center; flex-shrink: 0; }
.demo-card { background: #fff; border: 1px solid var(--deka-rule); border-radius: 24px; padding: 36px; box-shadow: 0 30px 70px -40px rgba(4, 5, 65, 0.25); }
.demo-card h3 { font-family: var(--deka-serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; color: var(--deka-ink); margin-bottom: 6px; }
.demo-card .sub { font-size: 13.5px; color: var(--hm-muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--deka-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hm-muted-2); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
    font-family: var(--deka-sans); font-size: 14px; padding: 12px 14px; border: 1px solid var(--deka-rule);
    border-radius: 10px; background: var(--deka-ivory); color: var(--deka-ink);
    transition: border-color .2s ease, background .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--deka-sapphire); background: #fff; }
.form-submit {
    width: 100%; margin-top: 8px; padding: 15px 24px; border-radius: 10px;
    background: var(--deka-sapphire); color: #fff; border: 0; font-size: 13px; font-weight: 600;
    letter-spacing: 0.06em; transition: background .2s ease;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover { background: var(--deka-ink-2); }

/* ==========================================================================
   09 — FROM THE JOURNAL  (v4 blog cards, re-skinned)
   ========================================================================== */
.journal { padding: 120px 0; background: var(--deka-bone); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .journal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .journal-grid { grid-template-columns: 1fr; } }
.post { background: #fff; border: 1px solid var(--deka-rule); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.post:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -32px rgba(4, 5, 65, 0.18); }
.post-img { aspect-ratio: 16/10; background: linear-gradient(160deg, var(--hm-sky), var(--hm-sky-2)); position: relative; overflow: hidden; display: grid; place-items: center; }
.post-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.45), transparent 50%); }
.post-img .ph-illu { position: relative; z-index: 1; opacity: 0.5; }
.post-img .date { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; font-family: var(--deka-mono); font-size: 10px; padding: 6px 10px; border-radius: 8px; color: var(--deka-ink); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 6px 20px -10px rgba(4, 5, 65, 0.18); }
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-body .meta { font-family: var(--deka-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deka-sapphire); font-weight: 500; margin-bottom: 12px; }
.post-body h3 { font-family: var(--deka-serif); font-weight: 400; font-size: 23px; letter-spacing: -0.01em; line-height: 1.2; color: var(--deka-ink); text-wrap: balance; }
.post-body p { font-size: 14px; color: var(--hm-muted); margin-top: 10px; line-height: 1.6; flex: 1; }
.post-body .read { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--deka-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deka-sapphire); font-weight: 500; }

/* ==========================================================================
   10 — TRUST STRIP  (v1)
   ========================================================================== */
.trust { padding: 80px 0; background: var(--deka-ivory); border-top: 1px solid var(--deka-rule); border-bottom: 1px solid var(--deka-rule); }
.trust-wrap { display: grid; grid-template-columns: 1fr 3fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .trust-wrap { grid-template-columns: 1fr; gap: 28px; } }
.trust-label { font-family: var(--deka-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--deka-ink); opacity: 0.6; max-width: 28ch; line-height: 1.6; }
.trust-logos { display: flex; justify-content: space-between; gap: 32px; align-items: center; flex-wrap: wrap; }
.trust-logo { font-family: var(--deka-serif); font-weight: 400; font-size: 22px; letter-spacing: 0.02em; color: rgba(4, 5, 65, 0.55); opacity: 0.85; transition: color .3s ease, opacity .3s ease; }
.trust-logo.mono { font-family: var(--deka-mono); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.trust-logo:hover { color: var(--deka-ink); opacity: 1; }

/* ==========================================================================
   11 — FINAL CTA  (v4 card, re-skinned)
   ========================================================================== */
.final { padding: 120px 0; background: var(--deka-bone); }
.final-card {
    border-radius: 28px;
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(43, 82, 159, 0.18), transparent 60%),
        linear-gradient(135deg, var(--deka-ink) 0%, var(--deka-ink-2) 100%);
    color: #fff; padding: 72px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden;
}
@media (max-width: 980px) { .final-card { grid-template-columns: 1fr; padding: 56px 32px; } }
.final-card h2 { font-family: var(--deka-sans); font-weight: 600; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.final-card h2 em { font-family: var(--deka-serif); font-style: italic; font-weight: 400; color: var(--deka-brass); }
.final-card p { margin-top: 18px; font-size: 16px; color: rgba(255, 255, 255, 0.78); max-width: 48ch; line-height: 1.6; }
.final-card .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.final-card .btn-pri {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
    background: var(--deka-ivory); color: var(--deka-ink);
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; transition: transform .3s ease, box-shadow .3s ease;
}
.final-card .btn-pri:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -15px rgba(205, 175, 120, 0.4); }
.final-card .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
    border: 1px solid rgba(245, 244, 239, 0.3); color: var(--deka-ivory);
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; transition: all .3s ease;
}
.final-card .btn-ghost:hover { border-color: var(--deka-ivory); background: rgba(245, 244, 239, 0.06); }
.final-visual { position: relative; height: 100%; min-height: 420px; }
.final-visual img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 150%; max-height: 640px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.45)); pointer-events: none; }
@media (max-width: 980px) { .final-visual { min-height: 320px; } .final-visual img { height: 120%; max-height: 420px; } }

/* ——— reveal on scroll ——— */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ——— motion / reduced ——— */
@media (prefers-reduced-motion: reduce) {
    .hero-headline .line > span { animation: none; transform: none; }
    .hero-scroll .tick { animation: none; }
    .reveal { transition: none; opacity: 1; transform: none; }
}
