/* beausilvester.com — single stylesheet, mobile-first */
:root {
  --bg: #faf7f1;
  --text: #1c1913;
  --muted: #8a7f6e;
  --gold: #c8922f;
  --wave-dim: #dcd2bf;
  --card-bg: #211c14;
  --card-text: #f2e9da;
  --card-muted: #9a8f7c;
  --border: #e6dfd0;
}
[data-theme="dark"] {
  --bg: #17140f;
  --text: #f2e9da;
  --muted: #9a8f7c;
  --gold: #d19a3f;
  --wave-dim: #7a6a50;
  --card-bg: #221d15;
  --card-text: #f2e9da;
  --card-muted: #9a8f7c;
  --border: #3a332a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }

/* Header */
.site-header { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.brand { font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.site-header nav { display: flex; gap: 18px; align-items: center; }
.site-header nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }
#theme-toggle { background: none; border: 1px solid var(--border); border-radius: 999px; color: var(--text); width: 34px; height: 34px; font-size: 1rem; cursor: pointer; }

/* Hero + waveform */
.hero { padding: 48px 0 8px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; }
.tagline { color: var(--muted); margin-top: 12px; }
.waveform { display: flex; align-items: flex-end; gap: 3px; height: 48px; margin: 32px 0; cursor: pointer; }
.waveform span { width: 4px; border-radius: 2px 2px 0 0; background: var(--wave-dim); }
.waveform span.lit { background: var(--gold); }

/* Bio + door cards */
.bio { display: flex; gap: 20px; align-items: center; margin: 8px 0 24px; }
.monogram { width: 84px; height: 84px; border-radius: 50%; background: var(--card-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.6rem; flex-shrink: 0; }
.doors { display: grid; gap: 14px; margin: 24px 0 48px; }
@media (min-width: 640px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { display: block; background: var(--card-bg); color: var(--card-text); border-radius: 10px; padding: 22px; text-decoration: none; transition: transform 0.15s ease; }
.door:hover { transform: translateY(-2px); }
.door h2 { font-size: 1.15rem; }
.door p { color: var(--card-muted); font-size: 0.92rem; margin-top: 4px; }

/* Inner pages */
section h1 { font-size: 1.9rem; margin: 24px 0 6px; }
.lede { color: var(--muted); margin-bottom: 18px; }
.caption { color: var(--muted); font-size: 0.9rem; }

/* Audio players */
.player { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.player .pp { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--gold); color: #1c1913; font-size: 1rem; cursor: pointer; flex-shrink: 0; }
.player .meta { flex: 1; min-width: 0; }
.player .title { font-weight: 600; font-size: 0.98rem; }
.player .bar { height: 4px; background: var(--wave-dim); border-radius: 2px; margin-top: 8px; overflow: hidden; cursor: pointer; }
.player .bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.player .time { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

/* YouTube click-to-load embeds */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; margin: 20px 0 8px; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 10px; border: none; background: var(--gold); color: #1c1913; font-size: 1.3rem; cursor: pointer; }

/* Contact form */
form { display: grid; gap: 14px; margin-top: 24px; }
label { font-weight: 600; font-size: 0.95rem; display: grid; gap: 6px; }
input[type="text"], input[type="email"], textarea { background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 12px; color: var(--text); font: inherit; }
textarea { min-height: 140px; resize: vertical; }
.btn { background: var(--gold); border: none; color: #1c1913; font-weight: 700; padding: 14px 22px; border-radius: 8px; cursor: pointer; font-size: 1rem; justify-self: start; }
.btn:disabled { opacity: 0.6; }
.hp { display: none; }
.form-note { display: none; margin-top: 8px; font-weight: 600; }
.form-note.show { display: block; }

/* Footer */
.site-footer { padding: 40px 0; color: var(--muted); font-size: 0.85rem; }
