/* ==========================================================================
   Pal's Electronics — main stylesheet (monochrome editorial)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f4f4f2;
  --ink: #0a0a0a;
  --ink-2: #2b2b2b;
  --muted: #6e6e6e;
  --line: #e4e4e1;
  --line-2: #cfcfcb;

  --brand-navy: #1d4a5c;
  --brand-orange: #e8792b;
  --logo-sub: #4a4a4a;

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --wrap: 1320px;
  --nav-h: 68px;
  --r: 6px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a0a0a; --bg-2: #141414; --ink: #f5f5f3; --ink-2: #d9d9d6; --muted: #9a9a96;
  --line: #262626; --line-2: #3a3a3a; --brand-navy: #ffffff; --logo-sub: #a5a5a5;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a; --bg-2: #141414; --ink: #f5f5f3; --ink-2: #d9d9d6; --muted: #9a9a96;
    --line: #262626; --line-2: #3a3a3a; --brand-navy: #ffffff; --logo-sub: #a5a5a5;
    color-scheme: dark;
  }
}

/* Dark sections stay dark in both themes */
.dark {
  --bg: #0a0a0a; --bg-2: #161616; --ink: #ffffff; --ink-2: #e2e2e2; --muted: #9b9b97;
  --line: rgba(255, 255, 255, .14); --line-2: rgba(255, 255, 255, .28);
  --brand-navy: #ffffff; --logo-sub: #a5a5a5;
  background: var(--bg); color: var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--bg); transition: top .3s; }
