/* Tempest Performance: a fight-night bout poster that works as a page.
   Flat poster fields butted edge to edge, heavy condensed caps, white-keyline
   photos, with a Japanese kickboxing voice (katakana bands, hanko seal, kanji
   bout numbers). */

/* ─── Tokens ─── */
:root {
  --yellow: #FFD21F;
  --blue:   #1B3FB8;
  --pink:   #E0186F;
  --red:    #C81E24;   /* white text 5.7:1; on yellow only at display sizes (3.9:1) */
  --ink:    #16120F;
  --ink-2:  #3F3730;   /* secondary text on yellow and white */
  --white:  #FFFFFF;
  --stone:  #D9D2C8;   /* muted text on ink; hairline rules on white */

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body:    "Kanit", system-ui, sans-serif;
  --jp:      "Dela Gothic One", sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --rule: 3px;
  --keyline: 0.5rem;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
/* One fixed poster palette: opt out of the browser's forced dark mode. */
html { color-scheme: only light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
::selection { background: var(--ink); color: var(--yellow); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.block--blue :focus-visible, .block--pink :focus-visible, .block--red :focus-visible,
.topband :focus-visible, .foot :focus-visible { outline-color: var(--yellow); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.nw { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--ink); color: var(--yellow); padding: 0.75rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ─── Buttons ─── */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.5rem 1.25rem;
  border: var(--rule) solid currentColor;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.12s, color 0.12s, border-color 0.12s;
}
.btn-arrow { flex: none; width: 1.125rem; height: auto; transition: transform 0.12s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.btn--ink:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--line { color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--white); border-color: var(--white); }
.btn--line-light { color: var(--white); }
.btn--line-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--small { min-height: 2.75rem; font-size: 1.0625rem; padding: 0.375rem 0.875rem; }

/* ─── Top band ─── */
.topband { background: var(--blue); color: var(--white); }
.topband-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4rem;
}
.wordmark {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-family: var(--display); font-weight: 900; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; line-height: 1;
}
.wordmark span { color: var(--yellow); }
.topnav { display: flex; align-items: center; gap: 1rem; }
.topnav-lang {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem;
  font-weight: 500; font-size: 0.9375rem; text-decoration: none;
}
.topnav-lang:hover { text-decoration: underline; }
.lang-abbr { display: none; }

/* ─── Hero (the headline bout) ─── */
.hero { background: var(--yellow); }
.hero-grid {
  display: grid; gap: 2rem;
  padding-top: clamp(1.75rem, 5vw, 4rem); padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.hero-title {
  display: grid; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.01em;
}
.hero-title-a { color: var(--red); font-size: clamp(3.25rem, 11vw, 6rem); }
.hero-title-b { font-size: clamp(3.25rem, 11vw, 6rem); }
.hero-title-c {
  margin-top: 0.75rem; font-size: clamp(1.5rem, 4.2vw, 2.25rem); line-height: 1;
  color: var(--blue); letter-spacing: 0;
}
.hero-hook { margin: 1.25rem 0 1.75rem; max-width: 34rem; font-size: 1.125rem; color: var(--ink-2); }

.hero-photo { position: relative; justify-self: center; width: min(100%, 26rem); padding-right: 3rem; }
.photo-frame {
  background: var(--white); padding: var(--keyline);
  border: var(--rule) solid var(--ink);
}
.photo-frame img { width: 100%; }
.jp-band {
  position: absolute; top: 0; right: 0; bottom: 2rem; width: 3rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  background: var(--ink); color: var(--yellow);
  font-family: var(--jp); font-size: 1.375rem; line-height: 1;
}
.jp-band span[lang] { writing-mode: vertical-rl; text-orientation: upright; }
.jp-dot { width: 0.4rem; height: 0.4rem; background: var(--pink); }
.jp-gloss {
  margin-top: 0.5rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-2);
}

.facts { background: var(--pink); color: var(--white); }
/* Phones: chip and title share a row, the list runs full width under them. */
.facts-inner {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem 1.25rem;
  padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.facts-body { display: contents; }
.facts-list { grid-column: 1 / -1; }
.facts-face { width: 7rem; }
.facts-title {
  font-family: var(--display); font-weight: 900; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 0.95;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.facts-list {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem;
  font-family: var(--display); font-weight: 800; font-size: 1.375rem; text-transform: uppercase;
  letter-spacing: 0.02em;
}
.facts-list li { display: flex; align-items: center; }
.facts-list li::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; background: var(--yellow); margin-right: 1.25rem; }

/* ─── Blocks (each section is one poster field) ─── */
.block { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.block--white { background: var(--white); }
.block--yellow { background: var(--yellow); }
.block--blue { background: var(--blue); color: var(--white); }
.block--pink { background: var(--pink); color: var(--white); }
.block--red { background: var(--red); color: var(--white); }
.block--ink { background: var(--ink); color: var(--white); }
.block--ink :focus-visible { outline-color: var(--yellow); }

.block-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.bout-num {
  flex: none; font-family: var(--jp); font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--red);
}
.block--blue .bout-num, .block--pink .bout-num, .block--red .bout-num, .block--ink .bout-num { color: var(--yellow); }
.block--white .bout-num { color: var(--ink); }
.block-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.25rem, 6vw, 4rem); line-height: 0.92;
}
.block-intro { max-width: 40rem; font-size: 1.125rem; margin-bottom: 2.5rem; }
.block--white .block-intro, .block--yellow .block-intro { color: var(--ink-2); }
.block--ink .bouts, .block--ink .bout { border-color: var(--white); }
.block--ink .bout-body { color: var(--stone); }
.sub-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 1.75rem; line-height: 1; margin-bottom: 1.25rem;
}

