/* Olundersfeel — midnight ballroom design system
   Palette
   --night-900 #070D22  deepest midnight (page edges, black keys)
   --night-800 #0B1430  base midnight navy
   --night-700 #121E42  panel navy
   --night-600 #1B2A57  raised navy
   --night-400 #3A4B80  muted navy line
   --brass-300 #F3D07A  bright brass highlight
   --brass-500 #D9A845  brass gold
   --brass-700 #9C6E1E  shaded brass
   --cream-100 #FBF5E6  ivory key light
   --cream-200 #F4EAD2  piano-key cream
   --cream-400 #CFC1A0  aged key edge
   --rouge-500 #C8634F  muted mute-copper (losses)
   Type: Shrikhand (marquee display) / Figtree (body)
*/
:root {
  --night-900: #070D22;
  --night-800: #0B1430;
  --night-700: #121E42;
  --night-600: #1B2A57;
  --night-400: #3A4B80;
  --brass-300: #F3D07A;
  --brass-500: #D9A845;
  --brass-700: #9C6E1E;
  --cream-100: #FBF5E6;
  --cream-200: #F4EAD2;
  --cream-400: #CFC1A0;
  --rouge-500: #C8634F;
  --text: #E9E2CF;
  --text-dim: #A9B1CC;
  --display: "Shrikhand", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --bell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='1' y2='.6'%3E%3Cstop offset='0' stop-color='%239C6E1E'/%3E%3Cstop offset='.6' stop-color='%23D9A845'/%3E%3Cstop offset='1' stop-color='%23F3D07A'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H80V66C74 32 48 10 0 6Z' fill='url(%23b)'/%3E%3Cpath d='M4 3C48 7 71 28 77 62' fill='none' stroke='%23FBF5E6' stroke-opacity='.55' stroke-width='1.4'/%3E%3Cpath d='M78.5 0V66' stroke='%23F3D07A' stroke-width='3'/%3E%3C/svg%3E");
  --keys: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='24' viewBox='0 0 112 24'%3E%3Crect width='112' height='24' fill='%23F4EAD2'/%3E%3Cg fill='%230B1430'%3E%3Crect x='15.5' width='1' height='24'/%3E%3Crect x='31.5' width='1' height='24'/%3E%3Crect x='47.5' width='1' height='24'/%3E%3Crect x='63.5' width='1' height='24'/%3E%3Crect x='79.5' width='1' height='24'/%3E%3Crect x='95.5' width='1' height='24'/%3E%3Crect x='111' width='1' height='24'/%3E%3C/g%3E%3Cg fill='%23070D22'%3E%3Crect x='11' width='10' height='14' rx='1.5'/%3E%3Crect x='27' width='10' height='14' rx='1.5'/%3E%3Crect x='59' width='10' height='14' rx='1.5'/%3E%3Crect x='75' width='10' height='14' rx='1.5'/%3E%3Crect x='91' width='10' height='14' rx='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night-800);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brass-300); text-underline-offset: 3px; }
a:hover { color: var(--cream-100); }
:focus-visible { outline: 2px solid var(--brass-300); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; color: var(--cream-100); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brass-500); color: var(--night-900); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 16px; top: 12px; }

/* ── Piano-key stripe divider ───────────────────── */
.keys {
  height: 24px;
  background: var(--keys) repeat-x left top / 112px 24px;
  border-top: 2px solid var(--brass-500);
  border-bottom: 2px solid var(--brass-700);
}
.keys--thin { height: 14px; background-size: 65px 14px; border-width: 1px; }

/* ── Header ─────────────────────────────────────── */
.masthead { background: var(--night-900); position: sticky; top: 0; z-index: 20; }
.masthead__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream-100); }
.brand img { width: 42px; height: 42px; }
.brand__name { font-family: var(--display); font-size: 1.45rem; line-height: 1; }
.brand__name small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-500); margin-top: 5px; font-weight: 700; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav a:hover { color: var(--brass-300); }
.nav a[aria-current="page"] { background: var(--night-600); color: var(--brass-300); }
.nav a.nav__play { background: var(--brass-500); color: var(--night-900); }
.nav a.nav__play:hover { background: var(--brass-300); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 2px solid var(--brass-500); color: var(--cream-100);
    font: 700 .9rem var(--body); letter-spacing: .12em; text-transform: uppercase;
    padding: 9px 14px; border-radius: 10px; cursor: pointer;
  }
  .nav-toggle__icon { display: grid; grid-template-columns: repeat(3, 5px); gap: 2px; height: 16px; }
  .nav-toggle__icon i { background: var(--cream-200); border-radius: 0 0 2px 2px; }
  .nav-toggle__icon i:nth-child(2) { background: var(--brass-500); height: 10px; }
  .nav { display: none; flex-basis: 100%; padding: 0 0 18px; }
  .nav.is-open { display: block; }
  /* mobile menu: a vertical keyboard — each link is an ivory key */
  .nav ul { flex-direction: column; gap: 0; border: 2px solid var(--brass-500); border-radius: 12px; overflow: hidden; }
  .nav li + li { border-top: 1px solid var(--night-900); }
  .nav a { border-radius: 0; background: var(--cream-200); color: var(--night-800); padding: 14px 18px; }
  .nav li { position: relative; }
  /* black keys sit across the seam between two ivory keys */
  .nav li::after { content: ""; position: absolute; right: 0; bottom: -9px; height: 18px; width: 36%; background: var(--night-900); border-radius: 5px 0 0 5px; z-index: 1; pointer-events: none; }
  .nav li:nth-child(3)::after, .nav li:last-child::after { display: none; }
  .nav a[aria-current="page"] { background: var(--brass-300); color: var(--night-900); }
  .nav a.nav__play { background: var(--brass-500); color: var(--night-900); }
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem var(--body); letter-spacing: .02em;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--brass-500);
  background: var(--brass-500); color: var(--night-900); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--brass-300); color: var(--night-900); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--cream-100); }