.skip:focus { top: 16px; }
.muted { color: var(--muted); }
.mt { margin-top: 28px; }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.display { font-size: clamp(2.8rem, 1.2rem + 5.4vw, 6.8rem); line-height: .95; letter-spacing: -.05em; font-weight: 500; }
.display .serif, .h2 .serif, .hero__title .serif { font-size: 1.08em; line-height: .9; }
.display--product { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.6rem); }
.h2 { font-size: clamp(2.1rem, 1.2rem + 3vw, 4.2rem); letter-spacing: -.045em; line-height: .98; }
.h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--muted); max-width: 56ch; line-height: 1.5; }
.label { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: .96rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap; background: none; position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn .icon { transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { height: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark::before { background: var(--ink-2); }
.btn--outline { border-color: var(--line-2); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--bg); border-color: var(--ink); }
.btn--light { background: #fff; color: #0a0a0a; }
.btn--light::before { background: #e8e8e5; }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light::before { background: #fff; }
.btn--outline-light:hover { color: #0a0a0a; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .4s; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow .icon { transition: transform .5s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; transition: background-color .4s, color .4s, border-color .4s; }
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.flip { display: inline-block; transform: scaleX(-1); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: #fff; color: #0a0a0a; font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Progress, topbar & nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; background: var(--brand-orange); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); }

.topbar { background: #0a0a0a; color: #cfcfcb; font-size: .76rem; letter-spacing: .02em; overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.topbar p { display: flex; gap: 56px; padding: 9px 28px; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { opacity: .7; }

.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); color: var(--ink); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s; }
.nav.on-dark { --bg: #0a0a0a; --ink: #fff; --ink-2: #ddd; --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .26); --brand-navy: #fff; --logo-sub: #a5a5a5; color: #fff; background: rgba(10, 10, 10, .94); }
.nav__inner { height: 100%; width: min(1400px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.nav__logo { flex: none; }
.logo { width: 176px; height: auto; }
.logo--footer { width: 220px; margin-bottom: 26px; }
.nav__links { margin-inline: auto; }
.nav__links ul { display: flex; gap: 2px; }
.nav__links a:not(.btn) { position: relative; display: block; padding: 8px 14px; font-weight: 500; font-size: .92rem; text-decoration: none; color: var(--ink-2); transition: color .3s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"], .nav__links a:not(.btn):hover { color: var(--ink); }
.nav__cta-mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__call { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: .9rem; text-decoration: none; transition: background-color .5s, color .5s; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: none; } :root:not([data-theme="light"]) .i-moon { display: block; } }
.bag-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand-orange); color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.burger { display: none; }
.burger span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { transform: translateY(-3.5px); }
.burger span:last-child { transform: translateY(3.5px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (max-width: 1100px) { .nav__call span { display: none; } .nav__call { width: 44px; padding: 0; justify-content: center; } }
@media (max-width: 920px) {
  .burger { display: inline-grid; }
  .nav__call { display: none; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 20px 28px; background: var(--bg); color: var(--ink);
    border-bottom: 1px solid var(--line); max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s;
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav__links ul { flex-direction: column; gap: 0; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn) { font-size: 2rem; letter-spacing: -.04em; padding: 14px 0; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links.is-open li { animation: rise .8s var(--ease) both; }
  .nav__links.is-open li:nth-child(2) { animation-delay: .04s; } .nav__links.is-open li:nth-child(3) { animation-delay: .08s; }
  .nav__links.is-open li:nth-child(4) { animation-delay: .12s; } .nav__links.is-open li:nth-child(5) { animation-delay: .16s; }
  .nav__links.is-open li:nth-child(6) { animation-delay: .2s; }
  .nav__cta-mobile { display: flex; margin-top: 22px; width: 100%; }
  .logo { width: 150px; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Line / word reveal ---------- */
[data-lines] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .03em .14em; margin: -.06em -.03em -.14em; }
[data-lines] .w > span { display: inline-block; transform: translateY(115%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--w) * 45ms); }
[data-lines].is-in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 5vw, 80px) 0 0; min-height: calc(100svh - var(--nav-h) - 33px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 90px); align-items: end; }
.hero__title { display: grid; font-size: clamp(3rem, 1rem + 5.4vw, 7rem); line-height: .94; letter-spacing: -.055em; font-weight: 500; margin-bottom: 36px; }
.hero__sub { display: block; margin-top: 28px; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); font-weight: 400; letter-spacing: -.01em; color: var(--muted); line-height: 1.4; max-width: 34ch; }
.hero__media { position: relative; aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; justify-self: end; overflow: hidden; border-radius: var(--r); background: #1a1a1a; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-size: .86rem; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent); }
.hero__media figcaption a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.hero__stats li { padding: 22px 20px 26px 0; display: grid; gap: 4px; }
.hero__stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__stats strong { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.hero__stats li > span { font-size: .84rem; color: var(--muted); }
@media (max-width: 920px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-height: none; aspect-ratio: 4 / 4.4; order: 2; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(1.8rem, 1rem + 2.6vw, 3.6rem); font-weight: 500; letter-spacing: -.045em; white-space: nowrap; }
.marquee span.serif { font-weight: 400; letter-spacing: -.01em; font-size: clamp(2rem, 1.1rem + 2.8vw, 3.9rem); }
.marquee i { font-style: normal; color: var(--line-2); font-size: 2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 7vw + 30px, 160px) 0; }
.section--flush { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }
.section--series { padding: 64px 0; }
.section__head { margin-bottom: clamp(36px, 3vw + 20px, 72px); max-width: 900px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Media reveal ---------- */
.js [data-reveal="clip"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"] img, .js [data-reveal="clip"] video { transform: scale(1.18); transition: transform 2s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal="clip"].is-in img, .js [data-reveal="clip"].is-in video { transform: scale(1); }

/* ---------- Featured ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.feature__item { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-decoration: none; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.feature__item--tall { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
.feature__media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-2); min-height: 260px; }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .feature__item.is-in:hover .feature__img, .feature__item:hover .feature__img { transform: scale(1.04); transition-delay: 0s; transition-duration: 1.4s; }
.feature__text { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.feature__text .label { margin-bottom: 4px; }
.feature__text h3 { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem); letter-spacing: -.045em; }
.feature__price { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.15rem; font-weight: 500; }
.feature__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .4s, color .4s, border-color .4s; }
.feature__item:hover .feature__go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.feature__item--tall .feature__media { min-height: 520px; background: #050505; }
/* The tall tile is landscape on desktop: show the whole phone rather than a cropped band of screen */
.feature__item--tall :is(.feature__img, .feature__film) { object-fit: contain; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; grid-template-rows: none; }
  .feature__item--tall { grid-row: auto; }
  .feature__item--tall .feature__media { min-height: 0; aspect-ratio: 4 / 5; }
}

/* ---------- Series scroller ---------- */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; cursor: grab; }
.scroller::-webkit-scrollbar { display: none; }
.scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.scroller.is-dragging a { pointer-events: none; }
.scroller-nav { display: flex; gap: 8px; }
.series { scroll-snap-align: start; text-decoration: none; display: grid; gap: 14px; }
.series__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.series__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.series:hover .series__img { transform: scale(1.05); }
.series__text { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; }
.series h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.series p { color: var(--muted); font-size: .84rem; white-space: nowrap; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 20px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; } }
.card { position: relative; }
.card.is-hidden { display: none; }
.card__link { display: block; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img { transform: scale(1.05); }
.card__body { padding-top: 14px; display: grid; gap: 2px; }
.card__meta { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.card__title { font-size: 1.12rem; letter-spacing: -.025em; font-weight: 500; line-height: 1.2; }
.card__storage { font-size: .86rem; color: var(--muted); }
.card__price { margin-top: 8px; font-size: 1.12rem; font-weight: 500; letter-spacing: -.02em; }
.card__price small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.card__add { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: #0a0a0a; cursor: pointer; transition: transform .6s var(--ease), background-color .4s, color .4s; }
.card__add:hover { transform: rotate(90deg); background: #0a0a0a; color: #fff; }
.card__add.is-added { background: #0a0a0a; color: #fff; }
.phone-art--svg { object-fit: contain; padding: 10%; }

/* ---------- Video band ---------- */
.band { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.band__media { position: absolute; inset: -8% 0; will-change: transform; }
.band__video { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .1) 60%); pointer-events: none; }
.band__copy { position: relative; z-index: 2; padding: 120px 0 clamp(48px, 6vw, 96px); }
.band__copy .display { color: #fff; margin-bottom: 20px; }
.band__copy .lead { color: #d0d0cc; margin-bottom: 30px; }

/* ---------- Points ---------- */
.points { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.points li { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.points li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.points__n { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--muted); }
.points h3 { font-size: 1.3rem; letter-spacing: -.03em; }
.points p { color: var(--muted); }
@media (max-width: 920px) { .points { grid-template-columns: 1fr 1fr; } .points li:nth-child(3) { border-left: 0; padding-left: 0; } .points li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .points { grid-template-columns: 1fr; } .points li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Split / prose / conditions ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.split .lead { margin: 24px 0 30px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: -.035em; margin-bottom: 18px; }
.prose p { color: var(--muted); font-size: 1.04rem; margin-bottom: 16px; }
.prose a { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 500; }
.conditions { border-top: 1px solid var(--ink); padding-top: 22px; }
.conditions .h3 { margin-bottom: 18px; }
.conditions ul { display: grid; margin-bottom: 14px; }
.conditions li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.conditions .icon { flex: none; margin-top: 3px; }

/* ---------- Price tables ---------- */
.price-snap table, .price-table table { font-size: .96rem; }
.price-snap th, .price-snap td, .price-table th, .price-table td { padding: 15px 0; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.price-snap td, .price-table td { padding-left: 16px; }
.price-snap thead th, .price-table thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.price-snap td:last-child, .price-table td:last-child { text-align: right; font-weight: 500; }
.price-snap thead th:last-child, .price-table thead th:last-child { text-align: right; }
.price-snap a, .price-table a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.price-snap a:hover, .price-table a:hover { background-size: 100% 1px; }
.price-h { margin: 64px 0 28px; }
.price-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 48px 40px; align-items: start; }
.price-table h3 { font-size: 1.3rem; margin-bottom: 8px; }
@media (max-width: 440px) { .price-tables { grid-template-columns: 1fr; } }

/* ---------- Visit / contact ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 5vw, 90px); align-items: stretch; }
.visit__info .h2 { margin-bottom: 36px; }
.facts { margin: 0 0 32px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }
.visit__map { min-height: 460px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.visit__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(1) contrast(1.08); }
:root[data-theme="dark"] .visit__map iframe { filter: grayscale(1) invert(.92) contrast(.9); }
.visit__side { display: grid; gap: 24px; align-content: start; }
.hours-card { border-top: 1px solid var(--ink); padding-top: 20px; }
.hours-card .h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hours-card .nap { margin-top: 20px; color: var(--muted); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit__map, .visit__map iframe { min-height: 340px; } }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: grid; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s; }
.contact-card:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.contact-card:hover .muted, .contact-card:hover .h3 { color: inherit; opacity: .7; }
.contact-card .h3 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-top: 20px; }
.contact-card__big { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.contact-card--dark { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.contact-card--dark .muted, .contact-card--dark .h3 { color: #9b9b97; }
.tile__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.enquiry { display: grid; gap: 18px; align-content: start; border-top: 1px solid var(--ink); padding-top: 20px; }
.enquiry label { display: grid; gap: 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .3s; }
.enquiry select option { color: #0a0a0a; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 0; border-color: var(--ink); }
.hours { display: grid; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours dd { margin: 0; color: var(--muted); }

/* ---------- About tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tile { padding: 30px 30px 10px 0; display: grid; gap: 12px; align-content: start; }
.tile + .tile { padding-left: 30px; border-left: 1px solid var(--line); }
.tile p { color: var(--muted); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile + .tile { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 980px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(1.08rem, 1rem + .4vw, 1.35rem); letter-spacing: -.02em; cursor: pointer; list-style: none; transition: opacity .3s; }
.faq summary:hover { opacity: .65; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .6s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus::after { transform: rotate(0); }
.faq__a { padding: 0 0 28px; color: var(--muted); max-width: 70ch; }
.faq details[open] .faq__a { animation: rise .7s var(--ease); }

/* ---------- Page heroes ---------- */
.page-hero { position: relative; padding: 36px 0 clamp(56px, 6vw, 100px); overflow: hidden; }
.page-hero .display { margin: 28px 0 24px; max-width: 15ch; }
.page-hero .lead + .btn-row { margin-top: 30px; }
.page-hero--brand { padding-bottom: 0; }
.page-hero__split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(48px, 5vw, 80px); }
.page-hero__media { aspect-ratio: 4 / 5; max-height: 74svh; overflow: hidden; border-radius: var(--r); background: #1a1a1a; justify-self: end; width: 100%; }
.page-hero__video { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media.is-mono video { filter: grayscale(1) contrast(1.1) brightness(1.05); }
.page-hero--center { text-align: center; padding: 90px 0; }
.page-hero--center .h2 { max-width: 22ch; margin: 0 auto 32px; }
.price-range { font-weight: 500; margin: 26px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: .88rem; transition: background-color .4s, color .4s, border-color .4s; }
.chips a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.big-404 { font-size: clamp(8rem, 4rem + 16vw, 18rem); line-height: .85; letter-spacing: -.02em; }
@media (max-width: 860px) { .page-hero__split { grid-template-columns: 1fr; } .page-hero__media { max-height: 60svh; aspect-ratio: 4 / 4.2; } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "—"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Shop toolbar ---------- */
.toolbar { position: sticky; top: var(--nav-h); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 46px; border-bottom: 1px solid var(--ink); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); height: 100%; font-size: 1rem; }
.seg { display: inline-flex; gap: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; height: 40px; line-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; cursor: pointer; transition: background-color .4s, color .4s, border-color .4s; }
.seg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.select select { height: 40px; padding: 0 34px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: .88rem; cursor: pointer; }
.select option { color: #0a0a0a; }
.range { display: grid; gap: 4px; padding: 0 8px; min-width: 170px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.range output { color: var(--ink); }
.range input { accent-color: var(--ink); width: 100%; }
.result-count { margin: 26px 0; color: var(--muted); font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.empty { text-align: center; padding: 60px 0; }
.empty .h3 { font-size: 1.6rem; margin-bottom: 8px; }
@media (max-width: 720px) { .toolbar { position: static; } .seg { flex: 1 1 100%; } .seg label { flex: 1; } .seg span { text-align: center; } .select, .range { flex: 1 1 40%; } .select select { width: 100%; } }

/* ---------- Product page ---------- */
.product { padding: 30px 0 clamp(70px, 6vw, 120px); }
.product__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 96px); align-items: start; margin-top: 26px; }
.product__media { position: sticky; top: calc(var(--nav-h) + 20px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.product__img { width: 100%; height: 100%; object-fit: cover; }
.product__media figcaption { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: .68rem; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.product__media figcaption a { text-decoration: underline; }
.product__info { padding-top: 10px; }
.product__info .display { margin-bottom: 14px; }
.product__sub { color: var(--muted); margin-bottom: 26px; }
.product__info .lead { color: var(--ink-2); }
.product__price { display: flex; align-items: baseline; gap: 14px; margin: 36px 0 26px; padding-top: 24px; border-top: 1px solid var(--ink); }
.price-big { font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.price-big.tick { animation: tick .6s var(--ease); }
@keyframes tick { 0% { opacity: 0; transform: translateY(12px); } }
.storage { border: 0; padding: 0; margin: 0 0 28px; }
.storage legend { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.storage__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.storage input { position: absolute; opacity: 0; }
.storage span { display: grid; min-width: 130px; padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.storage span b { font-weight: 500; }
.storage span small { color: var(--muted); }
.storage input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.storage input:checked + span small { color: inherit; opacity: .7; }
.storage input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.call-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); text-decoration: none; }
.call-line:hover { color: var(--ink); }
.trust { display: grid; margin-top: 30px; border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--ink); }
.spec { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.spec:not(:nth-child(3n+1)) { padding-left: 20px; border-left: 1px solid var(--line); }
.spec dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec dd { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; }
.buybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; background: #0a0a0a; color: #fff; transform: translateY(150%); transition: transform .7s var(--ease); }
.buybar.is-visible { transform: none; }
.buybar__info { display: grid; line-height: 1.2; font-size: .88rem; }
.buybar__info span { font-weight: 500; font-size: 1.1rem; }
.buybar .btn--dark { background: #fff; color: #0a0a0a; }
@media (max-width: 860px) {
  .product__grid { grid-template-columns: 1fr; }
  .product__media { position: relative; top: 0; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .spec:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .buybar { display: flex; }
  .product-page .fab-wa { bottom: 84px; }
}

/* ---------- Credits ---------- */
.credits td, .credits th { font-size: .86rem; vertical-align: top; }
.credits td:last-child { white-space: nowrap; }
.credits__h { margin: 64px 0 16px; }
.credits__note { margin-top: 40px; font-size: .86rem; }
@media (max-width: 720px) { .credits { overflow-x: auto; } .credits table { min-width: 640px; } }

/* ---------- CTA band & footer ---------- */
.cta-band { padding: clamp(100px, 10vw + 30px, 190px) 0; text-align: center; }
.cta-band__inner { display: grid; justify-items: center; gap: 26px; }
.cta-band .display { max-width: 13ch; }
.cta-band .lead { margin-inline: auto; }
.cta-band .label { margin: 0; }

.footer { background: #0a0a0a; color: #9b9b97; padding: 80px 0 30px; font-size: .92rem; --brand-navy: #fff; --logo-sub: #8a8a86; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer h3 { color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: #fff; }
.footer .nap { line-height: 1.8; }
.footer .nap strong { color: #fff; font-weight: 500; }
.footer .hours div { border-color: rgba(255, 255, 255, .1); }
.footer .hours dd { color: #9b9b97; }
.footer .hours dt { color: #e5e5e2; }
.social { display: flex !important; gap: 16px !important; margin-top: 18px; }
.footer__base { display: grid; gap: 8px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.footer__base .muted { color: #6d6d69; }
.footer__base a { text-decoration: underline; }
@media (max-width: 920px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #0a0a0a; color: #fff; border: 1px solid rgba(255, 255, 255, .2); transition: transform .6s var(--ease), bottom .4s; }
.fab-wa:hover { transform: scale(1.08); }
:root[data-theme="dark"] .fab-wa { background: #fff; color: #0a0a0a; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: fade .5s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--bg); color: var(--ink); animation: slideIn .8s var(--ease); }
.drawer.is-closing .drawer__panel { animation: slideOut .45s var(--ease-io) forwards; }
.drawer.is-closing .drawer__scrim { animation: fade .45s reverse forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideOut { to { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.5rem; letter-spacing: -.035em; }
.drawer__hint { padding: 16px 24px; color: var(--muted); font-size: .9rem; }
.drawer__list { flex: 1; overflow-y: auto; padding: 0 24px; display: grid; align-content: start; }
.drawer__list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); animation: rise .6s var(--ease); }
.drawer__list li strong { display: block; font-weight: 500; }
.drawer__list li small { color: var(--muted); }
.drawer__list li b { font-weight: 500; }
.drawer__list button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; display: grid; place-items: center; }
.drawer__empty { padding: 30px 24px; color: var(--muted); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-size: 1.7rem; font-weight: 500; letter-spacing: -.04em; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; translate: -50% 0; padding: 14px 22px; border-radius: 999px; background: #0a0a0a; color: #fff; font-size: .92rem; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; border: 1px solid rgba(255, 255, 255, .15); }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal]:not([data-reveal="clip"]) { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal]:not([data-reveal="clip"]).is-in { opacity: 1; transform: none; }

/* ---------- Cross-page view transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .3s var(--ease-io) both vtOut; }
::view-transition-new(root) { animation: .5s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] img, .js [data-reveal] video { transform: none !important; }
  [data-lines] .w > span { transform: none; }
}

/* ---------- Print (price list) ---------- */
@media print {
  .topbar, .nav, .progress, .cta-band, .fab-wa, .drawer, .toast, .btn-row, .buybar { display: none !important; }
  body { background: #fff; color: #000; }
  .footer { background: #fff; color: #000; padding: 20px 0; }
  .footer__grid > :not(.footer__brand) { display: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-lines] .w > span { transform: none !important; }
  .price-table { break-inside: avoid; }
}

/* ==========================================================================
   Cinematic layer
   ========================================================================== */

/* Film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* Studio product imagery */
.card__media, .series__media, .feature__media { background: #070707; }
.card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 1.3s var(--ease);
}
.card:hover .card__media::after { transform: translateX(120%); }
.card__media .tag { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card__add { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card__add:hover, .card__add.is-added { background: #fff; color: #0a0a0a; }
.card__media::before {
  content: "View details"; position: absolute; z-index: 2; left: 50%; bottom: 18px; translate: -50% 14px;
  padding: 9px 18px; border-radius: 999px; background: #fff; color: #0a0a0a; font-size: .82rem; font-weight: 500;
  opacity: 0; transition: opacity .5s var(--ease), translate .7s var(--ease); pointer-events: none; white-space: nowrap;
}
.card:hover .card__media::before { opacity: 1; translate: -50% 0; }
@media (hover: none) { .card__media::before { display: none; } }

/* ---------- Lineup: pinned horizontal scroll ---------- */
.lineup { position: relative; height: 520vh; }
.lineup__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--nav-h) + 28px) 0 32px; }
.lineup__head .h2 { margin: 0; }
.lineup__head .label { margin-bottom: 12px; }
.lineup__track { display: flex; gap: 2vw; padding-left: max(20px, (100vw - var(--wrap)) / 2); will-change: transform; align-items: stretch; min-height: 0; }
.lineup__panel {
  position: relative; flex: none; width: min(64vw, 920px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  text-decoration: none; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 35% 45%, #2a2a2a 0%, #111 45%, #070707 80%);
}
.lineup__word {
  position: absolute; left: 4%; right: 4%; top: 50%; translate: 0 -50%; z-index: 0; font-size: clamp(5rem, 2rem + 9vw, 12rem);
  font-weight: 600; letter-spacing: -.06em; line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  white-space: nowrap; overflow: hidden; text-overflow: clip;
}
.lineup__stage { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; padding: 6% 4%; }
.lineup__img { max-height: 58svh; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .75)); transition: transform 1.2s var(--ease); -webkit-box-reflect: below 6px linear-gradient(transparent 78%, rgba(255, 255, 255, .18)); }
.lineup__panel:hover .lineup__img { transform: translateY(-10px) scale(1.02); }
.lineup__info { position: relative; z-index: 1; padding: 32px 36px 32px 0; display: grid; gap: 10px; align-content: end; height: 100%; }
.lineup__n { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: #6d6d69; line-height: 1; }
.lineup__info h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 3rem); letter-spacing: -.045em; color: #fff; }
.lineup__info p { color: #9b9b97; font-size: .92rem; }
.lineup__price { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); color: #fff !important; font-size: 1.2rem !important; }
.lineup__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; }
.lineup__bar { flex: 1; max-width: 320px; height: 1px; background: rgba(255, 255, 255, .18); position: relative; }
.lineup__bar span { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (max-width: 860px) {
  .lineup { height: auto; }
  .lineup__sticky { position: relative; height: auto; padding: 80px 0 60px; gap: 32px; }
  .lineup__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 20px; scrollbar-width: none; transform: none !important; }
  .lineup__track::-webkit-scrollbar { display: none; }
  .lineup__panel { width: 82vw; grid-template-columns: 1fr; scroll-snap-align: center; }
  .lineup__stage { height: auto; padding: 40px 20px 10px; }
  .lineup__img { max-height: 46svh; }
  .lineup__info { padding: 0 24px 26px; }
  .lineup__word { top: 34%; }
}

/* ---------- Product spotlight stage ---------- */
.product.dark { padding-bottom: clamp(60px, 6vw, 110px); }
.product__stage {
  position: sticky; top: calc(var(--nav-h) + 20px); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(ellipse 65% 55% at 50% 40%, #2c2c2c 0%, #121212 45%, #060606 78%);
}
.product__stage::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 13%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .9), transparent); filter: blur(8px); z-index: 0; }
.product__word {
  position: absolute; left: 0; right: 0; top: 46%; translate: 0 -50%; text-align: center; z-index: 0;
  font-size: clamp(4.5rem, 2rem + 8vw, 11rem); font-weight: 600; letter-spacing: -.06em; line-height: .85; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}
.product__float { position: relative; z-index: 1; width: 66%; height: 72%; display: grid; place-items: center; transform: translate3d(calc(var(--tx, 0) * 1px), calc(var(--ty, 0) * 1px), 0); transition: transform 1s var(--ease); }
.product__cut { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .8)); -webkit-box-reflect: below 8px linear-gradient(transparent 80%, rgba(255, 255, 255, .16)); animation: hover 7s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-14px); } }
.product__stage .tag { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.product__stage figcaption { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: .68rem; color: #77776f; }
.product__stage figcaption a { text-decoration: underline; }
.js .product__stage { opacity: 0; transform: scale(.96); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
.js .product__stage.is-in { opacity: 1; transform: none; }
@media (max-width: 860px) { .product__stage { position: relative; top: 0; aspect-ratio: 4 / 4.4; } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } .product__cut { animation: none; } .js .product__stage { opacity: 1; transform: none; } }

/* ==========================================================================
   Cinematic imagery & premium finish
   Photos are pre-graded by tools/cinematic-grade.py (-cine.webp); this layer frames them.
   ========================================================================== */

/* Frames: hairline rim on top of the image, soft depth below */
.card__media, .series__media, .feature__media, .hero__media, .page-hero__media {
  outline: 1px solid rgba(255, 255, 255, .07); outline-offset: -1px;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55);
}

/* Images sit a stop under and "light up" on hover, like a key light coming on */
.card__img, .series__img { filter: brightness(.9) saturate(.95); transition: transform 1.4s var(--ease), filter 1.2s var(--ease); }
.card:hover .card__img, .series:hover .series__img { filter: brightness(1.06) saturate(1.06); }
.js [data-reveal="clip"] .feature__img { transition: transform 2s var(--ease), filter 1.2s var(--ease); }
.feature__img { filter: brightness(.9) saturate(.95); }
.feature__item:hover .feature__img { filter: brightness(1.06) saturate(1.06); }

/* Anamorphic sweep (replaces the plain diagonal) */
.card__media::after {
  background:
    linear-gradient(105deg, transparent 38%, rgba(255, 236, 214, .12) 50%, transparent 62%),
    radial-gradient(ellipse 70% 1.2% at 50% 30%, rgba(170, 205, 255, .35), transparent 70%);
  transform: translateX(-130%); transition: transform 1.6s var(--ease);
}

/* Feature tiles: cinematic gradient + text reads as an end card */
.feature__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 40%), linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 22%);
}

/* Hero: warm ambient glow behind the film still, vignette over it */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 78% 42%, rgba(232, 121, 43, .13), transparent 70%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(40, 90, 110, .18), transparent 70%);
}
.hero__grid, .hero .wrap { position: relative; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55)), linear-gradient(to top, rgba(0, 0, 0, .6), transparent 35%);
}
.hero__media figcaption { z-index: 2; background: none; padding: 20px 22px; letter-spacing: .02em; }
.hero__video { filter: contrast(1.06) saturate(.88); }

/* Product stage, photo version: full-bleed still with a slow push-in */
.product__stage:has(.is-photo)::after, .product__stage:has(.is-photo) .product__word { display: none; }
.product__float:has(> .is-photo) { position: absolute; inset: -3%; width: auto; height: auto; }
.product__cut.is-photo {
  width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover;
  filter: none; -webkit-box-reflect: unset; animation: push 26s ease-in-out infinite alternate;
}
@keyframes push { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1.2%); } }
.product__stage:has(.is-photo)::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 20%, transparent 72%, rgba(0, 0, 0, .7));
}
.product__stage { outline: 1px solid rgba(255, 255, 255, .08); outline-offset: -1px; }
.product__stage .tag, .product__stage figcaption { z-index: 2; }
.product__stage figcaption { color: rgba(255, 255, 255, .55); }

/* Lineup: photo becomes a framed plate on the spotlight */
.lineup__img.is-photo {
  height: min(56svh, 560px); width: auto; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r);
  outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .8)) brightness(.92);
  -webkit-box-reflect: below 10px linear-gradient(transparent 84%, rgba(255, 255, 255, .1));
}
.lineup__panel:hover .lineup__img.is-photo { filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .85)) brightness(1.05); }
.lineup__panel { outline: 1px solid rgba(255, 255, 255, .06); outline-offset: -1px; }
.lineup__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 40% 45% at 30% 40%, rgba(232, 121, 43, .09), transparent 70%);
}
@media (max-width: 860px) { .lineup__img.is-photo { height: auto; width: 100%; max-height: none; } }

/* ---------- Premium details ---------- */
.section__head .label, .hero__copy > .label, .band__copy > .label, .cta-band .label { display: inline-flex; align-items: center; gap: 12px; }
.section__head .label::before, .hero__copy > .label::before, .band__copy > .label::before, .cta-band .label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.card__price, .price-big, .feature__price, .lineup__price, .price-snap td, .price-table td, .hero__stats strong, .drawer__total strong { font-variant-numeric: tabular-nums; }
.btn--light { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08), 0 10px 30px -12px rgba(255, 255, 255, .35); }
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(232, 121, 43, .14), transparent 70%);
}
.cta-band__inner { position: relative; }

@media (prefers-reduced-motion: reduce) { .product__cut.is-photo { animation: none; } }

/* ==========================================================================
   Home: cinematic films, film-reel hero, opening titles
   ========================================================================== */

/* ---------- Phone films (video layered over the graded still) ---------- */
.series__media { position: relative; }
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity 1s var(--ease); }
.film.is-playing { opacity: 1; }

/* Spec "subtitles" that rise in once a film is rolling */
.chips-film { position: absolute; left: 16px; top: 16px; right: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.chips-film li, .reel__specs li, .lineup__chips li {
  padding: 6px 12px; border-radius: 999px; font-size: .74rem; letter-spacing: .02em; color: #fff; white-space: nowrap;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chips-film li { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.feature__media:has(.film.is-playing) .chips-film li { opacity: 1; transform: none; }
.feature__media .chips-film li:nth-child(2) { transition-delay: .25s; }
.feature__media .chips-film li:nth-child(3) { transition-delay: .5s; }

/* ---------- Spotlight that follows the pointer on dark stages ---------- */
.spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease);
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 244, 230, .07), transparent 65%); }
.spot.is-on { opacity: 1; }

/* ---------- Hero: film reel ---------- */
.hero--reel { padding-top: clamp(28px, 3vw, 56px); }
.hero--reel .hero__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; z-index: 1; }
.reel__ambient {
  position: absolute; top: 0; right: -6%; width: 70%; height: 100%; z-index: 0; pointer-events: none;
  filter: blur(80px) saturate(1.7); opacity: .55; transform: scale(1.1);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.reel__screen {
  position: relative; height: min(76svh, 780px); aspect-ratio: 4 / 5; max-width: 100%; border-radius: 10px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 60px 140px -40px rgba(0, 0, 0, .95);
}
.reel__shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.3s var(--ease), visibility 0s 1.3s; }
.reel__shot.is-active { opacity: 1; visibility: visible; transition: opacity 1.3s var(--ease), visibility 0s; z-index: 1; }
.reel__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.reel__shot.is-active .reel__still { animation: push 14s ease-out both; }
.reel__shot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .6) 32%, rgba(0, 0, 0, .15) 52%, transparent 62%), linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 20%); }
.reel__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 26px 28px; display: grid; gap: 8px; justify-items: start; }
.reel__cap > * { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.reel__shot.is-active .reel__cap > * { opacity: 1; transform: none; }
.reel__shot.is-active .reel__cap > :nth-child(2) { transition-delay: .35s; }
.reel__shot.is-active .reel__cap > :nth-child(3) { transition-delay: .55s; }
.reel__shot.is-active .reel__cap > :nth-child(4) { transition-delay: .75s; }
.reel__shot.is-active .reel__cap > :nth-child(5) { transition-delay: .95s; }
.reel__chapter { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.reel__chapter span { color: #fff; }
.reel__name { font-size: clamp(1.9rem, 1rem + 2.2vw, 3rem); letter-spacing: -.045em; color: #fff; }
.reel__line { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); color: rgba(255, 255, 255, .85); line-height: 1.2; }
.reel__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.reel__buy { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; color: #0a0a0a; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.reel__buy .icon { transition: transform .5s var(--ease); }
.reel__buy:hover .icon { transform: translateX(3px); }
.reel__hud { position: absolute; z-index: 3; left: 18px; right: 18px; top: 30px; display: flex; justify-content: space-between; font-size: .66rem; letter-spacing: .16em; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; pointer-events: none; }
.reel__rec { display: inline-flex; align-items: center; gap: 8px; }
.reel__rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.reel__bars { position: absolute; z-index: 3; left: 14px; right: 14px; top: 8px; display: flex; gap: 6px; }
.reel__bars button { flex: 1; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.reel__bars i { position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.reel__bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.reel__bars .is-done i::after { transform: none; }
.reel__bars button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 920px) {
  .hero--reel .hero__grid { grid-template-columns: 1fr; }
  .reel__screen { height: auto; width: 100%; }
  .reel__ambient { top: 30%; right: 0; width: 100%; height: 70%; }
}

/* ---------- Lineup: the centred panel takes the spotlight ---------- */
.plate { position: relative; overflow: hidden; border-radius: var(--r); outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .85); -webkit-box-reflect: below 10px linear-gradient(transparent 84%, rgba(255, 255, 255, .1)); }
.plate .lineup__img.is-photo { display: block; outline: 0; filter: brightness(.92); -webkit-box-reflect: unset; }
.lineup__panel:hover .plate .lineup__img.is-photo { filter: brightness(1.05); }
.lineup__panel { transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.lineup.has-active .lineup__panel:not(.is-active) { opacity: .42; transform: scale(.955); }
.lineup__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lineup__chips li { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.lineup__panel.is-active .lineup__chips li, .lineup:not(.has-active) .lineup__chips li { opacity: 1; transform: none; }
.lineup__panel.is-active .lineup__chips li:nth-child(2) { transition-delay: .2s; }
.lineup__sticky > :not(.spot) { position: relative; z-index: 1; }

/* ---------- Opening titles (first visit per session) ---------- */
.intro { display: none; }
.has-intro .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 250; pointer-events: none; animation: introGone 0s 2.5s forwards; }
.intro__bar { position: absolute; left: 0; right: 0; height: 50.5%; background: #040404; }
.intro__bar--top { top: 0; animation: barUp 1.2s var(--ease-io) 1.25s forwards; }
.intro__bar--bottom { bottom: 0; animation: barDown 1.2s var(--ease-io) 1.25s forwards; }
@keyframes barUp { to { transform: translateY(-100%); } }
@keyframes barDown { to { transform: translateY(100%); } }
@keyframes introGone { to { visibility: hidden; } }
.intro__titles { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; color: #fff; text-align: center; animation: titles 1.45s var(--ease) both; }
.intro__small { font-size: .78rem; letter-spacing: .5em; text-transform: uppercase; color: #cfcfcb; animation: track 1.45s var(--ease) both; }
.intro__big { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); line-height: 1; }
.intro__rule { width: 120px; height: 1px; margin-top: 12px; background: var(--brand-orange); transform-origin: 50% 50%; animation: rule 1.1s var(--ease) .15s both; }
@keyframes titles { 0% { opacity: 0; } 25%, 72% { opacity: 1; } 100% { opacity: 0; filter: blur(6px); } }
@keyframes track { from { letter-spacing: .9em; } }
@keyframes rule { from { transform: scaleX(0); } }
/* Hold the hero's own entrance until the curtain opens */
.has-intro .hero [data-lines] .w > span { transition-delay: calc(1.35s + var(--w) * 45ms); }
.has-intro .hero [data-reveal] { transition-delay: calc(1.45s + var(--i, 0) * 80ms) !important; }

@media (prefers-reduced-motion: reduce) {
  .has-intro .intro { display: none; }
  .film { display: none; }
  .reel__shot.is-active .reel__still { animation: none; }
}

/* ==========================================================================
   Phone videos: real hand-held footage (tools/lifestyle-videos.py), shown on hover and on phone pages
   ========================================================================== */

/* Cards & series tiles */
.badge-vid {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px;
  border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; color: #fff; pointer-events: none;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .5s var(--ease);
}
.series .badge-vid { right: auto; left: 12px; }
.vid-note { position: absolute; left: 12px; bottom: 12px; z-index: 3; font-size: .64rem; letter-spacing: .04em; color: rgba(255, 255, 255, .75); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.film.is-playing ~ .badge-vid { opacity: 0; }
.film.is-playing ~ .vid-note { opacity: 1; }
.card__media:has(.film.is-playing)::before { opacity: 0; }
.card__film, .series__film { z-index: 1; }

/* Product page stage */
.stage__video { z-index: 1; }
.product__stage.is-photo-view .stage__video { opacity: 0; }
.product__stage:has(.stage__video.is-playing):not(.is-photo-view) .product__float { opacity: 0; }
.product__stage .product__float { transition: opacity .9s var(--ease), transform 1s var(--ease); }
.stage__ui { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: flex-start; pointer-events: none; }
.stage__ui > * { pointer-events: auto; }
.viewseg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.viewseg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .75); font-size: .8rem; font-weight: 500; cursor: pointer; transition: background-color .4s, color .4s; }
.viewseg button[aria-pressed="true"] { background: #fff; color: #0a0a0a; }
.stage__note { position: absolute; z-index: 3; top: 16px; right: 16px; font-size: .66rem; letter-spacing: .04em; color: rgba(255, 255, 255, .6); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); transition: opacity .6s; pointer-events: none; }
.product__stage.is-photo-view .stage__note { opacity: 0; }
.product__stage:not(.is-photo-view):has(.stage__video.is-playing) figcaption { opacity: 0; }
.product__stage figcaption { transition: opacity .6s var(--ease); }
.product__stage .tag { z-index: 3; }
.product__stage:not(:has(.stage__video)) :is(.stage__ui, .stage__note) { display: none; }

/* ==========================================================================
   Apple-style iPhone pages: the full-width home hero and /iphones
   ========================================================================== */
.pill-blue { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 980px; background: #0071e3; color: #fff; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: background-color .3s; }
.pill-blue:hover { background: #0077ed; }
.pill-blue--sm { height: 30px; padding: 0 14px; font-size: .8rem; }
.link-blue { color: #2997ff; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.link-blue:hover { text-decoration: underline; }

/* ---------- Home: full-width iPhone hero (iPhone Air style: light studio, plays once) ---------- */
.airhero { position: relative; min-height: calc(100svh - var(--nav-h)); display: grid; overflow: hidden; background: #d5dbdf; color: #1d1d1f; }
.airhero__media { position: absolute; inset: 0; transform: scale(calc(1.1 - .1 * var(--in, 1))); transform-origin: 62% 55%; will-change: transform; }
.airhero__reveal { position: absolute; inset: 0; transform-origin: 62% 46%; }
.airhero__poster, .airhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
/* Opening shot, like Apple's start → end frame: close in and soft on the phone, then a slow pull back */
.js .airhero__reveal { transform: scale(1.22); filter: blur(14px); transition: transform 3.2s cubic-bezier(.4, 0, .1, 1), filter 2.2s cubic-bezier(.4, 0, .2, 1); }
.js .airhero.is-in .airhero__reveal { transform: none; filter: none; }
.airhero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(232, 236, 239, .45), rgba(232, 236, 239, .1) 45%, transparent 60%); }
.airhero__copy { position: relative; z-index: 2; align-self: center; justify-self: start; display: grid; justify-items: start; gap: 14px; max-width: 640px;
  padding: 48px 22px 96px max(22px, (100vw - 1200px) / 2); }
.airhero__eyebrow { font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: -.01em;
  background: linear-gradient(90deg, #5e5ce6, #0071e3 55%, #1a9fd0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.airhero__title { font-size: clamp(3rem, 1.4rem + 5.6vw, 7.25rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.airhero__title span { display: block; color: #6e6e73; }
.airhero__sub { max-width: 34ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: #424245; line-height: 1.4; }
.airhero__ctas, .ap-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 10px; }
.airhero .link-blue { color: #0066cc; }
.ap-ctas--center { justify-content: center; }
.airhero__facts { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(24px, 5vh, 44px); display: flex; flex-wrap: wrap; gap: 10px 40px;
  padding: 0 22px 0 max(22px, (100vw - 1200px) / 2); font-size: .9rem; color: #6e6e73; }
.airhero__facts strong { color: #1d1d1f; font-weight: 600; }
.airhero__facts li { display: inline-flex; align-items: center; gap: 9px; }
.airhero__facts li + li { padding-left: 40px; border-left: 1px solid rgba(29, 29, 31, .14); }
.airhero__facts .icon { color: #1d1d1f; opacity: .75; }
.airhero__facts { gap: 10px 40px; }
.js .airhero__copy > *, .js .airhero__facts { opacity: 0; transform: translateY(24px) scale(1.02); filter: blur(10px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); }
.js .airhero.is-in .airhero__copy > *, .js .airhero.is-in .airhero__facts { opacity: 1; transform: none; filter: none; }
.airhero.is-in .airhero__copy > * { transition-delay: .7s; }
.airhero.is-in .airhero__copy > :nth-child(2) { transition-delay: .85s; }
.airhero.is-in .airhero__copy > :nth-child(3) { transition-delay: 1.05s; }
.airhero.is-in .airhero__copy > :nth-child(4) { transition-delay: 1.2s; }
.airhero.is-in .airhero__facts { transition-delay: 1.5s; }
@media (max-width: 760px) {
  /* Text on the backdrop colour up top, the hand and phone below it */
  .airhero__media { top: auto; height: 58%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%); mask-image: linear-gradient(to bottom, transparent, #000 16%); }
  .airhero__poster, .airhero__video { object-position: 62% 50%; }
  .airhero::after { display: none; }
  .airhero__copy { align-self: start; padding: 40px 22px 0; }
  .airhero__facts { display: none; }
}

/* ---------- /iphones ---------- */
.iphone-page { background: #000; }
.ap { --bg: #000; --bg-2: #1d1d1f; --ink: #f5f5f7; --ink-2: #d2d2d7; --muted: #86868b; --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .24);
  background: #000; color: #f5f5f7; }
.ap-wrap { width: min(1200px, 100% - 44px); margin-inline: auto; }
.ap-eyebrow { display: block; font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); font-weight: 600; letter-spacing: -.01em; color: #f5f5f7; }

.ap-subnav { position: sticky; top: var(--nav-h); z-index: 90; height: 52px; background: rgba(22, 22, 23, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ap-subnav__in { width: min(1200px, 100% - 44px); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 26px; }
.ap-subnav__title { margin-right: auto; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.ap-subnav ul { display: flex; gap: 24px; }
.ap-subnav ul a { font-size: .78rem; color: #d2d2d7; text-decoration: none; transition: color .3s; }
.ap-subnav ul a:hover { color: #fff; }
@media (max-width: 760px) { .ap-subnav ul { display: none; } }

.ap-hero { position: relative; height: 175vh; }
.ap-hero__sticky { position: sticky; top: calc(var(--nav-h) + 52px); height: calc(100svh - var(--nav-h) - 52px); min-height: 520px; overflow: hidden; display: grid; }
.ap-hero__frame { position: absolute; inset: 0; overflow: hidden; background: #000;
  transform: scale(calc(1 - .12 * var(--p, 0))); border-radius: calc(var(--p, 0) * 32px); will-change: transform; }
.ap-hero__poster, .ap-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-hero__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .2) 45%, transparent 65%), linear-gradient(to right, rgba(0, 0, 0, .55), transparent 55%); }
.ap-hero__copy { position: relative; z-index: 2; align-self: end; display: grid; gap: 14px; justify-items: start; padding: 0 max(22px, (100vw - 1200px) / 2) clamp(40px, 9vh, 96px);
  opacity: calc(1 - var(--p, 0) * 1.8); transform: translateY(calc(var(--p, 0) * -48px)); }
.ap-hero__copy .crumbs ol { color: #86868b; }
.ap-hero__copy .crumbs [aria-current] { color: #d2d2d7; }
.ap-hero h1 { display: grid; gap: 8px; margin-top: 8px; }
.ap-hero__title { font-size: clamp(3.2rem, 1.4rem + 6vw, 7.5rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.ap-hero__title span { background: linear-gradient(90deg, #ffd2a6, #e8792b 60%, #c2552a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-hero__sub { max-width: 40ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: #a1a1a6; }
.js .ap-hero__copy > * { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js .ap-hero.is-in .ap-hero__copy > * { opacity: 1; transform: none; }
.ap-hero.is-in .ap-hero__copy > :nth-child(2) { transition-delay: .5s; }
.ap-hero.is-in .ap-hero__copy > :nth-child(3) { transition-delay: .75s; }
.ap-hero.is-in .ap-hero__copy > :nth-child(4) { transition-delay: .95s; }

.ap-sec { padding: clamp(80px, 9vw, 150px) 0; }
.ap-sec__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 40px; }
.ap-h2 { font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.ap-h2 span { color: #86868b; }
.ap-h2--center { text-align: center; }

/* Highlights gallery */
.ap-gallery { --gw: min(1040px, 86vw); --gpad: max(22px, (100vw - 1200px) / 2); }
.ap-gallery__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 0 calc(100vw - var(--gw) - var(--gpad)) 0 var(--gpad); scroll-padding-left: var(--gpad); }
.ap-gallery__track::-webkit-scrollbar { display: none; }
.ap-gallery__item { position: relative; flex: none; width: var(--gw); aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #1d1d1f; scroll-snap-align: start; }
.ap-gallery__poster, .ap-gallery__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-gallery__item:not(.is-wide) :is(.ap-gallery__poster, .ap-gallery__video) { left: auto; width: 46%; }
.ap-gallery__item:not(.is-wide)::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; right: 46%; width: 14%; transform: translateX(100%); pointer-events: none; background: linear-gradient(to right, #1d1d1f, transparent); }
.ap-gallery__item.is-wide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom right, rgba(0, 0, 0, .6), transparent 50%); }
.ap-gallery__cap { position: absolute; z-index: 2; top: clamp(24px, 4vw, 48px); left: clamp(24px, 4vw, 48px); max-width: 26ch; font-size: clamp(1.15rem, 1rem + .9vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: #86868b; }
.ap-gallery__cap strong { color: #f5f5f7; font-weight: 600; }
.ap-gallery__ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.ap-dots, .ap-play { background: rgba(42, 42, 45, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ap-dots { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px; border-radius: 999px; }
.ap-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .42); cursor: pointer; transition: width .5s var(--ease), background-color .4s; }
.ap-dots button[aria-selected="true"] { width: 48px; background: rgba(255, 255, 255, .28); }
.ap-dots i { position: absolute; inset: 0; border-radius: inherit; background: #f5f5f7; transform-origin: 0 50%; transform: scaleX(0); }
.ap-dots button[aria-selected="true"] i { transform: scaleX(var(--p, 0)); }
.ap-gallery.is-paused .ap-dots button[aria-selected="true"] i { transform: scaleX(1); }
.ap-play { width: 56px; height: 56px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #f5f5f7; cursor: pointer; }
.ap-play .i-play, .ap-gallery.is-paused .ap-play .i-pause { display: none; }
.ap-gallery.is-paused .ap-play .i-play { display: block; }
@media (max-width: 760px) {
  .ap-gallery__item { aspect-ratio: 4 / 5; }
  .ap-gallery__item:not(.is-wide) :is(.ap-gallery__poster, .ap-gallery__video) { left: 0; width: 100%; }
  .ap-gallery__item:not(.is-wide)::before { display: none; }
  .ap-gallery__item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 45%); }
}

/* Take a closer look */
.ap-closer__tabs, .ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 36px; }
.ap-closer__tabs button, .ap-chips a { height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: #1d1d1f; color: #d2d2d7; font-size: .9rem; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s; }
.ap-closer__tabs button:hover, .ap-chips a:hover { background: #333336; color: #fff; }
.ap-closer__tabs button[aria-selected="true"] { background: #f5f5f7; color: #1d1d1f; }
.ap-closer__panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; animation: fade .8s var(--ease); }
.ap-closer__stage { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #111; }
.ap-closer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-closer__info { display: grid; gap: 14px; align-content: center; }
.ap-closer__info h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.ap-closer__blurb { color: #a1a1a6; font-size: 1.1rem; max-width: 46ch; }
.ap-closer__specs { margin: 10px 0 4px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ap-closer__specs div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ap-closer__specs dt { color: #86868b; font-size: .85rem; }
.ap-closer__specs dd { margin: 0; }
.ap-closer__price { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ap-closer__price small { font-size: .9rem; font-weight: 400; color: #86868b; margin-left: 6px; }
@media (max-width: 860px) { .ap-closer__panel { grid-template-columns: 1fr; } }

/* Compare */
.ap-compare__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; }
.ap-compare__col { display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; }
.ap-compare__img { display: block; width: 72%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #111; margin-bottom: 10px; }
.ap-compare__photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ap-compare__col:hover .ap-compare__photo { transform: scale(1.05); }
.ap-compare__col h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.ap-compare__price { color: #a1a1a6; font-variant-numeric: tabular-nums; }
.ap-compare__col dl { width: 100%; margin: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.ap-compare__col dl div { padding: 16px 6px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ap-compare__col dt { font-size: .74rem; color: #86868b; margin-bottom: 4px; }
.ap-compare__col dd { margin: 0; font-size: .98rem; }
@media (max-width: 900px) {
  .ap-compare__grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -22px; padding: 0 22px; }
  .ap-compare__col { scroll-snap-align: center; }
}

/* Prices */
.ap-series { margin-top: 64px; }
.ap-series__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ap-series__head h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; }
.ap-series__head p { color: #86868b; }
.ap-chips { margin-bottom: 0; }

/* Why buy here */
.ap-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ap-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 250px; padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: #1d1d1f; }
.ap-tile .icon { margin-bottom: auto; color: #f5f5f7; }
.ap-tile h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.ap-tile p { color: #a1a1a6; }
.ap-tile--big { grid-row: span 2; background: radial-gradient(ellipse 90% 70% at 20% 0%, rgba(232, 121, 43, .35), transparent 60%), #1d1d1f; }
.ap-tile--big h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); }
@media (max-width: 860px) { .ap-bento { grid-template-columns: 1fr; } .ap-tile--big { grid-row: auto; } }
.ap-faq .faq { border-top-color: rgba(255, 255, 255, .3); }

@media (prefers-reduced-motion: reduce) {
  .ap-hero { height: auto; }
  .ap-hero__sticky { position: relative; top: 0; }
  .airhero__media { transform: none; }
}

/* ---------- Apple-style video control (pause / play / replay) ---------- */
.vidctl { position: absolute; z-index: 3; right: max(96px, (100vw - 1200px) / 2); /* clear of the floating WhatsApp button */ bottom: clamp(24px, 5vh, 44px); width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #1d1d1f; background: rgba(210, 210, 215, .64); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .5s var(--ease), background-color .3s; }
.vidctl:hover { background: rgba(223, 223, 227, .8); }
.vidctl:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
.vidctl svg { grid-area: 1 / 1; display: none; }
.vidctl[data-state="playing"] .i-pause, .vidctl[data-state="paused"] .i-play, .vidctl[data-state="ended"] .i-replay, .vidctl[data-state="idle"] .i-pause { display: block; }
.vidctl[data-state="idle"] { opacity: 0; pointer-events: none; }
.vidctl--dark { color: #f5f5f7; background: rgba(66, 66, 69, .72); }
.vidctl--dark:hover { background: rgba(86, 86, 89, .8); }
.ap-hero .vidctl { bottom: clamp(40px, 9vh, 96px); }
@media (max-width: 760px) { .airhero__facts li + li { padding-left: 0; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .vidctl { display: none; } .js .airhero__reveal { transform: none; filter: none; } }
