:root {
  color-scheme: light;
  accent-color: #e45448;
  --bg: #ffffff;
  --mist: #f3f0fa;
  --ink: #16151c;
  --text: #3a3944;
  --muted: #6d6a78;
  --coral: #e45448;
  --coral-deep: #c93d34;
  --lilac: #6e5cbc;
  --line: rgba(22, 21, 28, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r: 1.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
@supports (overflow: clip) {
  html { overflow-x: clip; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(228, 84, 72, 0.18);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 40;
  padding: 10px 14px; min-height: 44px;
  background: var(--ink); color: #fff; text-decoration: none; border-radius: 12px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: nowrap;
  padding: max(0.7rem, env(safe-area-inset-top, 0px)) clamp(1rem, 4vw, 2.5rem) 0.7rem;
  background: #fff;
  position: relative;
  z-index: 32;
}
.top .brand { flex: 0 1 auto; min-width: 0; }
.top .brand img { height: 44px; width: auto; }
@media (min-width: 861px) {
  .chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: clamp(1rem, 4vw, 2.5rem);
  }
  .top { flex: 1; border: 0; }
}
@media (min-width: 880px) {
  .top .brand img { height: 54px; }
}
.nav-toggle {
  display: none;
  appearance: none;
  border: 1.5px solid var(--line);
  background: #fff;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.85rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  z-index: 31;
  position: relative;
}
.nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: calc(4.75rem + env(safe-area-inset-top, 0px)) 1.25rem 2rem;
    background: #fff;
    z-index: 29;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav a, .nav .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1.05rem;
  }
  body.nav-open { overflow: hidden; }
}
.nav a {
  min-height: 40px; display: inline-flex; align-items: center;
  padding: 0 0.75rem; text-decoration: none; font-weight: 600; color: var(--ink); font-size: 0.95rem;
}
.nav .btn { min-height: 40px; padding: 0 1rem; font-size: 0.9rem; color: #fff; }
.nav a.btn, .nav a.btn:hover, .nav a.btn:visited { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: 999px;
  background: var(--coral); color: #fff; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--coral-deep); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--mist); color: var(--ink); }

.hero-pin {
  height: 145vh;
  background: #fff;
}
.hero-sticky {
  position: sticky;
  top: 0;
  /* Header stays on screen, so 100vh hides the bottom of the hero. */
  height: calc(100vh - 4.6rem);
  height: calc(100dvh - 4.6rem);
  overflow: hidden;
  background: #fff;
}
.scatter {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.scatter-item {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(28vw, 280px);
  height: 35vw;
  max-height: 350px;
}
@supports (aspect-ratio: 4 / 5) {
  .scatter-item {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
  }
}
.scatter-item {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: 0 18px 40px rgba(22, 21, 28, 0.08);
  transform: translate3d(-50%, -50%, 0) scale(0.4);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.scatter-item img,
.scatter-item .shot-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 6px;
}
.hero-copy {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Equal vertical padding so the copy block (h1 + Coming soon) sits on true center — spacing between For Class and Coming soon unchanged */
  padding: 5.5rem 1.25rem;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }
.hero-copy h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-copy .lede { max-width: 34rem; }

.stage {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 880px) {
  .stage { grid-template-columns: 1.15fr 0.85fr; min-height: calc(100dvh - 72px); }
}

.band-full {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 0;
}
@media (min-width: 880px) {
  .band-full { grid-template-columns: 0.9fr 1.1fr; }
  .band-flip .band-copy { order: 2; }
  .band-flip .band-media { order: 1; }
}
.band-copy h2 {
  margin: 0.2rem 0 0.75rem;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.band-copy p { margin: 0 0 1.25rem; max-width: 36rem; }
.band-media { background: #fff; }
.band-media img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
}

.stage-art {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}
.stage-art video, .stage-art img.poster {
  width: 100%;
  object-fit: contain; object-position: center;
  pointer-events: none;
  background: #fff;
}
.stage-art img.poster { height: auto; max-height: 320px; }
.stage-art video {
  position: absolute; inset: 0;
  height: 100%;
}
@media (min-width: 880px) {
  .stage-art { min-height: 420px; height: 100%; }
  .stage-art img.poster {
    position: absolute; inset: 0;
    height: 100%; max-height: none;
  }
}
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .stage-art video,
  .stage-art img.poster {
    animation: kb-hero-zoom linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}
@keyframes kb-hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .stage-art video { display: none; }
}

.stage-copy { display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; }
.kicker {
  margin: 0;
  color: var(--coral);
  font-weight: 750;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stage-copy h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.soon {
  margin: 0.55rem 0 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coral);
}
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lede { margin: 0 0 1.4rem; max-width: 38rem; color: var(--text); }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 2rem;
  background: #fff;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0.9rem 0;
  font-weight: 650;
  color: var(--ink);
  animation: kb-ticker 16s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.ticker-track span { white-space: nowrap; }
.ticker-track.reverse { animation-direction: reverse; }
.loop-set {
  display: flex;
  gap: 1rem;
  flex: 0 0 auto;
  padding-inline-end: 1rem;
}
.ticker-track .loop-set {
  gap: 2.5rem;
  padding-inline-end: 2.5rem;
}
@keyframes kb-ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--loop, 50%)), 0, 0); }
}

