/* ============================================================
   MIDLANDS CODE LAB — interactions layer
   The marquee moments borrowed (in spirit) from the sites Chris
   loves: Stripe (flowing gradient + scroll-pinned panel),
   Vercel (deploy terminal + cursor-glow borders), Framer
   (throwable spring physics). All tier-gated so "Slick" stays
   calm and "Spectacular" turns everything on.
   ============================================================ */

/* ---------- shared: cursor-glow border (Vercel) ---------- */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: radial-gradient(190px circle at var(--mx, 50%) var(--my, 50%), var(--glow-c, var(--accent)), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; z-index: 2;
}
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--glow-fill, rgba(202,86,29,.10)), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
/* only light up the border on the reactive tiers */
body[data-fid="studio"] .glow.lit::before,
body[data-fid="signature"] .glow.lit::before { opacity: 1; }
body[data-fid="studio"] .glow.lit::after,
body[data-fid="signature"] .glow.lit::after { opacity: 1; }

/* ============================================================
   RANGE — scroll-pinned panel (Stripe)
   ============================================================ */
.range-grid { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 56px; align-items: start; }
@media (max-width: 940px) { .range-grid { grid-template-columns: 1fr; gap: 24px; } }

.range-steps { display: flex; flex-direction: column; }
.range-step {
  padding: clamp(34px, 7vh, 80px) 0; border-top: 1px solid var(--line);
  opacity: .4; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.range-step:first-child { border-top: 0; }
.range-step.active { opacity: 1; }
.range-step .rs-tag {
  display: inline-flex; align-items: center; gap: 9px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px;
}
.range-step .rs-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim2); transition: background .4s, box-shadow .4s; }
.range-step.active .rs-tag { color: var(--accent); }
.range-step.active .rs-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(202,86,29,.16); }
.range-step h3 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.range-step h3 em { font-style: normal; color: var(--accent); }
.range-step p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--ink2); max-width: 40ch; }
.range-step .rs-meta { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.range-step .rs-meta span { font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--dim); letter-spacing: .04em; }

/* the sticky browser */
.range-sticky { position: sticky; top: 16vh; }
@media (max-width: 940px) { .range-sticky { position: static; margin-bottom: 8px; } }

