/* ==========================================================================
   Rarefy Audio — design system
   --------------------------------------------------------------------------
   Art direction: a clean, light "gallery" exterior (Apple / Teenage Engineering).
   The chrome is MONOCHROME (ink on paper). All colour comes from the PRODUCT —
   the app icon, the wordmark, and product photography / video shown inside
   framed media. The page never competes with the product.

   This file is the reusable template: tokens → primitives → components →
   page surfaces. Cloning a new product page = reuse these, swap the content.
   ========================================================================== */

/* --- Optional display font upgrade -----------------------------------------
   The site looks premium on Apple devices using the system SF stack below.
   To give headings more character (recommended: Space Grotesk — it echoes the
   geometric wordmark), drop the woff2 files into /assets/fonts/ and uncomment:

   @font-face {
     font-family: "Space Grotesk"; font-weight: 400 700; font-display: swap;
     src: url("/assets/fonts/SpaceGrotesk.woff2") format("woff2");
   }
   …then add "Space Grotesk" to the front of --font-display.
--------------------------------------------------------------------------- */

:root {
  /* Colour — light gallery */
  --paper:        #ffffff;   /* base background */
  --paper-2:      #faf9f6;   /* faintly warm off-white */
  --bone:         #f2eee6;   /* warm panel — marble / chassis echo */
  --bone-line:    #e6e0d3;
  --ink:          #16161c;   /* near-black text */
  --ink-soft:     #595963;   /* secondary text */
  --ink-faint:    #8a8a94;   /* tertiary / hints */
  --line:         rgba(22,22,28,.10);
  --line-strong:  rgba(22,22,28,.16);

  /* Buttons — monochrome */
  --btn:          #16161c;
  --btn-ink:      #ffffff;
  --btn-hover:    #2c2c36;

  /* Product accent — used ONLY inside product media affordances, never chrome */
  --vwb-grad: linear-gradient(118deg,#3fb7a6 0%,#3e6fb5 28%,#c13d86 60%,#e0556a 80%,#5a2e6b 100%);

  /* Shadow */
  --shadow-frame: 0 40px 90px -40px rgba(22,22,28,.40), 0 16px 40px -24px rgba(22,22,28,.22);
  --shadow-soft:  0 2px 14px rgba(22,22,28,.06);

  /* Type */
  --font-display: "SF Pro Display","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Inter,sans-serif;
  --font-body:    -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Roboto,Helvetica,Arial,sans-serif;
  --font-mono:    ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;

  --fs-display: clamp(2.6rem, 6.2vw, 5rem);
  --fs-h1:      clamp(2.05rem, 4.4vw, 3.35rem);
  --fs-h2:      clamp(1.6rem, 3.1vw, 2.4rem);
  --fs-h3:      1.2rem;
  --fs-lead:    clamp(1.1rem, 1.55vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   .875rem;
  --fs-eyebrow: .75rem;

  /* Layout & rhythm */
  --container:        1120px;
  --container-narrow: 760px;
  --container-wide:   1320px;
  --pad-x:            clamp(20px, 5vw, 40px);
  --section-y:        clamp(4.5rem, 9vw, 8.5rem);
  --radius:           14px;
  --radius-lg:        24px;
  --radius-pill:      999px;

  /* Motion */
  --ease: cubic-bezier(.16,1,.3,1);
  --dur:  .65s;
}

/* --- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(22,22,28,.12); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--btn-ink);
  padding: 12px 18px; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip:focus { left: 0; }

/* --- Layout primitives ---------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--pad-x);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); }
.bone    { background: var(--bone); }
.paper-2 { background: var(--paper-2); }
.center  { text-align: center; }
.center .lead, .center p.muted { margin-inline: auto; }

/* --- Type ----------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 600;
  margin: 0 0 22px;
  max-width: 16ch;
}
.center .display { max-width: 20ch; margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: var(--fs-h1); line-height: 1.06; margin: 0 0 18px; }
h2 { font-size: var(--fs-h2); line-height: 1.1;  margin: 0 0 16px; }
h3 { font-size: var(--fs-h3); line-height: 1.3;  margin: 0 0 8px; }
.lead {
  font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft);
  max-width: 56ch; margin: 0 0 8px;
}
p { margin: 0 0 16px; }
.muted { color: var(--ink-soft); }
strong { font-weight: 650; color: var(--ink); }
a.inline { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a.inline:hover { text-decoration-color: var(--ink); }

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 20px;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand__mark { width: 22px; height: 22px; color: var(--ink); flex: none; }
.brand__mark rect { fill: currentColor; }
.brand__name { font-family: var(--font-display); font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em; }
.brand__sub  { font-weight: 400; color: var(--ink-soft); }
.brand__logo { height: 24px; width: auto; }            /* swap-in target for the real Rarefy Audio logo */
.footer__brand .brand__logo { height: 20px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  text-decoration: none; color: var(--ink-soft); font-size: .95rem;
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --b: var(--btn);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 550; line-height: 1; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  padding: 13px 22px; border-radius: var(--radius-pill);
  background: var(--b); color: var(--btn-ink); border: 1px solid var(--b);
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* App Store badge — the one allowed dark element (Apple's badge is black).
   Replace the inner markup with Apple's official SVG badge when the listing is
   live; keep the <a> + data attributes for outbound tracking. */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 11px 18px 11px 16px; border-radius: var(--radius);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.appstore-badge:hover { transform: translateY(-1px); opacity: .92; }
.appstore-badge svg { width: 22px; height: 22px; flex: none; }
.appstore-badge .ab-top { font-size: .62rem; letter-spacing: .04em; opacity: .85; line-height: 1.1; text-transform: uppercase; }
.appstore-badge .ab-big { font-size: 1.05rem; font-weight: 550; line-height: 1.15; letter-spacing: -.01em; }
.appstore-badge[data-placeholder]::after {
  content: "link at launch"; font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .1em; text-transform: uppercase; opacity: .5; margin-left: 4px;
}

.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.cta.center { justify-content: center; }

/* --- Media frame — "product on seamless" ---------------------------------- */
.frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bone);
  border: 1px solid var(--bone-line);
  box-shadow: var(--shadow-frame);
}
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--cinematic { aspect-ratio: 21 / 9; }
.frame > img, .frame > video, .frame > iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0;
}
/* Empty-slot styling — looks intentional, tells you what media to drop in */
.frame__slot {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
  color: var(--ink-faint);
}
.frame__slot .play {
  width: 64px; height: 64px; border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
}
.frame__slot .play svg { width: 22px; height: 22px; }
.frame__slot .slot-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.frame__slot code { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft); background: rgba(22,22,28,.05); padding: 2px 7px; border-radius: 6px; }

