/* =========================================================================
   MycoStudio - site styles
   Dark, premium, boutique. Lets the colourful product renders carry the
   colour; the chrome stays near-black with a warm gold accent.
   ========================================================================= */

:root {
  /* colour */
  --bg:            #08090c;
  --bg-2:          #0b0d11;
  --surface:       #12151b;
  --surface-2:     #161a21;
  --border:        #242832;
  --border-soft:   #1c1f27;

  --text:          #eef0f4;
  --text-soft:     #b6bac4;
  --text-mute:     #7d828e;
  --text-faint:    #8a909c;

  --accent:        #e0a64b;   /* warm boutique gold */
  --accent-2:      #6fb8c8;   /* signal cyan (matches plugin scope trace) */
  --accent-hot:    #e8623f;

  /* type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* layout */
  --maxw:    1200px;
  --maxw-wide: 1440px;
  --radius:  16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ambient backdrop glow */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 500px at 75% -5%, rgba(224,166,75,0.10), transparent 70%),
    radial-gradient(800px 600px at 10% 10%, rgba(111,184,200,0.07), transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ---------- dropper field (Collider physics motif scattered down the page) ----
   Prototype uses CSS glows; real renders (ball on pure black) drop in later via
   mix-blend-mode: screen. Decorative only - sits behind content, ignores clicks. */
body { position: relative; }

/* Visible keyboard focus everywhere (mouse focus stays clean). */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
.dropfield { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.drop { position: absolute; width: var(--s, 150px); }
.drop img { width: 100%; height: auto; display: block; opacity: var(--o, 0.9); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: break-word; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-soft); max-width: 56ch; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; position: relative; z-index: 1; }
.container--wide { max-width: var(--maxw-wide); }
.section { padding-block: clamp(28px, 3.5vw, 54px); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(18px, 2.5vw, 32px); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.95em 1.6em; border-radius: 100px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--primary { background: var(--accent); color: #1a1206; box-shadow: 0 8px 30px rgba(224,166,75,0.25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(224,166,75,0.38); }
.btn--ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(255,255,255,0.06); }
.btn--lg { padding: 1.1em 2em; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8,9,12,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { height: 42px; width: auto; filter: drop-shadow(0 0 7px rgba(224,166,75,0.45)) drop-shadow(0 0 10px rgba(111,184,200,0.28)); }
.brand span b { font-weight: 600; }
.brand span i { font-style: normal; color: var(--text-mute); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.95rem; color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 90px); padding-bottom: clamp(14px, 2vw, 30px); text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 6.4vw, 5rem); margin-block: 22px 18px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-hot) 55%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-inline: auto; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-art { margin-top: clamp(20px, 3vw, 40px); position: relative; max-width: 880px; margin-inline: auto; }
.hero-art img {
  border-radius: var(--radius); width: 100%; height: auto; display: block;
  /* feather the edges so the render's dark border melts into the page */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
.hero-art::after { content: ""; position: absolute; inset: auto 10% -22px; height: 50px; background: radial-gradient(60% 100% at 50% 0, rgba(224,166,75,0.30), transparent 75%); filter: blur(22px); z-index: -1; }

/* glow frame helper for product images */
.glow-img { position: relative; border-radius: var(--radius); }
.glow-img img {
  border-radius: var(--radius); width: 100%;
  /* feather edges so the render's dark border melts into the page */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}

/* ---------- product split (landing feature blocks) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media img {
  border-radius: var(--radius);
  /* feather edges so the render's dark border melts into the page */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.feature__body h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-block: 16px 18px; }
.feature__body .lede { margin-bottom: 26px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font-size: 0.8rem; padding: 0.4em 0.85em; border-radius: 100px; border: 1px solid var(--border); color: var(--text-soft); background: var(--surface); }

/* ---------- pedal showcase (vibes page) ---------- */
.pedal { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 52px); border-top: 1px solid var(--border-soft); }
.pedal:first-of-type { border-top: 0; }
.pedal--rev .pedal__media { order: 2; }
.pedal__media { position: relative; }
.pedal__media img {
  border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.pedal__media::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius);
  background: radial-gradient(70% 80% at 50% 50%, var(--pa, var(--accent)), transparent 70%);
  opacity: 0.18; filter: blur(40px); z-index: -1;
}
.pedal__num { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--pa, var(--accent)); font-weight: 600; }
.pedal__name { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-block: 8px 6px; }
.pedal__tag { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 20px; }
.macro-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.macro { border-left: 2px solid var(--pa, var(--accent)); padding-left: 12px; }
.macro b { display: block; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.12em; color: var(--text); }
.macro span { font-size: 0.86rem; color: var(--text-mute); }

