/* MushieWRLD — black and white. Syne (display) + Inter (body).
   Motion: transform + opacity only. Everything still works with JS off. */

:root {
  --bg: #000000;
  --bg-subtle: #0A0A0A;
  --surface: #111111;
  --surface-2: #1F1F1F;
  --border: #2A2A2A;
  --border-hover: #4A4A4A;
  --text: #FFFFFF;
  --text-secondary: #D4D4D4;
  --muted: #A1A1A1;
  --muted-2: #8A8A8A;
  --accent: #FFFFFF;
  --accent-on: #000000;
  --accent-hover: #D4D4D4;
  --well: #F2F2F2;

  --font-head: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-hover: cubic-bezier(0.22, 1, 0.36, 1);

  --gutter: 20px;
  --container: 1280px;
  --section-y: 80px;
  --header-h: 68px;     /* resting */
  --header-h-s: 56px;   /* shrunk on scroll */
  --radius-card: 16px;
  --radius-btn: 12px;

  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section-y: 112px; --header-h: 80px; --header-h-s: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-s);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--accent); color: var(--accent-on); font-weight: 700;
  min-height: 48px; display: inline-flex; align-items: center;
  padding: 0 16px; border-radius: var(--radius-btn); text-decoration: none;
}
.skip-link:focus { top: 16px; }
.skip-link:focus-visible { outline-color: var(--accent); }

/* ---------- Type roles ---------- */
.display { font-size: clamp(40px, 7vw, 72px); line-height: 0.95; letter-spacing: -0.03em; }
.h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.h2 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.h4 { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
@media (min-width: 1024px) { .h4 { font-size: 20px; } }
.lead { font-size: 18px; line-height: 1.5; color: var(--text-secondary); }
.caption { font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0.01em; color: var(--muted); }
.kicker {
  font-family: var(--font-head); font-size: 12px; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.1;
  text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color 200ms var(--ease-hover), color 200ms var(--ease-hover),
              border-color 200ms var(--ease-hover), transform 200ms var(--ease-hover);
}
.btn:active { transform: scale(0.98); transition-duration: 100ms; }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-on); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn .arrow { font-size: .9em; }

