/* nax.works: dark, smooth, monochrome. The dots (the "grille") are the signature.
   Type is temporary: PT Sans Narrow for headlines, PT Sans for reading, PT Mono for labels.
   To change fonts later, edit these three variables and the Google Fonts link in index.html. */
:root {
  --display: "PT Sans Narrow", "Arial Narrow", "PT Sans", sans-serif;
  --sans: "PT Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "PT Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --bg: #050505;
  --bg2: #0b0b0b;
  --card: #0f0f10;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.16);
  --dim: #8d8d8a;
  --fg: #e8e8e5;
  --white: #fafaf7;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);      /* expo out: fast start, very soft landing */
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --r: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--white); }
h1 { font: 700 clamp(3.2rem, 7.4vw, 8.6rem)/0.88 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
h2 { font: 700 clamp(2.8rem, 7.4vw, 7.4rem)/0.9 var(--display); text-transform: uppercase; letter-spacing: -0.015em; }
h3 { font: 700 1.6rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
p { margin: 0; }
::selection { background: var(--white); color: var(--bg); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.tiny { font-size: 0.76rem; letter-spacing: 0.04em; }
.dim { color: var(--dim); }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 26px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--dim); max-width: 520px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 300; background: var(--white); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

/* film grain over everything */
.grain { position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: 0.06;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -1%); } }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; z-index: 100; top: 14px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; transition: transform 0.7s var(--ease); }
.nav.hide { transform: translateY(-120%); }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 28px; padding: 7px 7px 7px 20px; border-radius: 999px;
  background: rgba(16, 16, 16, 0.55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem var(--mono); color: var(--white); letter-spacing: -0.02em; }
.logo-dots { display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; }
.logo-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--white); animation: blink 2.6s var(--ease-io) infinite; }
.logo-dots i:nth-child(2) { animation-delay: 0.2s; } .logo-dots i:nth-child(3) { animation-delay: 0.4s; } .logo-dots i:nth-child(4) { animation-delay: 0.6s; }
@keyframes blink { 50% { opacity: 0.25; } }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font: 400 0.8rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); transition: color 0.3s; }
.nav-links a:hover { color: var(--white); }

/* ---------------------------------------------------------------- buttons, chips */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 999px;
  font: 700 0.98rem var(--sans); color: var(--white); border: 1px solid var(--line2); will-change: transform; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--white); transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: #000; border-color: var(--white); }
.btn.light { background: var(--white); color: #000; border-color: var(--white); }
.btn.light::before { background: #d9d9d4; }
.btn.light:hover { box-shadow: 0 16px 50px -16px rgba(255, 255, 255, 0.6); }
.btn.glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.small { height: 40px; padding: 0 20px; font-size: 0.88rem; }
.btn.wide { width: 100%; }
.btn.disabled { opacity: 0.35; pointer-events: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 400 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid var(--line2); color: var(--dim); white-space: nowrap; }
.chip.light { background: var(--white); color: #000; border-color: var(--white); }

/* ---------------------------------------------------------------- reveals */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0 0.06em; margin: -0.04em 0 -0.06em; }
.split .wi { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.3s var(--ease); }
.split.in .wi { transform: none; }
.fade { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease); }
.fade.in { opacity: 1; transform: none; filter: none; }
.no-js .split .wi, .no-js .fade { transform: none; opacity: 1; filter: none; }

/* ---------------------------------------------------------------- the grille */
.grille { display: block; width: 100%; height: 100%; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 150px 0 72px; }
.hero > .grille { position: absolute; inset: 0; }
.aurora { position: absolute; inset: -20%; filter: blur(70px); opacity: 0.5; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 30%; top: 8%; background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%); animation: drift1 22s var(--ease-io) infinite alternate; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; left: 55%; top: 30%; background: radial-gradient(circle, rgba(170, 190, 255, 0.11), transparent 65%); animation: drift2 26s var(--ease-io) infinite alternate; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 12%; top: 34%; background: radial-gradient(circle, rgba(255, 220, 190, 0.08), transparent 65%); animation: drift1 30s var(--ease-io) infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-12vw, 8vh) scale(1.2); } }
@keyframes drift2 { to { transform: translate(10vw, -10vh) scale(0.85); } }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 40%), rgba(255, 255, 255, 0.07), transparent 70%); transition: opacity 0.6s; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--bg) 4%, rgba(5, 5, 5, 0.82) 34%, rgba(5, 5, 5, 0.1) 70%, rgba(5, 5, 5, 0.55)); }
.hero-copy { position: relative; will-change: transform; }
.hero h1 { margin-bottom: 34px; max-width: 15ch; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); } 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--line2); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------------------------------------------------------------- ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg2); }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 22px 0; will-change: transform; }
.ticker span { font: 700 clamp(1.3rem, 2.4vw, 2rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg); white-space: nowrap; }
.ticker span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); }
.ticker b { width: 8px; height: 8px; border-radius: 50%; background: var(--white); opacity: 0.4; flex: none; }