/* Who: the bout order */
.bouts { border-top: var(--rule) solid var(--ink); }
.bout {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0.25rem;
  padding: 1.5rem 0; border-bottom: var(--rule) solid var(--ink);
}
.bout-corner { grid-row: 1 / span 2; width: 1.5rem; height: 1.5rem; margin-top: 0.35rem; }
.bout-corner--red { background: var(--red); }
.bout-corner--blue { background: var(--blue); }
.bout-corner--pink { background: var(--pink); }
.bout-corner--yellow { background: var(--yellow); }
.bout-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1;
}
.bout-body { max-width: 44rem; color: var(--ink-2); }

/* ─── Main event: the camp ─── */
.picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.picker-layers { display: grid; gap: 0.75rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.picker-legend {
  padding: 0; margin-bottom: 0.75rem;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1;
}
.layer {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.875rem; row-gap: 0.125rem;
  width: 100%; padding: 1rem 1.125rem; text-align: left; cursor: pointer;
  background: transparent; color: var(--white);
  border: var(--rule) solid var(--white);
  font: inherit;
  transition: background-color 0.12s, color 0.12s;
}
.layer:hover { background: rgba(255, 255, 255, 0.12); }
.layer[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.layer-check {
  grid-row: 1 / span 2; width: 1.5rem; height: 1.5rem; margin-top: 0.2rem;
  border: var(--rule) solid currentColor; position: relative;
}
.layer[aria-pressed="true"] .layer-check { background: var(--ink); border-color: var(--ink); }
.layer[aria-pressed="true"] .layer-check::after {
  content: ""; position: absolute; inset: 0.2rem 0.35rem 0.35rem;
  border: solid var(--yellow); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.layer-name { font-family: var(--display); font-weight: 900; font-size: 1.625rem; line-height: 1.05; text-transform: uppercase; }
.layer-desc { font-size: 0.9375rem; }

.picker-out {
  background: var(--yellow); color: var(--ink);
  padding: 1.5rem; border: var(--rule) solid var(--ink);
  align-self: start;
}
.picker-empty { font-size: 1.0625rem; }
.picker-figs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 clamp(0.75rem, 3vw, 1.5rem); margin-top: 1rem; }
.picker-figs li { display: grid; }
.fig-label { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; line-height: 1; color: var(--blue); }
.fig { font-family: var(--display); font-weight: 900; font-size: clamp(2.25rem, 8vw, 4.25rem); line-height: 0.95; color: var(--red); }
.picker-per { margin-top: 0.25rem; font-weight: 500; }
.picker-ask { margin-top: 1.25rem; padding-top: 1rem; border-top: var(--rule) solid var(--ink); }
.picker-ask-lead { font-size: 0.9375rem; margin-bottom: 0.875rem; }
.js .camp-cta--nojs { display: none; }
.picker-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.75rem; line-height: 1; color: var(--blue); }
.picker-price { margin-top: 0.5rem; font-weight: 500; }
.picker-price strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 12vw, 6rem); line-height: 0.9; color: var(--red); }
.picker-split { color: var(--ink-2); margin-top: 0.25rem; }
.picker-extras { margin-top: 1rem; display: grid; gap: 0.25rem; }
.picker-extras li { padding-left: 1.25rem; position: relative; }
.picker-extras li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.6rem; height: 0.6rem; background: var(--ink); }
.picker-send { margin-top: 1rem; font-weight: 500; }
.picker-copy { margin-top: 0.75rem; }
.picker-send q { font-family: var(--display); font-weight: 800; font-size: 1.375rem; text-transform: uppercase; quotes: "“" "”"; }