/* ---------- Holiday banner ---------- */
.holiday { background: var(--surface-2); color: var(--text); font-size: 14px; line-height: 1.4; }
.holiday .container { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.holiday p { margin: 0; flex: 1; padding: 8px 0; }
.holiday strong { font-weight: 600; }
.holiday .date { color: var(--text-secondary); }
.holiday-close {
  flex: none; width: 44px; height: 44px; border-radius: var(--radius-btn);
  display: grid; place-items: center; background: transparent; color: var(--text);
  border: 1px solid var(--border); cursor: pointer; font-size: 20px; line-height: 1;
  transition: border-color 200ms var(--ease-hover);
}
.holiday-close:hover { border-color: var(--text); }
html.no-holiday #holiday-banner { display: none; }
html.no-droplist #drop-list { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(42, 42, 42, 0);
  transition: background-color 240ms var(--ease-in-out), border-color 240ms var(--ease-in-out);
}
.site-header.is-scrolled { background: var(--bg-subtle); border-bottom-color: rgba(42, 42, 42, 1); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: var(--header-h); transition: height 240ms var(--ease-in-out);
}
.site-header.is-scrolled .container { height: var(--header-h-s); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--text); }
.brand img { height: 40px; width: auto; }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
@media (max-width: 374px) { .wordmark { font-size: 15px; } .brand { gap: 8px; } .brand img { height: 32px; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-btn);
  background: transparent; color: var(--text); border: 1px solid var(--border); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
html.menu-open .menu-toggle .i-open { display: none; }
html.menu-open .menu-toggle .i-close { display: block; }

.site-menu { display: none; }
html.menu-open .site-menu {
  display: block; position: fixed; left: 0; right: 0; bottom: 0;
  top: var(--menu-top, var(--header-h));   /* JS sets --menu-top to the header's bottom edge */
  background: var(--bg); padding: 24px var(--gutter) 48px; overflow-y: auto;
  border-top: 1px solid var(--border);
}
html.menu-open body { overflow: hidden; }
.site-menu ul { list-style: none; margin: 0; padding: 0; }
.site-menu li a {
  display: flex; align-items: center; min-height: 64px;
  font-family: var(--font-head); font-weight: 800; font-size: 32px; letter-spacing: -0.02em;
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.site-menu .menu-cta { margin-top: 32px; width: 100%; }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .site-menu, html.menu-open .site-menu {
    display: block; position: static; background: none; padding: 0; border: 0; overflow: visible;
  }
  .site-menu ul { display: flex; gap: 8px; }
  .site-menu li a {
    font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0;
    min-height: 44px; padding: 0 16px; border: 0; color: var(--muted);
    transition: color 200ms var(--ease-hover);
  }
  .site-menu li a:hover { color: var(--text); }
  .site-menu .menu-cta { display: none; }
  .header-cta { display: inline-flex; }
  .wordmark { font-size: 22px; }
  .site-header .container { gap: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: 48px 0 64px;
  background: radial-gradient(ellipse 70% 60% at 72% 50%, #141414 0%, var(--bg) 70%);
}
.hero .container { display: grid; gap: 40px; align-items: center; }
.hero-copy { max-width: 600px; }
.chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; margin-bottom: 24px;
  border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 36ch; margin-bottom: 32px; }
.hero .lead strong { color: var(--text); font-weight: 600; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-buttons .btn { flex: 1 1 160px; }
.hero-art { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.hero-art .crop {
  aspect-ratio: 342 / 470;          /* trims the very bottom of the base; head + MW stay in frame */
  overflow: hidden;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-art .halo { display: none; }
.headline .line { display: inline-block; }
@media (min-width: 860px) {
  .hero { padding: 64px 0 96px; }
  .hero .container { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero-buttons .btn { flex: 0 0 auto; }
  .hero-art { max-width: 440px; margin-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-band { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.size-note { color: var(--muted); font-size: 14px; }

/* ---------- Pinned product scene ---------- */
.pin { position: relative; border-top: 1px solid var(--border); }
.pin-stage { padding: var(--section-y) 0; }
.pin-grid { display: grid; gap: 32px; align-items: center; }
.pin-media {
  background: var(--well); border-radius: var(--radius-card); overflow: hidden;
  aspect-ratio: 1 / 1; width: 100%; max-width: 640px; margin: 0 auto;
}
.pin-media img { width: 100%; height: 100%; object-fit: cover; }
.pin-copy h2 { margin-bottom: 16px; }
.pin-copy .price-big { font-size: 20px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.pin-copy .lead { margin-bottom: 32px; max-width: 40ch; }
@media (min-width: 860px) { .pin-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }

/* Live pinned mode: only when JS confirms motion is OK. Without it, the block above is a static split. */
html.pin-live .pin { min-height: 160vh; }
@media (max-height: 699px) { html.pin-live .pin { min-height: 140vh; } }
html.pin-live .pin-stage {
  position: sticky; top: var(--header-h-s);
  height: calc(100svh - var(--header-h-s));
  display: flex; align-items: center; padding: 24px 0;
}
html.pin-live .pin-stage .container { width: 100%; }
html.pin-live .pin-media {
  max-height: calc(100svh - var(--header-h-s) - 48px);
  max-width: min(640px, calc(100svh - var(--header-h-s) - 48px));
  transform: scale(calc(0.86 + 0.14 * var(--p, 1)));
  opacity: calc(0.72 + 0.28 * var(--p, 1));
}
html.pin-live .pin-copy {
  opacity: var(--pc, 1);
  transform: translateY(calc(28px * (1 - var(--pc, 1))));
}
@media (max-width: 859px) {
  /* Stacked on phones: keep the photo modest so the copy fits on screen while pinned. */
  html.pin-live .pin-media { max-width: min(420px, 46svh); }
  html.pin-live .pin-grid { gap: 20px; }
  html.pin-live .pin-copy .lead { display: none; }
  html.pin-live .pin-copy h2 { margin-bottom: 8px; }
  html.pin-live .pin-copy .price-big { margin-bottom: 16px; }
}

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 280ms var(--ease-hover), border-color 280ms var(--ease-hover);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-hover); }
.card .thumb { aspect-ratio: 1 / 1; background: var(--well); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 280ms var(--ease-hover); }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { display: flex; flex-direction: column; gap: 4px; padding: 16px; flex: 1; }
.card h4 { overflow-wrap: anywhere; }
.price { font-size: 16px; font-weight: 600; line-height: 1.2; color: var(--text-secondary); margin: 0 0 12px; }
.price .from { font-weight: 400; color: var(--muted); }
.card .btn { margin-top: auto; width: 100%; }
@media (max-width: 400px) { .card .body { padding: 12px; } .card .h4 { font-size: 16px; } }

.group + .group { margin-top: 64px; }
.group-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.group-head a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; font-size: 15px; color: var(--text-secondary); }
.group-head a:hover { color: var(--text); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-mark { width: 100%; max-width: 220px; }
.about-copy { max-width: 60ch; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { font-size: 18px; line-height: 1.5; color: var(--text-secondary); }
@media (min-width: 860px) { .about-grid { grid-template-columns: 300px 1fr; gap: 80px; } .about-mark { max-width: 260px; margin: 0 auto; } }

/* ---------- Socials ---------- */
.socials { display: grid; grid-template-columns: 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .socials { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.social {
  display: flex; align-items: center; gap: 16px; height: 100%; min-height: 80px;
  padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  text-decoration: none; color: var(--text);
  transition: border-color 280ms var(--ease-hover), transform 280ms var(--ease-hover);
}
.social:hover { border-color: var(--text); transform: translateY(-2px); }
.social .ico { flex: none; width: 48px; height: 48px; border-radius: var(--radius-btn); display: grid; place-items: center; border: 1px solid var(--border); }
.social .ico svg { width: 22px; height: 22px; }
.social .txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.social .plat { font-size: 13px; font-weight: 500; color: var(--muted); }
.social .handle { font-family: var(--font-head); font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.social .extra { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.social.all { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.social.all .plat { color: #333333; }
.social.all .ico { border-color: rgba(0, 0, 0, .2); }
.social.all:hover { background: var(--accent-hover); }
.social.all:focus-visible { outline-color: var(--accent); }

/* ---------- Drop list (inverted) ---------- */
.drop {
  background: var(--accent); color: var(--accent-on); border-radius: var(--radius-card);
  padding: 40px 24px; display: grid; gap: 24px; align-items: center;
}
.drop h2 { margin-bottom: 12px; }
.drop p { margin: 0; font-size: 18px; line-height: 1.5; color: #1F1F1F; }
.drop .note { font-size: 15px; font-weight: 500; margin-top: 12px; }
.drop .note:empty { display: none; }
.drop .btn { background: var(--accent-on); color: var(--accent); }
.drop .btn:hover { background: #2A2A2A; transform: translateY(-1px); }
.drop :focus-visible { outline-color: var(--accent-on); }
@media (min-width: 768px) { .drop { grid-template-columns: 1fr auto; padding: 56px 64px; gap: 40px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 60ch; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 12px 0;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .tog {
  flex: none; width: 44px; height: 44px; border-radius: var(--radius-btn); border: 1px solid var(--border);
  display: grid; place-items: center; transition: border-color 200ms var(--ease-hover);
}
.faq summary:hover .tog { border-color: var(--text); }
.faq .tog svg { width: 16px; height: 16px; transition: transform 280ms var(--ease-out); }
.faq details[open] .tog svg { transform: rotate(45deg); }
.faq details p { color: var(--text-secondary); padding: 0 56px 24px 0; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-subtle); border-top: 1px solid var(--border); padding: 64px 0 40px; }
.footer-top { display: grid; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand .wordmark { font-size: 24px; }
@media (max-width: 374px) { .footer-brand .wordmark { font-size: 18px; } }
.footer-tag { margin: 12px 0 0; color: var(--muted); }
.footer-icons { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.footer-icons a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-btn);
  border: 1px solid var(--border); color: var(--text); transition: border-color 200ms var(--ease-hover);
}
.footer-icons a:hover { border-color: var(--text); }
.footer-icons svg { width: 20px; height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; padding: 0; margin: 32px 0 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text-secondary); font-size: 15px; }
.footer-small { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 500; }
.footer-small p { margin: 0 0 4px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Scroll reveals (only when JS added .reveal-on and motion is OK) ---------- */
html.reveal-on .reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
html.reveal-on .reveal.is-in { opacity: 1; transform: none; }
html.reveal-on .card.reveal.is-in { transition: opacity 700ms var(--ease-out), transform 280ms var(--ease-hover), border-color 280ms var(--ease-hover); transition-delay: calc(var(--d, 0) * 80ms), 0ms, 0ms; }

/* ---------- Page fade + cross-document view transitions (404 <-> home) ---------- */
@media (prefers-reduced-motion: no-preference) {
  main { animation: page-in 400ms var(--ease-out) both; }
  @view-transition { navigation: auto; }
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 404 ---------- */
.nf { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf img { height: 200px; width: auto; margin: 0 auto 32px; }
.nf h1 { margin-bottom: 16px; }
.nf .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-timeline: none !important;
  }
  .card:hover, .btn:hover, .btn:active, .social:hover { transform: none; }
  .card:hover .thumb img { transform: none; }
  .faq details[open] .tog svg { transform: rotate(45deg); }
}

/* =====================================================================
   EFFECTS LAYER — everything below sits on top of the base design.
   All of it lives inside prefers-reduced-motion: no-preference, so with
   reduced motion the site is exactly the plain version above.
   Pointer-only effects (spotlight, tilt, magnetic, shine) also need
   html.fx-pointer, which main.js adds only for a fine pointer that can hover.
   Animated properties: transform and opacity only.
   ===================================================================== */

/* Marquee base (static, also used for reduced motion) */
.marquee {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg); padding: 24px 0; user-select: none;
}
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; flex: none; }
.mq-item {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4vw, 48px);
  line-height: 1; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; padding: 0 24px;
}
.mq-outline { color: transparent; -webkit-text-stroke: 1px var(--text); }
.mq-dot { color: var(--muted-2); font-size: clamp(20px, 2.4vw, 28px); line-height: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-track > .marquee-group + .marquee-group { display: none; } }

.grain { display: none; }

@media (prefers-reduced-motion: no-preference) {

  /* ---------- 5. Hero intro: masked lines + staggered fade-ups, all done by ~1.15s ---------- */
  .headline .line {
    overflow: hidden; vertical-align: top;
    padding: 0.08em 0.04em 0.1em; margin: -0.08em -0.04em -0.1em;   /* room for Syne's ascenders/overshoot */
  }
  .headline .line-inner { display: inline-block; animation: line-up 760ms var(--ease-out) backwards; }
  .headline .line:nth-of-type(1) .line-inner { animation-delay: 80ms; }
  .headline .line:nth-of-type(2) .line-inner { animation-delay: 200ms; }
  .hero .in-chip { animation: rise 600ms var(--ease-out) 0ms backwards; }
  .hero .in-lead { animation: rise 640ms var(--ease-out) 320ms backwards; }
  .hero-buttons .btn { animation: rise 600ms var(--ease-out) backwards; }
  .hero-buttons .btn:nth-child(1) { animation-delay: 440ms; }
  .hero-buttons .btn:nth-child(2) { animation-delay: 540ms; }      /* ends at 1140ms */
  .hero .in-art { animation: rise-art 900ms var(--ease-out) 150ms backwards; }

  /* ---------- 1b. Chrome / silver sheen on the hero headline ---------- */
  .headline .line-inner {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 36%, #C2C2C2 56%, #F4F4F4 76%, #BDBDBD 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }

  /* ---------- 4. MushieMan: halo, idle float, scroll parallax (art untouched) ---------- */
  .hero { overflow: hidden; }
  .hero-art .halo {
    display: block; position: absolute; inset: -18% -22%; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side at 50% 42%, rgba(255,255,255,.16), rgba(255,255,255,.06) 45%, rgba(255,255,255,0) 100%);
    animation: halo 6s ease-in-out infinite alternate;
  }
  .hero-art .parallax { position: relative; z-index: 1; will-change: transform; }
  .hero-art .float { animation: float 6s ease-in-out infinite; will-change: transform; }

  /* ---------- 6. Marquee ---------- */
  .marquee-track { animation: marquee 38s linear infinite; will-change: transform; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  /* ---------- 8. Film grain (about 3%) ---------- */
  .grain {
    display: block; position: fixed; inset: -120px; z-index: 400; pointer-events: none;
    opacity: .035; will-change: transform;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 220px 220px;
    animation: grain 900ms steps(6) infinite;
  }

  /* ---------- 9. Glass header + glow line ---------- */
  .site-header, .site-header.is-scrolled { background: transparent; }
  .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(10, 10, 10, .85);          /* dark enough that nav text stays above 4.5:1 over white photos */
    -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  }
  .site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%);
    box-shadow: 0 0 12px 1px rgba(255,255,255,.22);
    opacity: 0; transform: scaleX(.35);
    transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .site-header.is-scrolled::after { opacity: 1; transform: scaleX(1); }

  /* ---------- 10. Section titles: underline draw-in ---------- */
  .section-head h2, .about-copy h2 { position: relative; }
  .section-head h2::after, .about-copy h2::after {
    content: ""; position: absolute; left: 0; bottom: -14px; width: 56px; height: 2px; border-radius: 2px;
    background: var(--text); transform-origin: left center;
    transition: transform 800ms var(--ease-out) 260ms;
  }
  html.reveal-on .reveal:not(.is-in) h2::after { transform: scaleX(0); }

  /* ---------- Pointer-only effects ---------- */

  /* 1a. Diagonal light sweep on primary buttons */
  html.fx-pointer .btn-primary { position: relative; isolation: isolate; overflow: hidden; }
  html.fx-pointer .btn-primary::before {
    content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;   /* under the label */
    background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 70%);
    transform: translateX(-130%);
  }
  html.fx-pointer .btn-primary:hover::before { transform: translateX(130%); transition: transform 750ms var(--ease-out); }

  /* 7. Magnetic primary buttons (offsets set by main.js) */
  html.fx-pointer .btn-primary {
    transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + var(--lift, 0px)), 0) scale(var(--press, 1));
    transition: background-color 200ms var(--ease-hover), color 200ms var(--ease-hover),
                border-color 200ms var(--ease-hover), transform 260ms var(--ease-hover);
  }
  html.fx-pointer .btn-primary:hover { --lift: -1px; }
  html.fx-pointer .btn-primary:active { --press: .98; transition-duration: 200ms, 200ms, 200ms, 100ms; }

  /* 3. 3D tilt (on the grid item, so it never fights the card's own lift/reveal) */
  html.fx-pointer [data-tilt] {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 600ms var(--ease-out);
  }
  html.fx-pointer [data-tilt].is-tilting { transition: transform 140ms linear; }

  /* 1a + 2. Card shine sweep, cursor spotlight, glowing rim (layers injected by main.js) */
  html.fx-pointer .card { position: relative; isolation: isolate; }
  .card .fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; overflow: hidden; }
  .card .fx-spot, .card .fx-rim-glow {
    position: absolute; left: 0; top: 0; border-radius: 50%;
    transform: translate3d(var(--x, -999px), var(--y, -999px), 0);
    opacity: 0; transition: opacity 320ms var(--ease-hover);
    will-change: transform, opacity;
  }
  .card .fx-spot {
    width: 440px; height: 440px; margin: -220px 0 0 -220px;
    background: radial-gradient(closest-side, rgba(255,255,255,.14), rgba(255,255,255,.05) 50%, rgba(255,255,255,0));
  }
  .card .fx-rim {
    position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
  .card .fx-rim-glow {
    width: 280px; height: 280px; margin: -140px 0 0 -140px;
    background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,.25) 45%, rgba(255,255,255,0));
  }
  .card .fx-shine {
    position: absolute; inset: -30%;
    background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.20) 50%, rgba(255,255,255,0) 60%);
    transform: translateX(-75%);
  }
  .card:hover .fx-spot, .card:hover .fx-rim-glow { opacity: 1; }
  .card:hover .fx-shine { transform: translateX(75%); transition: transform 900ms var(--ease-out); }

  /* Lenis smooth scroll (from its own stylesheet) */
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise-art { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes halo { from { opacity: .7; } to { opacity: 1; } }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); } 17% { transform: translate3d(-34px, 22px, 0); }
  33% { transform: translate3d(28px, -40px, 0); } 50% { transform: translate3d(-18px, 46px, 0); }
  67% { transform: translate3d(42px, 14px, 0); } 83% { transform: translate3d(-46px, -26px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
