/* Adsmith — editorial paper, ink, rani pink. Colour blocks, magazine type. */
:root {
  --bg: #FBFAF7;
  --bg-2: #F2EEE5;
  --surface: #FFFFFF;
  --ink: #17140F;
  --ink-2: #38322A;
  --muted: #675F54;
  --line: rgba(23, 20, 15, 0.12);
  --line-2: rgba(23, 20, 15, 0.22);
  --accent: #D6246A;
  --accent-deep: #AE1450;
  --accent-soft: #FBE2EB;
  --accent-ink: #fff;
  --marigold: #F3A712;
  --butter: #FCEBB6;
  --butter-ink: #6E4700;
  --indigo: #24318F;
  --indigo-soft: #E3E6F8;
  --leaf: #0E6B4F;
  --leaf-soft: #DAEFE5;
  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', 'Times New Roman', serif;
  --font-ui: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Martian Mono', ui-monospace, Consolas, monospace;
  --font-hi: 'Anek Devanagari', 'Nirmala UI', 'Mangal', sans-serif;
  --font-te: 'Anek Telugu', 'Nirmala UI', 'Gautami', sans-serif;
  --shadow: 0 1px 2px rgba(23, 20, 15, .06), 0 24px 60px -30px rgba(23, 20, 15, .35);
}

body { background: var(--bg); }
em { font-style: italic; }
.hi, [lang='hi'] { font-family: var(--font-hi); }
.te, [lang='te'] { font-family: var(--font-te); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; transition: transform var(--t-fast) var(--ease-out); }
.skip:focus { transform: translateY(60px); }

/* Buttons — square-ish, printed-label feel */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 4px;
  font-size: 14px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-paper { background: var(--bg); color: var(--ink); }
.btn svg { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: #2E2922; }
  .btn-accent:hover { background: var(--accent-deep); }
  .btn-line:hover { background: var(--ink); color: var(--bg); }
  .btn-ghost:hover { background: rgba(23, 20, 15, .06); }
  .btn-paper:hover { background: #fff; }
  .btn:hover svg { transform: translateX(3px); }
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow var(--t-ui) ease; }
.nav[data-scrolled] { box-shadow: 0 1px 0 var(--ink); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1; letter-spacing: -.02em; }
.brand-by { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line-2); color: var(--muted); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 4px; transition: background-color var(--t-fast) ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { background: rgba(23, 20, 15, .06); } }
.nav-cta { display: flex; gap: 6px; }
@media (max-width: 1080px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 640px) { .hide-sm { display: none !important; } .brand-by { margin-left: 0; padding-left: 8px; } .brand-name { font-size: 23px; } .nav-in { gap: 10px; } .nav-cta .btn { padding: 0 12px; } }
@media (max-width: 380px) { .brand-by { display: none; } }

