/* ============================================================================
   Reso Audio - shared site stylesheet
   Boutique instrument-maker aesthetic: letterpress on cream stock.
   Identity source: pm-core docs/assets/identity (locked 2026-09-02).
   Type: League Spartan (identity sub-name font) for labels/nav/buttons,
         Fraunces (warm serif) for headings + body.
   Palette: ink #2A1B12 on cream #F4EAD5; per-product accents.
   ASCII-only copy; no em dashes anywhere (family copy rule).
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=League+Spartan:wght@500;600;700&display=swap');

:root {
  /* Brand core */
  --ink: #2A1B12;
  --ink-80: #43342a;
  --ink-55: #6d5c4f;
  --cream: #F4EAD5;
  --cream-deep: #EFE1C6;
  --paper: #F4EAD5;
  --paper-panel: #FBF4E5;
  --line: rgba(42, 27, 18, 0.16);
  --line-soft: rgba(42, 27, 18, 0.09);

  /* Per-product accents (identity codes) */
  --plate: #5C8FB5;
  --plate-deep: #2B4E6B;
  --drum: #C8752C;
  --drum-deep: #8f4f16;
  --cymbal: #D9AB3D;
  --cymbal-deep: #6e520c;  /* darkened for >=4.5:1 on cream */
  --mallet: #A15C43;  /* provisional: no badge yet, rosewood tone */
  --mallet-deep: #6e3a28;
  --sympiano: #B08D57; /* brass (Brasswork skin) */
  --sympiano-deep: #7a5f30;

  /* Parent brand (Reso Audio umbrella) = brass, to set the family pages apart
     from the per-product accents. Matches the emblem's brass baffle ring. */
  --reso: #B08D57;
  --reso-deep: #7a5f30;

  /* Default accent = plate (lead product) */
  --accent: var(--plate);
  --accent-deep: var(--plate-deep);

  /* Type */
  --sans: 'League Spartan', 'Trebuchet MS', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Rhythm */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --r: 4px;
  --shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 18px 40px -24px rgba(42,27,18,0.45);
  --shadow-lift: 0 24px 60px -28px rgba(42,27,18,0.55);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
  /* fine paper grain via layered radial + a soft top vignette */
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(42,27,18,0.05), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle grain overlay drawn once over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* keep interactive content above the grain */
header, main, footer { position: relative; z-index: 2; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
/* inline content links inside prose get an underline so they read as links */
main p a:not(.btn), main li a:not(.btn), .spec td a {
  text-decoration: underline; text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent);
}
main p a:not(.btn):hover, main li a:not(.btn):hover, .spec td a:hover { text-decoration-color: var(--accent-deep); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 16px; border-radius: var(--r);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

::selection { background: var(--accent); color: var(--cream); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--wrap-narrow); }
section { padding-block: clamp(56px, 8vw, 108px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1.1em; max-width: 66ch; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--ink-80); line-height: 1.5; }

.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.kicker::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.serif-italic { font-style: italic; }