.browser-mock {
  position: relative; border-radius: 14px; overflow: hidden; background: #14110e;
  border: 1px solid rgba(255,255,255,.10); box-shadow: 0 40px 80px -28px rgba(26,23,20,.55), 0 8px 24px rgba(26,23,20,.18);
}
.bm-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #1d1812; border-bottom: 1px solid rgba(255,255,255,.07); }
.bm-bar .bd { width: 11px; height: 11px; border-radius: 50%; background: #3a332b; }
.bm-bar .bd:nth-child(1) { background: #d6553f; }
.bm-bar .bd:nth-child(2) { background: #d9a33f; }
.bm-bar .bd:nth-child(3) { background: #5aa86a; }
.bm-url {
  flex: 1; margin-left: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(243,239,230,.55);
  background: #120f0b; border: 1px solid rgba(255,255,255,.06); border-radius: 7px; padding: 6px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bm-url b { color: rgba(243,239,230,.85); font-weight: 500; }
.bm-screen { position: relative; aspect-ratio: 4 / 3.05; background: #f4efe6; }
@media (max-width: 480px) { .bm-screen { aspect-ratio: 4 / 3.6; } }
.bm-frame {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; overflow: hidden;
}
.bm-frame.show { opacity: 1; transform: none; }
.bm-badge {
  position: absolute; top: 12px; right: 12px; z-index: 5; font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(26,23,20,.86); color: #f4efe6; backdrop-filter: blur(4px);
}

/* --- mock interiors (detailed concept-art UI) --- */
.mk { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: 'Inter', sans-serif; }
.mk-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); display: inline-block; flex-shrink: 0; }
.mk-logo.sm { width: 18px; height: 18px; border-radius: 5px; }

/* frame 0 — Slick café one-pager */
.mk0 { justify-content: center; align-items: center; text-align: center; padding: 30px; background: #fbf8f2; }
.mk0-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.mk0-name { font-family: Georgia, serif; font-style: italic; font-size: 15px; color: var(--green); font-weight: 600; }
.mk0-head { font-family: Georgia, serif; font-size: clamp(20px, 3vw, 30px); line-height: 1.06; color: #2b2a26; font-weight: 700; margin-bottom: 12px; }
.mk0-sub { font-size: 11px; line-height: 1.5; color: var(--dim); max-width: 30ch; margin-bottom: 18px; }
.mk0-cta { background: var(--green); color: #f6f1e6; font-size: 11px; font-weight: 600; padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
.mk0-info { display: flex; gap: 14px; margin-top: 22px; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .03em; color: var(--dim); flex-wrap: wrap; justify-content: center; }
.mk0-info span { display: inline-flex; align-items: center; gap: 5px; }
.mk0-dot { width: 5px; height: 5px; border-radius: 50%; background: #5aa86a; display: inline-block; }

/* frame 1 — Striking trades site */
.mk1 { background: #fff; }
.mk1-nav { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid rgba(26,23,20,.08); }
.mk1-name { font-weight: 800; font-size: 13px; letter-spacing: -0.02em; color: #14110e; }
.mk1-menu { display: flex; gap: 12px; margin-left: 14px; font-size: 9.5px; color: var(--dim); }
.mk1-navbtn { margin-left: auto; background: #f5c400; color: #14110e; font-size: 9px; font-weight: 700; padding: 6px 11px; border-radius: 6px; white-space: nowrap; }
.mk1-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding: 18px 16px; align-items: center; }
.mk1-tag { font-family: 'JetBrains Mono', monospace; font-size: 8px; letter-spacing: .16em; color: var(--accent); margin-bottom: 8px; }
.mk1-h { font-size: 21px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: #14110e; margin-bottom: 9px; }
.mk1-p { font-size: 10px; line-height: 1.45; color: var(--dim); margin-bottom: 12px; }
.mk1-btns { display: flex; gap: 9px; align-items: center; }
.mk1-b1 { background: #14110e; color: #fff; font-size: 9.5px; font-weight: 600; padding: 7px 12px; border-radius: 6px; white-space: nowrap; }
.mk1-b2 { font-size: 9.5px; font-weight: 700; color: #14110e; }
.mk1-himg { background: repeating-linear-gradient(45deg, rgba(26,23,20,.06) 0 7px, rgba(26,23,20,.02) 7px 14px); border-radius: 8px; min-height: 104px; display: grid; place-items: center; }
.mk1-imgtag { font-family: 'JetBrains Mono', monospace; font-size: 8px; color: var(--dim2); letter-spacing: .1em; }
.mk1-svc { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; padding: 0 16px 16px; }
.mk1-card { background: #faf8f4; border: 1px solid rgba(26,23,20,.08); border-radius: 9px; padding: 11px; display: flex; flex-direction: column; gap: 5px; }
.mk1-ico { width: 24px; height: 24px; border-radius: 7px; background: rgba(202,86,29,.12); color: var(--accent); display: grid; place-items: center; font-size: 12px; }
.mk1-ct { font-size: 10.5px; font-weight: 700; color: #14110e; }
.mk1-cd { font-size: 8.5px; color: var(--dim); }

/* frame 2 — Spectacular web-app dashboard */
.mk2 { flex-direction: row; }
.mk2 .mk-side { width: 118px; background: #14110e; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.mk2-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--accent2); margin-bottom: 10px; display: block; }
.mk2-nav { font-size: 9.5px; color: rgba(243,239,230,.5); padding: 7px 9px; border-radius: 6px; display: flex; align-items: center; gap: 6px; letter-spacing: -0.01em; }
.mk2-nav.on { background: rgba(224,122,71,.18); color: #f4efe6; }
.mk2 .mk-main { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 11px; background: #f4efe6; min-width: 0; }
.mk2-top { display: flex; align-items: center; gap: 10px; }
.mk2-title { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; color: #14110e; }
.mk2-search { margin-left: auto; font-size: 9px; color: var(--dim); background: #fff; border: 1px solid rgba(26,23,20,.1); border-radius: 6px; padding: 5px 12px; }
.mk2-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent2), var(--accent)); flex-shrink: 0; }
.mk2 .mk-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.mk2 .mk-stat { background: #fff; border: 1px solid rgba(26,23,20,.09); border-radius: 9px; padding: 10px 11px; display: flex; flex-direction: column; gap: 3px; }
.mk2-sl { font-size: 8.5px; color: var(--dim); letter-spacing: .02em; }
.mk2-sv { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; color: #14110e; line-height: 1; }
.mk2-st { font-size: 8px; color: var(--dim); }
.mk2-st.up { color: #2e9e5b; }
.mk2-chartwrap { flex: 1; background: #fff; border: 1px solid rgba(26,23,20,.09); border-radius: 9px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.mk2-chead { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: var(--dim); font-weight: 600; }
.mk2-cleg { color: var(--accent); font-size: 8px; }
.mk2 .mk-chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 56px; }
.mk2 .mk-chart i { flex: 1; background: linear-gradient(180deg, var(--accent2), var(--accent)); border-radius: 4px 4px 0 0; display: block; }
.mk2-axis { display: flex; gap: 8px; }
.mk2-axis span { flex: 1; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 8px; color: var(--dim2); }

/* essential/Slick: no scroll dependence — show the simplest frame, no transform */
body[data-fid="essential"] .bm-frame { transition: none; }

/* ============================================================
   ENGINE ROOM — dark band (Vercel)
   ============================================================ */
.engine { position: relative; background: #100d0a; color: #f4efe6; overflow: hidden; isolation: isolate; }
.engine .sec-title { color: #f7f3ea; }
.engine .sec-title em { color: var(--accent2); }
.engine .sec-desc { color: rgba(244,239,230,.62); }
.engine .sec-num { color: var(--accent2); }
.engine .sec-num::before { background: var(--accent2); }
.engine .sec-head { border-bottom-color: rgba(244,239,230,.12); }

/* flowing gradient mesh behind the band (Stripe) */
.engine-flow { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; opacity: .55; filter: blur(8px); }
.engine-flow span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .8; }
.engine-flow span:nth-child(1) { width: 42vw; height: 42vw; left: -8vw; top: -12vw; background: radial-gradient(circle, rgba(202,86,29,.5), transparent 68%); animation: emflow1 18s var(--ease) infinite alternate; }
.engine-flow span:nth-child(2) { width: 38vw; height: 38vw; right: -6vw; top: 20%; background: radial-gradient(circle, rgba(184,138,46,.42), transparent 68%); animation: emflow2 22s var(--ease) infinite alternate; }
.engine-flow span:nth-child(3) { width: 34vw; height: 34vw; left: 32vw; bottom: -14vw; background: radial-gradient(circle, rgba(31,59,47,.55), transparent 68%); animation: emflow3 26s var(--ease) infinite alternate; }
@keyframes emflow1 { from { transform: translate(0,0) scale(1); } to { transform: translate(7vw,4vw) scale(1.22); } }
@keyframes emflow2 { from { transform: translate(0,0) scale(1.08); } to { transform: translate(-6vw,5vw) scale(.92); } }
@keyframes emflow3 { from { transform: translate(0,0) scale(1); } to { transform: translate(5vw,-5vw) scale(1.18); } }
body[data-fid="essential"] .engine-flow { display: none; }
.engine[data-fid] { }

.engine-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: stretch; }
@media (max-width: 940px) { .engine-grid { grid-template-columns: 1fr; gap: 20px; } }

/* the terminal */
.terminal {
  border-radius: 14px; overflow: hidden; background: rgba(8,6,5,.72);
  border: 1px solid rgba(244,239,230,.12); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
  backdrop-filter: blur(6px); display: flex; flex-direction: column; min-height: 360px;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: rgba(244,239,230,.04); border-bottom: 1px solid rgba(244,239,230,.08); }
.term-bar .td { width: 11px; height: 11px; border-radius: 50%; background: #3a332b; }
.term-bar .td:nth-child(1) { background: #d6553f; }
.term-bar .td:nth-child(2) { background: #d9a33f; }
.term-bar .td:nth-child(3) { background: #5aa86a; }
.term-bar .term-title { margin-left: 10px; font-size: 11px; letter-spacing: .06em; color: rgba(244,239,230,.5); }
.term-body { padding: 20px 22px; font-size: 13px; line-height: 1.85; color: rgba(244,239,230,.9); flex: 1; white-space: pre-wrap; word-break: break-word; }
.term-body .tl { display: block; }
.term-body .tl-cmd { color: #f7f3ea; }
.term-body .tl-cmd .sigil { color: var(--accent2); }
.term-body .tl-ok { color: rgba(244,239,230,.78); }
.term-body .tl-ok .ck { color: #5fcf86; }
.term-body .tl-dim { color: rgba(244,239,230,.45); }
.term-body .tl-live { color: #6fe0a0; font-weight: 600; }
.term-body .tl-live a { color: #6fe0a0; border-bottom: 1px solid rgba(111,224,160,.4); }
.term-cursor { display: inline-block; width: 8px; height: 15px; background: var(--accent2); margin-left: 2px; vertical-align: -2px; animation: termblink 1s steps(1) infinite; }
.term-body .tl-in { animation: tlfade .28s var(--ease); }
@keyframes tlfade { from { opacity: .15; transform: translateY(2px); } to { opacity: 1; transform: none; } }
@keyframes termblink { 50% { opacity: 0; } }
.term-body .num { color: var(--accent2); }

/* capability cards (cursor-glow) */
.cap-cards { display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
@media (max-width: 940px) { .cap-cards { grid-template-columns: repeat(2,1fr); grid-template-rows: none; } }
@media (max-width: 520px) { .cap-cards { grid-template-columns: 1fr; } }
.cap-card {
  --glow-c: var(--accent2); --glow-fill: rgba(224,122,71,.14);
  position: relative; border-radius: 12px; padding: 18px 20px; background: rgba(244,239,230,.035);
  border: 1px solid rgba(244,239,230,.10); display: flex; align-items: center; gap: 16px;
  transition: background .3s, transform .3s var(--ease);
}
body[data-fid="signature"] .cap-card:hover, body[data-fid="studio"] .cap-card:hover { transform: translateY(-2px); background: rgba(244,239,230,.06); }
.cap-card .cap-ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: rgba(224,122,71,.14); color: var(--accent2); display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 600; }
.cap-card .cap-t { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; color: #f7f3ea; }
.cap-card .cap-d { font-size: 12.5px; color: rgba(244,239,230,.55); margin-top: 2px; line-height: 1.45; }

/* throwable toolkit (Framer spring physics) */
.toss { margin-top: 26px; border: 1px solid rgba(244,239,230,.12); border-radius: 14px; background: rgba(244,239,230,.03); overflow: hidden; }
.toss-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid rgba(244,239,230,.08); flex-wrap: wrap; }
.toss-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,239,230,.55); }
.toss-hint { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .06em; color: var(--accent2); }
.toss-field { position: relative; height: 188px; touch-action: none; cursor: grab; }
@media (max-width: 600px) { .toss-field { height: 230px; } }
.toss-chip {
  position: absolute; top: 0; left: 0; will-change: transform; user-select: none;
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  background: rgba(244,239,230,.07); border: 1px solid rgba(244,239,230,.16); color: #f4efe6;
  box-shadow: 0 8px 22px rgba(0,0,0,.28); cursor: grab;
}
.toss-chip .tc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); }
.toss-chip.alt { background: rgba(224,122,71,.16); border-color: rgba(224,122,71,.4); }
.toss-chip.alt .tc-dot { background: #f4efe6; }
.toss-chip.grabbing { cursor: grabbing; box-shadow: 0 16px 38px rgba(0,0,0,.42); z-index: 10; }
body[data-fid="essential"] .toss-field { cursor: default; }
body[data-fid="essential"] .toss-chip { cursor: default; }
body[data-fid="studio"] .toss-field, body[data-fid="signature"] .toss-field,
body[data-fid="studio"] .toss-chip, body[data-fid="signature"] .toss-chip { cursor: none; }

/* engine room respects the cursor-none tiers but keeps its own dark cards readable */

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .engine-flow span { animation: none !important; }
  .range-step { opacity: 1 !important; }
}

/* ============================================================
   SLIDE-IN-FROM-RIGHT reveal (Framer)
   Reuses the .reveal scroll engine; just a different entrance.
   ============================================================ */
.reveal.reveal-right { transform: translateX(70px); }
.reveal.reveal-right.on { transform: none; }
.reveal.reveal-left { transform: translateX(-70px); }
.reveal.reveal-left.on { transform: none; }

/* ============================================================
   GLOBE — particle world; fixed so it travels with the scroll,
   fading out as the hero leaves.
   ============================================================ */
.hero-globe {
  position: fixed; z-index: -1; pointer-events: none;
  right: -8vw; top: 50%; transform: translateY(-50%);
  width: min(820px, 62vw); height: min(820px, 62vw);
  opacity: .82;
}
body[data-fid="essential"] .hero-globe { display: none; }
@media (max-width: 900px) {
  .hero-globe { right: 50%; top: 30%; transform: translate(50%, -50%); width: 116vw; height: 116vw; opacity: .26; }
}

/* page background: subtle grid + soft blooms */
/* html keeps the cream canvas; body is transparent so the -z background layers (globe, grid, blooms) show through */
body { background: transparent; }
.page-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.pg-grid {
  position: absolute; inset: -2px;
  background-image: radial-gradient(rgba(26,23,20,.055) 1px, transparent 1.5px);
  background-size: 34px 34px; opacity: .8;
  -webkit-mask-image: radial-gradient(135% 115% at 50% 8%, #000 26%, transparent 82%);
  mask-image: radial-gradient(135% 115% at 50% 8%, #000 26%, transparent 82%);
}
.pg-bloom { position: absolute; border-radius: 50%; }
.pg-bloom-1 { width: 62vw; height: 62vw; left: -20vw; top: 8vh; background: radial-gradient(circle, rgba(224,122,71,.11), transparent 62%); }
.pg-bloom-2 { width: 54vw; height: 54vw; right: -18vw; bottom: 4vh; background: radial-gradient(circle, rgba(214,86,120,.09), transparent 62%); }
.pg-bloom-3 { width: 46vw; height: 46vw; left: 26vw; bottom: -18vh; background: radial-gradient(circle, rgba(184,138,46,.07), transparent 64%); }
body[data-fid="essential"] .page-bg { display: none; }

/* reactive warm wash retired in favour of the global cursor glow (see .cursor-glow) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px;
  border-radius: 50%; pointer-events: none; z-index: 72; opacity: 0;
  background: radial-gradient(circle, rgba(240,158,100,.42), rgba(226,120,72,.16) 40%, rgba(224,122,71,0) 70%);
  mix-blend-mode: screen; transition: opacity .5s ease; will-change: transform;
}
body[data-fid="studio"] .cursor-glow, body[data-fid="signature"] .cursor-glow { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* perf: retire the heavy animated-blur aurora; cheap static warm wash + the cursor glow replace it */
.aurora { display: none !important; }
.hero { background: radial-gradient(72% 64% at 74% 30%, rgba(224,122,71,.09), rgba(224,122,71,0) 62%); }

/* ============================================================
   CTA BAND — interactive satin gradient (instantly.ai-style)
   A glossy highlight tracks the cursor instantly via --mx/--my.
   ============================================================ */
.cta-band-sec { padding: clamp(36px, 6vh, 84px) 0; }
.cta-band {
  --mx: 50%; --my: 38%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 30px; text-align: center;
  padding: clamp(52px, 8vw, 104px) clamp(24px, 5vw, 88px);
  background:
    radial-gradient(42% 78% at var(--mx) var(--my), rgba(255,224,182,.5), rgba(255,224,182,0) 62%),
    radial-gradient(130% 150% at 82% 120%, rgba(120,46,28,.7), rgba(120,46,28,0) 56%),
    radial-gradient(120% 130% at 10% -10%, rgba(224,122,71,.5), rgba(224,122,71,0) 54%),
    linear-gradient(122deg, #c4531e 0%, #b8431c 46%, #8f3820 100%);
  box-shadow: 0 44px 90px -34px rgba(143,56,32,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
/* drifting diagonal sheen streaks */
.cb-streaks {
  position: absolute; inset: -40%; z-index: 0; pointer-events: none; opacity: .55; mix-blend-mode: overlay;
  background: repeating-linear-gradient(116deg, rgba(255,255,255,0) 0 64px, rgba(255,255,255,.07) 64px 70px, rgba(255,255,255,0) 70px 150px);
  animation: cbStreak 16s linear infinite;
}
@keyframes cbStreak { from { transform: translateX(-150px); } to { transform: translateX(150px); } }
body[data-fid="essential"] .cb-streaks { display: none; }
/* glossy highlight that follows the cursor (reactive tiers only) */
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(24% 56% at var(--mx) var(--my), rgba(255,255,255,.4), rgba(255,255,255,0) 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
body[data-fid="studio"] .cta-band::after, body[data-fid="signature"] .cta-band::after { opacity: 1; }
.cb-inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.cb-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.cb-title { font-size: clamp(34px, 5vw, 66px); font-weight: 800; letter-spacing: -0.04em; line-height: .98; margin: 0 0 18px; color: #fff; }
.cb-sub { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 46ch; margin: 0 auto 32px; }
.cb-btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: #fff; color: #1a1714; padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; transition: transform .2s var(--ease), box-shadow .2s; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cb-btn span { transition: transform .25s var(--ease); }
.cb-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.24); }
.cb-btn:hover span { transform: translateX(4px); }

/* ============================================================
   FOOTER BURST — radial line finale
   ============================================================ */
footer { isolation: isolate; }
#footerBurst { position: absolute; left: 0; right: 0; bottom: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
body[data-fid="essential"] #footerBurst { display: none; }
footer .wrap { position: relative; z-index: 1; }