/* Shared type */
.kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.025em; }
h1 em, h2 em { font-weight: 400; }
h2 { font-size: clamp(36px, 5vw, 66px); line-height: 1; max-width: 18ch; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.sec-head .sub { color: var(--muted); max-width: 48ch; font-size: 17px; }
.sec-head.center { text-align: center; }
.sec-head.center h2, .sec-head.center .sub { margin-inline: auto; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .kicker::after { content: ''; width: 28px; height: 2px; background: currentColor; }

/* ---------------- Hero ---------------- */
.hero { padding: 18px 0 clamp(64px, 8vw, 104px); }
.masthead { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-block: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.masthead span:nth-child(2) { color: var(--accent-deep); }
.hero-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 48px); }
.hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .92; letter-spacing: -.035em; }
.hero h1 em { color: var(--accent); display: block; }
.lede { font-size: clamp(16px, 1.35vw, 18px); color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-head > * { animation: rise 800ms var(--ease-out) both; }
.hero-head > :nth-child(2) { animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Stage: product photo → brand kit → generated grid */
.stage { display: grid; grid-template-columns: minmax(210px, .82fr) 56px 3fr; align-items: start; gap: 0; }
.src { display: grid; gap: 12px; }
.src-label, .grid-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: linear-gradient(#EFEBE3 0 68%, #E2DCD0 68%); border: 1px solid var(--line); }
.photo-prod { position: absolute; inset: 10% 14% 8%; display: grid; place-items: center; transition: opacity 360ms var(--ease-out), transform 480ms var(--ease-out); }
.photo-prod svg { width: 100%; height: 100%; filter: drop-shadow(0 14px 12px rgba(23, 20, 15, .18)); }
.photo[data-swap] .photo-prod { opacity: 0; transform: translateY(8px); }
.photo-file { position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; justify-content: space-between; gap: 6px; padding: 5px 8px; border-radius: 3px; background: rgba(251, 250, 247, .92); font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); }
.photo-file span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.photo-file span:last-child { color: var(--muted); }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 100%; pointer-events: none; transform: translateY(-101%); background: linear-gradient(to bottom, transparent 70%, rgba(214, 36, 106, .16) 97%, var(--accent) 97% 100%); }
.photo[data-scan] .scan { animation: scan 1100ms var(--ease-in-out) both; }
@keyframes scan { from { transform: translateY(-101%); } to { transform: translateY(101%); } }

.kit { padding: 12px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.kit-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); transition: color var(--t-ui) ease; }
.kit-row b { color: var(--ink); font-weight: 600; }
.kit-sw { display: flex; gap: 4px; }
.kit-sw i { width: 18px; height: 18px; border-radius: 3px; border: 1px solid rgba(0, 0, 0, .08); transition: background-color 400ms var(--ease-out); }
.kit-font { font-family: var(--font-display); font-size: 18px; line-height: 1; color: var(--ink); }
.kit-row[data-on] { color: var(--ink); }
.kit-row .tick { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease; }
.kit-row .tick svg { opacity: 0; transition: opacity var(--t-fast) ease; }
.kit-row[data-on] .tick { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.kit-row[data-on] .tick svg { opacity: 1; }
.kit-left { display: flex; align-items: center; gap: 8px; }

.sets { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.set-btn { height: 34px; padding: 0 12px; border-radius: 4px; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-press) var(--ease-out); }
.set-btn:active { transform: scale(.97); }
.set-btn[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pause-btn { margin-left: auto; width: 34px; height: 34px; border-radius: 4px; display: grid; place-items: center; color: var(--ink-2); border: 1.5px solid var(--line-2); }
.pause-btn .i-play { display: none; }
.pause-btn[aria-pressed='true'] .i-play { display: block; }
.pause-btn[aria-pressed='true'] .i-pause { display: none; }
@media (hover: hover) and (pointer: fine) { .set-btn:hover, .pause-btn:hover { border-color: var(--ink); } }

.feed { position: relative; align-self: stretch; }
.feed svg { overflow: visible; }
.feed-v { position: absolute; top: 44%; left: 0; width: 100%; height: 20px; }
.feed-h { width: 20px; height: 48px; margin: 0 auto; }
.feed .rail { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 5; fill: none; }
.feed .pulse { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; fill: none; stroke-dasharray: .1 .9; stroke-dashoffset: .1; }
.stage[data-run] .feed .pulse { animation: travel 1200ms var(--ease-in-out) both; }
@keyframes travel { from { stroke-dashoffset: .1; } to { stroke-dashoffset: -1; } }
.feed-h { display: none; }

.out { min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; margin-top: 8px; }
.gcol { display: grid; gap: 12px; min-width: 0; }
.gcol:nth-child(2) { margin-top: 28px; }
.gcol:nth-child(4) { margin-top: 14px; }

.card-batch, .card-copy { border-radius: 4px; padding: 14px; transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.card-batch { background: var(--ink); color: var(--bg); }
.card-batch .cb-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #F7B7CF; }
.card-batch .cb-n { font-family: var(--font-display); font-size: clamp(38px, 3.6vw, 52px); line-height: 1; margin: 6px 0 2px; font-weight: 500; }
.card-batch .cb-s { font-size: 12.5px; color: rgba(251, 250, 247, .78); }
.card-batch .cb-bar { display: flex; height: 6px; margin-top: 12px; border-radius: 2px; overflow: hidden; gap: 2px; }
.card-batch .cb-bar i { height: 100%; }
.card-batch .cb-foot { margin-top: 8px; font-size: 12px; color: rgba(251, 250, 247, .78); display: flex; justify-content: space-between; gap: 6px; }
.card-copy { background: var(--butter); color: var(--ink); display: grid; gap: 8px; }
.card-copy .cc-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--butter-ink); }
.card-copy p { font-size: 13px; line-height: 1.35; padding-left: 8px; border-left: 2px solid var(--ink); }
.card-copy p span { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; color: var(--butter-ink); margin-bottom: 1px; }
.stage-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }

.grid[data-s='pre'] .card-batch, .grid[data-s='pre'] .card-copy { opacity: 0; transform: translateY(12px); }
.grid[data-s='out'] .card-batch, .grid[data-s='out'] .card-copy { opacity: 0; transition-duration: 260ms; }
.grid[data-s='in'] .card-copy { transition-delay: 500ms; }
.grid[data-s='in'] .card-batch { transition-delay: 300ms; }

/* ---------------- Creative engine (also used by the console) ---------------- */
.cr { margin: 0; min-width: 0; }
.cr-art {
  --c-paper: #FBF6EC; --c-ink: #17140F; --c-block: #24318F; --c-acc: #F3A712; --c-deep: #121A55;
  position: relative; aspect-ratio: var(--r, 1); container-type: inline-size; overflow: hidden;
  display: flex; flex-direction: column; border-radius: 3px;
  background: var(--c-paper); color: var(--c-ink);
  box-shadow: 0 1px 1px rgba(23, 20, 15, .08), 0 14px 30px -18px rgba(23, 20, 15, .45);
}
.cr-art::before, .cr-art::after, .cr-stage::before { content: ''; position: absolute; pointer-events: none; }
.cr-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.cr-prod { position: absolute; inset: 8%; display: grid; }
.cr-prod svg { width: 100%; height: 100%; }
.cr-text { position: relative; z-index: 1; padding: 5cqw 7cqw 6cqw; display: grid; gap: 2.4cqw; justify-items: start; }
.cr-brand { position: absolute; z-index: 2; top: 5cqw; left: 6cqw; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: max(8px, 4.6cqw); letter-spacing: -.01em; line-height: 1; }
.cr-head { font-family: var(--font-display); font-weight: 600; font-size: 8.6cqw; line-height: 1.02; letter-spacing: -.02em; }
.cr-head span { display: inline-block; }
.cr[data-lang='hi'] .cr-head { font-family: var(--font-hi); font-weight: 700; letter-spacing: 0; line-height: 1.12; }
.cr[data-lang='te'] .cr-head { font-family: var(--font-te); font-weight: 700; letter-spacing: 0; line-height: 1.22; }
.cr-sub { font-size: max(7px, 3.8cqw); line-height: 1.3; opacity: .85; }
.cr-cta { display: inline-flex; align-items: center; padding: 1.6cqw 3.6cqw; border-radius: 1cqw; font-size: max(7.5px, 4cqw); font-weight: 700; background: var(--c-ink); color: var(--c-paper); line-height: 1.1; }
.cr[data-lang='hi'] .cr-cta { font-family: var(--font-hi); }
.cr[data-lang='te'] .cr-cta { font-family: var(--font-te); }
.cr-price { position: absolute; z-index: 2; left: 6cqw; bottom: -1cqw; width: 25cqw; height: 25cqw; border-radius: 50%; display: grid; place-items: center; background: var(--c-acc); color: var(--c-ink); font-family: var(--font-display); font-weight: 700; font-size: 6.2cqw; letter-spacing: -.03em; transform: rotate(-8deg); }
.cr-play { position: absolute; z-index: 2; top: 5cqw; right: 5cqw; width: 12cqw; height: 12cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 250, 247, .92); color: var(--c-ink); }
.cr-play svg { width: 45%; height: 45%; margin-left: 8%; }
.cr-prog { position: absolute; z-index: 2; left: 6cqw; right: 6cqw; bottom: 4cqw; height: 1cqw; min-height: 2px; background: rgba(251, 250, 247, .3); border-radius: 2px; overflow: hidden; }
.cr-prog i { display: block; height: 100%; background: var(--c-paper); transform-origin: left; transform: scaleX(.35); }
.cr-dur { position: absolute; z-index: 2; left: 6cqw; bottom: 7cqw; font-family: var(--font-mono); font-size: max(7px, 3.4cqw); color: var(--c-paper); }