/* --- Feature block (alternating media / text) ----------------------------- */
.feature__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature--reverse .feature__media { order: -1; }
.gearline { margin: 0 0 22px; color: var(--ink-faint); }

/* --- Dry vs Produced A/B -------------------------------------------------- */
.ab {
  margin-top: 26px; padding: 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper-2);
}
.ab__controls { display: inline-flex; padding: 4px; gap: 4px; background: rgba(22,22,28,.05); border-radius: var(--radius-pill); }
.ab__btn {
  font: inherit; font-size: .9rem; font-weight: 550; cursor: pointer;
  border: 0; background: transparent; color: var(--ink-soft);
  padding: 8px 18px; border-radius: var(--radius-pill); transition: all .2s var(--ease);
}
.ab__btn.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }
.ab__play {
  display: inline-flex; align-items: center; gap: 9px; margin-left: 12px;
  font: inherit; font-size: .9rem; font-weight: 550; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
  padding: 8px 18px; border-radius: var(--radius-pill); transition: all .2s var(--ease);
}
.ab__play:hover { border-color: var(--ink); }
.ab__play .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ink-faint); transition: background .2s; }
.ab.is-playing .ab__play .dot { background: #e0556a; box-shadow: 0 0 0 4px rgba(224,85,106,.18); }
.ab__hint { font-size: var(--fs-small); margin: 14px 0 0; }

/* --- Bento (craft) -------------------------------------------------------- */
.bento {
  display: grid; gap: 16px; margin-top: 44px;
  grid-template-columns: repeat(4, 1fr);
}
.tile {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
}
.tile h3 { margin-bottom: 6px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.tile--wide { grid-column: span 2; }
.tile--media { grid-column: span 2; padding: 0; overflow: hidden; min-height: 220px; }

/* --- Promise strip -------------------------------------------------------- */
.promise__line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.18; letter-spacing: -.02em;
  margin: 0; max-width: 22ch; margin-inline: auto;
}

/* --- Product hero --------------------------------------------------------- */
.hero--product .hero__wordmark { height: clamp(38px, 5.6vw, 64px); width: auto; margin: 0 auto 26px; }
.hero__frame-wrap { margin-top: clamp(36px, 6vw, 64px); }

/* --- Featured product card (home) ----------------------------------------- */
.prodcard {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.prodcard__media .frame { aspect-ratio: 4 / 3; }
.prodcard__icon { width: 76px; height: 76px; border-radius: 17px; box-shadow: var(--shadow-soft); margin-bottom: 18px; }
.prodcard__wordmark { height: 34px; width: auto; margin-bottom: 18px; }
.prodcard__points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.prodcard__points li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.prodcard__points li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  border-radius: 2px; background: var(--ink); opacity: .8;
}

/* --- Social proof --------------------------------------------------------- */
.proof__quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem,2.6vw,1.9rem); line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.proof__logos { margin-top: 24px; min-height: 28px; }