/* ---------------------------------------------------------------- products: pinned, slides sideways */
.products { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.track { display: flex; gap: 22px; padding: 0 max(24px, (100vw - 1280px) / 2); will-change: transform; align-items: stretch; }
.panel { flex: none; }
.intro { width: min(440px, 80vw); display: flex; flex-direction: column; justify-content: center; padding-right: 30px; }
.intro h2 { margin-bottom: 24px; }
.progress { margin-top: 40px; height: 2px; width: 180px; background: var(--line2); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
.card {
  position: relative; display: flex; flex-direction: column; width: min(620px, 82vw); border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, #121213, #0b0b0c); border: 1px solid var(--line); will-change: transform;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.9s var(--ease), border-color 0.4s;
}
.card.soon, .card.next { width: min(420px, 78vw); }
.card:hover { border-color: var(--line2); }
.glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.11), transparent 45%); }
.tilt:hover .glare { opacity: 1; }
.card-media { overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0a0a; }
.card-media img { width: 100%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.1); }
.card-body { padding: 26px 28px 28px; display: grid; gap: 12px; align-content: start; flex: 1; }
.card-top { display: flex; align-items: center; gap: 14px; }
.card-top .chip { margin-left: auto; }
.card-icon { border-radius: 11px; }
.card-line { font: 700 1.9rem/1.05 var(--display); text-transform: uppercase; color: var(--white); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.go { font-weight: 700; color: var(--white); }
.go b { display: inline-block; transition: transform 0.6s var(--ease); }
.card:hover .go b { transform: translateX(6px); }
.card.soon .grille.small { height: 340px; border-bottom: 1px solid var(--line); }
.card.next { justify-content: center; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.025) 14px 15px), #0a0a0b; }
.next-inner { padding: 34px; display: grid; gap: 14px; justify-items: start; }

/* ---------------------------------------------------------------- the sound line */
.scope { display: block; width: 100%; height: 160px; }

/* ---------------------------------------------------------------- suite */
.suite { padding: 110px 0 150px; }
.suite-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.suite h2 { margin-bottom: 26px; }
.price-card { position: relative; padding: 32px; border-radius: var(--r); background: linear-gradient(180deg, rgba(22, 22, 23, 0.9), rgba(10, 10, 11, 0.95)); isolation: isolate; }
.glow-border { position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.price-card::after { content: ""; position: absolute; inset: -1px; z-index: -2; border-radius: inherit; background: radial-gradient(400px circle at var(--gx, 70%) var(--gy, 0%), rgba(255, 255, 255, 0.08), transparent 60%); }
.bill { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #000; border: 1px solid var(--line); margin-bottom: 26px; }
.bill button { position: relative; z-index: 1; height: 36px; padding: 0 18px; border-radius: 999px; font: 700 0.88rem var(--sans); color: var(--dim); transition: color 0.4s var(--ease); }
.bill button[aria-selected="true"] { color: #000; }
.bill-knob { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--white); transition: transform 0.6s var(--ease), width 0.6s var(--ease); }
.price { display: flex; align-items: flex-start; font: 700 7rem/0.85 var(--display); color: var(--white); letter-spacing: -0.02em; }
.price .cur { font-size: 0.4em; margin: 0.1em 0.04em 0 0; }
.price small { align-self: flex-end; margin: 0 0 0.5em 0.3em; font: 400 1.05rem var(--sans); color: var(--dim); letter-spacing: 0; }
[data-price-note] { margin: 10px 0 24px; min-height: 1.3em; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) scale(0.8); }

/* ---------------------------------------------------------------- account */
.account { padding: 140px 0; border-top: 1px solid var(--line); }
.account h2 { margin-bottom: 60px; }
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cell {
  position: relative; overflow: hidden; padding: 28px 24px 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  display: grid; gap: 10px; align-content: start; will-change: transform;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.9s var(--ease), border-color 0.4s, opacity 1.2s var(--ease), filter 1.2s var(--ease);
}
.cell.fade { transform: perspective(900px) translateY(40px); }
.cell.fade.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.cell:hover { border-color: var(--line2); }
.cell-n { font-size: 0.78rem; color: var(--dim); margin-bottom: 34px; }

/* ---------------------------------------------------------------- contact */
.contact { position: relative; overflow: hidden; padding: 160px 0 150px; border-top: 1px solid var(--line); }
.contact > .grille.band { position: absolute; inset: 0; opacity: 0.6; }
.contact::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 25%, rgba(5, 5, 5, 0.3)); }
.contact-copy { position: relative; z-index: 1; }
.mail { display: inline-flex; flex-wrap: wrap; margin: 20px 0 30px; font: 700 clamp(3rem, 12vw, 12rem)/0.9 var(--display); text-transform: uppercase; color: var(--white); letter-spacing: -0.01em; }
.mail .l { display: inline-block; transition: transform 0.7s var(--ease), color 0.4s; transition-delay: calc(var(--i) * 22ms); }
.mail:hover .l { transform: translateY(-0.12em); }
.mail:hover .l:nth-child(odd) { transform: translateY(0.06em); color: transparent; -webkit-text-stroke: 1.5px var(--white); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0 44px; }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.9rem; color: var(--dim); }
.foot-links a { transition: color 0.3s; }
.foot-links a:hover { color: var(--white); }

/* ---------------------------------------------------------------- cursor (mouse only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.cursor-dot, .cursor-ring { position: absolute; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(255, 255, 255, 0.5); transition: width 0.6s var(--ease), height 0.6s var(--ease), margin 0.6s var(--ease), background 0.4s, border-color 0.4s; }
.cursor.big .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(255, 255, 255, 0.95); border-color: transparent; }
.cursor-label { position: absolute; transform: translate(-50%, -50%) scale(0.6); font: 400 0.68rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: #000; opacity: 0; transition: opacity 0.3s, transform 0.6s var(--ease); white-space: nowrap; }
.cursor.big .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.down .cursor-ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
@media (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
}

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1000px) {
  .suite-grid { grid-template-columns: 1fr; }
  .cells { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-pill { gap: 14px; padding-left: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-bottom: 52px; }
  .scroll-cue { display: none; }
  /* products: a normal vertical list on phones */
  .products { height: auto !important; padding: 100px 0 40px; }
  .pin { position: static; height: auto; display: block; }
  .track { flex-direction: column; transform: none !important; padding: 0 16px; }
  .intro, .card, .card.soon, .card.next { width: 100%; }
  .progress { display: none; }
  .suite, .account, .contact { padding: 96px 0; }
  .cells { grid-template-columns: 1fr; }
  .card-body, .price-card { padding: 22px; }
  .card.soon .grille.small { height: 240px; }
  .price { font-size: 5.4rem; }
  .btn { width: 100%; }
  .btn.small { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .split .wi, .fade { transform: none !important; opacity: 1 !important; filter: none !important; transition: none !important; }
  .grain, .aurora i, .logo-dots i, .pulse, .scroll-cue span { animation: none; }
}