/* price — colour block stage on top, copy on paper below */
.t-price .cr-stage::before { inset: 0; background: var(--c-block); }
.t-price .cr-brand { color: var(--c-paper); }
.t-price .cr-text { padding-top: 7cqw; }

/* festive — full bleed deep block, border motif, centred */
.t-festive .cr-art { background: var(--c-deep); color: var(--c-paper); text-align: center; }
.t-festive .cr-art::before { inset: 0; background:
  linear-gradient(135deg, var(--c-acc) 25%, transparent 25%) 0 0 / 6cqw 6cqw repeat-x,
  linear-gradient(225deg, var(--c-acc) 25%, transparent 25%) 0 0 / 6cqw 6cqw repeat-x,
  linear-gradient(45deg, var(--c-acc) 25%, transparent 25%) 0 100% / 6cqw 6cqw repeat-x,
  linear-gradient(315deg, var(--c-acc) 25%, transparent 25%) 0 100% / 6cqw 6cqw repeat-x; }
.t-festive .cr-art::after { inset: 8cqw 6cqw; border: 1px solid color-mix(in srgb, var(--c-acc) 60%, transparent); border-radius: 2px; }
.t-festive .cr-text { order: -1; justify-items: center; padding: 16cqw 9cqw 0; }
.t-festive .cr-head { font-size: 10.5cqw; color: var(--c-paper); }
.t-festive .cr-brand { top: auto; bottom: 22cqw; left: 0; right: 0; text-align: center; color: var(--c-acc); z-index: 3; }
.t-festive .cr-stage { margin-bottom: 26cqw; }
.t-festive .cr-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 12cqw; display: flex; justify-content: center; }
.t-festive .cr-cta { background: var(--c-acc); color: var(--c-ink); }

/* split — block half with copy, product half */
.t-split .cr-art { flex-direction: row; }
.t-split .cr-art::before { inset: 0 48% 0 0; background: var(--c-block); }
.t-split .cr-text { order: -1; flex: 0 0 52%; align-content: end; padding: 16cqw 5cqw 7cqw 6cqw; color: var(--c-paper); }
.t-split .cr-head { font-size: 7.4cqw; }
.t-split .cr-brand { color: var(--c-paper); }
.t-split .cr-cta { background: var(--c-paper); color: var(--c-ink); }
.t-split .cr-stage { flex: 1 1 48%; }
.t-split .cr-stage::before { left: 12%; right: 12%; bottom: 10%; height: 3cqw; border-radius: 50%; background: rgba(23, 20, 15, .12); }
.cr[data-ratio='9:16'].t-split .cr-art { flex-direction: column-reverse; }
.cr[data-ratio='9:16'].t-split .cr-art::before { inset: 52% 0 0 0; }
.cr[data-ratio='9:16'].t-split .cr-text { flex-basis: 48%; }

