/* ==========================================================
   SECTIONS — one block per page section, in page order
   ========================================================== */

/* Shared section layout */
.section { display: flex; flex-direction: column; gap: 48px; padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.section__title { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.section__aside { max-width: 380px; font-size: 17px; color: var(--c-ink-2); }

.band { padding-block: var(--section-y); }
.band--dark   { background: var(--c-ink); color: #fff; }
.band--accent { background: var(--c-accent); color: #fff; }

/* --- Header --- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__logo { height: 26px; width: auto; }
.brand__logo--small { height: 22px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.nav a:not(.btn) { position: relative; padding: 4px 0; text-decoration: none; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Mobile menu (js/nav.js removes [hidden] from the toggle and adds .has-menu,
   so without JS the nav simply wraps as before). */
.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
  background: var(--c-surface);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  margin: -0.75px 0 0 -8px;
  background: var(--c-ink);
  transition: transform .3s var(--ease-out);
}
.nav-toggle span { transform: translateY(-3px); }
.nav-toggle span::before { margin: 0; left: 0; top: 0; transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span         { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(-90deg); }

@media (min-width: 601px) { .nav-toggle { display: none; } }
@media (max-width: 600px) {
  .site-header.has-menu { position: relative; flex-wrap: nowrap; }
  .site-header.has-menu .nav {
    position: absolute;
    z-index: 20;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: var(--radius-m);
    background: var(--c-surface);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .site-header.has-menu.is-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s, transform .25s var(--ease-out);
  }
  .site-header.has-menu .nav a:not(.btn) { padding: 12px; font-size: 17px; }
  .site-header.has-menu .nav a:not(.btn)::after { display: none; }
  .site-header.has-menu .nav .btn { justify-content: center; margin-top: 8px; }
}

/* --- Hero --- */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 72px;
}
.hero__copy {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.hero__meta, .hero__actions, .hero__status { display: flex; flex-wrap: wrap; align-items: center; }
.hero__meta    { gap: 12px; }
.hero__actions { gap: 14px; margin-top: auto; }
.hero__status  { gap: 28px; }

.hero__figure { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.hero__stage {
  position: relative;
  height: clamp(440px, 48vw, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Top padding reserves a clear band below the caption/hint labels */
  padding: 72px 22px 32px;
  border-radius: var(--radius-l);
  background: var(--c-surface);
  overflow: hidden;
}
.hero__caption, .hero__hint { position: absolute; top: 20px; }
.hero__caption { left: 22px; }
.hero__hint    { right: 22px; }
/* Square crop of the 896×1200 photo (trims empty top/bottom).
   Hotspot --y values in index.html are % of this square frame. */
.hero__product { position: relative; height: 100%; max-width: 100%; aspect-ratio: 1 / 1; }
.hero__product img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; mix-blend-mode: multiply; }

/* Desktop: header + hero fill exactly one viewport (no scroll on first view).
   svh = the visible height after browser chrome / OS taskbar. */
@media (min-width: 1120px) and (min-height: 620px) {
  .site-header { height: var(--header-h); padding-block: 0; }
  .hero {
    flex-wrap: nowrap;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    max-height: 960px;
    padding-top: 12px;
    padding-bottom: 32px;
  }
  .hero .display { font-size: clamp(56px, min(8.4vw, 13svh), 136px); }
  .hero__copy   { gap: 20px; }
  .hero__figure { min-height: 0; }
  .hero__stage  { flex: 1 1 0; height: auto; min-height: 0; padding-top: 68px; }
  .hero__product { height: 100%; }
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--c-hot);
  color: var(--c-ink);
  font: 600 12px var(--font-sans);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform .25s var(--ease-spring), background .2s, color .2s;
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--c-hot);
  border-radius: 50%;
  animation: ping 2.2s ease-out infinite;
}
.hotspot:hover { transform: scale(1.18); }
.hotspot.is-active { background: var(--c-accent); color: #fff; }
.hotspot.is-active::before { border-color: var(--c-accent); }

.readout {
  display: flex;
  align-items: baseline;
  gap: 20px;
  min-height: 92px;
  padding: 20px 22px;
  border-radius: var(--radius-m);
  background: var(--c-ink);
  color: #fff;
}
.readout__num  { flex: none; color: var(--c-hot); }
.readout__body { display: flex; flex-direction: column; gap: 6px; color: #D6D6D2; }
.readout__body .label { color: #fff; }

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  border-block: 1.5px solid var(--c-ink);
  background: var(--c-hot);
}
.marquee__track {
  display: flex;
  width: max-content;
  padding-block: 16px;
  font-size: 15px;
  animation: marquee 38s linear infinite;
}
.marquee__track span { padding-inline: 28px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; margin-left: 56px; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --- Hardware options --- */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.option {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  background: var(--c-surface);
  transition: background .3s;
}
.option:hover { background: var(--c-surface-2); }
.option__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.option__pic {
  height: clamp(260px, 70vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.option__pic img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: transform .7s var(--ease-out);
}
.option:hover .option__pic img { transform: scale(1.05) rotate(-1.5deg); }
.option__title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.03em; }
.option__text  { color: var(--c-ink-3); }

/* --- Game --- */
.game { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.game__copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; }
.game__shot { flex: 1.4 1 520px; display: flex; flex-direction: column; gap: 12px; }
.game__caption { display: flex; justify-content: space-between; gap: 12px; }

.spec li { display: flex; gap: 20px; padding-block: 18px; border-top: 1px solid #444; }
.spec li:last-child { border-bottom: 1px solid #444; }
.spec__key { flex: none; width: 34px; color: var(--c-hot); }
.spec strong { font-weight: 600; }

.crt { position: relative; overflow: hidden; outline: none; /* focusable so a tap toggles the effect on touch */ border-radius: var(--radius-m); background: #000; }
.crt img { width: 100%; transition: transform .8s var(--ease-out), filter .4s; }
.crt::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 2px, transparent 2px 4px);
  opacity: 0;
  transition: opacity .35s;
}
.crt:focus-visible { outline: 2px solid var(--c-hot); outline-offset: 4px; }
.crt:is(:hover, :focus) img { transform: scale(1.035); filter: saturate(1.25) contrast(1.06); }
.crt:is(:hover, :focus)::after { opacity: 1; }

/* --- Demo (inside the #game band) --- */
.demo { display: flex; flex-direction: column; gap: 20px; margin-top: 72px; }
.demo__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
}
.demo__title { display: flex; flex-direction: column; gap: 12px; }
.demo__h { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.demo__text { max-width: 460px; font-size: 15px; color: var(--c-muted-inv); }
.demo__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - 160px);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #000;
}
.demo__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.demo__stage:hover .demo__poster { transform: scale(1.02); }
.demo__cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  /* dims the busy screenshot so the button and note stay readable */
  background: radial-gradient(ellipse at center, rgba(18, 18, 18, .55), rgba(18, 18, 18, .8));
}
.demo__note { color: var(--c-muted-inv); }
.demo__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.demo__stage.is-playing .demo__poster,
.demo__stage.is-playing .demo__cover { display: none; }
.demo__stage:fullscreen { max-height: none; border-radius: 0; }
.demo__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.demo__actions { display: flex; flex-wrap: wrap; gap: 20px; }
.demo__link {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.demo__link:hover { color: var(--c-hot); }

/* --- Editions --- */
.editions { flex-direction: row; flex-wrap: wrap; }
.editions__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 28px; }
.editions__stage {
  flex: 1 1 440px;
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--c-hot);
}
.editions__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edition-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px;
  animation: panel-in .45s var(--ease-out);
}
.edition-panel[hidden] { display: none; }
.edition-panel__card {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  background: var(--c-surface);
}
.edition-panel__card h3 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.edition-panel__card p  { color: var(--c-ink-3); }

/* --- Work with us --- */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.model {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 26px;
  border-radius: var(--radius-m);
  background: var(--c-surface);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.model:hover { background: var(--c-accent); color: #fff; }
.model__title { margin-top: auto; font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.model__text  { font-size: 15px; }
.model__cta   { margin-top: 12px; transition: transform .3s var(--ease-out); }
.model:hover .model__cta { transform: translateX(6px); }

/* --- Studio --- */
.studio { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
.studio__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 28px; }
.studio__pic { flex: 1 1 480px; min-height: 420px; border-radius: var(--radius-l); overflow: hidden; }
.studio__pic img { width: 100%; height: 100%; object-fit: cover; }

.caps { border-bottom: 1.5px solid var(--c-ink); }
.cap { display: flex; align-items: center; gap: 20px; padding-block: 20px; border-top: 1.5px solid var(--c-ink); }
.cap strong { display: block; font-size: 20px; font-weight: 600; }
.cap > span:last-child { font-size: 15px; color: var(--c-ink-3); }
.cap__plus {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-accent);
  position: relative;
  color: transparent;
  font-size: 0; /* hide the text "+": glyph isn't optically centred, so it wobbles when rotated */
  transition: transform .5s var(--ease-spring);
}
/* Geometric "+" drawn from two bars, exactly centred in the circle */
.cap__plus::before, .cap__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: #fff;
}
.cap__plus::after { transform: rotate(90deg); }
.cap:hover .cap__plus { transform: rotate(90deg); }

/* --- Contact --- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.contact__intro { display: flex; flex-direction: column; gap: 24px; }
.display--contact { font-size: clamp(44px, 6vw, 88px); line-height: .95; }
.contact__direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .5);
  font-size: 17px;
}
.contact__direct strong { font-size: 20px; font-weight: 600; }
.contact__form { flex: 1.3 1 480px; }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; }
.form__error { padding: 12px 16px; border-radius: var(--radius-s); background: var(--c-hot); color: var(--c-ink); }

.form-done {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 40px;
  border-radius: var(--radius-l);
  background: var(--c-surface);
  color: var(--c-ink);
}
.form-done[hidden] { display: none; }
.form-done__title { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.form-done__text  { margin-top: 12px; font-size: 18px; color: var(--c-ink-3); }

/* --- Footer --- */
.site-footer { padding-block: 40px; background: var(--c-ink); color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