/* Without JavaScript the picker is hidden and the plain tier list stays. */
.picker { display: none; }
.js .picker { display: grid; }
.js .tiers-static { display: none; }
.tiers-static { border: var(--rule) solid var(--white); padding: 1.25rem; }
.tiers-static-lead { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 0.75rem; }
.tiers-static-list li { padding: 0.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.5); }
.ts-name { font-weight: 600; }
.ts-price { font-family: var(--display); font-size: 1.75rem; color: var(--yellow); }
.ts-split, .ts-extras { display: block; font-size: 0.9375rem; }

.camp-note { margin-top: 1.5rem; font-size: 0.9375rem; max-width: 44rem; }
.camp-cta { margin-top: 2.5rem; padding-top: 2rem; border-top: var(--rule) solid var(--white); }
.camp-cta-lead { font-size: 1.125rem; max-width: 40rem; margin-bottom: 1.25rem; }

/* ─── Method ─── */
.method-layers { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
.method-layers div { border-top: var(--rule) solid var(--ink); padding-top: 0.875rem; }
.method-layers dt { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin-bottom: 0.375rem; }
.method-layers dd { color: var(--ink-2); max-width: 36rem; }

.method-grid { display: grid; gap: 3rem; }
.pillar-list { display: grid; gap: 1rem; }
.pillar-list li { border-top: var(--rule) solid var(--ink); padding-top: 0.75rem; }
.pillar-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; }
.pillar-list p { color: var(--ink-2); }

.report {
  position: relative; background: var(--white); color: var(--ink);
  border: var(--rule) solid var(--ink); padding: 1.25rem 1.25rem 1.5rem;
  font-size: 0.9375rem;
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-bottom: var(--rule) solid var(--ink); padding-bottom: 0.75rem; }
.report-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.report-meta { margin: 0.75rem 0 1rem; color: var(--ink-2); font-size: 0.875rem; }
.report-h { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; margin: 1rem 0 0.5rem; }
.report-ratings li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border-bottom: 1px solid var(--stone); }
.dots { display: inline-flex; gap: 0.25rem; align-items: center; }
.dots i { width: 0.75rem; height: 0.75rem; border: 2px solid var(--ink); }
.dots i.on { background: var(--red); border-color: var(--red); }
.report-takes { display: grid; gap: 0.5rem; }
.report-takes li { padding-left: 3.5rem; position: relative; }
.ts {
  position: absolute; left: 0; top: 0.1em;
  background: var(--ink); color: var(--yellow); font-weight: 600; font-size: 0.8125rem;
  padding: 0 0.375rem; font-variant-numeric: tabular-nums;
}
.sample-label { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }

/* Hanko seal: テンペスト set vertically in a red stamp */
.seal {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; text-orientation: upright; width: 2.75rem; padding: 0.4rem 0;
  border: 3px solid var(--red); border-radius: 0.375rem; color: var(--red);
  font-family: var(--jp); font-size: 0.875rem; line-height: 1.05; letter-spacing: 0.05em;
  transform: rotate(-6deg);
}

/* ─── How it works ─── */
.steps { display: grid; gap: 1.5rem; }
.step { border-top: var(--rule) solid var(--ink); padding-top: 1rem; }
.step-num {
  display: block; font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 0.9;
  color: var(--blue); margin-bottom: 0.5rem;
}
.step-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.625rem; line-height: 1; margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); }

