:root {
  --ivory: #f4efe6;
  --paper: #fffaf2;
  --sand: #e9dfd0;
  --green: #203126;
  --green-2: #314238;
  --gold: #a56e2c;
  --gold-soft: #d9bd82;
  --ink: #172019;
  --muted: #66695f;
  --line: #d8c8ae;
  --shadow: 0 18px 45px rgba(38, 34, 25, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 242, .96); border-bottom: 2px solid var(--gold-soft);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 15px; min-width: max-content; }
.brand img { width: 82px; height: 82px; object-fit: cover; border-radius: 12px; }
.brand-copy { display: grid; text-align: center; }
.brand-copy strong { font: 700 clamp(1.3rem, 2.4vw, 2.15rem)/1 "Playfair Display", serif; text-transform: uppercase; letter-spacing: .015em; }
.brand-copy small { margin-top: 7px; color: var(--gold); text-transform: uppercase; font-weight: 600; letter-spacing: .42em; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 22px; }
.main-nav a { padding: 9px 0; border-bottom: 3px solid transparent; font-weight: 700; font-size: .94rem; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-color: var(--gold); }
.menu-toggle { display: none; padding: 10px 14px; border: 1px solid var(--gold); border-radius: 999px; background: transparent; color: var(--green); font-weight: 700; }