/* quote — review supplied by the brand, product in a corner block */
.t-quote .cr-art { background: var(--c-paper); }
.t-quote .cr-text { order: -1; padding: 16cqw 8cqw 0; gap: 2cqw; }
.t-quote .cr-mark { font-family: var(--font-display); font-size: 24cqw; line-height: .5; height: 9cqw; color: var(--c-acc); font-weight: 700; }
.t-quote .cr-head { font-style: italic; font-weight: 500; font-size: 6.6cqw; line-height: 1.12; }
.t-quote .cr-sub { font-family: var(--font-mono); font-size: max(6.5px, 3cqw); letter-spacing: .02em; opacity: .75; }
.t-quote .cr-stage::before { right: 0; bottom: 0; width: 46%; height: 100%; background: var(--c-block); }
.t-quote .cr-prod { left: 58%; right: 4%; top: 10%; bottom: 8%; }
.t-quote .cr-brand { top: auto; bottom: 5cqw; }

/* poster — full colour, diagonal band, big type */
.t-poster .cr-art { background: var(--c-acc); color: var(--c-ink); }
.t-poster .cr-art::before { left: -20%; right: -20%; top: 58%; height: 22cqw; background: var(--c-paper); transform: rotate(-9deg); opacity: .9; }
.t-poster .cr-text { order: -1; padding: 15cqw 7cqw 0; }
.t-poster .cr-head { font-size: 10.4cqw; }
.t-poster .cr-stage { margin-bottom: 4cqw; }
.t-poster .cr-prod { left: 30%; }
.t-poster .cr-foot { position: absolute; z-index: 2; left: 7cqw; bottom: 7cqw; }

/* video — dark stage, product floats, progress runs */
.t-video .cr-art { background: var(--c-deep); color: var(--c-paper); }
.t-video .cr-stage::before { left: 12%; right: 12%; top: 14%; aspect-ratio: 1; border-radius: 50%; background: var(--c-block); }
.t-video .cr-prod { inset: 12% 14% 4%; }
.t-video .cr-text { padding: 2cqw 7cqw 16cqw; }
.t-video .cr-head { font-size: 8.2cqw; color: var(--c-paper); }
.t-video .cr-brand { color: var(--c-paper); }
.cr.t-video[data-s='in'] .cr-prod svg { animation: float 3.2s var(--ease-in-out) infinite alternate; }
.cr.t-video[data-s='in'] .cr-prog i { animation: prog 6s linear infinite; }
@keyframes float { from { transform: translateY(-2.5%); } to { transform: translateY(2.5%); } }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.static .cr-prog i { transform: scaleX(.35); }

.cr-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.cr-meta .ratio { color: var(--ink); font-weight: 500; }

/* Angle tags — same colour language everywhere */
.ang { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 3px; font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.ang::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: currentColor; }
.ang-price { background: var(--butter); color: var(--butter-ink); }
.ang-festive { background: var(--accent-soft); color: var(--accent-deep); }
.ang-proof { background: var(--indigo-soft); color: var(--indigo); }
.ang-benefit { background: var(--leaf-soft); color: var(--leaf); }