/* ─── Coach ─── */
.coach-grid { display: grid; gap: 2.5rem; }
.coach-copy > p { max-width: 38rem; margin-bottom: 1rem; }
.coach-actions { margin-top: 1.75rem; }
.coach-quote { margin-top: 1.75rem; padding-top: 1.25rem; border-top: var(--rule) solid var(--white); }
.coach-quote p { font-family: var(--display); font-weight: 800; font-size: clamp(1.625rem, 3.2vw, 2.25rem); line-height: 1.1; letter-spacing: 0.01em; }

.coach-photos {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  align-items: start; padding-right: 2.75rem;
}
.coach-photos .photo-frame:nth-child(2) { grid-column: 1 / -1; order: -1; }
.coach-band {
  position: absolute; top: 0; right: 0; width: 2.25rem; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--ink); font-family: var(--jp); font-size: 1.125rem;
}
.coach-band span[lang] { writing-mode: vertical-rl; text-orientation: upright; }
.coach-photos .seal {
  position: absolute; left: -0.75rem; bottom: 2.5rem;
  background: var(--white); border-color: var(--red);
}
.coach-caption { grid-column: 1 / -1; font-size: 0.875rem; font-weight: 500; }

/* ─── Undercard: a bout-card ladder of figures ─── */
.ladder { display: grid; gap: 2.5rem; }
.ladder-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1; }
.ladder-where { margin-top: 0.375rem; font-weight: 600; font-size: 0.9375rem; color: var(--blue); }
.ladder-desc { margin: 0.75rem 0 1rem; max-width: 34rem; color: var(--ink-2); }
.ladder-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.75rem 0; border-top: var(--rule) solid var(--ink);
}
.ladder-rows li:last-child { border-bottom: var(--rule) solid var(--ink); }
.ladder-name b { font-weight: 600; display: block; }
.ladder-fig { white-space: nowrap; font-weight: 500; }
.ladder-fig strong { font-family: var(--display); font-weight: 900; font-size: clamp(2.5rem, 5vw, 3.25rem); line-height: 1; color: var(--red); }
.ladder-note { margin-top: 0.75rem; font-weight: 500; }

/* ─── Close ─── */
.close-inner { display: grid; justify-items: start; }
.close-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem 1.25rem; }
.close-head .bout-num { font-size: clamp(3.25rem, 9vw, 6rem); }
.close-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 6rem); line-height: 0.88; display: grid;
}
.close-title span:last-child { color: var(--yellow); }
.close-sub { margin: 1.25rem 0 1.75rem; max-width: 36rem; font-size: 1.125rem; }

/* ─── Footer ─── */
.foot { background: var(--ink); color: var(--white); overflow: hidden; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.foot-copy { font-size: 0.875rem; margin-right: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; font-weight: 500; }
.foot .seal { color: var(--yellow); border-color: var(--yellow); }

/* ─── Motion: one stamp, nothing scattered ─── */
@keyframes stamp {
  0% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.picker-out.is-stamped .picker-price strong { animation: stamp 0.18s steps(3, end); }
@keyframes seal-stamp {
  0% { transform: rotate(-6deg) scale(1.6); }
  100% { transform: rotate(-6deg) scale(1); }
}
.seal.is-stamped { animation: seal-stamp 0.24s steps(3, end); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .picker-out.is-stamped .picker-price strong, .seal.is-stamped { animation: none; }
  .btn-arrow, .btn, .layer { transition: none; }
}

/* ─── Wider screens ─── */
@media (min-width: 640px) {
  .facts-inner { display: flex; }
  .facts-face { flex: none; }
  .facts-body { display: block; }
  .facts-title { margin-bottom: 0.5rem; }
  .method-layers { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 3rem; }
  .hero-photo { justify-self: end; }
  .facts-face { width: 8.5rem; }
  .picker { grid-template-columns: 1.15fr 1fr; gap: 2rem; }
  .picker-layers { align-content: start; }
  .method-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .coach-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
}

@media (max-width: 420px) {
  .wordmark span { display: none; }
  .lang-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-abbr { display: inline; }
  .topnav { gap: 0.25rem; } /* the 44px language target carries its own space */
  .btn { font-size: 1.125rem; padding: 0.5rem 1rem; }
}
