/* Hero: the Era Ring, its readout and the auction card. Phone layout by default; desktop puts the ring left and the
   HUD plus card right. The WebGL canvas covers the hero; text sits above it. */

.hero {
  --slot: min(calc(100vw - 20px), calc(50svh - 4px), 560px);
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding-top: var(--bar-h);
  padding-bottom: 18px;
  overflow: hidden;
  background: #000;
}
/* CSS graticule while WebGL is off or loading (the WebGL ring draws its own) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(184, 214, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 214, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center calc(var(--bar-h) - 22px);
  -webkit-mask-image: radial-gradient(ellipse 70% 46% at 50% 30%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 46% at 50% 30%, #000 0%, transparent 100%);
  transition: opacity .6s;
}
.gl-on .hero::before { opacity: 0; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity .7s ease; }
.gl-on #gl { opacity: 1; }
.no-gl #gl { display: none; }
.veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, .3) 62%, rgba(0, 0, 0, .55) 100%);
}

.hero-grid {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  max-width: 560px; margin: 0 auto;
}
.ring-col { position: relative; width: 100%; display: flex; justify-content: center; }
.ring-slot {
  position: relative;
  width: var(--slot);
  aspect-ratio: 1 / 1;
  container-type: inline-size;
}

/* static ring: reduced motion, no WebGL, or while three.js is still on its way */
.ring2d { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.svg-on .ring2d, .no-gl .ring2d { opacity: 1; }
.gl-on .ring2d { opacity: 0; }

/* viewfinder corners */
.vf { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(255, 255, 255, .26); pointer-events: none; }
.vf-tl { left: 0; top: 0; border-top-width: 1px; border-left-width: 1px; }
.vf-tr { right: 0; top: 0; border-top-width: 1px; border-right-width: 1px; }
.vf-bl { left: 0; bottom: 0; border-bottom-width: 1px; border-left-width: 1px; }
.vf-br { right: 0; bottom: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* close-point marker, inside the ring at 12 o'clock */
.marker {
  position: absolute; left: 50%; top: 17.8%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1.1cqw;
  font: 500 clamp(8.5px, 2.2cqw, 11.5px)/1.1 var(--f-mono);
  letter-spacing: .16em; white-space: nowrap; pointer-events: auto; cursor: help;
  text-shadow: 0 0 8px #000, 0 0 2px #000;
  transition: opacity .4s;
}
.mk-a { color: var(--ember-ink); font-weight: 600; text-shadow: 0 0 12px rgba(255, 91, 58, .55), 0 0 2px #000; }
.mk-b { color: var(--ink-2); }

/* the readout over the ring's center */
.center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
  padding-top: 2.2cqw;
}
.digits {
  font-family: var(--f-digit);
  font-weight: 500;
  font-size: 17.5cqw;
  font-stretch: 92%;
  line-height: .92;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow:
    -1px 0 rgba(255, 70, 50, .5),
    1px 0 rgba(25, 227, 255, .55),
    0 0 26px rgba(255, 255, 255, .16),
    0 0 2px rgba(0, 0, 0, .9);
}
.digits.is-era { font-size: 21cqw; letter-spacing: -.02em; }
.digits.is-wait { color: var(--ink-3); letter-spacing: .1em; }
.digits.tick { animation: disperse .65s cubic-bezier(.2, .7, .2, 1); }
@keyframes disperse {
  0% { text-shadow: -5px 0 rgba(255, 70, 50, .85), 5px 0 rgba(25, 227, 255, .9), 0 0 40px rgba(255, 255, 255, .4), 0 0 2px #000; }
  100% { text-shadow: -1px 0 rgba(255, 70, 50, .5), 1px 0 rgba(25, 227, 255, .55), 0 0 26px rgba(255, 255, 255, .16), 0 0 2px #000; }
}
.digits-label {
  margin-top: 2.6cqw;
  max-width: 64cqw;
  font: 500 clamp(9.5px, 2.45cqw, 14px)/1.35 var(--f-mono);
  letter-spacing: .17em;
  color: var(--ink-2);
  text-shadow: 0 0 10px #000, 0 0 3px #000;
}
.digits-sub {
  margin-top: 1.4cqw;
  font: 500 clamp(8.5px, 2.1cqw, 12px)/1.3 var(--f-mono);
  letter-spacing: .15em;
  color: var(--ink-3);
  text-shadow: 0 0 10px #000;
}
.reorged {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-digit); font-weight: 700;
  font-size: 11cqw; letter-spacing: .04em;
  font-stretch: 80%;
  background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 80, 30, .75));
  opacity: 0; pointer-events: none;
}
.hero.reorg .digits, .hero.reorg .digits-label, .hero.reorg .digits-sub, .hero.reorg .proof { opacity: 0; transition: opacity .08s; }
.hero.reorg .reorged { animation: reorg 1.25s steps(1, end) forwards; }
@keyframes reorg {
  0% { opacity: 1; } 8% { opacity: .1; } 14% { opacity: 1; } 22% { opacity: .35; }
  28% { opacity: 1; transform: translate(-1.5%, -50%); } 34% { transform: translate(1%, -50%); }
  40% { transform: translate(0, -50%); } 82% { opacity: 1; } 100% { opacity: 0; }
}

/* protocol readout: the countdown equals the hashes EIP-2935 still serves */
.proof { margin-top: 1.9cqw; display: flex; flex-direction: column; align-items: center; gap: 1.5cqw; pointer-events: auto; }
.proof-line { font: 500 clamp(8px, 2.05cqw, 11.5px)/1.3 var(--f-mono); letter-spacing: .12em; color: var(--ink-3); text-shadow: 0 0 8px #000; }
.proof-btn {
  height: clamp(18px, 4.6cqw, 24px); padding: 0 clamp(8px, 2cqw, 11px);
  border-radius: 999px; border: 1px solid rgba(67, 255, 140, .5); background: rgba(0, 0, 0, .6);
  font: 600 clamp(8px, 2cqw, 11px)/1 var(--f-mono); letter-spacing: .18em; color: #9cf5c9;
  box-shadow: 0 0 12px rgba(67, 255, 140, .14);
  transition: border-color .2s, box-shadow .2s;
}
.proof-btn:hover { border-color: #43ff8c; box-shadow: 0 0 16px rgba(67, 255, 140, .4); }

/* keeper label orbit: SVG text on the ring, in the leader's hue */
.keeper { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .5s; }
.keeper.on { opacity: 1; }
.ktext {
  font: 600 clamp(9.5px, 2.55cqw, 13.5px) var(--f-mono);
  letter-spacing: .2em;
  fill: var(--keeper);
  dominant-baseline: central;
  filter: drop-shadow(0 0 5px var(--keeper-glow)) drop-shadow(0 0 1px rgba(0, 0, 0, .9));
}
.kdot { font-size: .8em; }
.keeper.shatter { animation: kshatter .5s ease-in forwards; }
@keyframes kshatter { to { opacity: 0; filter: blur(3px); } }
.keeper.enter { animation: kenter .9s ease-out; }
@keyframes kenter { from { opacity: 0; filter: blur(6px); } }

/* settle: the checkpoint hash types itself around the ring */
.hashband { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .5s; }
.hashband.on { opacity: 1; }
.hbtext {
  font: 500 clamp(8px, 2.05cqw, 12px) var(--f-mono);
  letter-spacing: .12em;
  fill: #fff;
  dominant-baseline: central;
  filter: drop-shadow(0 0 6px rgba(140, 230, 255, .8));
}
.sealing .marker, .sealing .keeper { opacity: 0 !important; }

/* phone corner labels: inside the slot corners, outside the keeper orbit */
.badge-phone {
  position: absolute; left: calc(50% - var(--slot) / 2 + 10px); top: 9px;
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 9.5px/1 var(--f-mono); letter-spacing: .16em; color: var(--ink-2);
  text-shadow: 0 0 8px #000;
}
.badge-phone::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.badge-phone.is-live { color: #fff; }
.badge-phone.is-live::before { border: 0; background: #d2ff2a; box-shadow: 0 0 8px #d2ff2a; }
.ring-col { flex-direction: column; align-items: center; }
.legend {
  position: absolute; left: 50%; bottom: 0; width: var(--slot); transform: translateX(-50%);
  padding: 0 9px 7px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  font: 500 8.5px/1.3 var(--f-mono); letter-spacing: .12em; color: var(--ink-3);
  text-shadow: 0 0 8px #000; pointer-events: none;
}
.lg-a { display: inline-flex; align-items: center; gap: 6px; }
.lg-long { display: none; }
.legend i { width: 10px; height: 1px; flex: none; background: var(--cool); box-shadow: 0 0 6px rgba(67, 255, 140, .8); }

/* ---------------------------------------------------------------- auction card */
.side { display: contents; }
.card {
  position: relative; z-index: 2;
  width: 100%;
  padding: 2px var(--gut) 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
/* source tag: names the protocol idea on the opening screen */
.src-tag {
  display: inline-flex; align-items: center; gap: 8px;
  height: 24px; padding: 0 10px 0 9px; margin-top: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(0, 0, 0, .55);
  font: 600 10.5px/1 var(--f-mono); letter-spacing: .16em; color: #fff;
  white-space: nowrap;
  transition: border-color .2s, box-shadow .2s;
}
.src-tag i { width: 6px; height: 6px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #19e3ff, #d2ff2a); box-shadow: 0 0 8px rgba(67, 255, 140, .85); }
.src-tag b { font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.src-tag:hover { border-color: rgba(255, 255, 255, .55); box-shadow: 0 0 18px rgba(67, 255, 140, .18); }
.kicker {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin: 10px 0 9px; max-width: 100%;
  font: 500 10px/1.35 var(--f-mono); letter-spacing: .15em; color: var(--ink-2);
  text-wrap: balance;
}
.kicker i { display: none; width: 22px; height: 2px; border-radius: 2px; flex: none; background: var(--cool); box-shadow: 0 0 10px rgba(67, 255, 140, .7); }
[data-state="soft"] .kicker i, [data-state="ended"] .kicker i { background: var(--hot); box-shadow: 0 0 10px rgba(255, 90, 30, .7); }
.headline {
  font-weight: 600;
  font-size: clamp(27px, 7.6vw, 34px);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
  text-shadow: 0 0 22px #000, 0 0 3px #000;
}
.headline.is-long { font-size: clamp(22px, 6.2vw, 28px); line-height: 1.12; }
.headline em {
  font-style: normal;
  background: linear-gradient(90deg, #19e3ff, #43ff8c 30%, #d2ff2a 50%, #43ff8c 70%, #19e3ff);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: drift 7s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(67, 255, 140, .35));
  white-space: nowrap;
}
@keyframes drift { to { background-position: -200% 0; } }
.sub {
  margin-top: 10px; max-width: 36ch;
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
  text-wrap: pretty;
  text-shadow: 0 0 12px #000;
}

.chips {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  max-width: 100%;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 100%; min-width: 0;
  height: 30px; padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(10, 10, 14, .64);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 12px/1 var(--f-mono);
  white-space: nowrap;
}
.chip .k { color: var(--ink-3); }
.chip b { font-weight: 600; color: #fff; }
.chip .approx, .chip .note { color: var(--ink-3); }
.chip .sep { color: var(--ink-4); }
.chip .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--keeper); font-weight: 600; text-shadow: 0 0 10px var(--keeper-glow); }
.chip-note { order: 4; flex-basis: 100%; font: 500 12px/1.4 var(--f-mono); color: var(--ink-2); text-shadow: 0 0 10px #000; }
.chip-bid { order: 3; }
.chip-close { order: 2; }
.chip-lot { order: 1; }
.chip-bid.flash { animation: chipflash 1.1s ease-out; }
@keyframes chipflash {
  0% { border-color: #ff6e21; box-shadow: 0 0 0 1px #ff6e21, 0 0 26px rgba(255, 90, 30, .7); }
  100% { border-color: rgba(255, 255, 255, .17); box-shadow: none; }
}
.chip-bid.kept { animation: chipkept 1.3s ease-out; }
@keyframes chipkept {
  0% { border-color: var(--keeper); box-shadow: 0 0 0 1px var(--keeper), 0 0 24px var(--keeper-glow); }
  100% { border-color: rgba(255, 255, 255, .17); box-shadow: none; }
}
.fallback-note { margin-top: 10px; max-width: 420px; font-size: 12.5px; line-height: 1.5; color: #ffd9a8; text-wrap: pretty; }
.fallback-note .btn-mini { height: 24px; margin-left: 4px; vertical-align: middle; font: 600 11px/1 var(--f-mono); letter-spacing: .08em; border-color: rgba(255, 194, 122, .6); }
.readout {
  display: none;
  margin-top: 12px;
  font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; color: var(--ink-3);
}

/* the button: a white slab with the spectrum leaking out underneath */
.ctas { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.cta {
  position: relative; display: block;
  width: 100%; height: 56px;
  margin: 0; padding: 0;
  border: 0; background: none;
  isolation: isolate;
}
.cta-glow {
  position: absolute; left: 3%; right: 3%; top: 26%; bottom: -16px; z-index: -1;
  background: var(--spec);
  filter: blur(14px);
  opacity: .8;
  border-radius: 40%;
  animation: glowshift 6s ease-in-out infinite alternate;
}
@keyframes glowshift { to { left: 8%; right: -1%; opacity: .95; } }
.cta-face {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  background: linear-gradient(180deg, #fff 0%, #eef1f4 100%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 1px 0 rgba(255, 255, 255, .3), 0 10px 30px rgba(0, 0, 0, .35);
  overflow: hidden;
  transition: transform .15s ease;
}
.cta:hover .cta-face { transform: translateY(-1px); }
.cta:active .cta-face { transform: translateY(1px); }
.cta-label {
  position: relative; z-index: 1;
  padding: 0 12px;
  font: 600 14.5px/1.2 var(--f-mono);
  letter-spacing: .07em;
  color: #000;
}
.cta-sheen {
  position: absolute; top: -30%; bottom: -30%; left: -50%; width: 46%;
  background: linear-gradient(100deg, transparent 0%, rgba(25, 227, 255, .5) 28%, rgba(67, 255, 140, .55) 50%, rgba(210, 255, 42, .55) 70%, transparent 100%);
  mix-blend-mode: multiply;
  transform: skewX(-20deg);
  animation: sheen 5.2s cubic-bezier(.55, 0, .25, 1) 1.4s infinite;
}
@keyframes sheen { 0% { left: -50%; } 34%, 100% { left: 125%; } }
.cta:focus-visible { outline: none; }
.cta:focus-visible .cta-face { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--green); }
/* waiting for the auction to open: an outlined slab, no glow */
.cta.is-wait { cursor: default; }
.cta.is-wait .cta-glow { opacity: .28; animation: none; }
.cta.is-wait .cta-face { background: rgba(6, 8, 10, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.cta.is-wait .cta-label { color: #fff; font-size: 12.5px; letter-spacing: .04em; }
.cta.is-wait .cta-sheen { display: none; }
[data-state="ended"] .cta-glow { background: var(--hot); }

.cta2 {
  height: 48px; width: 100%;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 600 13px/1 var(--f-mono); letter-spacing: .08em; color: #fff;
  transition: border-color .2s, background .2s;
}
.cta2:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
.ics-link {
  margin-top: 14px;
  font: 500 12px/1.4 var(--f-mono); color: var(--ink-2);
  border-bottom: 1px dashed rgba(255, 255, 255, .35);
  padding-bottom: 1px;
}
.ics-link:hover { color: #fff; border-bottom-color: #fff; }
.outcome {
  margin-top: 13px; max-width: 360px;
  font-size: 13.5px; line-height: 1.45; color: var(--ink-2);
  text-shadow: 0 0 12px #000;
  text-wrap: pretty;
}
.outcome b { color: #fff; font-weight: 600; }
.fine { margin-top: 12px; max-width: 380px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); text-wrap: pretty; }
.fine p + p { margin-top: 6px; }
.card .contract-row { margin-top: 14px; justify-content: center; }
/* upgrade status chip: open = the owner key can still change the code; locked = for good */
.up-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(255, 122, 92, .55); background: rgba(255, 91, 58, .08);
  font: 600 11px/1 var(--f-mono); letter-spacing: .06em; color: #ffb39c;
  cursor: help; white-space: nowrap;
}
.up-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px rgba(255, 91, 58, .9); }
.up-chip.is-locked { border-color: rgba(67, 255, 140, .5); background: rgba(67, 255, 140, .07); color: #9cf5c9; }
.up-chip.is-locked i { background: var(--green); box-shadow: 0 0 8px rgba(67, 255, 140, .9); }

/* outbid: a hot flash behind the text */
.hero.hot .veil { animation: hotveil 1.1s ease-out; }
@keyframes hotveil {
  0% { background: radial-gradient(circle at 50% 30%, rgba(255, 90, 30, .28), rgba(255, 40, 10, .08) 60%, transparent 80%); }
  100% { background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, .3) 62%, rgba(0, 0, 0, .55) 100%); }
}

/* ---------------------------------------------------------------- preview pill (?dev=fake, localhost) */
.dev-dock {
  position: absolute; z-index: 6; right: calc(50% - var(--slot) / 2 + 3px); top: calc(var(--bar-h) + 2px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.preview-pill {
  height: 20px; padding: 0 7px; border-radius: 5px;
  border: 1px dashed rgba(255, 180, 92, .7); background: rgba(0, 0, 0, .6);
  font: 600 9px/1 var(--f-mono); letter-spacing: .12em; color: #ffc27a;
}
.dev-panel {
  order: 2;
  width: 270px; padding: 12px; border-radius: 10px;
  background: rgba(8, 8, 11, .94); border: 1px solid rgba(255, 255, 255, .14);
  font: 400 11.5px/1.5 var(--f-mono); color: var(--ink-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.dev-panel p { margin: 0 0 8px; }
.dev-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dev-row button {
  height: 30px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .04); color: #fff; font: 500 11.5px/1 var(--f-mono);
}
.dev-row button:hover { border-color: var(--green); }
.dev-row kbd { color: var(--ink-3); font: inherit; margin-left: 6px; }

/* ---------------------------------------------------------------- small phones */
@media (max-width: 380px) {
  .chip { padding: 0 9px; gap: 5px; font-size: 11.2px; }
  .cta-label { font-size: 13.5px; letter-spacing: .05em; }
}
@media (max-height: 700px) and (max-width: 1023px) {
  .hero { --slot: min(calc(100vw - 20px), calc(48svh - 4px), 560px); }
  .headline { font-size: clamp(25px, 7vw, 30px); }
  .sub { font-size: 13px; }
}

/* ---------------------------------------------------------------- desktop */
@media (min-width: 1024px) {
  .hero { min-height: max(680px, 100vh); padding-bottom: 0; }
  .hero::before { background-position: 32% calc(var(--bar-h) + 6px); -webkit-mask-image: radial-gradient(ellipse 46% 60% at 32% 52%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 46% 60% at 32% 52%, #000 0%, transparent 100%); }
  .veil { background: linear-gradient(to right, transparent 0%, transparent 52%, rgba(0, 0, 0, .32) 68%, rgba(0, 0, 0, .5) 100%); }
  .hero.hot .veil { animation: none; }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    column-gap: clamp(28px, 3.4vw, 64px);
    align-items: center;
    max-width: 1440px;
    min-height: calc(max(680px, 100vh) - var(--bar-h));
    padding: 0 clamp(24px, 3.4vw, 56px);
  }
  .ring-col { height: 100%; justify-content: center; padding-bottom: 30px; }
  .preview-pill { height: 22px; padding: 0 8px; font-size: 9.5px; letter-spacing: .14em; }
  .ring-slot { width: min(100%, calc(100vh - var(--bar-h) - 112px)); max-width: 760px; }
  .badge-phone { display: none; }
  .legend { left: 0; bottom: 18px; width: auto; transform: none; padding: 0; justify-content: flex-start; gap: 0; font-size: 10.5px; }
  .lg-long { display: inline; }
  .lg-short { display: none; }
  .lg-b::before { content: "\a0\b7\a0"; }
  .src-tag { margin: 0 0 11px; }
  .card .contract-row { justify-content: flex-start; flex-wrap: nowrap; gap: 6px; margin-top: 10px; font-size: 11.5px; }
  .card .contract-row .btn-mini { height: 26px; padding: 0 8px; font-size: 11.5px; }
  .card .contract-row .ca { white-space: nowrap; margin-right: 2px; }
  .up-chip { height: 26px; padding: 0 9px; gap: 6px; font-size: 10.5px; letter-spacing: .03em; }
  .headline.is-long { font-size: clamp(30px, 2.5vw, 38px); }
  .side {
    display: flex; flex-direction: column; justify-content: center; gap: 18px;
    padding: 10px 0 10px;
    min-height: calc(max(680px, 100vh) - var(--bar-h));
  }
  .card { padding: 0; text-align: left; align-items: flex-start; }
  .kicker { display: inline-flex; justify-content: flex-start; margin: 0 0 11px; font-size: 11.5px; letter-spacing: .2em; }
  .kicker i { display: block; }
  .headline { font-size: clamp(36px, 3vw, 46px); line-height: 1.03; letter-spacing: -.036em; }
  .sub { font-size: 15px; max-width: 44ch; margin-top: 14px; }
  .chips { justify-content: flex-start; margin-top: 14px; gap: 7px; }
  .chip { height: 32px; font-size: 12.5px; }
  .readout { display: block; margin-top: 11px; font-size: 10.5px; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .ctas { max-width: none; margin-top: 14px; }
  .cta { height: 58px; }
  .cta-label { font-size: 15.5px; }
  .ctas:has(.cta2:not([hidden])) { flex-direction: row; }
  .ctas:has(.cta2:not([hidden])) .cta { flex: 1.35; }
  .ctas:has(.cta2:not([hidden])) .cta-label { font-size: 14px; }
  .cta2 { height: 60px; flex: 1; }
  .outcome { max-width: none; margin-top: 12px; font-size: 14.5px; }
  .fine { max-width: none; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
  .fine p + p { margin-top: 5px; }
  .dev-dock { left: clamp(24px, 3.4vw, 56px); right: auto; top: calc(var(--bar-h) + 18px); align-items: flex-start; }
  .dev-panel { order: 2; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .headline { font-size: clamp(34px, 2.9vw, 42px); }
  .side { gap: 16px; }
  .fine { margin-top: 10px; padding-top: 10px; font-size: 12px; }
}

/* reduced motion: static ring, no glow loops */
.reduced .cta-sheen, .reduced .cta-glow, .reduced .headline em { animation: none; }
