/* Direction B — Night Session
   Dark and cinematic. One luminous accent, the ambient color, which the visitor can change. */

:root {
  --bg: oklch(0.14 0.004 260);
  --bg-2: oklch(0.185 0.005 260);
  --bg-3: oklch(0.23 0.006 260);
  --ink: oklch(0.955 0.004 90);
  --ink-2: oklch(0.76 0.006 260);
  --ink-3: oklch(0.64 0.006 260);
  --line: oklch(1 0 0 / 0.1);
  --line-2: oklch(1 0 0 / 0.2);
  --glow: #ffa23a;
  --glow-ink: #140c04;

  --font: 'Mona Sans', ui-sans-serif, system-ui, sans-serif;
  --t-display: clamp(2.75rem, 0.9rem + 6.2vw, 6rem);
  --t-h2: clamp(2rem, 1rem + 3.4vw, 4rem);
  --t-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-micro: 0.8125rem;

  --gutter: clamp(16px, 3.6vw, 56px);
  --maxw: 1440px;
  --section: clamp(96px, 14vh, 200px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-canvas: 1;
  --z-overlay: 2;
  --z-nav: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--glow); color: var(--glow-ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 640; font-stretch: 125%; text-wrap: balance; }
h2 { font-size: var(--t-h2); line-height: 1; letter-spacing: -0.025em; }
h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px var(--glow), 0 0 2px var(--glow); transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--glow); color: var(--glow-ink);
  font-weight: 600; font-stretch: 112%; font-size: 0.9375rem; letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 0%, transparent);
  transition: background-color 0.6s var(--ease), box-shadow 0.5s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { box-shadow: 0 8px 40px -8px color-mix(in srgb, var(--glow) 70%, transparent); }
.btn:active { transform: scale(0.98); }
.btn--small { height: 38px; padding: 0 16px; font-size: var(--t-small); }
.btn--ghost { background: oklch(1 0 0 / 0.06); color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: oklch(1 0 0 / 0.1); box-shadow: none; }
.link { font-weight: 560; font-stretch: 112%; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link::after { content: ''; width: 18px; height: 1px; background: currentColor; transition: width 0.4s var(--ease); }
.link:hover::after { width: 30px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-nav); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; padding: 0 var(--gutter); transition: background-color 0.5s var(--ease), backdrop-filter 0.5s; }
.nav.is-scrolled { background: color-mix(in oklch, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-stretch: 125%; letter-spacing: 0.14em; font-size: 0.9375rem; }
.mark { width: 30px; height: auto; fill: currentColor; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: var(--t-small); font-weight: 500; font-stretch: 110%; }
.nav__links a { text-decoration: none; color: var(--ink-2); transition: color 0.25s; }
.nav__links a:hover { color: var(--ink); }
.nav .btn { justify-self: end; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: var(--z-canvas); }
.hero__canvas canvas { cursor: grab; }
.hero__veil { position: absolute; inset: auto 0 0; height: 46%; z-index: var(--z-overlay); pointer-events: none; background: linear-gradient(to top, var(--bg) 8%, color-mix(in oklch, var(--bg) 70%, transparent) 45%, transparent); }
.hero__content { position: absolute; inset: auto 0 0; z-index: var(--z-overlay); padding: 0 var(--gutter) clamp(28px, 6vh, 64px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 18px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__run { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-micro); font-weight: 560; font-stretch: 112%; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hero__title { grid-column: 1 / span 8; font-size: var(--t-display); line-height: 0.95; letter-spacing: -0.03em; font-weight: 680; align-self: end; }
.hero__foot { grid-column: 9 / span 4; align-self: end; display: grid; gap: 22px; }
.hero__foot p { color: var(--ink-2); max-width: 38ch; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .hero__title[data-reveal] { transition-delay: 0.12s; }
.js .hero__foot[data-reveal] { transition-delay: 0.3s; }

/* ---------- shift ---------- */
.shift { position: relative; height: 360vh; }
.shift__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.shift__canvas { position: absolute; inset: 0; z-index: var(--z-canvas); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent); }
.shift__readout { position: absolute; z-index: var(--z-overlay); top: calc(68px + clamp(16px, 5vh, 56px)); left: var(--gutter); right: var(--gutter); display: grid; gap: 14px; pointer-events: none; }
.shift__rpm { display: flex; align-items: baseline; gap: 14px; font-stretch: 125%; font-weight: 700; font-size: clamp(3.25rem, 1.6rem + 6vw, 6.5rem); line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--rpm-c, var(--ink)); transition: color 0.3s var(--ease); }
.shift__rpm small { font-size: var(--t-small); letter-spacing: 0.1em; font-weight: 600; color: var(--ink-2); text-transform: uppercase; }
.shift__bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 520px; }
.shift__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--rpm-c, var(--ink)); transition: background-color 0.3s var(--ease); }
.shift__copy { position: absolute; z-index: var(--z-overlay); left: var(--gutter); bottom: clamp(32px, 8vh, 96px); width: min(440px, calc(100% - var(--gutter) * 2)); pointer-events: none; }
.phase { display: grid; gap: 12px; }
.phase + .phase { margin-top: 32px; }
.phase h2 { font-size: clamp(1.75rem, 1rem + 2.2vw, 3rem); }
.phase p { color: var(--ink-2); max-width: 36ch; }
.js .phase { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .phase + .phase { margin-top: 0; }
.js .phase.is-on { opacity: 1; transform: none; }

/* ---------- still ---------- */
.still { position: relative; height: 110vh; overflow: hidden; display: grid; align-items: end; }
.still__img { position: absolute; inset: 0; margin: 0; }
.still__img img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.still::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, transparent 22%, transparent 55%, var(--bg) 100%); pointer-events: none; }
.still__line { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(40px, 7vh, 88px); font-stretch: 125%; font-weight: 600; font-size: clamp(1.75rem, 1rem + 2.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }

/* ---------- room ---------- */
.room { position: relative; padding: var(--section) var(--gutter) clamp(64px, 10vh, 120px); overflow: hidden; }
.room::before { content: ''; position: absolute; left: 50%; bottom: 8%; width: 90vw; height: 50vh; transform: translateX(-50%); background: radial-gradient(ellipse at center, color-mix(in srgb, var(--glow) 16%, transparent), transparent 65%); pointer-events: none; transition: background 0.8s var(--ease); }
.room__head { position: relative; max-width: 760px; margin: 0 auto; text-align: center; display: grid; gap: 20px; justify-items: center; }
.room__head p { color: var(--ink-2); max-width: 48ch; }
.room__canvas { position: relative; height: clamp(340px, 62vh, 660px); margin: clamp(8px, 2vh, 24px) calc(var(--gutter) * -1) 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent); }
.swatches { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.swatches button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 12px; border-radius: 999px; background: oklch(1 0 0 / 0.04); border: 1px solid var(--line); cursor: pointer; font-size: var(--t-small); transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.swatches button i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 70%, transparent); }
.swatches button b { font-weight: 560; font-stretch: 110%; }
.swatches button:hover { border-color: var(--line-2); }
.swatches button[aria-checked='true'] { border-color: var(--glow); background: color-mix(in srgb, var(--glow) 10%, transparent); }

