/* ==========================================================================
   Design study — shared styles
   A page built in the visual idiom of a modern consumer-hardware site:
   translucent chrome, oversized display type, full-bleed alternating
   light/dark sections, and a dense multi-column footer.
   Original markup, copy and CSS-drawn artwork throughout.
   ========================================================================== */

/* ── Tokens ──────────────────────────────────────────────────────────── */
:root {
  --ink:        #1d1d1f;
  --ink-soft:   #424245;
  --ink-muted:  #6e6e73;
  --blue:       #0066cc;
  --blue-dark:  #2997ff;
  --hairline:   #d2d2d7;
  --hairline-d: rgba(255,255,255,.14);
  --bg:         #fbfbfd;
  --tile:       #f5f5f7;
  --black:      #000;

  --nav-h: 48px;
  --promo-h: 44px;
  --shell: 1024px;      /* content rail for nav + footer  */
  --tileshell: 1440px;  /* content rail for tile grid     */

  --ease: cubic-bezier(.28,.11,.32,1);
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
          "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
sup { font-size: .6em; vertical-align: super; line-height: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.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-link {
  position: absolute; left: 50%; transform: translate(-50%, -140%);
  z-index: 999; margin-top: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px;
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ── Shared link style ("Learn more ›") ──────────────────────────────── */
.links { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: baseline; }
.link {
  color: var(--blue);
  font-size: 21px;
  line-height: 1.19;
  letter-spacing: .011em;
  white-space: nowrap;
}
.link:hover { text-decoration: underline; }
.link--sm { font-size: 17px; }
.links--dark .link { color: var(--blue-dark); }
.chev {
  display: inline-block;
  margin-left: .28em;
  font-weight: 400;
  transition: transform .22s var(--ease);
}
.link:hover .chev { transform: translateX(3px); }

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.kicker--new { color: #bf4800; }
.kicker--dark { color: var(--blue-dark); }

/* ── Promo bar ───────────────────────────────────────────────────────── */
.promo {
  min-height: var(--promo-h);
  display: grid;
  place-items: center;
  padding: 10px 22px;
  background: var(--tile);
  color: var(--ink-soft);
  text-align: center;
}
.promo p { font-size: 14px; letter-spacing: -.01em; max-width: 62ch; }
.promo a { color: var(--blue); white-space: nowrap; }
.promo a:hover { text-decoration: underline; }

/* ── Global nav ──────────────────────────────────────────────────────── */
.gnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,251,253,.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.gnav::after {
  content: "";
  position: absolute; inset: auto 0 0;
  height: 1px;
  background: rgba(0,0,0,.1);
  transition: background .4s var(--ease);
}
.gnav--dark { background: rgba(22,22,23,.8); color: #f5f5f7; }
.gnav--dark::after { background: var(--hairline-d); }

.gnav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gnav__logo {
  display: grid; place-items: center;
  width: 40px; height: var(--nav-h);
  opacity: .88;
  transition: opacity .2s var(--ease);
}
.gnav__logo:hover { opacity: 1; }

.gnav__menu { flex: 1; }
.gnav__menu ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gnav__menu a {
  display: block;
  padding: 0 8px;
  font-size: 12px;
  line-height: var(--nav-h);
  letter-spacing: -.01em;
  opacity: .88;
  transition: opacity .2s var(--ease);
}
.gnav__menu a:hover { opacity: 1; }

.gnav__utils { display: flex; align-items: center; gap: 2px; }
.gnav__icon {
  width: 40px; height: var(--nav-h);
  display: grid; place-items: center;
  opacity: .88;
  transition: opacity .2s var(--ease);
}
.gnav__icon:hover { opacity: 1; }

.gnav__burger { display: none; width: 40px; height: var(--nav-h); place-items: center; }
.gnav__burger-bars { display: block; width: 17px; position: relative; }
.gnav__burger-bars i {
  display: block; height: 1px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.gnav__burger-bars i + i { margin-top: 6px; }
.gnav__burger[aria-expanded="true"] .gnav__burger-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.gnav__burger[aria-expanded="true"] .gnav__burger-bars i:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* search drop panel — absolutely positioned so opening it overlays the page
   instead of growing the sticky header and shifting content down */
.gnav__panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(251,251,253,.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 34px -22px rgba(0,0,0,.35);
  padding: 24px 22px 34px;
  animation: panelIn .3s var(--ease) both;
}
.gnav--dark .gnav__panel {
  background: rgba(22,22,23,.94);
  border-top-color: var(--hairline-d);
  border-bottom-color: var(--hairline-d);
  box-shadow: 0 18px 34px -22px rgba(0,0,0,.8);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } }
.gnav__panel[hidden] { display: none; }
.searchbox {
  max-width: var(--shell);
  margin: 0 auto 26px;
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-muted);
}
.gnav--dark .searchbox { color: #86868b; }
.searchbox input {
  flex: 1; border: 0; background: none; outline: none;
  font: 400 24px/1.3 var(--font); letter-spacing: -.02em;
  color: var(--ink);
}
.gnav--dark .searchbox input { color: #f5f5f7; }
.searchbox input::placeholder { color: var(--ink-muted); }
.gnav__panel-title {
  max-width: var(--shell); margin: 0 auto 10px;
  font-size: 12px; font-weight: 600; color: var(--ink-muted);
}
.gnav__quicklinks { max-width: var(--shell); margin: 0 auto; }
.gnav__quicklinks a {
  display: block; padding: 6px 0 6px 26px;
  font-size: 14px; position: relative;
}
.gnav__quicklinks a::before {
  content: "›"; position: absolute; left: 6px; color: var(--ink-muted);
}
.gnav__quicklinks a:hover { color: var(--blue); }

/* ── Hero sections ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 62px 22px 0;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero--tall { min-height: 692px; }
.hero--light { background: var(--bg); color: var(--ink); }
.hero--dark  { background: var(--black); color: #f5f5f7; }

.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(40px, 6.4vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.015em;
}
.hero__sub {
  margin-top: 6px;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.14;
  letter-spacing: .004em;
  font-weight: 400;
}
.hero--dark .hero__sub { color: #f5f5f7; }
.hero__copy .links { justify-content: center; margin-top: 20px; }

.hero__caption {
  position: absolute;
  bottom: 26px;
  z-index: 2;
  font-size: 12px;
  color: var(--ink-muted);
}
.hero--dark .hero__caption { color: #86868b; }

.hero__stage {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 34px 0 62px;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto;
  height: 78%;
  background:
    radial-gradient(48% 62% at 50% 40%, rgba(90,140,255,.30), transparent 70%),
    radial-gradient(38% 54% at 68% 46%, rgba(180,90,255,.24), transparent 72%),
    radial-gradient(40% 50% at 32% 42%, rgba(0,220,200,.18), transparent 72%);
  filter: blur(28px);
  z-index: 0;
  animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { transform: translate3d(-2%, 0, 0) scale(1); opacity: .85; }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 1; }
}

/* Constrain the hero phone by height rather than width so the whole hero —
   headline, product, caption — clears the fold on a laptop. */
.hero--tall .device--phone {
  width: auto;
  height: min(560px, 52vh);
}

/* ── Product art (pure CSS, no image assets) ─────────────────────────── */
[data-float] { animation: float 7s ease-in-out infinite; }
@keyframes float {
  50% { transform: translateY(-12px); }
}

/* Phone ---------------------------------------------------------------- */
.device--phone {
  position: relative;
  width: min(300px, 62vw);
  aspect-ratio: 9 / 19.2;
  padding: 9px;
  border-radius: 46px;
  background:
    linear-gradient(150deg, #d9d9de 0%, #8e8e94 18%, #f2f2f4 34%,
                    #7c7c82 56%, #c9c9cf 74%, #6f6f75 100%);
  box-shadow:
    0 2px 4px rgba(255,255,255,.35) inset,
    0 40px 80px -20px rgba(0,0,0,.75),
    0 0 0 1px rgba(255,255,255,.10);
}
.device__screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1b2340 0%, #0a0c14 55%, #05060a 100%);
}
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 25px; border-radius: 14px; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
}
.widget-stack {
  position: absolute; inset: 52px 14px auto;
  display: grid; gap: 9px;
}
.widget {
  border-radius: 18px; padding: 11px 13px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid; gap: 2px;
  color: #fff;
}
.widget--wide { background: linear-gradient(140deg, rgba(90,140,255,.42), rgba(180,90,255,.30)); }
.widget-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.widget__label { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .78; }
.widget__big { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.dock {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; padding: 9px 12px; border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.dock i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.30); }
.dock i:nth-child(1) { background: linear-gradient(140deg,#5b8cff,#2f5fd8); }
.dock i:nth-child(2) { background: linear-gradient(140deg,#ff6b8a,#d83a5e); }
.dock i:nth-child(3) { background: linear-gradient(140deg,#00d9c0,#00a98f); }
.dock i:nth-child(4) { background: linear-gradient(140deg,#ffb347,#e8891c); }
.device__shine {
  position: absolute; inset: 0; border-radius: 46px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, transparent 26%,
                              transparent 74%, rgba(255,255,255,.14) 100%);
  mix-blend-mode: screen;
}

/* Laptop --------------------------------------------------------------- */
.device--laptop { width: min(620px, 88vw); }
.laptop__lid {
  padding: 9px 9px 11px;
  border-radius: 16px 16px 3px 3px;
  background: linear-gradient(180deg, #3a3a3f, #1b1b1f 70%, #101013);
  box-shadow: 0 0 0 1px rgba(255,255,255,.10) inset,
              0 30px 60px -18px rgba(0,0,0,.45);
}
.laptop__screen {
  aspect-ratio: 16 / 10.2;
  border-radius: 7px; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #12172c, #05060a 70%);
}
.win { height: 100%; display: flex; flex-direction: column; }
.win__bar {
  display: flex; gap: 6px; padding: 9px 12px;
  background: rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }
.win__bar i:first-child { background: #ff5f57; }
.win__bar i:nth-child(2) { background: #febc2e; }
.win__bar i:nth-child(3) { background: #28c840; }
.win__body { flex: 1; display: grid; grid-template-columns: 74px 1fr; }
.win__side {
  display: grid; align-content: start; gap: 9px; padding: 14px 12px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.win__side span { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.win__side span:first-child { background: rgba(120,170,255,.6); }
.win__main { padding: 18px 20px; display: grid; align-items: end; }
.chart {
  display: flex; align-items: flex-end; gap: 10px;
  height: 128px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.chart b {
  flex: 1; height: var(--h); border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #6aa3ff, #2f5fd8);
  opacity: .9;
}
.chart b:nth-child(even) { background: linear-gradient(180deg, #b07bff, #6b3fd0); }
.laptop__base {
  height: 13px;
  width: 116%; margin-left: -8%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #c8c8ce, #8e8e94 52%, #b4b4ba);
  clip-path: polygon(1.6% 0, 98.4% 0, 100% 100%, 0 100%);
  box-shadow: 0 16px 30px -14px rgba(0,0,0,.45);
}

/* Watch ---------------------------------------------------------------- */
.device--watch { display: grid; justify-items: center; }
.watch__band {
  width: 104px; height: 92px;
  background: linear-gradient(180deg, #2c2c31, #17171a);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
.watch__band--top {
  border-radius: 26px 26px 6px 6px;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}
.watch__band--bottom {
  border-radius: 6px 6px 26px 26px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}
.watch__case {
  position: relative;
  width: min(196px, 46vw); aspect-ratio: 1 / 1.08;
  padding: 10px; border-radius: 54px;
  background: linear-gradient(150deg, #e6e6ea, #9a9aa0 22%, #f4f4f6 46%, #8b8b91 72%, #cfcfd5);
  box-shadow: 0 26px 44px -18px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.2) inset;
  z-index: 2; margin: -6px 0;
}
.watch__face {
  position: relative; height: 100%; border-radius: 46px;
  background: radial-gradient(90% 90% at 50% 12%, #16181f, #05060a);
  display: grid; place-items: center; overflow: hidden;
}
.ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(#ff3b6b var(--p), rgba(255,255,255,.10) 0);
  mask: radial-gradient(circle, transparent 62%, #000 63%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
}
.ring--2 { width: 54%; background: conic-gradient(#5bff9d var(--p), rgba(255,255,255,.10) 0); }
.watch__time {
  position: relative; color: #fff; font-size: 30px; font-weight: 600;
  letter-spacing: -.02em;
}

/* Buds ----------------------------------------------------------------- */
/* Fixed box so the buds and the case below them occupy separate space
   instead of the case painting over the stems. */
.device--buds {
  position: relative;
  width: 226px;
  height: 236px;
}
.bud { position: absolute; top: 0; left: 22px; width: 62px; height: 74px; }
.bud__tip {
  position: absolute; inset: 0;
  border-radius: 50% 50% 44% 44%;
  background: radial-gradient(70% 70% at 34% 26%, #ffffff, #d5d5da 42%, #8f8f96 100%);
  box-shadow: 0 16px 26px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.bud__stem {
  position: absolute; left: 50%; top: 58%; transform: translateX(-50%);
  width: 20px; height: 56px; border-radius: 10px;
  background: linear-gradient(180deg, #eaeaee, #9c9ca3 60%, #7e7e85);
  box-shadow: 0 14px 22px -12px rgba(0,0,0,.6);
}
.bud--r { left: auto; right: 22px; transform: scaleX(-1); }
.buds__case {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 168px; height: 96px; border-radius: 30px;
  background: radial-gradient(80% 120% at 50% 0%, #ffffff, #dcdce1 40%, #a9a9b0);
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.18) inset;
}
.buds__case::after {
  content: ""; position: absolute; left: 50%; top: 16px; transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 2px; background: rgba(0,0,0,.16);
}

/* Vision --------------------------------------------------------------- */
.device--vision { width: min(420px, 78vw); }
.visor {
  position: relative;
  aspect-ratio: 2.05 / 1;
  border-radius: 46% 46% 40% 40% / 54% 54% 46% 46%;
  background: linear-gradient(170deg, #d7d7dc 0%, #9a9aa1 16%, #e9e9ee 32%,
                              #82828a 58%, #c6c6cc 78%, #74747c 100%);
  box-shadow: 0 34px 60px -22px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.16) inset;
  padding: 11px;
}
.visor__glow {
  display: block; height: 100%; border-radius: inherit;
  background: radial-gradient(80% 120% at 50% 34%, #0b1020, #05060a 70%);
  box-shadow: 0 0 60px rgba(90,140,255,.35) inset, 0 0 0 1px rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.visor__glow::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, transparent 30%,
                              transparent 70%, rgba(140,180,255,.20) 100%);
}

/* Cloud ---------------------------------------------------------------- */
.device--cloud {
  position: relative; width: min(260px, 60vw); aspect-ratio: 1;
  display: grid; place-items: center;
}
.cloud-core {
  width: 92px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(60% 60% at 36% 30%, #ffffff, #c9c9cf 46%, #8e8e96);
  box-shadow: 0 22px 40px -16px rgba(0,0,0,.4);
}
/* The outer element owns the orbit position; the inner tile counter-rotates
   at the same rate, so the icons stay upright as they travel. */
.orbit { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.orbit span {
  position: absolute; top: 50%; left: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  transform: rotate(calc(var(--i) * 72deg)) translateY(-104px);
}
.orbit i {
  display: block; width: 100%; height: 100%; border-radius: 12px;
  background: linear-gradient(140deg, #ffffff, #dcdce1);
  box-shadow: 0 12px 22px -10px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.5) inset;
  animation: spin 22s linear infinite reverse;
}
.orbit span:nth-child(1) { --i: 0; }
.orbit span:nth-child(2) { --i: 1; }
.orbit span:nth-child(3) { --i: 2; }
.orbit span:nth-child(4) { --i: 3; }
.orbit span:nth-child(5) { --i: 4; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Tile grid ───────────────────────────────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
  max-width: var(--tileshell);
  margin: 0 auto;
}
.tile {
  position: relative;
  min-height: 580px;
  padding: 52px 32px 0;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  isolation: isolate;
}
.tile__copy { position: relative; z-index: 2; }
.tile__title {
  font-size: clamp(32px, 3.4vw, 40px);
  font-weight: 600; line-height: 1.1; letter-spacing: -.015em;
}
.tile__sub {
  margin-top: 6px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.19; letter-spacing: .011em;
}
.tile__copy .links { justify-content: center; margin-top: 16px; }
.tile__copy .link { font-size: 17px; }

.tile--watch { background: var(--tile); color: var(--ink); }
.tile--watch .device--watch { position: absolute; bottom: -46px; }
.tile--buds { background: #101012; color: #f5f5f7; }
.tile--buds .device--buds { position: absolute; bottom: 34px; }
.tile--vision { background: #05060a; color: #f5f5f7; }
.tile--vision .device--vision { position: absolute; bottom: 56px; }
.tile--vision::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(46% 40% at 50% 78%, rgba(90,140,255,.30), transparent 70%);
  filter: blur(20px);
}
.tile--cloud { background: var(--tile); color: var(--ink); }
.tile--cloud .device--cloud { position: absolute; bottom: 30px; }

/* ── Cinematic scroll section ────────────────────────────────────────── */
.cinema { background: #000; color: #f5f5f7; }
.cinema__sticky {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 34px;
  padding: 110px 22px 90px;
  overflow: hidden;
}
.cinema__aurora {
  position: absolute; inset: -30% -20%;
  background:
    radial-gradient(34% 44% at 26% 34%, rgba(0,229,255,.34), transparent 68%),
    radial-gradient(32% 42% at 72% 40%, rgba(190,80,255,.32), transparent 70%),
    radial-gradient(30% 38% at 50% 66%, rgba(0,255,170,.24), transparent 72%);
  filter: blur(46px);
  animation: auroraShift 24s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  from { transform: translate3d(-4%, -2%, 0) rotate(-4deg) scale(1.05); }
  to   { transform: translate3d(4%, 3%, 0) rotate(5deg) scale(1.18); }
}
.cinema__copy { position: relative; z-index: 2; }
.cinema__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600; line-height: 1.03; letter-spacing: -.02em;
}
.cinema__sub {
  margin-top: 14px; font-size: clamp(17px, 2vw, 24px); color: #d2d2d7;
  letter-spacing: .004em;
}
.cinema__copy .links { justify-content: center; margin-top: 20px; }
.cinema__stats {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 56px;
  padding-top: 30px;
  border-top: 1px solid var(--hairline-d);
  width: min(760px, 100%);
}
.cinema__stats div { display: grid; gap: 2px; min-width: 150px; }
.cinema__stats b {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -.02em;
  background: linear-gradient(100deg, #7fd8ff, #b98cff 55%, #6bffc4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cinema__stats span { font-size: 12px; color: #86868b; letter-spacing: .01em; }

/* ── Services carousel ───────────────────────────────────────────────── */
.services {
  position: relative;
  background: var(--bg);
  padding: 20px 0 18px;
}
.services__rail {
  display: flex;
  gap: 16px;
  padding: 16px max(22px, calc((100vw - var(--tileshell)) / 2 + 12px));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.services__rail::-webkit-scrollbar { display: none; }
.srv {
  position: relative;
  flex: 0 0 clamp(260px, 26vw, 400px);
  aspect-ratio: 4 / 4.6;
  border-radius: 20px;
  padding: 28px 26px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #f5f5f7;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .4s var(--ease);
}
.srv:hover { transform: translateY(-4px); }
.srv::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  opacity: .96;
}
.srv--music::before  { background: radial-gradient(90% 70% at 20% 12%, #ff5d7e, #7a1c46 60%, #24101c); }
.srv--tv::before     { background: radial-gradient(90% 70% at 24% 14%, #6f7dff, #2a2f7a 60%, #0d1030); }
.srv--arcade::before { background: radial-gradient(90% 70% at 22% 12%, #ffb85c, #b3541c 62%, #2c1508); }
.srv--fitness::before{ background: radial-gradient(90% 70% at 24% 12%, #59ffb0, #128a5e 62%, #06251b); }
.srv--news::before   { background: radial-gradient(90% 70% at 22% 12%, #ff7a6b, #a32432 62%, #2a0a10); }
.srv--wallet::before { background: radial-gradient(90% 70% at 24% 12%, #7fd0ff, #1f5ea8 62%, #071a2c); }
.srv > * { position: relative; z-index: 1; }
.srv__brand {
  position: absolute; top: 26px; left: 26px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.srv h3 {
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 600; line-height: 1.12; letter-spacing: -.015em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.srv .link { color: #fff; }
.services__ctl {
  display: flex; justify-content: flex-end; gap: 10px;
  max-width: var(--tileshell);
  margin: 0 auto;
  padding: 0 max(22px, calc((100vw - var(--tileshell)) / 2 + 12px));
}
.services__ctl button {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.06);
  font-size: 18px; line-height: 1; color: var(--ink-muted);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.services__ctl button:hover:not(:disabled) { background: rgba(0,0,0,.12); color: var(--ink); }
.services__ctl button:disabled { opacity: .3; cursor: default; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.gfoot {
  background: var(--tile);
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -.01em;
}
.gfoot__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 22px 22px 40px;
}
.gfoot a:hover { text-decoration: underline; }
.gfoot__note {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-muted);
}
.gfoot__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.gfoot__col h4 {
  font-size: 12px; font-weight: 600; color: var(--ink);
  margin: 0 0 8px;
}
.gfoot__col ul { margin-bottom: 20px; }
.gfoot__col li { margin-bottom: 7px; }
.gfoot__region { padding: 18px 0 0; }
.gfoot__region a { color: var(--blue); }
.gfoot__legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 14px 0 0;
}
.gfoot__legallinks { display: flex; flex-wrap: wrap; gap: 0; }
.gfoot__legallinks li { padding: 0 10px; border-right: 1px solid var(--hairline); }
.gfoot__legallinks li:last-child { border-right: 0; }
.gfoot__locale { margin-left: auto; }
.gfoot__fine {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: #86868b;
}

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

[data-parallax] .hero__stage { will-change: transform; }
[data-cinema] .cinema__aurora { will-change: transform; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1068px) {
  .gfoot__cols { grid-template-columns: repeat(3, 1fr); }
  .tile { min-height: 520px; }
}

@media (max-width: 833px) {
  .gnav__menu {
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(251,251,253,.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 8px 44px 40px;
    overflow-y: auto;
    transform: translateY(-102%);
    transition: transform .45s var(--ease);
    visibility: hidden;
  }
  .gnav--dark .gnav__menu { background: rgba(22,22,23,.98); }
  .gnav__menu.is-open { transform: none; visibility: visible; }
  .gnav__menu ul { display: block; }
  .gnav__menu li { border-bottom: 1px solid rgba(0,0,0,.08); }
  .gnav--dark .gnav__menu li { border-bottom-color: var(--hairline-d); }
  .gnav__menu a { font-size: 17px; line-height: 1; padding: 15px 0; opacity: 1; }
  .gnav__burger { display: grid; margin-left: auto; }
  .gnav__utils { order: 3; }
  .gnav__menu { order: 2; }

  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 500px; }
  .gfoot__cols { grid-template-columns: repeat(2, 1fr); }
  .services__ctl button { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: 44px; min-height: 520px; }
  .hero--tall { min-height: 600px; }
  .link { font-size: 19px; }
  .tile { min-height: 460px; padding: 40px 22px 0; }
  .tile--watch .device--watch { bottom: -60px; }
  .cinema__stats { gap: 18px 30px; }
  .gfoot__cols { grid-template-columns: 1fr; }
  .gfoot__locale { margin-left: 0; }
}

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