/* Assembly motion. pre → in (staggered by --i) → out */
.cr .cr-art { transition: opacity 500ms var(--ease-out), transform 640ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.cr .cr-art::before, .cr .cr-stage::before { transition: clip-path 720ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 110ms + 120ms); }
.cr .cr-prod { transition: opacity 520ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 300ms); }
.cr .cr-head span { transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 420ms + var(--w, 0) * 45ms); }
.cr .cr-cta, .cr .cr-price, .cr .cr-sub, .cr .cr-brand, .cr .cr-play, .cr .cr-mark, .cr .cr-meta { transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 640ms); }
.cr[data-s='pre'] .cr-art { opacity: 0; transform: translateY(14px); }
.cr[data-s='pre'] .cr-art::before, .cr[data-s='pre'] .cr-stage::before { clip-path: inset(0 0 100% 0); }
.cr[data-s='pre'] .cr-prod { opacity: 0; transform: translateY(6%); }
.cr[data-s='pre'] .cr-head span { opacity: 0; transform: translateY(35%); }
.cr[data-s='pre'] :is(.cr-cta, .cr-sub, .cr-brand, .cr-play, .cr-mark, .cr-meta) { opacity: 0; }
.cr[data-s='pre'] .cr-price { opacity: 0; transform: rotate(-8deg) scale(.9); }
.cr[data-s='in'] .cr-art::before, .cr[data-s='in'] .cr-stage::before { clip-path: inset(0 0 0 0); }
.t-poster.cr[data-s='in'] .cr-art::before { clip-path: none; }
.cr[data-s='out'] .cr-art { opacity: 0; transform: scale(.97); transition: opacity 260ms var(--ease-out), transform 300ms var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
.cr[data-s='out'] .cr-meta { opacity: 0; transition-delay: 0ms; transition-duration: 200ms; }

/* ---------------- Formats ribbon ---------------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1.5px solid var(--ink); }
.fmt { display: flex; align-items: flex-end; gap: 16px; padding: 26px clamp(16px, 2.4vw, 32px); min-height: 150px; }
.fmt + .fmt { border-left: 1.5px solid var(--ink); }
.fmt:nth-child(1) { background: var(--accent); color: #fff; }
.fmt:nth-child(2) { background: var(--marigold); color: var(--ink); }
.fmt:nth-child(3) { background: var(--indigo); color: #fff; }
.fmt:nth-child(4) { background: var(--bg); color: var(--ink); }
.fmt-shape { flex: none; border: 2px solid currentColor; border-radius: 2px; }
.fmt b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.fmt span { font-size: 13.5px; line-height: 1.35; display: block; margin-top: 6px; }

/* ---------------- How it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.step { padding: 26px 22px 30px 0; display: grid; align-content: start; gap: 14px; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line-2); }
.step-n { font-family: var(--font-display); font-size: 64px; line-height: .9; font-weight: 400; font-style: italic; color: var(--accent); }
.step p { color: var(--muted); font-size: 15px; }
.step-vis { height: 104px; border-radius: 4px; background: var(--bg-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.sv-kit { display: flex; gap: 6px; align-items: center; }
.sv-kit i { width: 22px; height: 30px; border-radius: 2px; }
.sv-kit span { font-family: var(--font-display); font-size: 30px; margin-left: 6px; }
.sv-stack { position: relative; width: 70px; height: 76px; }
.sv-stack i { position: absolute; inset: 0; border-radius: 3px; border: 1.5px solid var(--ink); background: var(--surface); }
.sv-stack i:nth-child(1) { transform: translate(-16px, 6px) rotate(-8deg); background: var(--marigold); }
.sv-stack i:nth-child(2) { transform: translate(14px, 4px) rotate(7deg); background: var(--indigo); }
.sv-stack i:nth-child(3) { background: var(--accent); }
.sv-approve { display: flex; gap: 6px; }
.sv-approve span { height: 30px; padding: 0 12px; border-radius: 4px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; border: 1.5px solid var(--ink); }
.sv-approve span:first-child { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.sv-export { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; }
.sv-export b { padding: 6px 9px; border-radius: 3px; background: var(--ink); color: var(--bg); font-weight: 500; }
.sv-export i { font-style: normal; padding: 6px 9px; border-radius: 3px; border: 1.5px dashed var(--ink-2); }
.steps-note { margin-top: 26px; font-size: 14px; color: var(--muted); max-width: 72ch; }

/* ---------------- What you get (contents page) ---------------- */
.weekly { background: var(--bg-2); }
.contents { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.toc { border-top: 1.5px solid var(--ink); }
.toc li { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.toc .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); }
.toc h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.015em; }
.toc p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 54ch; }
.toc .pg { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.angles-card { background: var(--ink); color: var(--bg); border-radius: 4px; padding: clamp(22px, 3vw, 34px); position: sticky; top: 90px; }
.angles-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.angles-card > p { margin-top: 10px; font-size: 14.5px; color: rgba(251, 250, 247, .75); }
.angle-list { display: grid; gap: 8px; margin-top: 20px; }
.angle-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 3px; background: rgba(251, 250, 247, .06); }
.angle-list .ang { justify-self: start; }
.angle-list q { font-family: var(--font-display); font-style: italic; font-size: 16px; line-height: 1.25; }
.angle-list q::before, .angle-list q::after { content: none; }
.angles-card .note { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(251, 250, 247, .16); font-size: 13px; color: rgba(251, 250, 247, .7); }