/* ---------- A/B demo player (inline dry vs processed) ---------- */
.abp {
  margin-top: 22px;
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 11px 13px;
}
.abp.is-disabled { opacity: 0.5; }
.abp__play {
  flex: none; width: 44px; height: 44px; border-radius: 999px; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--pa, var(--accent)); color: #0a0a0a;
  transition: transform 0.2s var(--ease);
}
.abp__play:hover { transform: translateY(-1px) scale(1.05); }
.abp__play:disabled { cursor: default; transform: none; }
.abp__play svg { width: 20px; height: 20px; fill: currentColor; }
.abp__icon-pause { display: none; }
.abp.is-playing .abp__icon-play { display: none; }
.abp.is-playing .abp__icon-pause { display: block; }
.abp__main { flex: 1 1 auto; min-width: 0; }
.abp__bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.08); cursor: pointer; overflow: hidden; }
.abp__fill { height: 100%; width: 0%; border-radius: 99px; background: var(--pa, var(--accent)); transition: width 0.08s linear; }
.abp__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: 0.76rem; color: var(--text-mute); }
.abp__time { font-variant-numeric: tabular-nums; }
.abp__ab { flex: none; display: inline-flex; gap: 3px; padding: 3px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); border-radius: 99px; }
.abp__tab {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--text-mute); padding: 6px 13px; border-radius: 99px;
  transition: color 0.2s, background 0.2s;
}
.abp__tab.is-on { color: #0a0a0a; background: var(--pa, var(--accent)); }
/* instrument-source toggle (guitar/piano) - stacked above the dry/wet A/B,
   styled subtler so the accent stays reserved for the primary Dry/Wet flip */
.abp__ctl { flex: none; display: inline-flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.abp__src { display: inline-flex; gap: 3px; padding: 3px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); border-radius: 99px; }
.abp__srcbtn {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-size: 0.64rem; letter-spacing: 0.06em;
  color: var(--text-mute); padding: 4px 11px; border-radius: 99px;
  transition: color 0.2s, background 0.2s;
}
.abp__srcbtn.is-on { color: #fff; background: rgba(255,255,255,0.16); }
@media (max-width: 560px) {
  .abp { flex-wrap: wrap; }
  .abp__main { order: 3; flex-basis: 100%; }
}

/* ---------- lazy YouTube facade + demo list ---------- */
.video-embed {
  position: relative; aspect-ratio: 16 / 9; max-width: 920px;
  margin: 0 auto 36px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background: #05070a center / cover no-repeat;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 0; cursor: pointer; color: var(--text);
  background: radial-gradient(120% 90% at 50% 50%, rgba(111,184,200,0.10), rgba(5,7,10,0.55));
}
.video-embed__play svg { width: 72px; height: 50px; transition: transform 0.2s var(--ease); filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)); }
.video-embed__play:hover svg { transform: scale(1.07); }
.video-embed__label { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.02em; }
.video-embed.is-pending .video-embed__play { cursor: default; }
.video-embed.is-pending .video-embed__play svg { opacity: 0.5; }
/* In a grid (two-up demos), let each embed fill its cell - the standalone
   `margin: 0 auto` would otherwise stop it stretching and collapse it. */
