/* ==========================================================
   Sushi Pro Max — keynote parody one-pager
   Mobile-first. Black and white, with colour only for the fish.
   ========================================================== */

:root {
  --black: #000;
  --ink: #0b0b0c;
  --white: #fff;
  --paper: #f5f5f7;
  --grey-1: #1d1d1f;
  --grey-2: #424245;
  --grey-3: #86868b;
  --grey-4: #d2d2d7;
  --accent: #f58a6b;          /* current finish, set from JS */
  --radius: 22px;
  --gutter: 20px;
  --maxw: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--white); color: var(--black); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 640px; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 12px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent);
}
.h-md  { font-size: 22px; font-weight: 700; margin: 0 0 20px; letter-spacing: -.01em; }
.h-xl  { font-size: clamp(36px, 9vw, 80px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 0 0 20px; }
.h-xxl { font-size: clamp(56px, 17vw, 168px); line-height: .95; font-weight: 800; letter-spacing: -.05em; margin: 0 0 32px; }
.lead  { font-size: clamp(19px, 2.6vw, 26px); line-height: 1.35; font-weight: 500; color: var(--grey-3); margin: 0 0 32px; max-width: 34ch; }
.fine  { font-size: 13px; color: var(--grey-3); margin: 16px 0 0; }
sup { font-size: .6em; line-height: 0; }
sup a { text-decoration: none; color: var(--grey-3); }
sup a:hover { color: var(--accent); }

/* Placeholder content that the organisers still need to supply */
.tbd {
  display: inline-block;
  border: 1px dashed currentColor;
  border-radius: 8px;
  padding: 1px 8px;
  opacity: .75;
}
.tbd-note {
  display: inline-block; font-size: 14px; font-weight: 600;
  border: 1px dashed currentColor; border-radius: 999px; padding: 4px 12px;
  margin: 0 0 24px; opacity: .8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border: 0; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn--small { min-height: 34px; padding: 6px 14px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--block { width: 100%; }
.section--light .btn, .omt .btn:not(.btn--ghost) { background: var(--black); color: var(--white); }
.omt .btn:not(.btn--ghost) { background: var(--white); color: var(--black); }
.link-arrow { color: var(--accent); text-decoration: none; font-weight: 500; font-size: 17px; }
.link-arrow::after { content: " ›"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: 52px; display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand__mark { width: 22px; height: 22px; color: var(--white); }
.brand__name { font-size: 16px; white-space: nowrap; }
.nav__links { display: none; gap: 26px; margin-left: auto; font-size: 13px; }
.nav__links a { text-decoration: none; color: var(--grey-4); }
.nav__links a:hover { color: var(--white); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang select {
  appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.lang select option { color: #000; }

@media (min-width: 820px) {
  .nav__links { display: flex; }
  .nav__right { margin-left: 26px; }
}

/* ---------- Roll illustration ---------- */
.roll { width: 100%; height: auto; }
.roll__nori  { fill: #141414; stroke: #2b2b2b; stroke-width: 2; }
.roll__rice  { fill: #fbfbf8; }
.roll__grains ellipse { fill: #e9e8e2; }
.roll__fill  { fill: var(--accent); transition: fill .6s var(--ease); }
.roll__shine { fill: rgba(255,255,255,.35); }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100svh - 52px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 56px var(--gutter) 40px;
  background: radial-gradient(ellipse at 50% 90%, rgba(255,255,255,.08), transparent 60%), var(--black);
}
.hero__title {
  margin: 0;
  font-size: clamp(64px, 20vw, 200px); line-height: .9; font-weight: 800; letter-spacing: -.06em;
  background: linear-gradient(180deg, #fff 30%, #8a8a8f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__tagline { font-size: clamp(24px, 5vw, 40px); font-weight: 600; margin: 18px 0 8px; letter-spacing: -.02em; }
.hero__meta { color: var(--grey-3); font-size: 17px; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero__ctas { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__roll { width: min(62vw, 300px); margin-top: 48px; }
.roll--hero { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 600px) {
  .hero__ctas { flex-direction: row; gap: 28px; }
}

/* ---------- Statement (sticky scroll reveal) ---------- */
.statement { height: 260vh; position: relative; }
.statement__sticky {
  position: sticky; top: 52px; height: calc(100svh - 52px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--gutter); overflow: hidden;
}
.statement__line {
  margin: 0; font-size: clamp(40px, 11vw, 112px); font-weight: 800; letter-spacing: -.045em; line-height: 1;
  opacity: .12; transition: opacity .5s var(--ease), transform .5s var(--ease);
  transform: translateY(12px);
}
.statement__line.is-on { opacity: 1; transform: none; }
.statement__roll {
  width: min(70vw, 360px); margin: 32px 0;
  transform: scale(var(--s, .5)) rotate(var(--r, 0deg));
  opacity: var(--o, .3);
  will-change: transform;
}
.statement__sub {
  margin: 0; max-width: 30ch; font-size: clamp(18px, 2.4vw, 24px); color: var(--grey-3); font-weight: 500;
  opacity: 0; transition: opacity .6s var(--ease);
}
.statement__sub.is-on { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--light { background: var(--paper); color: var(--grey-1); }
.section--light .lead { color: var(--grey-2); }
.section--light .eyebrow { color: var(--grey-2); }
@media (min-width: 820px) { .section { padding: 140px 0; } }

/* Chip */
.chip__visual { display: flex; justify-content: center; margin: 24px 0 64px; isolation: isolate; }
.chip__die {
  width: 180px; height: 180px; border-radius: 34px;
  background: linear-gradient(145deg, #2a2a2c, #0d0d0e);
  box-shadow: 0 0 0 6px #e4e4e8, 0 0 0 8px #c9c9cf, 0 40px 80px rgba(0,0,0,.25);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.chip__die::before {
  content: ""; position: absolute; inset: -22px; border-radius: 44px;
  background:
    repeating-linear-gradient(90deg, #b9b9c0 0 4px, transparent 4px 14px) top / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, #b9b9c0 0 4px, transparent 4px 14px) bottom / 100% 10px no-repeat,
    repeating-linear-gradient(0deg, #b9b9c0 0 4px, transparent 4px 14px) left / 10px 100% no-repeat,
    repeating-linear-gradient(0deg, #b9b9c0 0 4px, transparent 4px 14px) right / 10px 100% no-repeat;
  z-index: -1;
}
.chip__logo { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.chip__label { font-size: 13px; letter-spacing: .4em; color: #aaa; margin-top: 6px; padding-left: .4em; }

.stats { display: grid; gap: 28px; margin-top: 24px; }
.stat { border-top: 1px solid var(--grey-4); padding-top: 18px; }
.stat__num { display: block; font-size: clamp(44px, 10vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat__label { color: var(--grey-2); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }

/* Spec cards */
.grid { display: grid; gap: 14px; margin-top: 40px; }
.card {
  background: var(--grey-1); border-radius: var(--radius); padding: 28px 24px;
}
.card__icon { display: block; font-size: 30px; margin-bottom: 18px; color: var(--accent); }
.card h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--grey-3); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* Finishes */
.finishes { text-align: center; }
.finishes .lead { margin-left: auto; margin-right: auto; }
.finishes__stage { width: min(72vw, 320px); margin: 24px auto 8px; }
.roll--finish { filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); transition: transform .6s var(--ease); }
.finishes__name { font-weight: 600; font-size: 20px; margin: 22px 0 18px; min-height: 1.5em; }
.swatches { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--grey-1); }
.swatch:hover { transform: scale(1.1); }

/* Compare */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 32px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 12px; border-bottom: 1px solid #2a2a2c; vertical-align: top; }
.compare thead th { font-size: 17px; font-weight: 700; border-bottom-color: #555; }
.compare tbody th { color: var(--grey-3); font-weight: 500; width: 22%; }
.compare .is-max { color: var(--white); font-weight: 600; }
.compare thead .is-max { color: var(--accent); }
.compare td:not(.is-max) { color: var(--grey-4); }

/* Event facts */
.facts { display: grid; gap: 0; margin: 0; }
.fact { border-top: 1px solid var(--grey-4); padding: 20px 0; }
.fact dt { font-size: 14px; font-weight: 600; color: var(--grey-3); margin-bottom: 4px; }
.fact dd { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.fact .tbd { font-size: 16px; font-weight: 500; margin-top: 6px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }

/* Speakers */
.speakers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.speaker__ph {
  aspect-ratio: 1; border-radius: 50%; background: var(--grey-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 800; color: var(--grey-2); margin-bottom: 14px;
}
.speaker h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.speaker p { margin: 0; font-size: 14px; color: var(--grey-3); }
@media (min-width: 820px) { .speakers { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* Agenda */
.agenda { list-style: none; padding: 0; margin: 0; }
.agenda li { display: flex; gap: 18px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--grey-4); font-size: clamp(19px, 2.6vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.agenda__time { flex: none; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--grey-2); }

/* One more thing */
.omt { padding: 140px 0; text-align: center; background: var(--black); }
.omt__title { font-size: clamp(40px, 10vw, 96px); font-weight: 800; letter-spacing: -.045em; margin: 0 0 32px; }
.omt__reveal { margin-top: 56px; animation: rise .9s var(--ease) both; }
.omt__reveal .lead { margin: 0 auto 32px; }
.omt__big {
  font-size: clamp(96px, 30vw, 280px); font-weight: 800; letter-spacing: -.06em; line-height: .9; margin: 0 0 24px;
  background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* Form */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 14px; font-weight: 600; color: var(--grey-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--grey-4); border-radius: 12px; background: var(--white); color: var(--grey-1);
  font-size: 17px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--grey-1); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.field input[aria-invalid="true"] { border-color: #d70015; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-ok { color: #1b7f3b; }
.form__status.is-demo { color: #9a6700; }
.form__status.is-err { color: #d70015; }

/* Footnotes */
.footnotes { padding-top: 72px; padding-bottom: 56px; border-top: 1px solid #222; }
.fn-list {
  margin: 0; padding-left: 22px; font-size: 12.5px; line-height: 1.55; color: var(--grey-3);
  columns: 1; column-gap: 40px;
}
.fn-list li { margin-bottom: 10px; break-inside: avoid; }
.fn-list li:target { color: var(--white); }
@media (min-width: 760px) { .fn-list { columns: 2; } }

/* Footer */
.footer { padding: 32px 0 48px; border-top: 1px solid #222; font-size: 13px; color: var(--grey-3); }
.footer p { margin: 0 0 6px; }
.footer__brand { color: var(--white); font-weight: 700; font-size: 15px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .roll--hero { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .statement { height: auto; }
  .statement__sticky { position: static; height: auto; padding: 120px var(--gutter); }
  .statement__line, .statement__sub { opacity: 1; transform: none; }
  .statement__roll { transform: none; opacity: 1; }
  .omt__reveal { animation: none; }
}