/* ---------------- Brand safety ---------------- */
.safety { background: var(--ink); color: var(--bg); }
.safety .kicker { color: #F7A9C6; }
.safety h2 em { color: #F7A9C6; }
.safety .sec-head .sub { color: rgba(251, 250, 247, .72); }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1.5px solid rgba(251, 250, 247, .9); }
.rule { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 28px 30px 0; border-bottom: 1px solid rgba(251, 250, 247, .16); }
.rule:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(251, 250, 247, .16); }
.rule-i { width: 48px; height: 48px; border-radius: 4px; display: grid; place-items: center; }
.rule:nth-child(1) .rule-i { background: var(--leaf); }
.rule:nth-child(2) .rule-i { background: var(--marigold); color: var(--ink); }
.rule:nth-child(3) .rule-i { background: var(--accent); }
.rule:nth-child(4) .rule-i { background: var(--bg); color: var(--ink); }
.rule h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.1; letter-spacing: -.015em; margin-bottom: 8px; }
.rule p { color: rgba(251, 250, 247, .74); font-size: 15px; max-width: 48ch; }
.never { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.never > span:first-child { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 250, 247, .66); margin-right: 6px; }
.never s { font-size: 14px; padding: 5px 10px; border-radius: 3px; border: 1px solid rgba(251, 250, 247, .25); color: rgba(251, 250, 247, .85); text-decoration-color: #F7A9C6; text-decoration-thickness: 2px; }

/* ---------------- Console preview ---------------- */
.console-prev .cp-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cp-copy p:not(.kicker) { color: var(--ink-2); margin: 22px 0 30px; max-width: 44ch; font-size: 17px; }
.cp-copy ul { display: grid; gap: 10px; margin-bottom: 30px; }
.cp-copy li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.cp-copy li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }
.cp-frame { display: block; border-radius: 6px; background: var(--surface); border: 1.5px solid var(--ink); box-shadow: 12px 12px 0 var(--marigold); overflow: hidden; transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cp-frame:hover { transform: translate(-3px, -3px); box-shadow: 15px 15px 0 var(--marigold); } }
.cp-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: 11.5px; }
.cp-bar b { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.cp-body { padding: 16px; display: grid; gap: 12px; }
.cp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-chips span { height: 26px; padding: 0 10px; border-radius: 3px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.cp-chips span:first-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cp-card { border: 1px solid var(--line); border-radius: 4px; padding: 8px; display: grid; gap: 8px; }
.cp-card .cr-art { box-shadow: none; }
.cp-act { display: flex; gap: 4px; }
.cp-act span { flex: 1; height: 24px; border-radius: 3px; display: grid; place-items: center; font-size: 11px; font-weight: 600; border: 1px solid var(--line-2); }
.cp-act span.ok { background: var(--leaf); color: #fff; border-color: var(--leaf); }

/* ---------------- Pricing ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; max-width: 980px; margin-inline: auto; border: 1.5px solid var(--ink); }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 40px); background: var(--surface); }
.plan + .plan { border-left: 1.5px solid var(--ink); }
.plan-feature { background: var(--accent); color: #fff; }
.plan h3 { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -.02em; }
.plan-for { font-size: 15px; margin: 4px 0 22px; color: var(--muted); }
.plan-feature .plan-for { color: rgba(255, 255, 255, .86); }
.price { display: flex; align-items: baseline; gap: 6px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.plan-feature .price { border-color: rgba(255, 255, 255, .3); }
.price b { font-family: var(--font-display); font-size: clamp(44px, 5vw, 60px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.ticks { display: grid; gap: 11px; margin-bottom: 30px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 2px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan-feature .ticks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' stroke='%23AE1450' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }
.plan-feature .btn-ink { background: var(--ink); }
.launch-tag { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 3px; background: var(--marigold); color: var(--ink); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.price-notes { max-width: 980px; margin: 22px auto 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; font-size: 14px; color: var(--muted); }
.price-notes p { max-width: 64ch; }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left; font-size: 17px; font-weight: 600; }
.qa button i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 3px; border: 1.5px solid var(--line-2); transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded='true'] i { background: var(--accent); color: #fff; border-color: var(--accent); }
.qa button[aria-expanded='true'] i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 48px 24px 0; color: var(--muted); opacity: 0; transform: translateY(-4px); transition: opacity 240ms ease, transform 280ms var(--ease-out); }
.qa button[aria-expanded='true'] + .qa-a { grid-template-rows: 1fr; }
.qa button[aria-expanded='true'] + .qa-a p { opacity: 1; transform: none; }

/* ---------------- CTA ---------------- */
.cta { padding: 0 0 clamp(64px, 8vw, 110px); }
.cta-in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; border: 1.5px solid var(--ink); }
.cta-copy { background: var(--marigold); padding: clamp(32px, 5vw, 64px); }
.cta h2 { font-size: clamp(40px, 5.6vw, 76px); max-width: 13ch; }
.cta h2 em { color: var(--accent-deep); }
.cta p { margin: 18px 0 30px; max-width: 44ch; font-size: 17px; }
.cta-blocks { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; border-left: 1.5px solid var(--ink); min-height: 280px; }
.cta-blocks div { display: grid; place-items: center; font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.cta-blocks div:nth-child(1) { background: var(--accent); color: #fff; }
.cta-blocks div:nth-child(2) { background: var(--indigo); color: #fff; font-family: var(--font-hi); font-size: 26px; font-weight: 700; }
.cta-blocks div:nth-child(3) { background: var(--bg); color: var(--ink); font-family: var(--font-te); font-size: 26px; font-weight: 700; }
.cta-blocks div:nth-child(4) { background: var(--ink); color: var(--bg); font-family: var(--font-display); font-size: 30px; font-style: italic; }

.footer { border-top: 1.5px solid var(--ink); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; }
  .src { grid-template-columns: 170px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; align-items: start; }
  .src-label { grid-column: 1 / -1; }
  .photo { grid-row: 2 / 4; }
  .feed { height: 48px; }
  .feed-v { display: none; }
  .feed-h { display: block; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .contents, .console-prev .cp-grid, .faq-grid { grid-template-columns: 1fr; }
  .angles-card { position: static; }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .fmt:nth-child(3) { border-left: 0; }
  .fmt:nth-child(n+3) { border-top: 1.5px solid var(--ink); }
}
@media (max-width: 860px) {
  .hero-head, .sec-head.split { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .rule:nth-child(even) { padding-left: 0; border-left: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1.5px solid var(--ink); }
  .cta-in { grid-template-columns: 1fr; }
  .cta-blocks { border-left: 0; border-top: 1.5px solid var(--ink); min-height: 200px; }
  .price-notes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .masthead span:nth-child(3) { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .gcol:nth-child(n+3) { display: none; }
  .src { grid-template-columns: 128px 1fr; }
  .kit { padding: 10px; gap: 8px; }
  .kit-row { font-size: 12px; }
  .steps, .formats { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .fmt + .fmt { border-left: 0; border-top: 1.5px solid var(--ink); }
  .fmt { min-height: 0; }
  .toc li { grid-template-columns: 40px 1fr; }
  .toc .pg { grid-column: 2; }
  .angle-list li { grid-template-columns: 1fr; gap: 6px; }
  .cp-cards { grid-template-columns: repeat(2, 1fr); }
  .cp-cards .cp-card:nth-child(3) { display: none; }
  .rule { grid-template-columns: 1fr; gap: 14px; padding-right: 0; }
  .sets { gap: 4px; }
  .set-btn { padding: 0 8px; font-size: 12px; }
  .sets { flex-wrap: nowrap; }
  .pause-btn { width: 30px; flex: none; }
  .photo-file span:last-child, .grid-label span:last-child, .card-batch .cb-foot { display: none; }
}