/* ---------- modules ---------- */
.modules { padding: var(--section) var(--gutter); }
.modules__head { max-width: var(--maxw); margin: 0 auto clamp(40px, 7vh, 72px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 18px; align-items: end; }
.modules__head h2 { grid-column: 1 / span 7; }
.modules__head p { grid-column: 9 / span 4; color: var(--ink-2); }
.modules__row { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.mod { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; background: var(--bg-2); border-radius: 14px; overflow: hidden; }
.mod figure { margin: 0; aspect-ratio: 4 / 3; background: radial-gradient(ellipse 70% 60% at 50% 60%, var(--bg-3), transparent 70%); }
.mod:first-child figure { aspect-ratio: auto; min-height: 100%; }
.mod img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.mod img.is-in { opacity: 1; }
.mod__text { display: grid; gap: 6px; padding: 20px 22px 22px; border-top: 1px solid var(--line); }
.mod__text header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.mod__text > p { color: var(--ink-2); font-size: var(--t-small); }
.mod__price { font-stretch: 112%; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mod--soon .mod__price { color: var(--ink-3); font-weight: 500; font-size: var(--t-small); }

/* ---------- touch ---------- */
.touch { padding: 0 var(--gutter) var(--section); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.touch__img { grid-column: 1 / span 5; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.touch__img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) brightness(0.9); }
.touch__copy { grid-column: 7 / span 6; display: grid; gap: clamp(28px, 5vh, 48px); }
.touch__list { list-style: none; margin: 0; padding: 0; }
.touch__list li { display: grid; grid-template-columns: minmax(0, 13em) 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.touch__list li:last-child { border-bottom: 1px solid var(--line); }
.touch__list b { font-weight: 600; font-stretch: 112%; }
.touch__list span { color: var(--ink-2); }

/* ---------- specs ---------- */
.specs { padding: var(--section) var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; border-top: 1px solid var(--line); }
.specs h2 { margin-bottom: clamp(32px, 6vh, 56px); }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.spec-table th, .spec-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-stretch: 125%; font-weight: 640; font-size: var(--t-h3); padding-bottom: 20px; border-bottom-color: var(--line-2); }
.spec-table tbody th { color: var(--ink-3); font-weight: 500; width: 16%; }
.spec-table td { color: var(--ink); width: 28%; }

/* ---------- reserve ---------- */
.reserve { position: relative; overflow: hidden; padding: clamp(120px, 20vh, 240px) var(--gutter); }
.reserve__bg { position: absolute; left: 50%; top: 58%; width: min(1100px, 120vw); height: 60%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, color-mix(in srgb, var(--glow) 22%, transparent), transparent 62%); filter: blur(10px); transition: background 0.8s var(--ease); }
.reserve__inner { position: relative; max-width: 880px; margin: 0 auto; display: grid; justify-items: center; text-align: center; gap: 22px; }
.reserve__inner h2 { font-size: var(--t-display); letter-spacing: -0.03em; line-height: 0.95; }
.reserve__lede { color: var(--ink-2); max-width: 46ch; }
.run { display: grid; grid-template-columns: repeat(50, 1fr); gap: 5px; width: min(100%, 680px); margin-top: 18px; }
.run i { aspect-ratio: 1; border-radius: 50%; background: oklch(1 0 0 / 0.09); scale: 0.8; transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.run i.on { background: var(--glow); box-shadow: 0 0 6px color-mix(in srgb, var(--glow) 80%, transparent); }
.run i.you { background: var(--ink); box-shadow: 0 0 10px var(--ink); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.run__label { font-size: var(--t-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.run__label b { color: var(--ink); font-weight: 600; }
.reserve__form { display: flex; gap: 8px; width: min(100%, 520px); margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.reserve__form input { flex: 1 1 240px; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: oklch(1 0 0 / 0.05); outline: none; transition: border-color 0.2s; }
.reserve__form input::placeholder { color: var(--ink-3); }
.reserve__form input:focus { border-color: var(--glow); }
.reserve__form input[aria-invalid='true'] { border-color: #ff6b6b; }
.reserve__msg { flex-basis: 100%; min-height: 1.5em; font-size: var(--t-small); color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { padding: var(--section) var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; }
.faq h2 { grid-column: 1 / span 5; }
.faq__list { grid-column: 7 / span 6; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 560; font-stretch: 110%; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; margin-top: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 0 24px; max-width: 58ch; }

/* ---------- footer ---------- */
.foot { position: relative; padding: clamp(40px, 8vh, 96px) var(--gutter) 28px; overflow: hidden; }
.foot__big { position: relative; font-stretch: 125%; font-weight: 800; font-size: clamp(4rem, 19vw, 20rem); line-height: 0.8; letter-spacing: -0.02em; color: var(--bg-2); text-align: center; margin-bottom: clamp(24px, 5vh, 56px); }
.foot__big::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -0.18em; height: 0.3em; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--glow) 55%, transparent), transparent 70%); filter: blur(8px); transition: background 0.8s var(--ease); }
.foot__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--t-micro); color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; }
.foot__row nav { display: flex; gap: 20px; }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .hero__title { grid-column: 1 / -1; }
  .hero__foot { grid-column: 1 / span 8; }
  .modules__head h2, .modules__head p { grid-column: 1 / -1; }
  .modules__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mod:first-child { grid-column: 1 / -1; }
  .mod:first-child figure { aspect-ratio: 16 / 9; }
  .touch__img { grid-column: 1 / span 6; }
  .touch__copy { grid-column: 7 / span 6; }
  .faq h2, .faq__list { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --t-body: 1rem; }
  .hero__foot { grid-column: 1 / -1; }
  .hero__veil { height: 62%; }
  .shift__copy { bottom: 28px; }
  .still { height: 80vh; }
  .modules__row { grid-template-columns: minmax(0, 1fr); }
  .touch__img, .touch__copy { grid-column: 1 / -1; }
  .touch__img { aspect-ratio: 4 / 3; margin-bottom: 36px; }
  .touch__list li { grid-template-columns: 1fr; gap: 6px; }
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto !important; }
  .spec-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .spec-table th, .spec-table td { border: 0; padding: 2px 0; }
  .spec-table td::before { content: attr(data-l) ' '; color: var(--ink-3); }
  .run { grid-template-columns: repeat(25, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0ms !important; animation: none !important; }
}