.btn--ghost:hover { background: var(--night-600); color: var(--brass-300); }
.btn:disabled { opacity: .38; cursor: not-allowed; transform: none; }

/* ── Bell-corner card ───────────────────────────── */
.bell-card {
  position: relative; background: var(--night-700); border: 1px solid var(--night-400);
  border-radius: var(--radius); padding: 30px 28px 26px; overflow: hidden;
}
.bell-card::before {
  content: ""; position: absolute; top: -1px; right: -1px; width: 70px; height: 70px;
  background: var(--bell) no-repeat right top / contain; pointer-events: none;
}
.bell-card > :last-child { margin-bottom: 0; }
.bell-card h3 { padding-right: 56px; }

/* ── Spotlight numerals ─────────────────────────── */
.glow-num {
  position: relative; display: inline-block; font-family: var(--display);
  color: var(--brass-300); isolation: isolate;
}
.glow-num::before {
  content: ""; position: absolute; inset: -40% -35%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 208, 122, .32), rgba(217, 168, 69, .12) 55%, transparent);
}

/* ── Sections ───────────────────────────────────── */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--night-700); }
.eyebrow { font: 800 .76rem var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-500); margin-bottom: 14px; display: block; }
.lede { font-size: 1.14rem; color: var(--text); max-width: 62ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ── Hero ───────────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); background:
  radial-gradient(ellipse 60% 50% at 80% 0%, rgba(217, 168, 69, .14), transparent 70%), var(--night-800); }
.hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 280px);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.hero__copy p { color: var(--text-dim); margin: 14px 0 0; max-width: 52ch; }
.hero__visual { margin: 0; width: min(100%, 280px); justify-self: end; }
.hero__visual a, .hero__visual img { display: block; width: 100%; height: auto; }
.hero__visual img {
  border-radius: 16px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55), 0 0 0 1px rgba(217, 168, 69, .28);
}
.age-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  border: 1px solid var(--brass-700); border-radius: 999px; padding: 6px 14px 6px 6px;
  font-size: .88rem; color: var(--cream-200);
}
.age-pill b { background: var(--cream-200); color: var(--night-900); border-radius: 999px; padding: 2px 9px; font-weight: 800; }
@media (max-width: 880px) {
  .hero__intro { grid-template-columns: 1fr; gap: 22px; }
  .hero__copy p { max-width: none; }
  .hero__visual { justify-self: start; width: min(100%, 240px); }
}

/* ── Trust strip ────────────────────────────────── */
.trust { background: var(--cream-200); color: var(--night-800); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 22px 20px; border-left: 1px solid var(--cream-400); }
.trust__item:first-child { border-left: 0; }
.trust__item strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--night-800); margin-bottom: 2px; }
.trust__item span { font-size: .92rem; color: #3D4466; }
@media (max-width: 880px) {
  .trust__row { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--cream-400); }
}
@media (max-width: 480px) {
  .trust__row { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; border-top: 1px solid var(--cream-400); }
  .trust__item:first-child { border-top: 0; }
}

/* ── Page head ──────────────────────────────────── */
.page-head { padding: clamp(48px, 7vw, 84px) 0 clamp(34px, 5vw, 52px); background:
  radial-gradient(ellipse 50% 70% at 10% 0%, rgba(217, 168, 69, .12), transparent 70%), var(--night-800); }
.page-head p { color: var(--text-dim); max-width: 60ch; font-size: 1.1rem; margin: 0; }

/* ── Prose ──────────────────────────────────────── */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brass-500); }
.prose .updated { color: var(--text-dim); font-size: .92rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.aside-stack { display: grid; gap: 20px; }

/* ── FAQ (always open) ──────────────────────────── */
.faq { display: grid; gap: 16px; }
.faq .bell-card h3 { font-family: var(--body); font-weight: 800; font-size: 1.08rem; color: var(--cream-100); }
.faq .bell-card p { color: var(--text-dim); }

/* ── Callout band ───────────────────────────────── */
.band { background: linear-gradient(180deg, var(--night-600), var(--night-700)); border-radius: 22px; padding: clamp(28px, 5vw, 52px); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--night-400); }
.band h2 { margin: 0 0 .25em; }
.band p { margin: 0; color: var(--text-dim); max-width: 56ch; }

/* ── Footer ─────────────────────────────────────── */
.footer { background: var(--night-900); color: var(--text-dim); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 36px; }
.footer h2 { font-size: 1.2rem; margin-bottom: .7em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--cream-200); text-decoration: none; }
.footer a:hover { color: var(--brass-300); text-decoration: underline; }
.footer__age { display: flex; gap: 14px; align-items: flex-start; }
.footer__age b { flex: none; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--night-900); background: var(--brass-500); border-radius: 12px; padding: 4px 12px; }
.footer__base { border-top: 1px solid var(--night-600); padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }
