/* ==========================================================================
   SUMABOX — design system
   Black canvas, white type, Apple-style layout.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --card: #161617;
  --card-2: #1d1d1f;
  --line: rgba(255, 255, 255, 0.14);
  --fg: #f5f5f7;
  --fg-2: #a1a1a6;
  --fg-3: #6e6e73;
  --link: #2997ff;
  --btn: #0071e3;
  --btn-hover: #0077ed;
  --glow: #ffb347;
  --glow-soft: rgba(255, 179, 71, 0.18);
  --nav-h: 44px;
  --sub-h: 52px;
  --w: 1024px;
  --w-wide: 1280px;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--sub-h) + 12px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body { min-height: 100vh; background: var(--bg); color: var(--fg); overflow-x: hidden; }
body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: #fff; color: #000; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: -60px; left: 12px; z-index: 300;
  padding: 10px 16px; background: #fff; color: #000; border-radius: 8px;
}
.skip:focus { top: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 22px; }
.container--wide { max-width: var(--w-wide); }
.center { text-align: center; }

.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--bg-2); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: 0.011em;
  color: var(--glow); margin-bottom: 8px;
}
.eyebrow--plain { color: var(--fg-2); }

.h-hero {
  font-size: clamp(56px, 9vw, 112px); line-height: 1.04; font-weight: 600;
  letter-spacing: -0.03em;
}
.h-1 {
  font-size: clamp(40px, 6vw, 80px); line-height: 1.05; font-weight: 600;
  letter-spacing: -0.028em;
}
.h-2 {
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 600;
  letter-spacing: -0.025em;
}
.h-3 {
  font-size: clamp(24px, 3vw, 32px); line-height: 1.125; font-weight: 600;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(19px, 2.4vw, 28px); line-height: 1.2; font-weight: 400;
  letter-spacing: 0.004em; color: var(--fg-2); max-width: 760px;
}
.center .lede { margin-left: auto; margin-right: auto; }
.lede strong, .h-1 span.dim, .h-2 span.dim { color: var(--fg); font-weight: 600; }
.dim { color: var(--fg-2); }
.body { color: var(--fg-2); font-size: 19px; line-height: 1.42; max-width: 640px; }
.center .body { margin-left: auto; margin-right: auto; }
.small { font-size: 14px; line-height: 1.43; color: var(--fg-3); }

.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }

/* ---------- Links and buttons ---------- */
.cta-link { color: var(--link); font-size: 21px; letter-spacing: 0.011em; display: inline-flex; align-items: baseline; gap: 4px; }
.cta-link::after { content: "\203A"; font-size: 1.2em; line-height: 1; transition: transform 0.25s var(--ease); }
.cta-link:hover { text-decoration: underline; }
.cta-link:hover::after { transform: translateX(3px); }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 980px;
  font-size: 17px; line-height: 1.18; font-weight: 400; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn--ghost:hover { background: #fff; color: #000; }
.btn--sm { padding: 6px 14px; font-size: 14px; }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }
.left .btn-row, .btn-row--left { justify-content: flex-start; }

/* ---------- Global nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  background: rgba(22, 22, 23, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav__inner {
  max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: 0.22em; }
.nav__logo svg { width: 16px; height: 16px; }
.nav__links { display: flex; align-items: center; gap: 0; flex: 1; justify-content: space-evenly; margin-left: 28px; }
.nav__links a { font-size: 12px; letter-spacing: -0.01em; color: rgba(245, 245, 247, 0.8); transition: color 0.2s; padding: 0 6px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-right: -12px; position: relative; }
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 1px; background: #f5f5f7;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s;
}
.nav__toggle span:nth-child(1) { top: 20px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.nav__sheet {
  position: fixed; z-index: 190; inset: var(--nav-h) 0 0 0; background: rgba(0, 0, 0, 0.97); overflow-y: auto;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 28px 32px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.nav.is-open + .nav__sheet { opacity: 1; visibility: visible; transform: none; }
.nav__sheet a {
  display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.01em;
  padding: 12px 0; border-bottom: 1px solid var(--line); color: rgba(245, 245, 247, 0.92);
}

/* ---------- Sub nav (product page) ---------- */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 150; height: var(--sub-h);
  background: rgba(22, 22, 23, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.subnav__inner {
  max-width: 1024px; margin: 0 auto; padding: 0 22px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.subnav__title { font-size: 21px; font-weight: 600; letter-spacing: 0.011em; }
.subnav__right { display: flex; align-items: center; gap: 24px; }
.subnav__links { display: flex; gap: 24px; }
.subnav__links a { font-size: 12px; color: rgba(245, 245, 247, 0.72); transition: color 0.2s; }
.subnav__links a:hover, .subnav__links a.is-active { color: #fff; }

/* ---------- Page offset ---------- */
main { padding-top: var(--nav-h); }
main.has-hero { padding-top: 0; }

/* ---------- Hero (video) ---------- */
.hero {
  position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; display: flex; justify-content: center; text-align: center; background: #000;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pan, 50%) 50%; background: #000;
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0) 72%, rgba(0,0,0,0.45) 100%);
}
.hero__copy { position: relative; z-index: 1; padding: calc(var(--nav-h) + 5vh) 22px 0; max-width: 980px; }
.hero__sub { margin-top: 10px; font-size: clamp(21px, 2.8vw, 32px); line-height: 1.15; letter-spacing: 0.004em; }
.hero__copy .btn-row { margin-top: 26px; }
.hero__scroll {
  position: absolute; z-index: 1; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(255,255,255,0.55); border-radius: 14px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: scrollcue 1.8s infinite var(--ease);
}
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Statement (word-by-word highlight) ---------- */
.statement { padding: 160px 0; }
.statement p {
  font-size: clamp(30px, 5vw, 64px); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em;
  max-width: 980px; margin: 0 auto; text-align: left;
}
.statement .w { color: #3a3a3c; transition: color 0.35s; }
.statement .w.on { color: var(--fg); }

/* ---------- Spotlight (product glow) ---------- */
.spotlight { position: relative; text-align: center; overflow: hidden; padding: 120px 0 0; }
.spotlight__img { margin: 40px auto 0; width: min(760px, 92vw); aspect-ratio: 1; position: relative; }
.spotlight__img img { width: 100%; height: 100%; object-fit: contain; }
.spotlight__img::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow-soft), transparent 70%);
}
.spotlight__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, #000); pointer-events: none; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card);
  min-height: 600px; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 56px 32px 0;
}
.tile--wide { grid-column: 1 / -1; min-height: 640px; }
.tile--glow { background: radial-gradient(120% 90% at 50% 100%, rgba(255, 170, 60, 0.28), #0d0a07 60%, #000 100%); }
.tile--light { background: #f5f5f7; color: #1d1d1f; }
.tile--light .tile__text { color: #6e6e73; }
.tile__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--glow); margin-bottom: 8px; }
.tile__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; }
.tile__text { margin-top: 10px; font-size: 19px; line-height: 1.3; color: var(--fg-2); max-width: 420px; }
.tile .cta-link { margin-top: 14px; font-size: 19px; }
.tile__media { margin-top: auto; width: 100%; padding-top: 32px; display: flex; justify-content: center; }
.tile__media img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 18px 18px 0 0; }
.tile__media--full { margin: auto -32px 0; width: calc(100% + 64px); padding-top: 32px; }
.tile__media--full img { border-radius: 0; max-height: none; height: 100%; width: 100%; object-fit: cover; }