/* ---------- Brand lockup (single Reso Audio mark) ---------- */
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand__logo { height: 30px; width: auto; display: block; }
.site-footer .brand__logo { height: 28px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background-color: #c6a877;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='90'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.09' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.30 0 0 0 0 0.19 0 0 0 0 0.09 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(70,44,20,0.10) 0px, rgba(70,44,20,0.10) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(0deg, rgba(120,82,42,0.07) 0px, rgba(120,82,42,0.07) 2px, transparent 2px, transparent 15px),
    linear-gradient(180deg, #cdb083 0%, #c2a173 55%, #b69466 100%);
  border-bottom: 2px solid #6e4a24;
  box-shadow: 0 2px 0 rgba(255,255,255,0.15) inset, 0 10px 24px -18px rgba(42,27,18,0.6);
}
.site-header .nav__links a { color: var(--ink); }
.site-header .nav__links a:hover, .site-header .nav__links a[aria-current="page"] { color: #3a2410; border-color: #6e4a24; }
.site-header .nav__toggle { color: var(--ink); border-color: rgba(70,44,20,0.5); background: rgba(255,248,235,0.35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-80);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 13px 22px;
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
  box-shadow: 0 10px 24px -16px rgba(42,27,18,0.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(42,27,18,0.7); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent-deep); --btn-fg: var(--cream); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn__note { font-family: var(--sans); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-55); text-transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .accent { color: var(--accent-deep); font-style: italic; }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__badge { width: min(340px, 78%); filter: drop-shadow(0 30px 50px rgba(42,27,18,0.35)); animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-0.4deg); } 50% { transform: translateY(-12px) rotate(0.4deg); } }

/* ---------- Panels / cards ---------- */
.panel {
  background: var(--paper-panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* Product catalog grid */
.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 28px 26px;
  background: var(--paper-panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--card-accent, var(--accent));
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__badge { width: 88px; height: 88px; margin-bottom: 18px; }
.card__title { font-size: 1.55rem; margin-bottom: 0.15em; }
.card__meta { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-55); margin-bottom: 0.9em; }
.card__desc { color: var(--ink-80); font-size: 1rem; line-height: 1.55; margin-bottom: 1.2em; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card__price { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; color: var(--ink); }
.card__go { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }

/* Pills / tags */
.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-80); background: var(--cream);
}
.pill--free { color: #2f6a43; border-color: rgba(47,106,67,0.4); background: rgba(47,106,67,0.08); }
.pill--soon { color: var(--ink-55); }
.pill--paid { color: var(--accent-deep); border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.feature { }
.feature__no { font-family: var(--sans); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; color: var(--accent-deep); display: inline-block; margin-bottom: 0.6em; padding-bottom: 0.35em; border-bottom: 2px solid var(--accent); }
.feature h3 { font-size: 1.28rem; }
.feature p { font-size: 1rem; color: var(--ink-80); }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.spec th, .spec td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec th { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-55); width: 34%; }

/* ---------- Callout ---------- */
.callout {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 22px;
  color: var(--ink-80);
  font-style: italic;
}

/* ---------- Price block ---------- */
.pricebox { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.pricebox__now { font-family: var(--sans); font-weight: 700; font-size: 2.4rem; letter-spacing: 0.01em; color: var(--ink); }
.pricebox__was { font-family: var(--sans); font-weight: 500; font-size: 1.1rem; color: var(--ink-55); text-decoration: line-through; }
.pricebox__note { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 3px solid #1c0d06;
  background-color: #3a180e;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='600'%3E%3Cfilter id='wf'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.09 0.012' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.22 0 0 0 0 0.09 0 0 0 0 0.04 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23wf)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(90deg, rgba(20,8,4,0.22) 0px, rgba(20,8,4,0.22) 1px, transparent 1px, transparent 7px),
    repeating-linear-gradient(90deg, rgba(150,70,40,0.06) 0px, rgba(150,70,40,0.06) 2px, transparent 2px, transparent 17px),
    linear-gradient(180deg, #4a2013 0%, #3a180e 60%, #2a1109 100%);
  box-shadow: 0 2px 0 rgba(255,255,255,0.06) inset, 0 -10px 24px -18px rgba(42,27,18,0.6);
  color: var(--cream);
}
/* Mahogany cabinet footer: invert the letterpress ink to cream on the dark wood */
.site-footer .footer__col h4 { color: rgba(244,234,213,0.60); }
.site-footer .footer__col a { color: rgba(244,234,213,0.82); }
.site-footer .footer__col a:hover { color: #fff; }
.site-footer .footer__blurb { color: rgba(244,234,213,0.70); }
.site-footer .footer__legal { color: rgba(244,234,213,0.55); border-top-color: rgba(244,234,213,0.14); }
.site-footer .brand__logo { filter: brightness(0) invert(1); opacity: 0.9; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px; }
.footer__col h4 { font-family: var(--sans); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-55); margin-bottom: 1em; }
.footer__col a { display: block; color: var(--ink-80); font-size: 0.98rem; padding: 4px 0; transition: color 0.18s; }
.footer__col a:hover { color: var(--ink); }
.footer__blurb { color: var(--ink-55); font-size: 0.95rem; max-width: 32ch; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line-soft); font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-55); text-transform: uppercase; }

/* ---------- Misc ---------- */
.eyebrow-center { text-align: center; }
.eyebrow-center .kicker { justify-content: center; }
.center-col { max-width: 62ch; margin-inline: auto; text-align: center; }
.mt-0 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.stack > * + * { margin-top: 1rem; }
.draft-flag {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #8a5a1f; background: rgba(217,171,61,0.16); border: 1px dashed rgba(217,171,61,0.7);
  border-radius: var(--r); padding: 3px 9px; display: inline-block;
}

/* ---------- Audio demo strip (near hero) ---------- */
.demostrip {
  /* Fixed-width name column + a player that fills the rest, so every clip's
     player is the same length at any page width. Stacks on narrow screens. */
  display: grid; grid-template-columns: 17rem minmax(0, 1fr); align-items: center;
  column-gap: 28px; row-gap: 12px;
  padding: 18px 22px; margin-top: 8px;
  background: var(--paper-panel); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
}
.demostrip__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.demostrip__label { font-family: var(--sans); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 0.6em; white-space: nowrap; }
.demostrip__label::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
/* Indent the preset line to sit under the label text, not under the dot. */
.demostrip__note { font-family: var(--sans); font-size: 0.72rem; line-height: 1.45; color: var(--ink-55); padding-left: calc(9px + 0.444rem); }
.demostrip audio { display: block; width: 100%; min-width: 0; height: 40px; }
/* Stack before the side-by-side player drops below ~430px (Chrome hides its
   timeline when the control gets narrow). */
@media (max-width: 820px) {
  .demostrip { grid-template-columns: 1fr; padding: 16px 16px; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.quote {
  padding: 26px 26px 22px; background: var(--paper-panel);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--serif); font-size: 3rem; line-height: 0.6; color: var(--accent); height: 0.5em; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink); margin: 0.4em 0 1em; }
.quote__by { font-family: var(--sans); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-55); margin-top: auto; }

/* ---------- Demo vs buy compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper-panel); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan--full { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow-lift); }
.plan h3 { margin: 0 0 0.2em; }
.plan__tag { font-family: var(--sans); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 1em; }
.plan ul { padding-left: 1.1em; margin: 0 0 1.4em; color: var(--ink-80); }
.plan ul li { margin-bottom: 0.4em; }
.plan .btn { margin-top: auto; }

/* ---------- Sticky buy bar ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  transform: translateY(110%); transition: transform 0.28s ease, visibility 0.28s;
  visibility: hidden;
  background: color-mix(in srgb, var(--ink) 96%, transparent);
  color: var(--cream);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -12px 30px -18px rgba(42,27,18,0.8);
}
.buybar.show { transform: translateY(0); visibility: visible; }
.buybar__in { display: flex; align-items: center; gap: 18px; padding: 12px 24px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: var(--wrap); margin-inline: auto; }
.buybar__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.buybar__price { font-family: var(--sans); font-weight: 700; letter-spacing: 0.02em; }
.buybar__price s { color: color-mix(in srgb, var(--cream) 55%, transparent); font-weight: 500; margin-left: 6px; }
.buybar__spacer { flex: 1; }
.buybar .btn--ghost { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 40%, transparent); }
.buybar .btn--ghost:hover { border-color: var(--cream); }
@media (max-width: 620px) {
  .buybar__name { display: none; }
  .buybar__in { gap: 10px; padding: 10px 16px; }
  .compare { grid-template-columns: 1fr; }
}

/* ============================================================================
   Per-product design cues (EastWest-style): each hero carries a faint texture
   of its own instrument, in its own accent. Applied via a body theme class.
   ============================================================================ */
.hero { position: relative; overflow: hidden; }
.hero > * { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: no-repeat;
}

/* ResoDrum: concentric drumhead rings + a warm head glow */
.t-drum .hero::before {
  background:
    repeating-radial-gradient(circle at 78% 44%, rgba(200,117,44,0.16) 0 2px, transparent 2px 27px),
    radial-gradient(circle at 78% 44%, rgba(200,117,44,0.12), transparent 48%);
}
/* ResoCymbal: fine lathe grooves + bell glow */
.t-cymbal .hero::before {
  background:
    repeating-radial-gradient(circle at 80% 42%, rgba(217,171,61,0.20) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 80% 42%, rgba(217,171,61,0.16), transparent 42%);
}
/* ResoPlate: brushed steel grain + a Chladni-cross sheen */
.t-plate .hero::before {
  background:
    repeating-linear-gradient(0deg, rgba(92,143,181,0.10) 0 1px, transparent 1px 4px),
    radial-gradient(120% 90% at 80% 34%, rgba(92,143,181,0.16), transparent 55%);
}
/* Sympiano: struck strings + a keybed shadow at the base */
.t-piano .hero::before {
  background:
    repeating-linear-gradient(90deg, rgba(176,141,87,0.17) 0 1px, transparent 1px 13px),
    linear-gradient(180deg, transparent 78%, rgba(42,27,18,0.06) 78% 83%, transparent 83%);
}
/* Sympiano hero: site.js draws pluckable piano strings (bass on the left: wider-spaced,
   thicker, copper-wound) from the top of the hero to just below the logo, fading out so
   the text further down stays on plain paper. The CSS stripes stay as the no-JS fallback. */
.hero > .hero__strings { position: absolute; left: 0; top: 0; width: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.strings-live .hero::before { display: none; }
/* ResoMallet: wooden bars (vertical planks) */
.t-mallet .hero::before {
  background:
    repeating-linear-gradient(90deg, rgba(161,92,67,0.16) 0 22px, rgba(161,92,67,0.05) 22px 26px, transparent 26px 34px),
    radial-gradient(circle at 80% 42%, rgba(161,92,67,0.10), transparent 50%);
}
/* Reso Audio umbrella: woofer cone corrugations in walnut brass. This CSS
   version is the no-JS fallback; site.js draws the same rings on .hero__rings,
   centred on the emblem and pointer-reactive, and sets .rings-live. */
.hero > .hero__rings { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero.rings-live::before { display: none; }
.t-reso .hero::before {
  background:
    repeating-radial-gradient(circle at 78% 44%, rgba(176,141,87,0.18) 0 2px, transparent 2px 15px),
    radial-gradient(circle at 78% 44%, rgba(110,80,40,0.12), transparent 48%);
}

/* ---------- ResoPlate interactive water pool (waterphone-physics cue) ---------- */
.ripplepool {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: radial-gradient(130% 100% at 50% -10%, #d6e6f1 0%, #8fb4cf 42%, #47709176 70%, #2b4e6b 100%);
  cursor: crosshair; touch-action: none;
}
.ripplepool canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ripplepool__hint {
  position: absolute; left: 16px; bottom: 13px; z-index: 2;
  font-family: var(--sans); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4); pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__badge { width: min(210px, 52%); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
  }
  .nav__toggle {
    display: inline-flex; background: none; border: 1px solid var(--line);
    border-radius: var(--r); padding: 8px 12px; cursor: pointer;
    font-family: var(--sans); font-weight: 600; font-size: 0.74rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  .nav__cta { display: none; }  /* avoid header overflow; Menu holds the links */
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* ---------- News (release log) ---------- */
.postlist { display: grid; gap: 22px; }
.post__date { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-55); }
.prose { max-width: 64ch; font-size: 1.1rem; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 0.9rem; color: var(--ink-55); margin-top: 0.6em; }