.story {
  display: grid;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 3rem;
}
@media (min-width: 880px) {
  .story { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: start; }
}
.story-pin {
  position: relative;
  background: #fff;
  min-height: 280px;
  aspect-ratio: 16 / 10;
}
@media (min-width: 880px) {
  .story-pin {
    position: sticky;
    top: 72px;
    height: calc(100dvh - 88px);
    min-height: 420px;
    aspect-ratio: auto;
  }
}
.story-pin img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.55s ease, transform 0.7s ease;
}
.story-pin img.is-on {
  opacity: 1;
  transform: scale(1);
}
.story-copy { display: flex; flex-direction: column; }
.story-step {
  padding: 2.5rem 0 4.5rem;
}
@media (min-width: 880px) {
  .story-step { min-height: calc(100dvh - 88px); display: flex; flex-direction: column; justify-content: center; padding: 12vh 0; }
}
.story-step h2 {
  margin: 0.2rem 0 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.story-step p { margin: 0 0 1.25rem; max-width: 36rem; }

.film { padding: 0 0 2rem; overflow: hidden; }
.wall { padding: 0.4rem 0 2.5rem; overflow: hidden; }
.wall .marquee { margin: 0.35rem 0; }
.film-head {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1.25rem;
}
.film-head h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 0.5rem 0 1rem;
  animation: kb-ticker 22s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.shot {
  flex: 0 0 min(70vw, 340px);
  height: min(70vw, 340px);
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
@supports (aspect-ratio: 1 / 1) {
  .shot { height: auto; aspect-ratio: 1 / 1; }
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 16s ease-in-out infinite alternate;
}
.shot-face {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  padding: 1.2rem;
  background: #fff;
}
.shot-face i {
  font-style: normal;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
}
.shot-face[data-kind="math"]::before {
  content: "";
  width: 72%;
  height: 42%;
  background: radial-gradient(circle, var(--lilac) 5px, transparent 6px) 0 0 / 18px 18px;
}
.shot-face[data-kind="sum"],
.shot-face[data-kind="line"] {
  align-items: center;
  font-size: 1.6rem;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.reveal { opacity: 0; transform: translateY(36px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: kb-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
}
@keyframes kb-rise {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}
@keyframes ken {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, 0, 0) scale(1.08); }
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 26s; }
.marquee-track.slow { animation-duration: 32s; }
@keyframes drift-y {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}
.band-media { animation: drift-y 5.5s ease-in-out infinite; }
.band-media img { animation: ken 12s ease-in-out infinite alternate; }
.close { position: relative; overflow: hidden; }

@media (max-width: 879px) {
  .hero-pin { height: 130vh; }
  .hero-sticky {
    position: sticky;
    top: 0;
    height: calc(100vh - 4.6rem);
    height: calc(100dvh - 4.6rem);
    overflow: hidden;
  }
  .scatter-item { width: min(38vw, 148px); }
  .scatter-item:nth-child(n + 7) { display: none; }
  .hero-copy { padding: 5.2rem 1.1rem; }
  .hero-copy h1 { font-size: clamp(1.85rem, 8.4vw, 2.45rem); }
  .hero-copy .lede {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
  }
  .stage-actions { width: 100%; justify-content: center; }
  .stage-actions .btn { min-width: 44%; min-height: 48px; }
  .hero-copy .lede { max-width: 36rem; }
  .band-full { padding: 2.2rem 0; min-height: 0; }
  .band-copy h2 { font-size: 1.7rem; }
  .band-media img { max-height: 48vh; }
  .shot {
    position: relative;
    flex: 0 0 70vw;
    width: 70vw;
    min-width: 70vw;
    aspect-ratio: 1 / 1;
  }
  .shot img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .ticker-track { animation-duration: 32s; }
  .marquee-track {
    animation-duration: 55s;
    animation-play-state: paused;
  }
  .marquee-track.is-ready { animation-play-state: running; }
  .marquee-track.reverse { animation-duration: 62s; }
  .marquee-track.slow { animation-duration: 72s; }
  .film { padding-bottom: 1.5rem; }
  .close { padding: 2rem 0 3rem; }
  .site-foot { flex-wrap: wrap; gap: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pin { height: auto; }
  .hero-sticky { position: relative; height: auto; min-height: 90dvh; }
  .scatter { display: none; }
  .ticker-track, .marquee-track, .shot img, .band-media, .band-media img, .reveal,
  .stage-art video, .stage-art img.poster { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .story-pin img { opacity: 1; transform: none; transition: none; }
}

.cap {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
}
@media (min-width: 880px) {
  .cap { grid-template-columns: 1fr 1fr; }
  .cap-flip .cap-copy { order: 2; }
  .cap-flip .cap-media { order: 1; }
}
.cap-copy h2 {
  margin: 0.2rem 0 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cap-copy p { margin: 0 0 1.25rem; max-width: 38rem; }
.cap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
a.txt {
  min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--coral);
}
a.txt:hover { color: var(--coral-deep); }
.cap-media {
  background: #fff;
  min-height: 240px;
}
.cap-media img {
  width: 100%; height: auto; max-height: 420px;
  object-fit: contain; object-position: center;
  margin: 0 auto;
}
.cap-sheet { display: flex; align-items: center; justify-content: center; }
.mini-sheet {
  width: min(100%, 420px);
  padding: 1.5rem 1.4rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(22, 21, 28, 0.06);
}
.mini-brand { margin: 0; color: var(--coral); font-weight: 750; letter-spacing: 0.08em; font-size: 0.72rem; text-transform: uppercase; }
.mini-sheet h3 { margin: 0.35rem 0 0.4rem; font-size: 1.8rem; letter-spacing: -0.03em; color: var(--ink); }
.mini-sheet p { margin: 0 0 1rem; color: var(--text); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.1rem; }
.mini-chips span {
  min-height: 36px; padding: 0.25rem 0.8rem; border-radius: 999px;
  background: var(--coral); color: #fff; font-weight: 700; font-size: 0.95rem;
}
.mini-foot { margin: 0; font-size: 0.8rem; color: var(--muted); }

.gallery {
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
}
.gallery-head, .start-head {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1.25rem;
}
.gallery-head h2, .start h2, .who h2, .close h2 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.08;
}
.gallery-head p:last-child { margin: 0; max-width: 40rem; }
.rail {
  display: flex; gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem max(1rem, calc((100% - 1180px) / 2)) 1rem;
  -webkit-overflow-scrolling: touch;
}
.rail:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.rail-card {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
  min-height: 220px;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 0.45rem;
}
.rail-card:hover { border-color: var(--coral); }
.rail-tag { font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac); }
.rail-card strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.rail-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.rail-chips i {
  font-style: normal; background: var(--coral); color: #fff;
  border-radius: 999px; padding: 0.2rem 0.65rem; font-weight: 700; font-size: 0.85rem;
}
.rail-dots {
  margin-top: auto; height: 28px; width: 70%;
  background: radial-gradient(circle, var(--lilac) 5px, transparent 6px) 0 50% / 18px 18px repeat-x;
}
.rail-line, .rail-sum { margin-top: auto; color: var(--muted); font-weight: 650; }
.rail-sum { font-size: 1.6rem; color: var(--ink); letter-spacing: -0.03em; }

.start {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
}
.start-head { width: 100%; margin: 0 0 1.5rem; }
.start-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem 2rem;
}
@media (min-width: 800px) {
  .start-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.start-grid li { margin: 0; padding: 1.1rem 0 0; border-top: 2px solid var(--ink); }
.start-grid span { color: var(--coral); font-weight: 750; font-size: 0.8rem; }
.start-grid strong { display: block; font-size: 1.2rem; color: var(--ink); margin: 0.25rem 0 0.4rem; }
.start-grid p { margin: 0 0 0.7rem; }

.who {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
}
.who ul {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; gap: 1rem;
}
@media (min-width: 800px) {
  .who ul { grid-template-columns: 1fr 1fr; }
}
.who li {
  margin: 0; padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.who strong { display: block; color: var(--ink); margin-bottom: 0.2rem; }

.close {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.close h2 { max-width: 18ch; }

.band { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 0 0 4.5rem; }
.band h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem 2rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; }
}
.steps li { margin: 0; padding: 0; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps strong { display: block; font-size: 1.15rem; color: var(--ink); margin: 0.2rem 0 0.35rem; }
.steps span { color: var(--coral); font-weight: 750; font-size: 0.8rem; }

.split {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; align-items: end; }
}

.pro-band {
  background: var(--mist);
  padding: 3.5rem 0;
  margin: 0 0 0;
}
.pro-band .band { padding-bottom: 0; }
.pro-band h2 { max-width: 16ch; }
form.wait { display: flex; flex-wrap: wrap; gap: 8px; max-width: 32rem; }
form.wait input {
  flex: 1 1 220px; min-height: 48px; border-radius: 999px;
  border: 1.5px solid var(--line); padding: 0 1rem; font: inherit; font-size: 16px;
  background: #fff; color: var(--ink);
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.cf-box { width: 100%; min-height: 68px; margin: 0.2rem 0; }
.note { color: var(--muted); font-size: 0.92rem; margin: 0.75rem 0 0; }

.trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  margin: 0; padding: 0; list-style: none;
  color: var(--text);
}
.trust li { position: relative; padding-left: 1rem; }
.trust li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
}
.catalog-grid .shot { flex: none; width: 100%; min-width: 0; }
.market-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.market-card .shot { width: 100%; }
.market-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.market-meta b { font-weight: 650; }
.market-meta i { font-style: normal; color: var(--coral); white-space: nowrap; }

.market-wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.market-wrap h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.item-stage {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 880px) {
  .item-stage { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}
.item-photo {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--mist);
}
.item-kicker { margin: 0 0 0.35rem; }
.item-price { margin: 0.35rem 0 0; font-weight: 750; color: var(--ink); }
.item-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.market-more { margin-top: 0.5rem; }

.site-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.5rem 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem) calc(1.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; }
.site-foot a {
  min-height: 44px; display: inline-flex; align-items: center;
  color: var(--muted); text-decoration: none;
}
.site-foot a:hover { color: var(--ink); }