/* ---------- Lineup cards ---------- */
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lineup--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius);
  padding: 40px 32px 32px; min-height: 520px; display: flex; flex-direction: column; text-align: center;
}
.card__badge {
  align-self: center; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--glow); margin-bottom: 8px;
}
.card__name { font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.card__desc { margin-top: 8px; font-size: 17px; color: var(--fg-2); line-height: 1.3; }
.card__links { margin-top: 14px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.card__links .cta-link { font-size: 17px; }
.card__media { margin-top: auto; padding-top: 28px; display: grid; place-items: center; }
.card__media img { width: 100%; max-width: 300px; }
.card--soon { background: linear-gradient(180deg, #121213, #0a0a0b); border: 1px dashed rgba(255,255,255,0.14); }
.card--soon .card__badge { color: var(--fg-3); }
.card--soon .card__name { color: var(--fg-2); }
.ghost-cube {
  width: 150px; aspect-ratio: 1; border-radius: 28px; margin: 0 auto;
  background: linear-gradient(145deg, #1c1c1e, #0e0e0f); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}
.ghost-cube::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 600; color: #333336; }
.card--hero { grid-column: span 1; }
.card--hero .card__media img { max-width: 340px; }
.card--feature { grid-column: 1 / -1; flex-direction: row; text-align: left; align-items: center; gap: 40px; min-height: 560px; padding: 56px; background: radial-gradient(90% 120% at 80% 50%, rgba(255,170,60,0.22), #0d0a07 55%, #000 100%); }
.card--feature .card__badge { align-self: flex-start; }
.card--feature .card__links { justify-content: flex-start; }
.card--feature .card__name { font-size: clamp(36px, 5vw, 64px); }
.card--feature .card__desc { font-size: 21px; max-width: 420px; }
.card--feature .card__media { margin: 0; padding: 0; flex: 1; }
.card--feature .card__media img { max-width: 520px; }
.card--feature .card__copy { flex: 1; }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 36px 32px 40px; }
.feature__icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--glow); }
.feature h3 { font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: -0.015em; }
.feature p { margin-top: 10px; color: var(--fg-2); font-size: 17px; line-height: 1.42; }

/* ---------- Scroll sequence ---------- */
.seq { position: relative; height: 420vh; }
.seq__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: start center; }
.seq__canvas {
  width: min(1280px, 100vw, calc((100svh - 330px) * 16 / 9)); height: auto; aspect-ratio: 16 / 9;
  margin-top: calc(var(--nav-h) + var(--sub-h) + 8px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}
.seq__copy { position: absolute; inset: auto 0 12vh 0; text-align: center; padding: 0 22px; pointer-events: none; }
.seq__step { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.seq__step.is-on { opacity: 1; transform: none; }
.seq__step h2 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.seq__step p { margin-top: 10px; font-size: clamp(17px, 2vw, 24px); color: var(--fg-2); }
.seq__copy { height: 170px; }
.seq__progress { position: absolute; left: 50%; top: calc(var(--nav-h) + var(--sub-h) + 18px); width: 120px; margin-left: -60px; height: 2px; background: rgba(255,255,255,0.14); border-radius: 2px; overflow: hidden; }
.seq__bar { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

/* ---------- Specs ---------- */
.specs { border-top: 1px solid var(--line); max-width: 860px; margin: 56px auto 0; }
.spec { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 14px; font-weight: 600; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.04em; }
.spec dd { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: 0.011em; }
.spec dd.tba { color: var(--fg-3); font-weight: 400; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 21px; line-height: 1.2;
  font-weight: 600; letter-spacing: 0.011em; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--fg);
  transition: transform 0.35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .answer { padding: 0 48px 26px 0; color: var(--fg-2); font-size: 19px; line-height: 1.42; }
.faq .answer a { color: var(--link); }
.faq .answer a:hover { text-decoration: underline; }

/* ---------- Notify / forms ---------- */
.notify { max-width: 520px; margin: 36px auto 0; }
.notify__row { display: flex; gap: 10px; }
.field {
  width: 100%; height: 48px; padding: 0 20px; border-radius: 980px;
  background: #1d1d1f; border: 1px solid transparent; color: #fff; transition: border-color 0.2s, background 0.2s;
}
.field::placeholder { color: #86868b; }
.field:focus { outline: none; border-color: var(--link); background: #232325; }
.notify .btn { height: 48px; white-space: nowrap; }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; color: var(--fg-2); }
.form-msg.is-ok { color: #30d158; }
.form-msg.is-err { color: #ff453a; }

.form { display: grid; gap: 14px; max-width: 640px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fg-2); letter-spacing: 0; }
.form .field { border-radius: 14px; height: 52px; }
.form textarea.field { height: auto; min-height: 160px; padding: 14px 20px; resize: vertical; line-height: 1.4; }
.form select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #86868b 50%), linear-gradient(135deg, #86868b 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form .btn { justify-self: start; height: 52px; padding: 0 30px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 110px 0 60px; }
.page-head .h-1 { max-width: 900px; }
.page-head .lede { margin-top: 18px; }
.page-head.center .h-1, .page-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Two-column text ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split__media { border-radius: var(--radius); overflow: hidden; background: var(--card); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Info cards (support/contact) ---------- */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.info__card { background: var(--card); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.info__card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.17; }
.info__card p { color: var(--fg-2); font-size: 17px; line-height: 1.42; }
.info__card .cta-link { margin-top: auto; padding-top: 14px; font-size: 17px; }

/* ---------- Closing CTA ---------- */
.closing {
  position: relative; text-align: center; padding: 140px 0; overflow: hidden;
  background: radial-gradient(60% 80% at 50% 100%, rgba(255,170,60,0.22), transparent 70%), #000;
}

/* ---------- Footer ---------- */
.footer { background: #161617; color: #86868b; font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.footer__inner { max-width: 1024px; margin: 0 auto; padding: 20px 22px 24px; }
.footer__note { padding: 14px 0 18px; border-bottom: 1px solid #424245; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 22px 0 8px; }
.footer__cols h4 { font-size: 12px; font-weight: 600; color: #f5f5f7; margin-bottom: 8px; }
.footer__cols a { display: block; padding: 3px 0; color: #a1a1a6; }
.footer__cols a:hover { color: #f5f5f7; text-decoration: underline; }
.footer__bar { margin-top: 18px; padding-top: 16px; border-top: 1px solid #424245; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 8px; color: #f5f5f7; font-weight: 600; letter-spacing: 0.2em; }
.footer__brand svg { width: 14px; height: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal--scale { transform: scale(0.94); }
.reveal--scale.in { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .section { padding: 96px 0; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup > .card--feature { grid-column: 1 / -1; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 834px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .subnav__links { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .info { grid-template-columns: 1fr; }
  .card--feature { flex-direction: column; text-align: center; padding: 44px 24px 0; gap: 20px; }
  .card--feature .card__badge { align-self: center; }
  .card--feature .card__links { justify-content: center; }
  .card--feature .card__media { margin-top: auto; }
}

@media (max-width: 734px) {
  html { font-size: 16px; scroll-padding-top: calc(var(--nav-h) + var(--sub-h)); }
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .statement { padding: 96px 0; }
  .tiles, .lineup, .lineup--2, .features { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile--wide { min-height: 520px; padding: 44px 22px 0; }
  .tile__media--full { margin: auto -22px 0; width: calc(100% + 44px); }
  .card { min-height: 460px; }
  .spec { grid-template-columns: 1fr; gap: 6px; }
  .notify__row { flex-direction: column; }
  .notify .btn { width: 100%; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__copy { padding-top: calc(var(--nav-h) + 3vh); }
  .seq { height: 360vh; }
  .seq__canvas { width: 160vw; max-width: none; justify-self: start; margin-left: -14vw; margin-top: calc(var(--nav-h) + var(--sub-h) + 14vh); }
  .eyebrow { font-size: 19px; }
  .cta-link { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  .statement .w { color: var(--fg); }
}

/* ---------- Polish ---------- */
.lede, .h-hero, .h-1, .h-2, .h-3, .tile__title, .tile__text, .card__desc, .body { text-wrap: balance; }
.body, .feature p, .info__card p { text-wrap: pretty; }

/* The product photo has a warm near-black backdrop: fade its edges into the page */
img[src*="sumabox-glow"] {
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}

.spotlight { padding-bottom: 40px; }
.tile--wide.tile--glow { background: #050505; }
.tile__media img:not([src*="sumabox-glow"]) {
  -webkit-mask-image: radial-gradient(ellipse 78% 88% at 50% 58%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 88% at 50% 58%, #000 55%, transparent 100%);
}
.tile__media--full img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 100%) !important;
  mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 100%) !important;
}

/* Portrait phones: keep the whole cube in view under the headline */
@media (max-width: 734px) and (orientation: portrait) {
  .hero__video { top: auto; height: 64%; }
  .hero__shade { background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.5) 100%); }
}

/* Desktop: headline on top, film directly beneath it so the lit cube never crosses the text */
@media (min-width: 735px) {
  .hero { display: flex; flex-direction: column; align-items: center; height: auto; min-height: 0; overflow: visible; padding-bottom: 24px; }
  .hero__copy { order: -1; padding-top: calc(var(--nav-h) + 3.5vh); padding-bottom: 6px; }
  .hero .h-hero { font-size: clamp(56px, 7vw, 92px); }
  .hero__video {
    position: relative; inset: auto; display: block;
    width: min(100%, max(640px, calc((100svh - 300px) * 16 / 9))); height: auto; aspect-ratio: 16 / 9;
    margin-top: -1vh;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  }
  .hero__shade, .hero__scroll { display: none; }
}