.grid-cards .video-embed { margin: 0; max-width: none; width: 100%; }
.demo-list { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.demo-list .abp { margin-top: 0; }

/* ---------- feature grid (cards) ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--border); }
.card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(224,166,75,0.12); color: var(--accent); margin-bottom: 18px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-mute); font-size: 0.95rem; }

/* ---------- spec strip ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.spec { background: var(--bg-2); padding: 28px 24px; }
.spec b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--text); margin-bottom: 4px; }
.spec span { color: var(--text-mute); font-size: 0.88rem; }

/* ---------- price card ---------- */
.buybar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.buybar .price { font-family: var(--font-display); }
.buybar .price b { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; }
.buybar .price s { color: var(--text-faint); font-weight: 400; margin-left: 10px; font-size: 1.3rem; }
.buybar .price span { display: block; color: var(--text-mute); font-size: 0.9rem; margin-top: 2px; }
.placeholder { color: var(--accent); font-style: italic; }

/* ---------- coming soon (collider) ---------- */
.coming { text-align: center; padding-block: clamp(80px, 14vw, 180px); }
.coming .badge { display: inline-block; border: 1px solid var(--border); border-radius: 100px; padding: 0.5em 1.2em; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 26px; }
.coming h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
.coming h1 .grad { background: linear-gradient(100deg, var(--accent-2), #9d7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notify { display: flex; gap: 10px; max-width: 440px; margin: 34px auto 0; }
.notify input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 0.9em 1.3em; color: var(--text); font-family: inherit; font-size: 0.95rem; }
.notify input:focus { outline: none; border-color: var(--accent-2); }

/* ---------- collider hero (bg art + live text) ---------- */
.chero { position: relative; text-align: left; overflow: hidden; display: flex; align-items: center; min-height: 58vh; padding-block: clamp(56px, 9vw, 110px); }
.chero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center right; }
.chero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 6%, rgba(8,9,12,0.78) 40%, rgba(8,9,12,0.2) 66%, transparent 88%), linear-gradient(0deg, var(--bg), transparent 26%); }
.chero .container { position: relative; z-index: 1; }
.chero__inner { max-width: 620px; }
.chero .notify { margin-inline: 0; }
.clogo { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.clogo img { width: 54px; height: 54px; border-radius: 13px; }
.clogo b { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: 0.3em; color: var(--text); }
.chero h1 { font-size: clamp(2rem, 6.5vw, 5rem); }
.clogo b { word-break: break-word; }
.chero h1 .grad { background: linear-gradient(100deg, #ff5a8a, var(--accent) 60%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chero .badge { display: inline-block; border: 1px solid var(--border); border-radius: 100px; padding: 0.5em 1.2em; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 26px; background: rgba(8,9,12,0.5); }

/* ---------- legal pages ---------- */
.legal { max-width: 800px; padding-block: clamp(40px, 7vw, 96px); position: relative; z-index: 1; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 6px; }
.legal .updated { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 38px; }
.legal h2 { font-size: 1.35rem; margin-top: 42px; margin-bottom: 12px; color: var(--text); }
.legal h3 { font-size: 1.02rem; letter-spacing: 0.01em; margin-top: 28px; margin-bottom: 8px; color: var(--text-soft); }
.legal p { color: var(--text-mute); margin-bottom: 14px; line-height: 1.75; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding-block: 56px 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--text-mute); font-size: 0.92rem; padding-block: 5px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { color: var(--text-mute); font-size: 0.92rem; max-width: 34ch; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--border-soft); color: var(--text-faint); font-size: 0.85rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open + .mobile-menu { display: flex; }
  .feature, .pedal { grid-template-columns: 1fr; }
  .feature--rev .feature__media, .pedal--rev .pedal__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .macro-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .buybar { flex-direction: column; align-items: stretch; text-align: center; }
  .buybar .btn { justify-content: center; }

  /* headlines: shrink so long words never overflow the viewport */
  .hero h1, .chero h1 { font-size: 2rem; }
  .hero h1 br { display: none; }
  .lede { font-size: 1rem; }

  /* collider wordmark fits small screens */
  .clogo b { font-size: 1.15rem; letter-spacing: 0.16em; }
  .clogo img { width: 40px; height: 40px; }
  .chero { min-height: 0; text-align: center; }
  .chero__inner { max-width: none; }
  .chero .notify { margin-inline: auto; }
  .chero__bg::after { background: linear-gradient(180deg, rgba(8,9,12,0.55), rgba(8,9,12,0.82)); }

  /* stacked CTA + notify so buttons never clip */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .notify { flex-wrap: wrap; }
  .notify input { flex: 1 1 100%; min-width: 0; }
  .notify button { flex: 1 1 100%; justify-content: center; }
}

/* mobile menu */
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 0 20px; border-bottom: 1px solid var(--border-soft); }
.mobile-menu a { padding: 13px 4px; color: var(--text-soft); border-bottom: 1px solid var(--border-soft); }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }

/* ---------- mailing list: announcement bar + signup modal ---------- */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  position: relative; z-index: 200; padding: 9px 44px 9px 16px; text-align: center;
  background: linear-gradient(90deg, var(--accent), #f0c074);
  color: #0a0a0a; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.01em;
}
.promo-bar__txt { font-weight: 500; }
.promo-bar__txt b { font-weight: 700; }
.promo-bar__cta {
  border: 0; cursor: pointer; white-space: nowrap; background: #0a0a0a; color: #fff;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 15px; border-radius: 99px; transition: transform 0.15s var(--ease), opacity 0.2s;
}
.promo-bar__cta:hover { transform: translateY(-1px); opacity: 0.88; }
.promo-bar__code {
  border: 1px dashed rgba(0,0,0,0.45); background: rgba(0,0,0,0.12); color: #0a0a0a; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.10em;
  padding: 4px 12px; border-radius: 7px; transition: background 0.15s;
}
.promo-bar__code:hover { background: rgba(0,0,0,0.22); }
.promo-bar__x {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: rgba(0,0,0,0.5); cursor: pointer;
  font-size: 1.35rem; line-height: 1; padding: 2px 8px;
}
.promo-bar__x:hover { color: #0a0a0a; }
@media (max-width: 560px) { .promo-bar { font-size: 0.76rem; gap: 9px; } }

.signup[hidden] { display: none; }
.signup { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.signup__overlay { position: absolute; inset: 0; background: rgba(4,5,7,0.74); backdrop-filter: blur(4px); }
.signup__card {
  position: relative; z-index: 1; width: 100%; max-width: 440px; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px 26px; box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}
.signup__x { position: absolute; right: 14px; top: 11px; border: 0; background: transparent; color: var(--text-mute); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.signup__x:hover { color: var(--text); }
.signup__eyebrow { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.signup__title { font-family: var(--font-display); font-size: 1.55rem; margin: 0 0 10px; color: var(--text); }
.signup__lede { font-size: 0.92rem; line-height: 1.55; color: var(--text-soft); margin: 0 0 18px; }
.signup__form { display: flex; flex-direction: column; gap: 10px; }
.signup__email { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 0.95rem; }
.signup__email:focus { border-color: var(--accent); }
.signup__submit { justify-content: center; }
.signup__fine { font-size: 0.8rem; color: var(--text-mute); margin: 14px 0 0; font-style: italic; }
.signup__done[hidden] { display: none; }
.signup__sink { display: none; }
body.no-scroll { overflow: hidden; }
