/* =========================================================
   Moving Minds Studio — design system
   Bold & playful, kept classy: warm paper, deep ink, coral.
   ========================================================= */

:root {
  --paper: #FBF7F1;
  --paper-2: #F4EDE3;
  --paper-3: #EDE3D5;
  --ink: #17162A;
  --ink-2: #45435A;
  --muted: #6E6B82;
  --line: #E4DACB;
  --white: #FFFFFF;

  --coral: #FF5B3A;
  --coral-deep: #D63E1F;   /* coral for text on light backgrounds (AA) */
  --sun: #FFC23D;
  --mint: #2BB58F;
  --mint-deep: #17805F;
  --sky: #5B8CFF;
  --lilac: #B9A7FF;
  --blush: #FFD9CC;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 0 rgba(23,22,42,.04), 0 12px 32px -12px rgba(23,22,42,.18);
  --shadow-lg: 0 2px 0 rgba(23,22,42,.05), 0 30px 60px -24px rgba(23,22,42,.32);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .4em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.55; max-width: 38em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Hand-drawn underline on key words */
.scribble { position: relative; white-space: nowrap; display: inline-block; }
.scribble svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hl { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: 999px;
  padding: .85em 1.4em; font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 4px 0 rgba(23,22,42,.9);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(23,22,42,.9); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(23,22,42,.9); }
.btn-coral { --bg: var(--coral); --fg: var(--ink); border-color: var(--ink); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--white); box-shadow: none; }
.btn-light { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.btn-sm { padding: .6em 1.05em; font-size: .92rem; box-shadow: 0 3px 0 rgba(23,22,42,.9); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 1px; }
.link:hover { color: var(--coral-deep); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,247,241,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 24px; }
.brand-word { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1; display: inline-flex; align-items: baseline; gap: 6px; }
.brand-sub { font-family: var(--font-body); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand-light { color: var(--paper); }
.brand-light .brand-sub { color: rgba(251,247,241,.6); }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { white-space: nowrap; display: block; padding: .5em .85em; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-2); transition: background .15s, color .15s; }
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-3); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1060px) {
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); background: var(--paper); border-bottom: 1px solid var(--line); }
  .mobile-nav.open { max-height: 520px; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 0; }
  .mobile-nav li a { display: block; padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin: 18px var(--gutter) 24px; width: calc(100% - 2 * var(--gutter)); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink .lead, .bg-ink .muted { color: rgba(251,247,241,.72); }
.bg-ink .eyebrow { color: var(--sun); }
.bg-paper2 { background: var(--paper-2); }
.bg-coral { background: var(--coral); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .32em; }
.hero .lead { margin-bottom: 1.6em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.hero-visual { position: relative; }
.hero-visual .blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(0); }
.hero-visual .blob-1 { width: 220px; height: 220px; background: var(--sun); top: -40px; right: -50px; }
.hero-visual .blob-2 { width: 140px; height: 140px; background: var(--lilac); bottom: -30px; left: -40px; }
.hero-visual .player { position: relative; z-index: 1; }
.hero-note { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.sticker {
  position: absolute; z-index: 3; top: -18px; left: -14px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; font-size: .82rem; transform: rotate(-6deg);
  box-shadow: 0 3px 0 var(--ink);
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
}

/* ---------- Quote strip ---------- */
.quote-strip { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); box-shadow: 0 6px 0 var(--ink); display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 20px 32px; align-items: center; }
.quote-strip h3 { margin: 0; font-size: 1.3rem; }
.quote-strip p { margin: .2em 0 0; font-size: .92rem; color: var(--muted); }
.qs-steps { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; justify-content: flex-end; }
.qs-field { display: flex; flex-direction: column; gap: 6px; }
.qs-field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qs-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-btn { border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: .5em .95em; font-weight: 600; font-size: .92rem; cursor: pointer; transition: border-color .15s, background .15s; }
.chip-btn:hover { border-color: var(--ink-2); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 1060px) { .quote-strip { grid-template-columns: 1fr; } .qs-steps { justify-content: flex-start; } }
.qs-chips { flex-wrap: nowrap; }
@media (max-width: 520px) { .qs-chips { flex-wrap: wrap; } }

/* ---------- Made-for ribbon ---------- */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--paper); }
.ribbon-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon-track span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.ribbon-track span::after { content: "✦"; color: var(--coral); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 8px; }
.stat span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

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

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
a.card { text-decoration: none; display: block; }
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; border: 2px solid var(--ink); }
.card .icon svg { width: 26px; height: 26px; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.c-coral { background: var(--blush); }
.c-sun { background: #FFE7A8; }
.c-mint { background: #C7EFE1; }
.c-sky { background: #D6E2FF; }
.c-lilac { background: #E6DFFF; }
.c-paper { background: var(--paper-2); }

/* ---------- Before / after ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-col { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.ba-before { background: var(--paper-2); border: 1px dashed var(--muted); }
.ba-after { background: var(--ink); color: var(--paper); }
.ba-col h3 { display: flex; align-items: center; gap: 10px; }
.ba-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ba-col li { display: flex; gap: 12px; align-items: flex-start; }
.ba-col li::before { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 1px; }
.ba-before li { color: var(--ink-2); }
.ba-before li::before { content: "✕"; background: var(--paper-3); color: var(--muted); }
.ba-after li::before { content: "✓"; background: var(--mint); color: var(--ink); }
.ba-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; }
.ba-before .ba-label { background: var(--paper-3); color: var(--muted); }
.ba-after .ba-label { background: var(--coral); color: var(--ink); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; background: rgba(251,247,241,.06); border: 1px solid rgba(251,247,241,.14); border-radius: var(--r); padding: 22px 20px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--coral); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .93rem; color: rgba(251,247,241,.72); margin: 0; }
.step .when { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); }
.steps.light .step { background: var(--white); border-color: var(--line); }
.steps.light .step p { color: var(--ink-2); }
.steps.light .step .when { color: var(--coral-deep); }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }

/* ---------- At a glance ---------- */
.glance { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.glance div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance div:nth-child(3n) { border-right: 0; }
.glance div:nth-last-child(-n+3) { border-bottom: 0; }
.glance dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.glance dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
@media (max-width: 760px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .glance div:nth-child(2n) { border-right: 0 !important; }
}

/* ---------- Industry tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { border-radius: var(--r); padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(23,22,42,.08); }
.tile h3 { font-size: 1.12rem; margin: 0; }
.tile p { font-size: .9rem; color: var(--ink-2); margin: 10px 0 0; }
.tile .glyph { font-size: 1.6rem; line-height: 1; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.price-card .badge { position: absolute; top: -14px; left: 26px; background: var(--coral); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 700; padding: 4px 12px; }
.price-card h3 { margin-bottom: 4px; }
.price-card .for { color: var(--muted); font-size: .94rem; min-height: 3em; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .from { font-size: .85rem; color: var(--muted); font-weight: 600; }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.price .unit { font-size: .9rem; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.price-card li { display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--mint-deep); font-weight: 800; }
.price-card .btn { margin-top: auto; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; } }

.currency { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.currency button { border: 0; background: transparent; border-radius: 999px; padding: .45em 1em; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink-2); }
.currency button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table.plain { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.plain th, table.plain td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--paper); }
table.plain tr:last-child td { border-bottom: 0; }
table.plain td:last-child { font-weight: 600; white-space: nowrap; }

/* Estimator */
.estimator { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: 0 8px 0 var(--ink); }
.est-inputs { padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; }
.est-row label, .est-row .lbl { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.est-row output { font-family: var(--font-display); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--coral); height: 28px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.check { display: flex; gap: 10px; align-items: center; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--coral); }
.est-out { background: var(--ink); color: var(--paper); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.est-out .total { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; margin: 10px 0 6px; }
.est-out dl { margin: 22px 0; display: grid; gap: 8px; font-size: .94rem; }
.est-out dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(251,247,241,.18); padding-bottom: 8px; }
.est-out dt { color: rgba(251,247,241,.7); }
.est-out dd { margin: 0; font-weight: 600; }
.est-out .btn { margin-top: auto; }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--font-body); font-size: 1.1rem; transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--r-lg); background: var(--coral); border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { font-size: 1.1rem; margin: 0; max-width: 34em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-band .ring { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.18); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 14em; }
.page-hero .lead { margin-top: 18px; }

/* ---------- Services detail ---------- */
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:first-of-type { border-top: 0; }
.svc-num { font-family: var(--font-display); font-weight: 800; color: var(--coral-deep); font-size: 1rem; margin-bottom: 10px; display: block; }
.svc ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.svc li { display: flex; gap: 10px; color: var(--ink-2); }
.svc li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .62em; border-radius: 50%; background: var(--coral); }
.svc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.svc-meta div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.svc-meta dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc-meta dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc-meta { grid-template-columns: 1fr; } }

/* ---------- Work grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card .thumb { position: relative; aspect-ratio: 16 / 9; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; background: var(--paper-2); }
.work-card .thumb svg { width: 100%; height: 100%; }
.work-card .play { position: absolute; inset: auto auto 16px 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px 8px 10px; font-weight: 700; font-size: .9rem; box-shadow: 0 3px 0 var(--ink); }
.work-card .play i { width: 22px; height: 22px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-style: normal; font-size: .62rem; }
.work-body { padding: 22px 24px 26px; }
.work-body h3 { margin-bottom: 6px; }
.work-body p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.work-card[hidden] { display: none; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(23,22,42,.72); backdrop-filter: blur(4px); }
.modal.open { display: flex; animation: fade .2s ease; }
.modal-inner { width: min(960px, 100%); position: relative; }
.modal-close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--paper); background: transparent; color: var(--paper); font-size: 1.3rem; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field .lbl { font-weight: 600; font-size: .94rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: .8em .95em; font-size: 1rem; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--muted); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-success { display: none; background: #C7EFE1; border: 2px solid var(--mint-deep); border-radius: var(--r); padding: 18px 20px; }
.form-success.show { display: block; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.aside-card { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 30px; position: sticky; top: 96px; }
.aside-card h3 { color: var(--paper); }
.aside-card ol { padding-left: 1.2em; margin: 0 0 22px; display: grid; gap: 12px; color: rgba(251,247,241,.82); }
.aside-card a { color: var(--sun); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Two-column text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.values { display: grid; gap: 14px; }
.value { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.value .num { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; border: 2px solid var(--ink); }
.value h3 { font-size: 1.12rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--ink-2); font-size: .96rem; }

.notice { display: flex; gap: 14px; align-items: flex-start; background: #FFF3D1; border: 1px solid #F2D27A; border-radius: var(--r); padding: 16px 18px; font-size: .94rem; color: var(--ink-2); }
.notice b { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251,247,241,.78); padding: 72px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 18px 0 14px; max-width: 26em; font-size: .95rem; }
.footer-mail { color: var(--sun); font-weight: 600; text-decoration: none; }
.site-footer h3 { color: var(--paper); font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; font-size: .95rem; }
.site-footer ul a:hover { color: var(--paper); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(251,247,241,.12); font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Episode player
   ========================================================= */
.player { background: var(--ink); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-lg); border: 2px solid var(--ink); }
.player-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #FFF6E8; }
.player-stage svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.player-caption { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); width: min(88%, 620px); text-align: center; background: rgba(23,22,42,.86); color: #fff; border-radius: 12px; padding: .55em .9em; font-size: clamp(.8rem, 1.7vw, 1.02rem); line-height: 1.4; font-weight: 500; transition: opacity .3s; }
.player-caption:empty { opacity: 0; }
.player-chapter { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.player-quiz { position: absolute; inset: 0; background: rgba(23,22,42,.9); color: #fff; display: none; flex-direction: column; justify-content: center; align-items: center; padding: 5% 7%; text-align: center; gap: 4px; }
.player-quiz.show { display: flex; animation: fade .3s ease; }
.player-quiz .qlabel { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 4px; }
.player-quiz .q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.6vw, 1.55rem); line-height: 1.2; margin-bottom: 4%; max-width: 22em; }
.player-quiz .opts { display: grid; gap: 8px; width: min(100%, 440px); }
.player-quiz .opt { background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.28); color: #fff; border-radius: 12px; padding: .55em .9em; font-size: clamp(.82rem, 1.6vw, .98rem); font-weight: 600; cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }
.player-quiz .opt:hover:not(:disabled) { background: rgba(255,255,255,.16); border-color: #fff; }
.player-quiz .opt.right { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.player-quiz .opt.wrong { background: rgba(255,91,58,.25); border-color: var(--coral); }
.player-quiz .opt:disabled { cursor: default; }
.player-quiz .fb { min-height: 1.6em; margin-top: 10px; font-weight: 600; font-size: clamp(.82rem, 1.6vw, .98rem); }
.player-quiz .again { margin-top: 6px; background: transparent; border: 0; color: var(--sun); font-weight: 600; cursor: pointer; text-decoration: underline; font-size: .9rem; }
.player-start { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(23,22,42,.18); border: 0; cursor: pointer; }
.player-start span { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 12px 20px 12px 14px; font-weight: 700; box-shadow: 0 4px 0 var(--ink); }
.player-start i { width: 30px; height: 30px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-style: normal; font-size: .8rem; }
.player-start[hidden] { display: none; }
.player-bar { display: flex; align-items: center; gap: 10px; padding: 10px 6px 4px; color: var(--paper); }
.pbtn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.pbtn:hover { background: rgba(255,255,255,.24); }
.pbtn svg { width: 16px; height: 16px; }
.ptrack { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.16); overflow: hidden; display: flex; gap: 3px; }
.ptrack span { flex: 1; background: rgba(255,255,255,.14); border-radius: 6px; position: relative; overflow: hidden; }
.ptrack span b { position: absolute; inset: 0; width: 0; background: var(--coral); border-radius: 6px; }
.plang { flex: none; display: flex; gap: 2px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.plang button { border: 0; background: transparent; color: rgba(255,255,255,.75); border-radius: 999px; padding: 4px 9px; font-size: .78rem; font-weight: 600; cursor: pointer; }
.plang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
@media (max-width: 520px) { .plang button { padding: 4px 6px; font-size: .72rem; } .player-bar { gap: 6px; } }

/* --- Scene primitives --- */
.scene .eyes, .scene .breathe, .scene .wave-arm, .scene .arm-l, .scene .arm-r, .scene .leg-l, .scene .leg-r,
.scene .spin, .scene .pop, .scene .float, .scene .inbox-dot, .scene .helmet, .scene .stand, .scene .ride,
.scene .priya, .scene .customer, .scene .manager, .scene .gap-item, .scene .lens, .scene .mail, .scene .walker { transform-box: fill-box; }
.scene .fade { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.scene .eyes { transform-origin: center; animation: blink 4.2s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.scene .breathe { animation: breathe 3.2s ease-in-out infinite; transform-origin: bottom center; }
@keyframes breathe { 50% { transform: translateY(-2px); } }
.scene .wave { transform-origin: 50% 8%; animation: wave 1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(-160deg); } 50% { transform: rotate(-130deg); } }
.scene .walk .leg-l { transform-origin: 50% 0; animation: legA .5s ease-in-out infinite; }
.scene .walk .leg-r { transform-origin: 50% 0; animation: legB .5s ease-in-out infinite; }
.scene .walk .arm-l { transform-origin: 50% 8%; animation: legB .5s ease-in-out infinite; }
.scene .walk .arm-r { transform-origin: 50% 8%; animation: legA .5s ease-in-out infinite; }
@keyframes legA { 50% { transform: rotate(16deg); } }
@keyframes legB { 50% { transform: rotate(-16deg); } }
.scene .spin { transform-origin: center; animation: spin .5s linear infinite; animation-play-state: paused; }
.scene .road-lines { animation: road 0.6s linear infinite; animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes road { to { transform: translateX(-80px); } }
.scene .pop { opacity: 0; transform: scale(.4); transform-origin: center; transition: opacity .35s var(--ease), transform .45s cubic-bezier(.3,1.6,.5,1); }
.scene .float { animation: floaty 2.6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-6px); } }

.player.paused .scene *, .player.paused .scene { animation-play-state: paused !important; }

/* Episode 1 — rider */
.ep-rider .helmet { transform: translateY(-260px); transition: transform .9s cubic-bezier(.4,1.4,.5,1); }
.ep-rider .stand { transition: opacity .5s, transform .8s var(--ease); }
.ep-rider .ride { opacity: 0; transform: translateX(-120px); transition: opacity .5s, transform 1s var(--ease); }
[data-beat="2"] .ep-rider .helmet, [data-beat="3"] .ep-rider .helmet, [data-beat="4"] .ep-rider .helmet { transform: none; }
[data-beat="2"] .ep-rider .click { opacity: 1; transform: none; transition-delay: .8s; }
[data-beat="3"] .ep-rider .stand, [data-beat="4"] .ep-rider .stand { opacity: 0; transform: translateX(-40px); }
[data-beat="3"] .ep-rider .ride, [data-beat="4"] .ep-rider .ride { opacity: 1; transform: none; }
[data-beat="3"] .ep-rider .spin, [data-beat="3"] .ep-rider .road-lines { animation-play-state: running; }
[data-beat="3"] .ep-rider .badhelmet { opacity: 1; transform: none; transition-delay: .6s; }
[data-beat="4"] .ep-rider .notif { opacity: 1; transform: none; }
[data-beat="4"] .ep-rider .stopchip { opacity: 1; transform: none; transition-delay: .5s; }

/* Episode 2 — store */
.ep-store .priya { transform: translateX(-320px); transition: transform 1.6s var(--ease); }
[data-beat="1"] .ep-store .priya, [data-beat="2"] .ep-store .priya { transform: none; }
[data-beat="3"] .ep-store .priya, [data-beat="4"] .ep-store .priya { transform: translateX(150px); }
.ep-store .customer { transform: translateX(-200px); opacity: 0; transition: transform 1.2s var(--ease), opacity .5s; }
[data-beat="2"] .ep-store .customer { transform: none; opacity: 1; }
[data-beat="2"] .ep-store .hello, [data-beat="2"] .ep-store .timer { opacity: 1; transform: none; transition-delay: .9s; }
.ep-store .gap-item { transform: translateY(-40px); opacity: 0; transition: transform .7s cubic-bezier(.3,1.5,.5,1), opacity .4s; transition-delay: .8s; }
[data-beat="3"] .ep-store .gap-item, [data-beat="4"] .ep-store .gap-item { transform: none; opacity: 1; }
.ep-store .manager { opacity: 0; transform: translateX(80px); transition: opacity .5s, transform 1s var(--ease); }
[data-beat="4"] .ep-store .manager { opacity: 1; transform: none; }
[data-beat="4"] .ep-store .askq { opacity: 1; transform: none; transition-delay: .7s; }
[data-beat="4"] .ep-store .idea { opacity: 1; transform: none; transition-delay: 1.8s; }

/* Episode 3 — lifting */
.ep-lift .pose { opacity: 0; transition: opacity .45s; }
[data-beat="1"] .ep-lift .pose-stand { opacity: 1; }
[data-beat="2"] .ep-lift .pose-bad { opacity: 1; }
[data-beat="3"] .ep-lift .pose-good { opacity: 1; }
[data-beat="4"] .ep-lift .pose-carry { opacity: 1; }
.ep-lift .floorbox { transition: opacity .3s; }
[data-beat="4"] .ep-lift .floorbox { opacity: 0; }
[data-beat="2"] .ep-lift .bad-mark { opacity: 1; transform: none; transition-delay: .5s; }
[data-beat="3"] .ep-lift .good-mark, [data-beat="4"] .ep-lift .good-mark { opacity: 1; transform: none; transition-delay: .5s; }
[data-beat="2"] .ep-lift .spine-glow { opacity: .9; }
.ep-lift .spine-glow { opacity: 0; transition: opacity .5s .4s; }

/* Episode 4 — phishing */
.ep-phish .mail { opacity: 0; transform: translateY(30px) scale(.9); transition: opacity .5s, transform .6s cubic-bezier(.3,1.4,.5,1); }
[data-beat="2"] .ep-phish .mail, [data-beat="3"] .ep-phish .mail, [data-beat="4"] .ep-phish .mail { opacity: 1; transform: none; }
.ep-phish .lens { opacity: 0; transform: translate(60px, 50px); transition: opacity .4s, transform .9s var(--ease); }
[data-beat="3"] .ep-phish .lens { opacity: 1; transform: none; }
[data-beat="3"] .ep-phish .mismatch { opacity: 1; transform: none; transition-delay: .9s; }
[data-beat="4"] .ep-phish .reported { opacity: 1; transform: none; transition-delay: .3s; }
[data-beat="4"] .ep-phish .mail-body { opacity: .35; transition: opacity .4s; }
.ep-phish .inbox-dot { animation: floaty 1.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ribbon-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Player helpers */
.no-anim *, .no-anim { transition: none !important; }
[data-beat="1"] .wave-arm { animation: wave 1s ease-in-out infinite; }
.thumb .player-stage { aspect-ratio: auto; height: 100%; }
.work-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .work-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work-grid.three { grid-template-columns: 1fr; } }
.work-card .thumb > div { height: 100%; }
.glance.two { grid-template-columns: 1fr 1fr; }
.glance.two div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
.glance.two div:nth-child(2n) { border-right: 0 !important; }
.glance.two div:nth-last-child(-n+2) { border-bottom: 0 !important; }

/* Player adapts to its own width (hero, modal, phone) */
.player { container-type: inline-size; }
@container (max-width: 560px) {
  .player-quiz { padding: 3% 5%; gap: 2px; overflow-y: auto; justify-content: flex-start; padding-top: 4%; }
  .player-quiz .qlabel { font-size: .62rem; margin-bottom: 2px; }
  .player-quiz .q { font-size: .92rem; margin-bottom: 6px; }
  .player-quiz .opts { gap: 5px; }
  .player-quiz .opt { padding: .38em .7em; font-size: .78rem; border-radius: 9px; }
  .player-quiz .fb { font-size: .78rem; margin-top: 4px; min-height: 1.2em; }
  .player-quiz .again { font-size: .78rem; margin-top: 0; }
  .player-caption { font-size: .74rem; padding: .4em .7em; bottom: 5%; }
  .player-chapter { font-size: .64rem; top: 8px; left: 8px; padding: 3px 9px; }
  .player-start span { padding: 9px 16px 9px 10px; font-size: .9rem; }
}
.est-row label.check { justify-content: flex-start; margin-bottom: 0; font-weight: 500; }
.footer-loc { margin: 10px 0 0 !important; font-size: .9rem; color: rgba(251,247,241,.6); }

/* ---------- Motion-graphics sample pieces (v2) ---------- */
.scene .rise, .scene .fadein, .scene .runner, .scene .phone { transform-box: fill-box; }
.scene .rise { opacity: 0; transform: translateY(26px); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.scene .fadein { opacity: 0; transition: opacity .45s; }
[data-beat="1"] .on1, [data-beat="2"] .on2, [data-beat="3"] .on3, [data-beat="4"] .on4,
[data-beat="2"] .from2, [data-beat="3"] .from2, [data-beat="4"] .from2,
[data-beat="3"] .from3, [data-beat="4"] .from3, [data-beat="4"] .from4 { opacity: 1; transform: none; }
.scene .d1 { transition-delay: .35s; } .scene .d2 { transition-delay: .7s; }
.ep-explain .runner { transition: transform 1.1s var(--ease); }
[data-beat="2"] .ep-explain .runner { transform: translateX(140px); }
[data-beat="3"] .ep-explain .runner { transform: translateX(280px); }
[data-beat="4"] .ep-explain .runner { transform: translateX(420px); }
.ep-launch .phone { transform: translateY(330px); transition: transform .9s cubic-bezier(.3,1.3,.5,1); }
[data-beat="1"] .ep-launch .phone, [data-beat="2"] .ep-launch .phone, [data-beat="3"] .ep-launch .phone, [data-beat="4"] .ep-launch .phone { transform: none; }

/* Reel tabs above the hero player */
.reel-tabs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.reel-tabs .chip-btn { background: var(--white); }
.reel-tabs .chip-btn[aria-pressed="true"] { background: var(--ink); }
.card.feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card.feature p { color: rgba(251,247,241,.75); }
.card.feature .more { border-color: var(--sun); }
.card .kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px; }
.tile.plain { min-height: 120px; justify-content: flex-end; }
.player-start.ended { background: transparent; align-items: flex-start; justify-content: flex-end; padding: 12px; }
.player-start.ended span { padding: 8px 14px 8px 10px; font-size: .88rem; }
.player-start.ended i { width: 24px; height: 24px; }

/* =========================================================
   v3 finish — modelled on Demo Duck's type and boxes:
   one grotesque typeface, flat pill buttons, soft off-white
   panels with big rounded corners, no hard shadows or ink borders.
   Delete this block to return to the v2 look.
   ========================================================= */
:root {
  --paper: #FFFFFF;          /* page */
  --paper-2: #F8F6F2;        /* panels and cards */
  --paper-3: #EDEBE7;        /* pressed / secondary buttons */
  --ink: #212121;
  --ink-2: #3A3A3A;
  --muted: #6B6B6B;
  --line: #EDEBE7;
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --r-panel: clamp(28px, 5vw, 64px);
  /* softened accents */
  --coral: #F2A07B;
  --coral-deep: #A9502A;   /* for text on light backgrounds */
  --sun: #F9BF6F;
  --mint: #8CCBB2;
  --mint-deep: #2E7A5F;
  --sky: #9DB8EE;
  --lilac: #CFC4F2;
  --blush: #FBE4D9;
}
body { font-size: 18px; font-weight: 500; line-height: 1.38; letter-spacing: .01em; }
p, li { line-height: 1.45; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; }
h1 { letter-spacing: -0.02em; line-height: 1.05; }
h2 { letter-spacing: -0.015em; }
h3 { line-height: 1.15; }
.lead { line-height: 1.45; }

/* Eyebrow: small, bold, spaced capitals; no rule before it */
.eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .1em; }
.eyebrow::before { display: none; }

/* Buttons: flat pills */
.btn, .btn:hover, .btn:active, .btn-sm, .btn-light, .btn-ghost { box-shadow: none; }
.btn { border: 0; padding: 1em 1.8em; font-weight: 500; font-size: 1.05rem; letter-spacing: .01em; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:hover { transform: none; filter: brightness(.95); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: .7em 1.4em; font-size: .95rem; }
.btn-coral { --fg: var(--ink); }
.btn-ghost { --bg: var(--paper-3); }
.btn-ghost:hover { background: var(--paper-3); }
.btn-light { --bg: var(--white); }
.bg-paper2 .btn-ghost { --bg: var(--white); }

/* Sections become rounded panels inset from the page edge */
.bg-paper2, .bg-ink { border-radius: var(--r-panel); margin-inline: clamp(8px, 1.6vw, 24px); }
.site-footer { border-radius: var(--r-panel) var(--r-panel) 0 0; margin-inline: clamp(8px, 1.6vw, 24px); }
.site-header { background: rgba(255,255,255,.9); }
.ribbon { border: 0; background: var(--paper); }

/* Boxes: soft fill, no borders, no shadows */
.card, .stat, .value, .faq details, .price-card, .work-card, .svc-meta div, .table-wrap, .tile { border: 0; }
.card, .stat, .value, .faq details, .price-card, .svc-meta div { background: var(--paper-2); }
.bg-paper2 .card, .bg-paper2 .stat, .bg-paper2 .value, .bg-paper2 .faq details,
.bg-paper2 .price-card, .bg-paper2 .svc-meta div, .bg-paper2 .table-wrap { background: var(--white); }
.work-card { background: var(--paper-2); border-radius: var(--r-lg); }
a.card:hover, .card.lift:hover, .work-card:hover { box-shadow: none; transform: translateY(-3px); }
.card .icon, .value .num { border: 0; }
.card.feature { background: var(--ink); }

.quote-strip { background: var(--paper-2); border: 0; box-shadow: none; border-radius: var(--r-lg); }
.chip-btn { border: 0; background: var(--white); font-weight: 500; }
.chip-btn:hover { background: var(--paper-3); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-pressed="true"]:hover { background: var(--ink); color: var(--white); }
.reel-tabs .chip-btn { background: var(--paper-2); }
.reel-tabs .chip-btn[aria-pressed="true"] { background: var(--ink); }

.price-card.featured { border: 0; box-shadow: none; background: var(--sun); }
.price-card .badge { border: 0; background: var(--ink); color: var(--white); }
.estimator { border: 0; box-shadow: none; background: var(--paper-2); }
.glance { border: 0; background: var(--paper-2); }
.glance div { border-color: var(--white); }
.cta-band { border: 0; box-shadow: none; border-radius: var(--r-panel); }
.cta-band .ring { display: none; }
.faq summary::after { border: 0; background: var(--white); }
.bg-paper2 .faq summary::after { background: var(--paper-2); }
.currency { border: 0; background: var(--paper-2); }

.sticker, .work-card .play, .player-start span { border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.player { border: 0; box-shadow: none; }
.field input, .field select, .field textarea { border: 2px solid transparent; background: var(--paper-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); outline: none; }
.nav-toggle { border: 0; background: var(--paper-2); }
.ba-before { border: 0; }
.step { border: 0; background: rgba(255,255,255,.07); }
.steps.light .step { background: var(--paper-2); }
.ba-col[style] { border: 0 !important; }

/* ---------- v4: styles (2D, 3D and more) ---------- */
.price-3d { margin: -6px 0 16px; font-size: .92rem; color: var(--ink-2); }
.price-3d b { font-weight: 700; }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .style-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .style-grid { grid-template-columns: 1fr; } }
.style-tile { display: block; background: var(--white); border-radius: var(--r); padding: 20px; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease); }
.section:not(.bg-paper2) .style-tile { background: var(--paper-2); }
.style-tile:hover { transform: translateY(-3px); }
.style-tile h3 { font-size: 1.08rem; margin: 14px 0 4px; }
.style-tile p { margin: 0; font-size: .92rem; color: var(--muted); }
.sw { display: block; width: 46px; height: 46px; border-radius: 14px; }
.sw-coral { background: var(--coral); border-radius: 50% 50% 14px 50%; }
.sw-sky { background: linear-gradient(135deg, #C9D8F6, var(--sky) 60%, #7F9CD6); }
.sw-3d { background: radial-gradient(circle at 32% 28%, #FFE3C2, var(--sun) 45%, #C98A3A 100%); border-radius: 50%; box-shadow: 0 8px 14px -6px rgba(150,95,30,.55); }
.sw-mint { background: conic-gradient(var(--mint) 0 25%, #BDE3D3 0 50%, var(--mint) 0 75%, #BDE3D3 0); }
.sw-lilac { background: var(--lilac); border-radius: 10px; box-shadow: inset 0 0 0 7px #E6DFFA; }
.sw-paper { background: var(--white); border: 2px dashed var(--ink-2); }
.sw-sun { background: var(--sun); position: relative; }
.sw-sun::after { content: "Aa"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.sw-ink { background: linear-gradient(135deg, var(--ink) 50%, var(--coral) 50%); }
.style-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.style-jump a { text-decoration: none; background: var(--paper-2); color: var(--ink); padding: .5em 1em; border-radius: 999px; font-size: .92rem; }
.style-jump a:hover { background: var(--paper-3); }
.svc { scroll-margin-top: 96px; }
/* 3D sample stage */
.three-mount { position: absolute; inset: 0; background: linear-gradient(180deg, #FBF3E8, #F1E6D6); }
.three-mount canvas { width: 100% !important; height: 100% !important; display: block; }
.three-mount .three-label { position: absolute; left: 14px; top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* =========================================================
   Aha Frames — unslop pass (v5)
   Direction: lucid, patient, quietly playful. World: the animator's desk,
   paper, pencil, numbered storyboard frames. Chrome is warm and quiet;
   colour lives inside the sample frames. Signature: numbered frames in mono.
   Method: unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   ========================================================= */
:root {
  --paper: #F7F4EE;          /* page */
  --paper-2: #EFE9DF;        /* panels, raised */
  --paper-3: #E6DED1;        /* pressed */
  --white: #FDFBF7;          /* cards */
  --ink: #1F1B16;            /* primary text */
  --ink-2: #5E554A;          /* secondary text */
  --muted: #7B7266;          /* meta */
  --line: rgba(31,27,22,.09);
  --line-2: rgba(31,27,22,.16);
  --coral: #E07A4F;          /* the one accent, from pencil-shaving orange */
  --coral-deep: #A64B26;     /* accent as text */
  --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-panel: 24px;
}
body { background: var(--paper); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: 0; }
p, li { line-height: 1.55; }
h1, h2, h3, h4 { font-weight: 500; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.005em; font-weight: 500; }
.lead { color: var(--ink-2); font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 36rem; }
.muted { color: var(--muted); }
b, strong { font-weight: 600; }

/* Signature: every section label is a numbered storyboard frame */
main { counter-reset: frame; }
.eyebrow { display: inline-flex; align-items: baseline; gap: 12px; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; color: var(--ink-2); margin-bottom: 16px; }
.eyebrow::before { display: inline; content: counter(frame, decimal-leading-zero); counter-increment: frame; width: auto; height: auto; background: none; border-radius: 0; font-family: var(--font-mono); font-size: .8rem; color: var(--coral-deep); }
.bg-ink .eyebrow { color: rgba(247,244,238,.72); }
.bg-ink .eyebrow::before { color: var(--coral); }

/* Buttons: control radius, no shadows, colour change on hover only */
.btn { border: 1px solid transparent; border-radius: 10px; padding: 0 20px; height: 48px; font-weight: 500; font-size: 1rem; letter-spacing: 0; box-shadow: none; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .12s var(--ease); }
.btn:hover { transform: none; filter: none; box-shadow: none; }
.btn:active { transform: scale(.98); }
.btn-ink, .btn-coral { --bg: var(--ink); --fg: var(--white); background: var(--ink); color: var(--white); }
.btn-ink:hover, .btn-coral:hover { background: #3A332B; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--paper-2); }
.bg-paper2 .btn-ghost { background: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: transparent; }
.btn-light:hover { background: var(--paper-2); }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 8px; font-size: .94rem; }
.btn .arrow { display: none; }
.link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--coral); padding-bottom: 2px; color: var(--ink); }
.link:hover { color: var(--coral-deep); }
.more-link { margin-top: 32px; }

/* Header and logo */
.site-header { background: rgba(247,244,238,.92); border-bottom: 1px solid transparent; }
.header-inner { height: 68px; }
.brand { gap: 10px; }
.brand-mark { width: 28px; height: 22px; color: var(--ink); }
.brand-light .brand-mark { color: var(--paper); }
.brand-word { font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-sub { display: none; }
.main-nav a { border-radius: 8px; font-weight: 400; font-size: .96rem; padding: 8px 12px; }
.main-nav a[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: inset 0 -1px 0 var(--coral); border-radius: 0; }
.nav-toggle { border-radius: 10px; background: var(--paper-2); }
.mobile-nav li a { font-weight: 500; font-size: 1.25rem; }

/* Hero: split, text block centred against the reel */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); }
.hero-copy h1 { max-width: 11em; margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual .blob, .sticker, .hero-points, .ribbon, .scribble svg, .cta-band .ring { display: none; }
.hl { background: none; padding: 0; }
.hero-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.reel-tabs { gap: 4px; margin-bottom: 12px; }
.chip-btn { border: 1px solid var(--line-2); background: var(--white); border-radius: 8px; padding: 6px 12px; font-weight: 400; font-size: .92rem; color: var(--ink-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.chip-btn:hover { background: var(--paper-2); color: var(--ink); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-pressed="true"]:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.reel-tabs .chip-btn { background: var(--white); }

/* Sections and panels */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.bg-paper2 { background: var(--paper-2); border-radius: var(--r-panel); margin-inline: clamp(8px, 1.6vw, 24px); }
.bg-ink { border-radius: var(--r-panel); margin-inline: clamp(8px, 1.6vw, 24px); }
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 15em; }

/* No scroll entrances, no hover lifts */
.reveal { opacity: 1; transform: none; transition: none; }
a.card:hover, .card.lift:hover, .work-card:hover, .style-tile:hover { transform: none; box-shadow: none; }

/* Cards, quiet */
.card, .stat, .value, .faq details, .price-card, .svc-meta div, .table-wrap, .quote-strip, .glance, .estimator { background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.card { border-radius: 16px; padding: 24px; }
a.card:hover { border-color: var(--line-2); }
.card .icon, .value .num { display: none; }
.value { grid-template-columns: 1fr; border-radius: 16px; padding: 24px; }

/* What we make: grouped lists, not equal cards */
.cap-groups { display: grid; grid-template-columns: 1.1fr 1.1fr .9fr; gap: clamp(24px, 3vw, 40px); }
.cap-group h3 { font-size: .9rem; font-weight: 500; color: var(--muted); margin: 0 0 12px; letter-spacing: 0; }
.cap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.cap-list li { border-bottom: 1px solid var(--line); }
.cap-list a { display: grid; gap: 4px; padding: 16px 0; text-decoration: none; color: var(--ink); transition: color .15s var(--ease); }
.cap-list a b { font-weight: 500; font-size: 1.15rem; }
.cap-list a span { color: var(--ink-2); font-size: .95rem; }
.cap-list a:hover b { color: var(--coral-deep); }
.cap-craft .cap-list a b { font-size: 1.15rem; }
@media (max-width: 920px) { .cap-groups { grid-template-columns: 1fr; } }

/* Track record */
.record { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.record li { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.record li span:first-child { font-weight: 500; }
.record li span:last-child { color: var(--ink-2); }
@media (max-width: 520px) { .record li { grid-template-columns: 1fr; gap: 2px; } }

/* Compare list (why us, partnership) */
.compare { margin: 0; display: grid; border-top: 1px solid var(--line-2); }
.compare div { padding: 18px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 4px; }
.compare dt { font-weight: 500; font-size: 1.12rem; }
.compare dd { margin: 0; color: var(--ink-2); }

/* Rules (about) */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line-2); }
.rules > div { padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.rules h3 { margin: 0 0 6px; }
.rules p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* Steps: frame numbers in mono, the same signature */
.steps { list-style: none; padding: 0; margin: 0; gap: 12px; }
.step { border: 1px solid rgba(247,244,238,.12); background: rgba(247,244,238,.04); border-radius: 12px; padding: 20px; }
.step::before { font-family: var(--font-mono); font-weight: 400; font-size: .8rem; color: var(--coral); margin-bottom: 16px; letter-spacing: 0; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: rgba(247,244,238,.72); margin: 0; }
.step .when { font-family: var(--font-mono); font-size: .78rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(247,244,238,.56); margin-top: 16px; }
.steps.light .step { background: var(--white); border-color: var(--line); }
.steps.light .step p { color: var(--ink-2); }
.steps.light .step .when { color: var(--muted); }
.steps.light .step::before { color: var(--coral-deep); }

/* Work */
.work-card { border: 1px solid var(--line); background: var(--white); border-radius: 16px; }
.work-card .thumb { border-radius: 12px 12px 0 0; }
.work-body h3 { font-size: 1.1rem; }
.work-body p { color: var(--ink-2); }
.work-card .play { border-radius: 8px; box-shadow: none; border: 0; font-weight: 500; }
.work-card .play i { background: var(--ink); color: var(--white); }
.tag { border-radius: 6px; background: var(--paper-2); font-family: var(--font-mono); font-size: .75rem; font-weight: 400; color: var(--ink-2); }
.filters .chip-btn { border-radius: 8px; }
.notice { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }

/* Glance and pricing */
.glance { border-radius: 16px; }
.glance div { border-color: var(--line) !important; }
.glance dt { text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 400; color: var(--muted); }
.glance dd { font-weight: 500; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price-card { border-radius: 16px; padding: 28px 24px; }
.price-card.featured { background: var(--white); border: 1px solid var(--ink); box-shadow: none; }
.price-card .badge { background: var(--ink); color: var(--white); border: 0; border-radius: 6px; font-size: .75rem; font-weight: 500; padding: 4px 8px; }
.price .amt { font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-card li::before { color: var(--ink-2); }
.currency { border: 1px solid var(--line); background: var(--white); border-radius: 10px; }
.currency button { border-radius: 8px; font-weight: 400; }
.currency button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.estimator { border-radius: 16px; overflow: hidden; }
.est-row output, .est-out .total { font-weight: 500; font-variant-numeric: tabular-nums; }
.est-out .eyebrow { color: rgba(247,244,238,.72) !important; }
.est-out .eyebrow::before { color: var(--coral); }
.seg { gap: 4px; }
table.plain td:last-child { font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { gap: 8px; }
.faq details { border-radius: 12px; padding: 0 20px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { font-weight: 500; font-size: 1.06rem; padding: 18px 0; }
.faq summary::after { width: 24px; height: 24px; border: 1px solid var(--line-2); background: transparent; font-size: 1rem; }
.faq p { color: var(--ink-2); }

/* Services and styles */
.svc-block { padding: 24px 0 clamp(48px, 6vw, 80px); }
.svc-group { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin: 48px 0 0; padding-bottom: 12px; }
.svc { border-top: 1px solid var(--line-2); padding: clamp(32px, 4vw, 48px) 0; }
.svc-num { font-family: var(--font-mono); font-weight: 400; font-size: .8rem; color: var(--coral-deep); }
.svc li::before { background: var(--ink-2); width: 5px; height: 5px; }
.svc-meta div { border-radius: 12px; padding: 12px 16px; }
.svc-meta dt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: .85rem; }
.style-jump a { border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; }
.style-jump a:hover { background: var(--paper-2); }
.style-tile { border: 1px solid var(--line); border-radius: 16px; }
.style-tile .sw { display: none; }
.style-grid { counter-reset: st; }
.style-tile::before { counter-increment: st; content: counter(st, decimal-leading-zero); font-family: var(--font-mono); font-size: .8rem; color: var(--coral-deep); }
.style-tile h3 { margin-top: 12px; }
.price-3d { color: var(--ink-2); }

/* CTA band: a quiet panel, not a coloured slab */
.cta-band { background: var(--paper-2); border: 0; box-shadow: none; border-radius: var(--r-panel); padding: clamp(32px, 5vw, 56px); }
.cta-band p { color: var(--ink-2); font-size: 1.05rem; }

/* Forms */
.field input, .field select, .field textarea { border: 1px solid var(--line-2); background: var(--white); border-radius: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(224,122,79,.18); }
.qs-field label { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 400; }
.ba-label { text-transform: none; letter-spacing: 0; }
.aside-card { border-radius: 16px; }
.form-success { border-radius: 12px; }

/* Footer */
.site-footer h3 { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; color: rgba(247,244,238,.56); }
.site-footer a { color: rgba(247,244,238,.86); }
.footer-mail { font-weight: 500; }

/* Player chrome stays quiet around the colourful frame */
.player { border-radius: 16px; }
.player-stage { border-radius: 12px; }
.player-start span { border-radius: 10px; font-weight: 500; }
.player-start i { background: var(--ink); color: var(--white); }

:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 2px; }
table.plain th { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; color: var(--muted); background: transparent; }
.price-3d b { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
}
@media (max-width: 640px) {
  h1 { font-size: 2.4rem; }
  .hero-copy h1 { max-width: none; }
  .reel-tabs { flex-wrap: wrap; }
}
.section-tight .split, #track-record .split { align-items: start; }

/* Track record (proof) and industries */
.record.proof li { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
.record.proof li span:first-child { font-size: 1.15rem; }
.about-proof, .split .record.proof { margin: 8px 0 24px; }
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line-2); }
.industries li { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.industries h3 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.industries h3 .tag { background: transparent; border: 1px solid var(--line-2); color: var(--coral-deep); padding: 2px 6px; }
.industries p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .industries { grid-template-columns: 1fr; } }

/* Industries: sticky intro + card grid (Demo Duck layout, unslop chrome) */
.ind-layout { display: grid; grid-template-columns: minmax(240px, .8fr) 2.2fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.ind-intro { position: sticky; top: 104px; }
.ind-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ind-intro .lead { font-size: 1.05rem; margin-bottom: 24px; }
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px 20px; display: flex; flex-direction: column; min-height: 232px; }
.ind-ico { width: 24px; height: 24px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.ind-card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.ind-card p { margin: 0 0 20px; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.ind-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.ind-tags span { font-size: .8rem; color: var(--ink-2); background: var(--paper-2); border-radius: 6px; padding: 4px 8px; line-height: 1.3; }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .ind-layout { grid-template-columns: 1fr; } .ind-intro { position: static; } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } .ind-card { min-height: 0; } }

/* How it works: a schedule chart, bars on a 12-day track */
.plan { list-style: none; margin: 0; padding: 0; display: grid; }
.plan-head, .plan-row { display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr; gap: 32px; align-items: center; }
.plan-head { padding-bottom: 12px; font-family: var(--font-mono); font-size: .75rem; color: rgba(247,244,238,.5); }
.plan-days { display: grid; grid-template-columns: repeat(12, 1fr); text-align: center; }
.plan-row { padding: 20px 0; border-top: 1px solid rgba(247,244,238,.12); }
.plan-step { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.plan-num { font-family: var(--font-mono); font-size: .8rem; color: var(--coral); padding-top: 4px; }
.plan-step h3 { margin: 0 0 4px; font-size: 1.12rem; }
.plan-step p { margin: 0; font-size: .92rem; color: rgba(247,244,238,.68); line-height: 1.45; }
.plan-track { display: grid; grid-template-columns: repeat(12, 1fr); height: 36px; border-radius: 8px;
  background-image: repeating-linear-gradient(to right, rgba(247,244,238,.08) 0 1px, transparent 1px calc(100% / 12)); }
.plan-bar { display: flex; align-items: center; padding: 0 10px; border-radius: 8px; background: rgba(247,244,238,.9); color: var(--ink); font-family: var(--font-mono); font-size: .75rem; white-space: nowrap; overflow: hidden; }
.plan-last .plan-bar { background: var(--coral); }
@media (max-width: 860px) {
  .plan-head { display: none; }
  .plan-row { grid-template-columns: 1fr; gap: 12px; }
  .plan-track { margin-left: 44px; }
}

/* Why Aha Frames: four boxes */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; display: flex; flex-direction: column; }
.why-num { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin-bottom: 32px; font-variant-numeric: tabular-nums; }
.why-card h3 { font-size: 1.08rem; margin: 0 0 6px; }
.why-card p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* FAQ: grouped, with a drawn plus that sits exactly centred */
.faq-groups { display: grid; gap: 8px; }
.faq-group { font-size: .9rem; font-weight: 500; color: var(--muted); margin: 24px 0 4px; }
.faq-group:first-child { margin-top: 0; }
.faq summary { align-items: center; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat;
  display: block; transition: transform .2s var(--ease); font-size: 0;
}
.faq details[open] summary::after { transform: rotate(45deg);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat; }
.faq p a.link { font-weight: 500; }

/* =========================================================
   v6 — Demo Duck look and feel, phone first.
   White page, soft #F8F6F2 panels with big radii, honey accent panels,
   heavy grotesque headings, pill buttons, small spaced honey labels.
   ========================================================= */
:root {
  --paper: #FFFFFF;
  --paper-2: #F8F6F2;
  --paper-3: #EDEBE7;
  --white: #FFFFFF;
  --ink: #212121;
  --ink-2: #464646;
  --muted: #6B6B6B;
  --line: rgba(33,33,33,.10);
  --line-2: rgba(33,33,33,.16);
  --honey: #F9BF6F;
  --honey-deep: #8F5410;
  --gutter: clamp(16px, 4vw, 40px);
  --r-big: clamp(28px, 5vw, 64px);
}
body { background: #fff; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.45; }
@media (min-width: 768px) { body { font-size: 18px; } }
h1, h2, h3, h4 { font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 7.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
.lead, .dd-lead, .dd-sub { color: var(--ink-2); font-weight: 500; }
.link { border-bottom-color: var(--honey); font-weight: 600; }

/* Labels: small spaced capitals in honey, like Demo Duck */
.eyebrow, .kicker { display: block; margin: 0 0 12px; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--honey-deep); }
.eyebrow::before { display: none; content: none; }
.kicker-dark { color: rgba(33,33,33,.7); }
.bg-ink .eyebrow { color: var(--honey); }

/* Pills */
.pill, .btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: .01em; transition: background-color .15s ease, transform .12s ease; white-space: nowrap; }
.pill:active, .btn:active { transform: scale(.98); }
.pill-honey, .btn-coral { background: var(--honey); color: var(--ink); }
.pill-honey:hover, .btn-coral:hover { background: #F4AE4F; }
.pill-ink, .btn-ink { background: var(--ink); color: #fff; }
.pill-ink:hover, .btn-ink:hover { background: #3a3a3a; }
.pill-light, .btn-ghost { background: var(--paper-3); color: var(--ink); border: 0; }
.pill-light:hover, .btn-ghost:hover { background: #E2DFD9; }
.pill-white, .btn-light { background: #fff; color: var(--ink); }
.pill-white:hover, .btn-light:hover { background: #FFF6EA; }
.dd-paper .pill-light, .bg-paper2 .btn-ghost { background: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: .94rem; }

/* Header and footer */
.site-header { background: rgba(255,255,255,.94); }
.brand-word { font-weight: 700; }
.main-nav a { font-weight: 500; border-radius: 999px; padding: 8px 14px; }
.main-nav a[aria-current="page"] { box-shadow: none; background: var(--paper-2); border-radius: 999px; }
.nav-toggle { border-radius: 999px; background: var(--paper-2); }
.site-footer { background: var(--paper-2); color: var(--ink-2); border-radius: var(--r-big) var(--r-big) 0 0; margin-inline: 0; }
.site-footer h3 { color: var(--muted); }
.site-footer a, .site-footer .footer-mail { color: var(--ink); }
.brand-light, .brand-light .brand-word, .brand-light .brand-mark { color: var(--ink); }
.footer-base { border-top-color: var(--line); color: var(--muted); }

/* Panels: big rounded, inset slightly from the page edge */
.dd-panel, .bg-paper2 { border-radius: var(--r-big); margin-inline: clamp(8px, 1.6vw, 24px); }
.dd-panel { padding: clamp(56px, 8vw, 104px) 0; }
.dd-paper, .bg-paper2 { background: var(--paper-2); }
.dd-honey { background: var(--honey); }
.bg-ink { border-radius: var(--r-big); }
.dd-section { padding: clamp(56px, 8vw, 104px) 0; }
.dd-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 48px); }
.dd-head h2 { margin-bottom: 8px; }
.dd-sub { margin: 0; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.dd-more { margin: clamp(24px, 4vw, 40px) 0 0; }
.dd-note { color: var(--ink-2); max-width: 44rem; margin: 20px 0 0; font-size: .95rem; }

/* Hero: headline, line, buttons, then the 3D film. Side by side on desktop */
.dd-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); }
.dd-hero-grid { display: grid; gap: 28px; }
.dd-hero-copy h1 { margin: 0 0 16px; }
.dd-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.45; margin: 0 0 24px; max-width: 32rem; }
.dd-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.dd-hero-media .player, .dd-types-media .player { border-radius: 20px; }
@media (min-width: 900px) {
  .dd-hero-grid { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; }
}

/* Types of work: player + a list where the chosen type is bold and the rest fade */
.dd-types { display: grid; gap: 24px; }
.dd-types-list { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dd-type { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 8px 0; }
.dd-type-title { display: block; font-size: clamp(1.6rem, 4.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: rgba(33,33,33,.32); transition: color .15s ease; }
.dd-type:hover .dd-type-title { color: rgba(33,33,33,.6); }
.dd-type-text { display: none; margin-top: 6px; color: var(--ink); font-size: 1rem; max-width: 28rem; }
.dd-type[aria-pressed="true"] .dd-type-title { color: var(--ink); }
.dd-type[aria-pressed="true"] .dd-type-text { display: block; }
.dd-type:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.dd-types-list .pill { margin-top: 20px; }
@media (min-width: 900px) { .dd-types { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; } }

/* Swipe rows: one card at a time on phones, a grid on desktop */
.dd-swipe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.dd-swipe::-webkit-scrollbar { display: none; }
.dd-swipe > * { flex: 0 0 84%; scroll-snap-align: start; }
@media (min-width: 900px) {
  .dd-swipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .dd-swipe > * { flex: none; }
}
.dd-card { background: var(--paper-2); border-radius: 24px; padding: 24px; }
.dd-card h3 { margin: 0 0 8px; }
.dd-card p:last-child { margin: 0; color: var(--ink-2); }
.dd-industries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.dd-industries span { background: var(--paper-2); border-radius: 999px; padding: 8px 14px; font-size: .9rem; }
.dd-industries .dd-ind-label { background: none; padding: 0 4px 0 0; color: var(--muted); }

/* Sample work: swipe cards on phones, alternating rows on desktop */
.dd-case { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.dd-case-media { all: unset; box-sizing: border-box; position: relative; display: block; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.dd-case-media .player-stage { border-radius: 0; height: 100%; }
.dd-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.dd-play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--honey-deep); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.dd-case-media:hover .dd-play { background: var(--honey); }
.dd-case-media:hover .dd-play::after { border-left-color: var(--ink); }
.dd-case-body { padding: 20px 20px 24px; }
.dd-case-body h3 { margin: 0 0 6px; }
.dd-case-body p:last-child { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .dd-cases { grid-template-columns: 1fr; gap: 40px; }
  .dd-case { background: transparent; border-radius: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; overflow: visible; }
  .dd-case:nth-child(even) .dd-case-media { order: 2; }
  .dd-case-media { border-radius: 24px; }
  .dd-case-body { padding: 0; }
  .dd-case-body h3 { font-size: 2rem; }
}

/* Stepper: the whole schedule in one line, bar widths match the days */
.stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.stepper li { flex: var(--days) 1 58px; min-width: 0; display: flex; flex-direction: column; }
.st-bar { display: block; height: 14px; border-radius: 999px; background: var(--honey); margin-bottom: 12px; }
.stepper li:first-child .st-bar { background: #FBD49E; }
.st-last .st-bar { background: var(--ink); }
.stepper b { font-size: clamp(.86rem, 1.6vw, 1.1rem); line-height: 1.2; }
.st-when { font-family: var(--font-mono); font-size: clamp(.68rem, 1.2vw, .8rem); color: var(--muted); margin-top: 2px; white-space: nowrap; }

/* Why: four figures, 2 x 2 on phones */
.dd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dd-stat { background: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.dd-stat b { font-size: clamp(1.35rem, 3.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.dd-stat > span { color: var(--ink-2); font-size: .9rem; line-height: 1.35; }
@media (min-width: 900px) { .dd-stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } .dd-stat { padding: 28px 24px; } }

/* FAQ */
.dd-faq-wrap { max-width: 900px; }
.faq details { background: var(--paper-2); border: 0; border-radius: 20px; }
.faq summary { font-weight: 700; font-size: 1rem; }
.faq summary::after { border: 0; background-color: #fff; }

/* CTA panel */
.dd-cta-wrap { padding: 0 0 clamp(40px, 6vw, 72px); }
.dd-cta { background: var(--honey); border-radius: var(--r-big); padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.dd-cta h2 { margin: 0; }
@media (min-width: 768px) { .dd-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Existing components, re-skinned to match */
.card, .value, .price-card, .svc-meta div, .glance, .quote-strip, .estimator, .table-wrap, .work-card, .style-tile, .ind-card, .why-card, .notice { border: 0; box-shadow: none; }
.card, .value, .work-card, .style-tile, .ind-card, .why-card, .notice, .price-card, .glance, .svc-meta div { background: var(--paper-2); border-radius: 24px; }
.bg-paper2 .card, .bg-paper2 .value, .bg-paper2 .work-card, .bg-paper2 .price-card, .bg-paper2 .glance, .bg-paper2 .svc-meta div, .bg-paper2 .style-tile { background: #fff; }
.price-card.featured { background: var(--honey); }
.price-card .badge { background: var(--ink); border-radius: 999px; }
.chip-btn { border-radius: 999px; border: 0; background: var(--paper-2); font-weight: 600; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tag { border-radius: 999px; font-family: var(--font-body); font-weight: 600; }
.svc-num, .style-tile::before { color: var(--honey-deep); font-family: var(--font-body); font-weight: 700; }
.svc-group { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--honey-deep); }
.style-jump a { border-radius: 999px; border: 0; background: var(--paper-2); font-weight: 600; }
.field input, .field select, .field textarea { border-radius: 14px; background: var(--paper-2); border: 1px solid transparent; }
.cta-band { background: var(--honey); border-radius: var(--r-big); }
.cta-band p { color: var(--ink); }
.est-out { background: var(--ink); }
.currency { border: 0; background: var(--paper-2); border-radius: 999px; }
.currency button { border-radius: 999px; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.work-card .play i, .player-start i { background: var(--honey); color: var(--ink); }

/* Phone: shorter pages */
@media (max-width: 640px) {
  .section, .dd-section { padding: 48px 0; }
  .section-tight { padding: 36px 0; }
  .page-hero { padding: 32px 0 20px; }
  .svc { padding: 24px 0; gap: 12px; }
  .svc .lead { font-size: 1rem; margin-bottom: 0; }
  .svc ul li:nth-child(n+3), .svc-meta { display: none; }
  .svc ul { gap: 6px; }
  .price-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 16px var(--gutter) 8px; scrollbar-width: none; }
  .price-grid > * { flex: 0 0 86%; scroll-snap-align: start; }
  .ind-grid, .why-grid, .work-grid { gap: 12px; }
}
.dd-types-list .dd-type, .dd-types-list .dd-type[aria-pressed="true"], .dd-types-list .dd-type:hover { background: none; color: inherit; border: 0; border-radius: 0; padding: 6px 0; height: auto; box-shadow: none; text-align: left; font: inherit; }
h1 { font-weight: 800; }
.dd-case-media [data-thumb] { position: absolute; inset: 0; }
.dd-case-media .player-stage { height: 100%; aspect-ratio: auto; }
.dd-steps { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dd-steps div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dd-steps dt { font-weight: 700; }
.dd-steps dd { margin: 0; color: var(--ink-2); }
@media (max-width: 480px) { .dd-steps div { grid-template-columns: 1fr; gap: 2px; } }

/* ===== v7: real sample videos, no player frame ===== */
.dd-video { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; border-radius: 24px; background: var(--paper-3); }
.dd-video video, .dd-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dd-video:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.dd-video:hover .dd-play { background: var(--honey); }
.dd-video:hover .dd-play::after { border-left-color: var(--ink); }
.dd-video img { transition: transform .4s ease; }
.dd-video:hover img { transform: scale(1.03); }
.dd-hero-media .dd-video { border-radius: clamp(20px, 3vw, 32px); box-shadow: 0 24px 60px rgba(33,33,33,.12); }
.dd-hero-media .dd-play { left: auto; top: auto; right: 18px; bottom: 18px; margin: 0; }
.dd-case-media.dd-video { border-radius: 0; }
@media (min-width: 900px) { .dd-case-media.dd-video { border-radius: 24px; } }
.work-card .thumb.dd-video { border-radius: 16px 16px 0 0; }
.modal-player video { display: block; width: 100%; max-height: 80vh; border-radius: 16px; background: #000; }

/* ===== v7b: inline playback, types panel on phones ===== */
.dd-video.is-playing { cursor: auto; }
.dd-video.is-playing video { object-fit: contain; background: #000; }
.dd-type-caption { display: none; }
@media (max-width: 899px) {
  .dd-types { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dd-types .dd-types-list { display: contents; }
  .dd-types .kicker { grid-column: 1 / -1; order: 1; margin: 0 0 6px; }
  .dd-types .dd-types-list .dd-type, .dd-types .dd-types-list .dd-type:hover { order: 2; width: auto; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.5); text-align: center; }
  .dd-types .dd-types-list .dd-type[aria-pressed="true"] { background: var(--ink); }
  .dd-types .dd-type-title, .dd-types .dd-type:hover .dd-type-title { font-size: 1rem; color: var(--ink); }
  .dd-types .dd-type[aria-pressed="true"] .dd-type-title { color: #fff; }
  .dd-types .dd-type .dd-type-text, .dd-types .dd-type[aria-pressed="true"] .dd-type-text { display: none; }
  .dd-types .dd-types-media { grid-column: 1 / -1; order: 3; margin-top: 8px; }
  .dd-types .dd-type-caption { display: block; grid-column: 1 / -1; order: 4; margin: 4px 0 0; font-size: 1rem; }
  .dd-types .dd-types-list .pill { grid-column: 1 / -1; order: 5; justify-self: start; margin-top: 10px; }
}

/* ===== v8: blog, articles, at-a-glance facts ===== */
.wrap-narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.article-head { padding: clamp(40px, 7vw, 88px) 0 clamp(20px, 3vw, 32px); }
.article-head h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); line-height: 1.06; letter-spacing: -0.025em; margin: 10px 0 14px; }
.article-head .kicker a { color: inherit; text-decoration: none; }
.article-meta { color: rgba(33,33,33,.62); font-size: .95rem; margin: 0; }
.article-body { padding-bottom: clamp(48px, 7vw, 96px); font-size: 1.08rem; line-height: 1.7; }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); letter-spacing: -0.015em; line-height: 1.2; margin: 2.2em 0 .6em; }
.article-body h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.article-body p, .article-body li { color: #333; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin: .45em 0; }
.article-body code { font-family: "IBM Plex Mono", monospace; font-size: .9em; background: var(--paper-2); padding: 1px 6px; border-radius: 6px; }
.article-body .table-wrap { margin: 1.2em 0; overflow-x: auto; }
.article-body table { font-size: .95rem; line-height: 1.45; min-width: 520px; }
.answer-box { background: var(--paper-2); border-radius: 24px; padding: clamp(20px, 3.5vw, 32px); margin: 0 0 1.6em; border-left: 6px solid var(--honey); }
.answer-box p { margin: 0; color: var(--ink); }
.answer-box .answer-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 8px; }
.article-body .faq { margin-top: 1em; }
.article-cta { background: var(--honey); border-radius: 28px; padding: clamp(24px, 4vw, 40px); margin: 2.6em 0 2em; }
.article-cta h2 { margin: 0 0 .3em; }
.article-cta p { color: var(--ink); margin: 0 0 1em; }
.related ul { list-style: none; padding: 0; }
.related a { font-weight: 600; color: var(--ink); }
.guide-list { display: grid; gap: 16px; }
@media (min-width: 900px) { .guide-list { grid-template-columns: 1fr 1fr; gap: 24px; } }
.guide-item { display: block; background: var(--paper-2); border-radius: 24px; padding: clamp(22px, 3.5vw, 36px); color: var(--ink); text-decoration: none; transition: background .2s ease; }
.guide-item:hover { background: var(--honey); }
.guide-item h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.2; margin: 6px 0 10px; }
.guide-item p { margin: 0; }
a.dd-guide { color: var(--ink); text-decoration: none; transition: background .2s ease; }
a.dd-guide:hover { background: var(--honey); }
.facts { display: grid; gap: 10px; margin: 0; }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.facts > div { background: var(--paper-2); border-radius: 18px; padding: 16px 20px; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 4px; }
.facts dd { margin: 0; }