/* --- Final CTA ------------------------------------------------------------ */
.finalcta__icon { width: 84px; height: 84px; border-radius: 19px; margin: 0 auto 22px; box-shadow: var(--shadow-soft); }

/* --- Email capture -------------------------------------------------------- */
.signup__form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.signup__form input[type=email] {
  flex: 1 1 280px; max-width: 360px;
  font: inherit; padding: 14px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
}
.signup__form input[type=email]::placeholder { color: var(--ink-faint); }

/* --- Sticky buy bar ------------------------------------------------------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.buybar.is-visible { transform: translateY(0); }
.buybar__inner { display: flex; align-items: center; gap: 16px; height: 66px; }
.buybar__name { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; margin-right: auto; }
.buybar__name img { width: 32px; height: 32px; border-radius: 8px; }
.buybar__free { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line-strong); padding: 3px 8px; border-radius: 999px; }

/* --- FAQ (legacy class, restyled) ----------------------------------------- */
.faq { margin: 32px 0 0; }
.faq dt { font-family: var(--font-display); font-weight: 600; font-size: 1.075rem; margin-top: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.faq dt:first-child { border-top: 0; padding-top: 0; }
.faq dd { margin: 8px 0 22px; color: var(--ink-soft); }

/* --- Footer (legacy class, restyled) -------------------------------------- */
footer.site {
  border-top: 1px solid var(--line); margin-top: 0;
  padding-block: 48px; color: var(--ink-soft); font-size: var(--fs-small);
  background: var(--paper);
}
footer.site .container { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site > a { margin-right: 20px; }   /* legacy legal-page footers (links are direct children) */
.footer__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); margin-right: auto; }
.footer__brand .brand__mark { width: 18px; height: 18px; }
.footer__legal { width: 100%; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 18px; }

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