#boot {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 30;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  transition: opacity .45s ease, visibility .45s ease;
}
#boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
#boot .ring {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(228, 84, 72, 0.2); border-top-color: var(--coral);
  animation: kb-spin .75s linear infinite;
}
@keyframes kb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #boot .ring { animation: none; }
}

/* Phones: stack the calls to action so they stay tappable. */
@media (max-width: 520px) {
  .stage-actions { flex-direction: column; align-items: stretch; }
  .stage-actions .btn { width: 100%; min-width: 0; }
  .hero-copy { padding: 4.2rem 1rem 1.6rem; }
  .hero-copy h1 { font-size: 1.85rem; }
  .top .brand img { height: 40px; }
  .market-wrap { padding-top: 1.25rem; }
  form.wait .btn { width: 100%; }
}

/*
  Tesla center screen: landscape, touch, short height (about 15–17in).
  Works on older Chromium too: no :has(), no container queries.
  MCU1-era cars ignore dvh, inset, and flex gap; those already have fallbacks above.
*/
@media (pointer: coarse) and (min-width: 1000px) and (max-height: 1200px) {
  body { font-size: 18px; }
  .nav a, .nav .btn { min-height: 52px; font-size: 1.05rem; padding-left: 1rem; padding-right: 1rem; }
  .btn { min-height: 52px; font-size: 1.05rem; }
  .top .brand img { height: 52px; }
  .hero-copy { padding: 4.2rem 2rem 2rem; }
  .hero-copy h1 { font-size: 3.2rem; }
  .site-foot { font-size: 1rem; }
  form.wait input, form.wait .btn { min-height: 52px; }
}
