
:root {
  --bg0: #1a0f0a;
  --bg1: #2a1810;
  --bg2: #3d2418;
  --card: #2f1c14ee;
  --ink: #fff6ea;
  --muted: #d4b89a;
  --accent: #f5c518;
  --accent2: #e8783a;
  --good: #7dcea0;
  --line: #5a3a28;
  --chip: #442818;
  --chip-on: #f5c518;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #5a2a18 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #3a2818 0%, transparent 50%),
    linear-gradient(180deg, var(--bg0), #120a07 120%);
  min-height: 100vh;
  line-height: 1.5;
}
.site-nav {
  position: sticky; top: 0; z-index: 9998;
  background: #1a100cfa;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-nav-inner {
  max-width: 960px; margin: 0 auto;
  padding: .55rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.nav-link {
  color: var(--muted); text-decoration: none;
  font-size: .9rem; font-weight: 700;
  letter-spacing: .03em;
  padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: .15s color, .15s background, .15s border-color;
}
.nav-link:hover { color: var(--ink); border-color: var(--line); }
.nav-link.is-active {
  color: #1a0f0a; background: var(--accent);
  border-color: #c9a00e;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 1.5rem 1.25rem 7rem; }
.mil-page.wrap { padding-bottom: 3rem; }
header.hero {
  display: grid; gap: 0.75rem; margin: 1rem 0 1.5rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #442818aa; border: 1px solid var(--line);
  color: var(--accent); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; width: fit-content;
}
h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700; margin: 0; letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff6ea, #f5c518 55%, #e8783a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); max-width: 42rem; margin: 0; font-size: 1.05rem; }
.controls {
  display: grid; gap: .85rem; margin: 1.25rem 0 1rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.search-row { display: grid; gap: .6rem; }
@media (min-width: 640px) {
  .search-row { grid-template-columns: 1fr auto; align-items: center; }
}
label.sr { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
input[type="search"] {
  width: 100%; appearance: none;
  background: #1a100c; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem .85rem 2.6rem; font-size: 1rem;
  outline: none; transition: border-color .15s, box-shadow .15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23d4b89a' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M13 13l3.5 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .9rem 50%;
}
input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,197,24,.25);
}
.meta-count { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  appearance: none; cursor: pointer;
  background: var(--chip); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .85rem; font-size: .85rem; font-weight: 600;
  transition: .15s background, .15s color, .15s border-color;
}
.chip:hover { color: var(--ink); border-color: var(--accent2); }
.chip[aria-pressed="true"] {
  background: var(--chip-on); color: #1a0f0a; border-color: #c9a00e;
}
section { margin-top: 1.75rem; }
section h2 {
  font-family: var(--display); font-size: 1.45rem; margin: 0 0 .75rem;
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
}
section h2 .count {
  font-family: var(--font); font-size: .8rem; font-weight: 600;
  color: var(--muted); letter-spacing: .04em;
}
.list { display: grid; gap: .65rem; }
.card {
  display: grid; gap: .55rem;
  background: linear-gradient(145deg, #342016cc, #24150fcc);
  border: 1px solid var(--line); border-radius: 14px;
  padding: .9rem 1rem; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #8a5a38; }
.card.playing { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(245,197,24,.35); }
.card-top { display: flex; gap: .75rem; align-items: flex-start; justify-content: space-between; }
.title-block { min-width: 0; }
.title-block h3 {
  margin: 0; font-size: 1.05rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sub { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: #1a100c; color: var(--accent2); border: 1px solid #5a3828;
  padding: .15rem .45rem; border-radius: 6px;
}
.tag.drive { color: #9ec5ff; border-color: #3a5080; }
.actions { display: flex; gap: .4rem; flex-shrink: 0; }
button.play {
  appearance: none; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1a0f0a; border: none; border-radius: 999px;
  width: 2.5rem; height: 2.5rem; font-size: 1rem; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(232,120,58,.35);
}
button.play:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
a.drive-link, a.ext-link {
  color: var(--accent); font-size: .85rem; font-weight: 600;
  text-decoration: none; border-bottom: 1px dotted rgba(245,197,24,.45);
}
a.drive-link:hover, a.ext-link:hover { color: #ffe066; }
.lede a.ext-link { font-size: inherit; }
audio {
  width: 100%; height: 2.2rem;
  filter: sepia(.3) saturate(.8) hue-rotate(-15deg);
}
.empty {
  color: var(--muted); text-align: center; padding: 2rem 1rem;
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.player-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #1a100cfa; border-top: 1px solid var(--line);
  backdrop-filter: blur(12px); padding: .75rem 1.25rem 1rem;
  box-shadow: 0 -8px 30px rgba(0,0,0,.4);
  transform: translateY(110%); transition: transform .25s ease;
}
.player-dock.visible { transform: translateY(0); }
.dock-inner { max-width: 960px; margin: 0 auto; display: grid; gap: .45rem; }
.dock-title { font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-sub { color: var(--muted); font-size: .8rem; }
footer.site {
  margin-top: 2.5rem; color: var(--muted); font-size: .85rem;
  border-top: 1px solid var(--line); padding-top: 1rem;
}
footer.site a { color: var(--accent); }

.tag.sample { color: #7dcea0; border-color: #3a6a48; }
.row-links { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
a.btn-drive {
  display: inline-flex; align-items: center;
  background: #1e3a5f; color: #cfe3ff;
  border: 1px solid #4a6a9a; border-radius: 999px;
  padding: .35rem .85rem; font-size: .8rem; font-weight: 700;
  text-decoration: none;
}
a.btn-drive:hover { background: #2a4a75; color: #fff; }
.hint-inline { color: var(--muted); font-size: .75rem; }

/* Music in Our Lives */
.section-jump {
  position: sticky; top: 84px; z-index: 40;
  display: flex; flex-wrap: wrap; gap: .45rem;
  background: #1a100cf2; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .75rem .9rem;
  margin: 0 0 1rem; box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.jump-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--muted); text-decoration: none;
  background: var(--chip); border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem .85rem;
  font-size: .8rem; font-weight: 650;
  transition: .15s color, .15s border-color, .15s background;
}
.jump-chip:hover { color: var(--ink); border-color: var(--accent2); }
.jump-count {
  font-size: .7rem; font-weight: 700;
  color: #1a0f0a; background: var(--accent);
  border-radius: 999px; padding: .05rem .4rem; min-width: 1.2rem;
  text-align: center;
}
.mil-section { scroll-margin-top: 150px; }
.video-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
.video-card {
  display: grid; gap: .55rem;
  background: linear-gradient(145deg, #342016cc, #24150fcc);
  border: 1px solid var(--line); border-radius: 14px;
  padding: .85rem;
}
.video-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent);
}
.video-frame {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden;
  background: #120a07; border: 1px solid #3a2818;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