/* --- Legacy compatibility (legal pages, leftover markup) ------------------ */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
header.site { display: flex; align-items: center; justify-content: space-between; height: 64px; }
header.site .brand { font-family: var(--font-display); font-weight: 650; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
header.site nav a { color: var(--ink-soft); text-decoration: none; margin-left: 22px; font-size: .95rem; }
header.site nav a:hover { color: var(--ink); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.grad { color: var(--ink); }  /* neutralised — no gradient text in chrome */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 40px 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card h3 { margin: 0 0 8px; } .card p { margin: 0; color: var(--ink-soft); }
.email-cap { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.email-cap input { flex: 1 1 260px; padding: 13px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; }
.legal { max-width: var(--container-narrow); margin-inline: auto; padding-block: clamp(2.5rem,6vw,4.5rem); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal h2 { margin-top: 32px; }
.legal p, .legal li { color: var(--ink-soft); }
.updated { font-size: var(--fs-small); color: var(--ink-faint); }
.badge-placeholder { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 10px 16px; color: var(--ink-soft); font-size: var(--fs-small); }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .feature__grid, .prodcard { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide, .tile--media { grid-column: span 2; }
}
@media (max-width: 560px) {
  .nav__links { display: none; }       /* keep brand + CTA; links live in footer */
  .bento { grid-template-columns: 1fr; }
  .tile--wide, .tile--media { grid-column: span 1; }
  .ab__play { margin-left: 0; margin-top: 10px; }
  .ab__controls { width: 100%; justify-content: center; }
}

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

/* ===== Feedback round 2 (2026-06-29) — logo, sizing, nav product, signup ===== */

/* Align neutral palette to the official logo kit */
:root {
  --ink:  #0E1E26;   /* logo "Ink"   */
  --bone: #F1ECE1;   /* logo "Paper" */
}

/* Brand logo — tight-cropped, outlined SVG (Rarefy-Audio-Bold-Light), so it reads
   at a normal nav size and the bar stays slim. */
.nav__inner { height: clamp(64px, 7.5vw, 74px); }
.brand__logo { height: clamp(32px, 3.8vw, 38px); width: auto; }
header.site { height: clamp(62px, 7vw, 70px); }
header.site .brand__logo { height: clamp(28px, 3.4vw, 34px); }   /* legal / press pages */
.footer__brand .brand__logo { height: 24px; }

/* Nav product link — TEXT, not the app icon (a detailed icon can't read at nav
   scale and bloats the bar). The icon lives large on the page + as the favicon. */
.nav__product { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-weight: 550; font-size: 1rem; white-space: nowrap; }
.nav__product:hover { color: var(--ink); opacity: .7; }

/* Home featured wordmark — 2× (icon removed) */
.prodcard__wordmark { height: 68px; margin-bottom: 22px; }

/* Product hero wordmark — slightly larger */
.hero--product .hero__wordmark { height: clamp(48px, 7vw, 84px); width: auto; }

/* Final-CTA icon — ~2× and clickable to the store */
.finalcta__iconlink { display: inline-block; line-height: 0; }
.finalcta__icon { width: clamp(120px, 18vw, 164px); height: auto; border-radius: 36px; margin: 0 auto 22px; }

/* Sticky bar: the left side is a store link too */
.buybar__name { text-decoration: none; color: var(--ink); }
.buybar__name:hover { opacity: .85; }

/* "Try it for yourself" CTA under the A/B */
.ab-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.ab-cta__tag { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

/* Email signup — consent, inline status, honeypot */
.signup__consent { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 12px; }
.signup__status { font-size: var(--fs-small); margin-top: 10px; min-height: 1.2em; }
.signup__status.is-ok  { color: #23606F; }
.signup__status.is-err { color: #b3402f; }
.signup__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ==========================================================================
   Rarefy Labs — ink hero banner (studio variant)
   --------------------------------------------------------------------------
   The one deliberate departure from the audio site's all-light chrome: the
   holding-company splash leads with a full-bleed INK banner and the reversed
   (dark-ground) logo lockup, echoing the brand mock. Everything below the
   banner returns to the shared light gallery.
   ========================================================================== */
:root { --air: #7CA6B0; }   /* logo "Air" — the one accent allowed on ink */

/* The Labs nav sits over the ink hero, so it stays solid-light from the top
   (the audio nav can fade in because its hero is light). */
.nav--solid {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}
.section--ink .eyebrow { color: rgba(255,255,255,.5); }
.section--ink h1, .section--ink h2, .section--ink h3,
.section--ink .display { color: #fff; }
.section--ink .lead { color: rgba(255,255,255,.74); }
.section--ink .accent { color: var(--air); }
.section--ink a.inline { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.section--ink a.inline:hover { text-decoration-color: #fff; }

/* The reversed lockup, reading large on the ink ground */
.hero--ink { padding-block: clamp(5rem, 11vw, 9.5rem); }
.hero--ink .hero__logo {
  width: min(560px, 82%);
  height: auto;
  margin: 0 auto clamp(30px, 4.5vw, 44px);
}
.hero--ink .lead { max-width: 46ch; margin-inline: auto; }
.hero--ink .tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: clamp(30px,4vw,40px) 0 0;
}

/* "What we make" — two product lines, side by side */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 28px); margin-top: clamp(36px, 5vw, 56px); }
.line {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px);
  text-decoration: none; color: var(--ink);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.line:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.line__kicker { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.line__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; margin: 0 0 8px; }
.line__desc { color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.line__more { display: inline-flex; align-items: center; gap: 7px; font-weight: 550; color: var(--ink); }
.line__more::after { content: "→"; transition: transform .2s var(--ease); }
.line:hover .line__more::after { transform: translateX(3px); }
.line--soon { pointer-events: none; }
.line--soon .line__more { color: var(--ink-faint); }
.line--soon .line__more::after { content: none; }

@media (max-width: 720px) {
  .lines { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* the LABS·LLC lockup is wider than the audio "| AUDIO" one — keep it from
     crowding the right-hand product link on small phones */
  .nav .brand__logo { height: 30px; }
  .nav__product { font-size: .9rem; }
}