.section-shell { width: min(1400px, calc(100% - 40px)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(35px, 6vw, 90px); align-items: center; padding-block: clamp(62px, 8vw, 110px); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: .88rem; }
.eyebrow span { padding: 0 9px; }
.eyebrow.compact { margin: 0 0 8px; font-size: .75rem; }
h1, h2, h3 { font-family: "Playfair Display", serif; color: var(--green); }
h1 { max-width: 760px; margin: 22px 0; font-size: clamp(3rem, 6.5vw, 6.25rem); line-height: .98; letter-spacing: -.035em; }
.hero-text { max-width: 670px; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-2); }
.button-secondary { border-color: var(--gold); color: var(--gold); background: transparent; }
.button-secondary:hover { background: #efe2ce; }

.featured-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.featured-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #050505; }
.featured-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
.featured-meta h2 { margin: 0 0 4px; font-size: clamp(1.45rem, 2vw, 2rem); }
.featured-meta p:last-child { margin: 0; color: var(--muted); }
.round-play, .track-row button { border: 0; background: var(--green); color: #fff; cursor: pointer; }
.round-play { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 50%; font-size: 1.35rem; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 65px; }
.choice-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 28px; background: rgba(255,250,242,.72); border: 1px solid var(--line); border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.choice-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(38,34,25,.09); }
.choice-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(145deg, #f2dfb7, #d8bd81); color: var(--green); font-size: 2.2rem; font-weight: 800; }
.choice-card strong { display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; font-weight: 800; }
.choice-card small { display: block; color: var(--ink); line-height: 1.5; font-size: .96rem; font-weight: 600; }
.choice-arrow { color: var(--gold); font-size: 2.4rem; font-weight: 700; }

.content-section { padding-block: 85px; }
.alternate { background: var(--paper); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading h2, .radio-panel h2, .about-grid h2 { margin: 10px 0 12px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; }
.section-heading > p:last-child, .radio-panel > p, .about-grid p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.track-list { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.track-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.track-row:last-child { border-bottom: 0; }
.track-row button { width: 42px; height: 42px; border-radius: 50%; }
.track-row strong, .track-row small { display: block; }
.track-row strong { font-weight: 800; }
.track-row small, .track-row > span { color: var(--muted); }
.status-message { color: var(--muted); font-weight: 600; }
.video-grid, .service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card, .service-grid article { padding: 22px; border: 1px solid var(--line); background: var(--ivory); border-radius: 18px; }
.video-placeholder { display: grid; place-items: center; aspect-ratio: 16/9; margin-bottom: 20px; border-radius: 14px; background: radial-gradient(circle at 70% 25%, #8e6a31, #24231d 42%, #090909 78%); color: #f0d58f; font-family: "Playfair Display", serif; font-size: clamp(1.4rem, 3vw, 2.7rem); text-align: center; }
.video-placeholder.second { background: radial-gradient(circle at 30% 70%, #6d5734, #263029 42%, #090909 78%); }
.video-card h3, .service-grid h3 { margin: 5px 0 0; font-size: 1.5rem; }
.service-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 30px; }
.service-grid article { background: var(--ivory); }
.service-grid p { color: var(--muted); line-height: 1.65; }
.radio-panel { max-width: 820px; margin: auto; padding: clamp(35px, 6vw, 70px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); text-align: center; box-shadow: var(--shadow); }
.about-grid { display: grid; grid-template-columns: minmax(260px, .7fr) 1.3fr; gap: 50px; align-items: center; }
.about-grid img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }

.site-footer { display: grid; grid-template-columns: auto 1fr; gap: 28px 60px; align-items: center; padding: 38px clamp(20px, 5vw, 72px); background: var(--green); color: #f6efe3; border-top: 3px solid var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 90px; border-radius: 12px; }
.footer-brand span { display: grid; }
.footer-brand strong { color: var(--gold-soft); font: 600 1.3rem "Playfair Display", serif; text-transform: uppercase; letter-spacing: .12em; }
.footer-brand small { margin-top: 6px; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .2em; }
.site-footer nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.site-footer > p { grid-column: 1 / -1; margin: 0; text-align: center; color: #d7d3c9; font-size: .9rem; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .choice-grid, .service-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .site-header { padding: 12px 18px; }
  .brand img { width: 60px; height: 60px; }
  .brand-copy strong { font-size: 1.15rem; }
  .brand-copy small { font-size: .67rem; }
  .section-shell { width: min(100% - 28px, 1400px); }
  .hero { padding-block: 50px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .hero-actions .button { width: 100%; }
  .choice-card { padding: 20px; grid-template-columns: auto 1fr; }
  .choice-arrow { display: none; }
  .choice-icon { width: 58px; height: 58px; font-size: 1.7rem; }
  .content-section { padding-block: 58px; }
  .video-grid, .about-grid { grid-template-columns: 1fr; }
  .track-row { grid-template-columns: auto 1fr; }
  .track-row > span { display: none; }
  .featured-meta { padding: 20px; }
  .round-play { width: 54px; height: 54px; }
  .footer-brand { align-items: flex-start; }
  .footer-brand strong { font-size: 1rem; }
}


/* Phase 2: on-demand music catalog */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.music-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.music-heading > div:first-child { max-width: 760px; }
.catalog-tools { display: grid; gap: 12px; justify-items: end; }
.search-box input { width: min(320px, 70vw); padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; }
.search-box input:focus { outline: 3px solid rgba(165,110,44,.18); border-color: var(--gold); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter-button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--green); cursor: pointer; font-weight: 700; }
.filter-button.active, .filter-button:hover { background: var(--green); color: white; border-color: var(--green); }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 28px; align-items: start; }
.track-list.enhanced { box-shadow: 0 14px 34px rgba(38,34,25,.07); }
.track-list.enhanced .track-row { grid-template-columns: auto 36px minmax(0,1fr) auto 48px; transition: background .18s ease; }
.track-list.enhanced .track-row:hover, .track-list.enhanced .track-row.current { background: #f2e8da; }
.track-list.enhanced .track-row[hidden] { display: none; }
.track-play { display: grid; place-items: center; }
.track-number, .track-time { color: var(--muted); font-size: .88rem; font-weight: 700; }
.track-info { min-width: 0; }
.track-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-tag { padding: 6px 10px; border-radius: 999px; background: #efe2ce; color: #80531f !important; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.now-playing-card { position: sticky; top: 132px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.now-playing-card > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 15px; margin-bottom: 22px; background: #050505; }
.now-playing-card h3 { margin: 8px 0 4px; font-size: 1.7rem; }
.now-playing-card > p { color: var(--muted); }
.player-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 24px 0 18px; }
.player-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--green); cursor: pointer; font-weight: 800; }
.player-controls .main-play { width: 62px; height: 62px; border-color: var(--green); background: var(--green); color: white; font-size: 1.25rem; }
.progress-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted); }
.progress-wrap input, .volume-control input { accent-color: var(--gold); width: 100%; }
.volume-control { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-top: 16px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.now-playing-card .status-message { margin: 18px 0 0; font-size: .82rem; line-height: 1.5; }

@media (max-width: 1020px) {
  .music-heading { align-items: start; flex-direction: column; }
  .catalog-tools { justify-items: start; }
  .filter-buttons { justify-content: flex-start; }
  .catalog-layout { grid-template-columns: 1fr; }
  .now-playing-card { position: static; display: grid; grid-template-columns: 180px 1fr; column-gap: 24px; text-align: left; }
  .now-playing-card > img { grid-row: 1 / 8; margin: 0; }
  .player-controls { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .track-list.enhanced .track-row { grid-template-columns: auto 1fr auto; }
  .track-number, .track-tag { display: none; }
  .now-playing-card { display: block; text-align: center; }
  .now-playing-card > img { width: min(100%, 320px); margin: 0 auto 20px; }
  .player-controls { justify-content: center; }
}
