/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --red:    #6B1520;
  --red-lt: #8B2030;
  --gold:   #C4973A;
  --gold-lt:#D4AA55;
  --green:  #2A3D2A;
  --ivory:  #F9F5EE;
  --ivory2: #F2EDE3;
  --cream:  #EDE5D8;
  --ink:    #1A1613;
  --ink2:   #2E2720;
  --muted:  #7A6E64;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Nunito Sans', system-ui, sans-serif;
  --trans: all .4s cubic-bezier(.25,.8,.25,1);
}

/* ─── BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--ivory); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); border: none; background: none; }

/* ─── GRAIN OVERLAY ──────────────────────────────────────────── */
body::before {
  content:''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .6;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.3rem; }
.label { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }

/* ─── FOLK ORNAMENT ──────────────────────────────────────────── */
.orn {
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  color: var(--gold); margin: 1.5rem auto;
}
.orn-line { flex: 1; height: 1px; max-width: 180px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.orn-sym { font-size: 1.1rem; }
.orn-diamond::before { content: '◆'; }
.orn-cross::before  { content: '✦'; }
.orn-flower::before { content: '✿'; }

.folk-border {
  position: relative;
}
.folk-border::after {
  content: '';
  display: block;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0, var(--gold) 6px,
    transparent 6px, transparent 10px,
    var(--red) 10px, var(--red) 16px,
    transparent 16px, transparent 20px
  );
  margin-top: 3rem;
}

/* Decorative SVG pattern border */
.patt-border {
  height: 18px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='18'%3E%3Cpath d='M0 9 L5 2 L10 9 L5 16Z' fill='none' stroke='%23C4973A' stroke-width='1'/%3E%3Cpath d='M20 9 L25 2 L30 9 L25 16Z' fill='none' stroke='%23C4973A' stroke-width='1'/%3E%3Ccircle cx='15' cy='9' r='2' fill='%23C4973A'/%3E%3Ccircle cx='35' cy='9' r='2' fill='%23C4973A'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: .7;
}

/* ─── NAV ────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--trans);
}
#nav.scrolled {
  background: rgba(26,22,19,.93);
  backdrop-filter: blur(12px);
  padding: .9rem 3rem;
  border-bottom: 1px solid rgba(196,151,58,.25);
}
.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--serif); font-size: 1.5rem; color: var(--ivory);
  font-style: italic; letter-spacing: .04em;
}
.nav-logo .logo-mark { width: 36px; height: 36px; flex-shrink: 0; transition: var(--trans); }
.nav-logo:hover .logo-mark { transform: rotate(15deg); }
.nav-logo .logo-text span { color: var(--gold); }

/* Footer logo bigger */
.footer-brand .nav-logo { font-size: 2rem; }
.footer-brand .nav-logo .logo-mark { width: 52px; height: 52px; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(249,245,238,.75); transition: var(--trans);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: .55rem 1.5rem; border: 1px solid var(--gold);
  color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px; transition: var(--trans);
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--ivory); transition: var(--trans); }

/* ─── PLACEHOLDER IMAGE ──────────────────────────────────────── */
.ph {
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.ph::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,.04) 0, rgba(0,0,0,.04) 1px,
    transparent 1px, transparent 8px
  );
}
.ph-label {
  position: relative; z-index: 1;
  font-family: monospace; font-size: .75rem; color: var(--muted);
  text-align: center; padding: 1rem; letter-spacing: .05em;
}
.ph-dark { background: var(--ink2); }
.ph-dark::before { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 8px); }
.ph-dark .ph-label { color: rgba(249,245,238,.4); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2.4rem; font-family: var(--sans);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  border-radius: 2px; transition: var(--trans); cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: var(--ivory); }
.btn-primary:hover { background: var(--red-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,21,32,.4); }
.btn-outline { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-outline-light { border: 1.5px solid var(--ivory); color: var(--ivory); background: transparent; }
.btn-outline-light:hover { background: var(--ivory); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,151,58,.4); }

/* ─── SECTION BASE ───────────────────────────────────────────── */
section { padding: 7rem 0; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 2.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 2.5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .label { color: var(--gold); margin-bottom: .8rem; display: block; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }
.reveal-delay-4 { transition-delay: .6s; }

/* ═══════════════════════════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0;
  --hero-overlay-opacity: 0.65;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1A0F0D 0%, #2A1810 40%, #1A2010 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0D0806 0%, #1A1008 60%, #0E1608 100%);
}
/* Atmospheric light beams */
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(196,151,58,.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 20% 80%, rgba(107,21,32,.18) 0%, transparent 60%);
}
.hero-ph {
  position: absolute; inset: 0; z-index: 0;
}
.hero-ph .ph-label { font-size: .85rem; }
#hero.hero--has-bg-image .hero-bg {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#hero.hero--has-bg-image .hero-ph {
  display: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(10,6,4,.85) 50%, rgba(10,6,4,.4) 100%),
              linear-gradient(to top, rgba(10,6,4,.6) 0%, transparent 50%);
  opacity: var(--hero-overlay-opacity);
}
/* Ornament frame */
.hero-frame {
  position: absolute; inset: 2.5rem; z-index: 2; pointer-events: none;
  border: 1px solid rgba(196,151,58,.2);
}
.hero-frame::before, .hero-frame::after {
  content: '✦'; position: absolute; color: var(--gold); font-size: 1rem; opacity: .7;
}
.hero-frame::before { top: -0.6rem; left: -0.6rem; }
.hero-frame::after  { bottom: -0.6rem; right: -0.6rem; }
.hero-corner {
  position: absolute; width: 40px; height: 40px;
}
.hero-corner.tl { top: -.5px; left: -.5px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner.tr { top: -.5px; right: -.5px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.hero-corner.bl { bottom: -.5px; left: -.5px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner.br { bottom: -.5px; right: -.5px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.hero-content {
  position: relative; z-index: 3;
  max-width: 780px; padding: 2rem 3rem;
}
.hero-label {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
}
.hero-label::before, .hero-label::after { content: '◆'; font-size: .5rem; }
.hero-title {
  font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 300; color: var(--ivory); line-height: 1.05;
  margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(249,245,238,.65); line-height: 1.6; margin-bottom: 3rem;
  max-width: 520px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: rgba(249,245,238,.4); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll::after { content: ''; display: block; width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(196,151,58,.6), transparent); }

[data-cms-editable="image"] {
  position: relative;
}
[data-cms-editable="image"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, var(--cms-image-overlay, 0));
}
[data-cms-editable="image"].has-image .ph-label {
  display: none;
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* Floating particles */
.particle {
  position: absolute; z-index: 2; pointer-events: none;
  border-radius: 50%; background: var(--gold);
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: .4; }
  90%  { opacity: .4; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   QUOTE STRIP
═══════════════════════════════════════════════════════════════ */
.quote-strip {
  background: var(--red); padding: 2.5rem 0;
  text-align: center; overflow: hidden;
}
.quote-strip p {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem,2vw,1.6rem);
  color: var(--ivory); letter-spacing: .02em;
}
.quote-strip span { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   2. ABOUT
═══════════════════════════════════════════════════════════════ */
#about { background: var(--ivory); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img { position: relative; }
.about-img .ph { height: 580px; border-radius: 2px; }
.about-img-accent {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 60%; height: 60%; border: 2px solid var(--gold); border-radius: 2px;
  pointer-events: none; z-index: -1;
}
.about-text .label { color: var(--gold); display: block; margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.8rem; }
.about-text h2 em { font-style: italic; color: var(--red); }
.about-text p { color: var(--ink2); margin-bottom: 1.2rem; font-size: 1.02rem; line-height: 1.85; }
.about-values {
  display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem;
}
.about-value {
  padding: .45rem 1.1rem; border: 1px solid var(--gold);
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════════
   3. ENSEMBLE MEMBERS
═══════════════════════════════════════════════════════════════ */
#members { background: var(--green); padding: 7rem 0; }
#members .section-header h2 { color: var(--ivory); }
#members .section-header .label { color: var(--gold-lt); }
#members .section-header p { color: rgba(249,245,238,.6); font-style: italic; font-family: var(--serif); font-size: 1.1rem; margin-top: .8rem; }
.members-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 1.8rem;
  margin-top: 3rem;
}
.member-card {
  text-align: center; transition: var(--trans);
}
.member-card:hover { transform: translateY(-6px); }
.member-photo {
  aspect-ratio: 3/4; border-radius: 2px; overflow: hidden; margin-bottom: 1.2rem;
  border: 1px solid rgba(196,151,58,.2); position: relative;
}
.member-photo .ph { height: 100%; }
.member-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,61,42,.8) 0%, transparent 50%);
}
.member-card h4 { color: var(--ivory); font-family: var(--serif); margin-bottom: .3rem; font-size: 1.15rem; }
.member-role { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.member-bio { font-size: .85rem; color: rgba(249,245,238,.55); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   4. MUSIC
═══════════════════════════════════════════════════════════════ */
#music { background: var(--ivory2); }
.music-featured { margin-bottom: 5rem; }
.music-featured h3 { font-style: italic; color: var(--red); text-align: center; margin-bottom: .5rem; }
.song-of-month {
  background: var(--ink); border-radius: 4px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 340px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.som-cover .ph { height: 100%; min-height: 340px; }
.som-info {
  padding: 3.5rem; display: flex; flex-direction: column; justify-content: center;
  background: var(--ink2);
}
.som-info .label { color: var(--gold); margin-bottom: 1.2rem; }
.som-info h2 { color: var(--ivory); margin-bottom: .4rem; font-style: italic; }
.som-info .sub { color: var(--muted); font-size: .88rem; margin-bottom: 1.8rem; }
.player-bar {
  background: rgba(255,255,255,.06); border-radius: 2px; padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.player-controls { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.player-btn {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--ivory); font-size: 1rem; transition: var(--trans); flex-shrink: 0;
}
.player-btn:hover { background: var(--red-lt); transform: scale(1.08); }
.player-title { color: var(--ivory); font-family: var(--serif); font-size: 1rem; }
.player-time { font-size: .72rem; color: var(--muted); margin-left: auto; }
.player-prog { height: 2px; background: rgba(255,255,255,.12); border-radius: 100px; overflow: hidden; }
.player-fill { height: 100%; width: 38%; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 100px; }
.stream-links { display: flex; gap: .8rem; flex-wrap: wrap; }
.stream-link {
  padding: .4rem .9rem; border: 1px solid rgba(196,151,58,.3);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(249,245,238,.6); border-radius: 100px; transition: var(--trans);
}
.stream-link:hover { border-color: var(--gold); color: var(--gold); }

.tracks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.track-card {
  background: var(--ivory); border-radius: 4px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: var(--trans); cursor: pointer;
}
.track-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.track-cover .ph { height: 200px; }
.track-body { padding: 1.4rem; }
.track-tag { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.track-body h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .3rem; color: var(--ink); }
.track-body p { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.track-footer { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.4rem; border-top: 1px solid var(--cream); }
.track-dur { font-size: .72rem; color: var(--muted); }
.track-play {
  width: 34px; height: 34px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center; color: white; font-size: .8rem;
  transition: var(--trans);
}
.track-card:hover .track-play { transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════════════
   5. VIDEO
═══════════════════════════════════════════════════════════════ */
#video { background: var(--ink); padding: 7rem 0; }
#video .section-header h2 { color: var(--ivory); }
#video .section-header .label { color: var(--gold); }
.video-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto;
  gap: 1.2rem;
}
.video-card {
  position: relative; overflow: hidden; border-radius: 3px; cursor: pointer;
  background: var(--ink2);
}
.video-card:hover .video-overlay { opacity: 1; }
.video-card:hover .video-thumb { transform: scale(1.04); }
.video-card.featured { grid-row: span 2; }
.video-thumb { height: 100%; min-height: 220px; transition: transform .6s ease; }
.video-card.featured .video-thumb { min-height: 480px; }
.video-overlay {
  position: absolute; inset: 0; background: rgba(10,6,4,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--trans);
}
.video-play-btn {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--ivory); display: flex; align-items: center; justify-content: center;
  color: var(--ivory); font-size: 1.4rem; transition: var(--trans);
  background: rgba(196,151,58,.3);
}
.video-play-btn:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.1); }
.video-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.2rem 1.4rem; background: linear-gradient(to top, rgba(10,6,4,.9) 0%, transparent 100%); }
.video-info .label { color: var(--gold-lt); font-size: .62rem; }
.video-info p { color: var(--ivory); font-family: var(--serif); font-size: .95rem; }

/* Video Modal */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(10,6,4,.92); backdrop-filter: blur(8px);
}
.modal.open { display: flex; }
.modal-box {
  background: var(--ink2); width: 90vw; max-width: 900px; border-radius: 4px;
  overflow: hidden; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory); font-size: 1.2rem; cursor: pointer; transition: var(--trans);
}
.modal-close:hover { background: var(--red); }
.modal-video-ph { height: 50vw; max-height: 500px; }
.modal-info { padding: 1.5rem 2rem; }
.modal-info h3 { color: var(--ivory); font-family: var(--serif); font-size: 1.5rem; }
.modal-info p { color: var(--muted); font-size: .88rem; margin-top: .4rem; }

/* ═══════════════════════════════════════════════════════════════
   6. PHOTO GALLERY
═══════════════════════════════════════════════════════════════ */
#gallery { background: var(--ivory); }
.gallery-tabs { display: flex; gap: 0; margin-bottom: 3rem; border-bottom: 1px solid var(--cream); justify-content: center; }
.gallery-tab {
  padding: .8rem 1.8rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; transition: var(--trans);
  margin-bottom: -1px;
}
.gallery-tab.active { color: var(--red); border-bottom-color: var(--red); }
.gallery-tab:hover:not(.active) { color: var(--ink); }
.gallery-album { display: none; }
.gallery-album.active { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: 2px; cursor: pointer; }
.gallery-item .ph { height: 100%; transition: transform .5s ease; }
.gallery-item:hover .ph { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ═══════════════════════════════════════════════════════════════
   7. FAN ZONE
═══════════════════════════════════════════════════════════════ */
#fanzone { background: var(--cream); }
.fanzone-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.fan-card {
  background: var(--ivory); border-radius: 4px; padding: 2.2rem;
  border: 1px solid rgba(196,151,58,.15); transition: var(--trans);
}
.fan-card:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(0,0,0,.06); transform: translateY(-3px); }
.fan-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.fan-card h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .6rem; color: var(--ink); }
.fan-card p { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.fan-card .btn { margin-top: 1.4rem; font-size: .7rem; }

/* Poll block */
.fan-poll {
  background: var(--ink); border-radius: 4px; padding: 2.5rem;
  grid-column: span 2;
}
.fan-poll h4 { color: var(--ivory); font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1.5rem; }
.poll-options { display: flex; flex-direction: column; gap: .8rem; }
.poll-opt {
  display: flex; align-items: center; gap: 1rem; cursor: pointer; padding: .7rem 1rem;
  border: 1px solid rgba(196,151,58,.15); border-radius: 2px; transition: var(--trans);
}
.poll-opt:hover { border-color: var(--gold); background: rgba(196,151,58,.06); }
.poll-opt input { accent-color: var(--gold); width: 16px; height: 16px; }
.poll-opt label { color: rgba(249,245,238,.8); font-family: var(--serif); font-size: 1.05rem; cursor: pointer; flex: 1; }
.poll-bar { flex: 1; height: 3px; background: rgba(255,255,255,.07); border-radius: 100px; overflow: hidden; }
.poll-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 100px; transition: width .8s ease; }
.poll-pct { font-size: .7rem; color: var(--muted); min-width: 32px; text-align: right; }

/* Newsletter */
.newsletter-block {
  background: var(--red); border-radius: 4px; padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.newsletter-block h4 { color: var(--ivory); font-family: var(--serif); font-size: 1.4rem; margin-bottom: .6rem; }
.newsletter-block p { color: rgba(249,245,238,.7); font-size: .88rem; margin-bottom: 1.4rem; }
.newsletter-form { display: flex; gap: .6rem; }
.newsletter-form input {
  flex: 1; padding: .75rem 1rem; border: none; border-radius: 2px;
  background: rgba(255,255,255,.15); color: var(--ivory); font-family: var(--sans); font-size: .88rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(249,245,238,.5); }
.newsletter-form button { background: var(--gold); color: var(--ink); padding: .75rem 1.4rem; border-radius: 2px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; transition: var(--trans); }
.newsletter-form button:hover { background: var(--gold-lt); }

/* ═══════════════════════════════════════════════════════════════
   8. REPERTOIRE
═══════════════════════════════════════════════════════════════ */
#repertoire { background: var(--ink2); padding: 7rem 0; }
#repertoire .section-header h2 { color: var(--ivory); }
#repertoire .section-header .label { color: var(--gold); }
.rep-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 3rem; margin-top: 3rem; }
.rep-category h4 {
  font-family: var(--serif); color: var(--gold); font-size: 1.25rem;
  margin-bottom: 1.2rem; padding-bottom: .8rem;
  border-bottom: 1px solid rgba(196,151,58,.25);
  display: flex; align-items: center; gap: .8rem;
}
.rep-list { list-style: none; }
.rep-list li {
  padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
  font-family: var(--serif); font-size: 1.05rem; color: rgba(249,245,238,.75);
  display: flex; align-items: center; gap: .8rem; transition: var(--trans); cursor: default;
}
.rep-list li::before { content: '◇'; color: rgba(196,151,58,.4); font-size: .7rem; }
.rep-list li:hover { color: var(--ivory); padding-left: .5rem; }
.rep-list li:hover::before { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   9. EVENTS
═══════════════════════════════════════════════════════════════ */
#events { background: var(--ivory2); }
.events-list { display: flex; flex-direction: column; gap: 1.2rem; }
.event-card {
  display: grid; grid-template-columns: 100px 1fr auto;
  align-items: center; gap: 2rem; padding: 1.8rem 2.5rem;
  background: var(--ivory); border-radius: 4px; border-left: 3px solid transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,.04); transition: var(--trans);
}
.event-card:hover { border-left-color: var(--gold); transform: translateX(4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.event-date { text-align: center; }
.event-date .day { font-family: var(--serif); font-size: 2.5rem; color: var(--red); line-height: 1; }
.event-date .month { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.event-info h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .25rem; }
.event-info p { font-size: .85rem; color: var(--muted); }
.event-info .tag {
  display: inline-block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .2rem .7rem; background: var(--cream); color: var(--muted); border-radius: 100px; margin-top: .5rem;
}
.event-sold { font-size: .72rem; color: var(--red); letter-spacing: .1em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   10. REVIEWS
═══════════════════════════════════════════════════════════════ */
#reviews { background: var(--green); padding: 7rem 0; }
#reviews .section-header h2 { color: var(--ivory); }
#reviews .section-header .label { color: var(--gold-lt); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.review-card {
  background: rgba(255,255,255,.05); border-radius: 4px; padding: 2.2rem;
  border: 1px solid rgba(196,151,58,.15); transition: var(--trans);
}
.review-card:hover { background: rgba(255,255,255,.09); border-color: rgba(196,151,58,.4); }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.review-text {
  font-family: var(--serif); font-style: italic; font-size: 1.08rem;
  color: rgba(249,245,238,.85); line-height: 1.75; margin-bottom: 1.5rem;
}
.review-text::before { content: '\201C'; color: var(--gold); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: .1em; }
.reviewer { display: flex; align-items: center; gap: .9rem; }
.reviewer-avatar .ph { width: 42px; height: 42px; border-radius: 50%; }
.reviewer-name { font-size: .88rem; color: var(--ivory); font-weight: 600; }
.reviewer-role { font-size: .75rem; color: rgba(249,245,238,.45); }

/* ═══════════════════════════════════════════════════════════════
   11. BOOKING
═══════════════════════════════════════════════════════════════ */
#booking { background: var(--ivory); }
.booking-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start;
}
.booking-info .label { color: var(--gold); display: block; margin-bottom: 1rem; }
.booking-info h2 { margin-bottom: 1.4rem; }
.booking-info h2 em { color: var(--red); font-style: italic; }
.booking-info p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 2rem; }
.event-types { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.5rem; }
.event-type {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.2rem;
  border: 1px solid var(--cream); border-radius: 3px; transition: var(--trans);
}
.event-type:hover { border-color: var(--gold); background: rgba(196,151,58,.04); }
.event-type-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.event-type-info h5 { font-family: var(--serif); font-size: .98rem; }
.event-type-info p { font-size: .78rem; color: var(--muted); }

.booking-form { background: var(--ivory2); border-radius: 6px; padding: 3rem; box-shadow: 0 4px 40px rgba(0,0,0,.07); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--cream);
  border-radius: 3px; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: .9rem; outline: none; transition: var(--trans);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,151,58,.12);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group select { cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════
   12. NEWS
═══════════════════════════════════════════════════════════════ */
#news { background: var(--ivory2); }
.news-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.news-card {
  background: var(--ivory); border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.05); transition: var(--trans); cursor: pointer;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.news-cover .ph { height: 220px; }
.news-card.featured .news-cover .ph { height: 300px; }
.news-body { padding: 1.5rem; }
.news-tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; display: block; }
.news-body h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: .6rem; line-height: 1.35; }
.news-body p { font-size: .83rem; color: var(--muted); line-height: 1.6; }
.news-date { font-size: .72rem; color: var(--muted); margin-top: .8rem; }

/* ═══════════════════════════════════════════════════════════════
   13. SOCIAL
═══════════════════════════════════════════════════════════════ */
#social { background: var(--ink); padding: 6rem 0; }
#social .section-header h2 { color: var(--ivory); }
#social .section-header p { color: rgba(249,245,238,.5); font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-top: .8rem; }
.social-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.social-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px; padding: 2rem; text-align: center; transition: var(--trans); cursor: pointer;
}
.social-card:hover { background: rgba(196,151,58,.08); border-color: rgba(196,151,58,.3); transform: translateY(-3px); }
.social-icon { font-size: 2rem; margin-bottom: .8rem; }
.social-name { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.social-handle { font-family: var(--serif); font-size: 1.1rem; color: var(--ivory); }
.social-card p { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.streaming-row { display: flex; justify-content: center; gap: 1.5rem; margin-top: 3rem; flex-wrap: wrap; }
.stream-btn {
  padding: .75rem 1.8rem; border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(249,245,238,.7); transition: var(--trans);
}
.stream-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   14. CONTACT
═══════════════════════════════════════════════════════════════ */
#contact { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.contact-info .label { color: var(--gold); display: block; margin-bottom: 1rem; }
.contact-info h2 { margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-item-text h5 { font-family: var(--serif); margin-bottom: .2rem; }
.contact-item-text p { font-size: .88rem; color: var(--muted); }
.contact-item-text a { color: var(--red); transition: var(--trans); }
.contact-item-text a:hover { color: var(--gold); }
.contact-visual .ph { height: 460px; border-radius: 4px; }
.contact-quote {
  background: var(--red); border-radius: 4px; padding: 2rem 2.5rem; margin-top: 2.5rem;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ivory); line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   15. FOOTER
═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--ink); padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(196,151,58,.2);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .nav-logo { font-size: 2rem; display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; color: rgba(249,245,238,.45); line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.5rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(196,151,58,.3); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .85rem; transition: var(--trans); }
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-col h5 { color: var(--ivory); font-family: var(--serif); font-size: 1rem; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .83rem; color: rgba(249,245,238,.45); transition: var(--trans); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .75rem; color: rgba(249,245,238,.3); }
.footer-poem { font-family: var(--serif); font-style: italic; font-size: .9rem; color: rgba(249,245,238,.3); }


/* ─── SVG LOGO ───────────────────────────────────────────────── */
.nav-logo-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.slavitsa-logo { display: block; transition: opacity .3s ease; }
.nav-logo-link:hover .slavitsa-logo { opacity: .85; }

/* ─── TWEAKS PANEL ───────────────────────────────────────────── */
#tweaks-panel {
  display: none; position: fixed; top: 5rem; right: 1.5rem; z-index: 300; max-height: calc(100vh - 7rem); overflow-y: auto;
  background: var(--ink2); border: 1px solid rgba(196,151,58,.3);
  border-radius: 8px; padding: 1.5rem; width: 300px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
#tweaks-panel h3 { color: var(--ivory); font-family: var(--serif); font-size: 1.2rem; margin-bottom: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
#tweaks-panel h3 span { font-size: .8rem; color: var(--gold); font-family: var(--sans); font-style: normal; font-weight: 400; }
.tweak-row { margin-bottom: 1rem; }
.tweak-row label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .4rem; }
.tweak-row input[type=color] { width: 100%; height: 32px; border: none; border-radius: 3px; cursor: pointer; background: none; }
.tweak-row select { width: 100%; padding: .5rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: var(--ivory); border-radius: 3px; font-family: var(--sans); font-size: .85rem; }
.tweak-row input[type=checkbox] { accent-color: var(--gold); width: 16px; height: 16px; }
.tweak-toggle-row { display: flex; align-items: center; gap: .7rem; }
.tweak-toggle-row label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .members-grid { grid-template-columns: repeat(3,1fr); }
  .tracks-grid { grid-template-columns: repeat(2,1fr); }
  .song-of-month { grid-template-columns: 1fr; }
  .som-cover .ph { min-height: 260px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  #nav { padding: 1rem 1.5rem; }
  #nav.scrolled { padding: .7rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  h1 { font-size: 3rem; }
  .about-grid, .booking-inner, .contact-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .members-grid { grid-template-columns: repeat(2,1fr); }
  .tracks-grid, .reviews-grid, .fanzone-grid { grid-template-columns: 1fr; }
  .fan-poll { grid-column: span 1; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card.featured { grid-row: span 1; }
  .video-card.featured .video-thumb { min-height: 220px; }
  .gallery-album.active { grid-template-columns: repeat(2,1fr); }
  .rep-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .event-card { grid-template-columns: 70px 1fr; }
  .event-card .btn { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  section { padding: 4.5rem 0; }
  .hero-frame { inset: 1rem; }
}

/* ─── CMS/THEME VARIABLES (safe overrides) ───────────────────── */
:root {
  --color-bg: #0d0906;
  --color-text: #f5efe3;
  --color-muted: rgba(245, 239, 227, 0.7);
  --color-gold: #b8913b;
  --color-accent: #9b1f2f;
  --header-height: 96px;
  --hero-overlay-opacity: 0.65;
  --hero-title-size: clamp(3.5rem, 8vw, 8rem);
  --button-radius: 2px;
  --section-padding-y: 7rem;
  --hero-bg-image: none;
  --hero-bg-position: center center;
  --hero-bg-size: cover;
  --site-header-height: 96px;
  --hero-content-safe-top: 140px;
  --hero-frame-safe-top: 112px;
}

/* Bugfix 1: nav/logo overlap on wide layouts.
   Keep logo visible by reserving explicit columns and fixed header height. */
#nav {
  min-height: var(--header-height);
  z-index: 220;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
.nav-logo-link,
.slavitsa-logo {
  position: relative;
  z-index: 2;
}
.nav-links {
  justify-self: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: .6rem;
}
.nav-cta {
  justify-self: end;
  border-radius: var(--button-radius);
}

/* Bugfix 2: scroll indicator and CTA overlap in hero.
   Reserve bottom space and move indicator lower or hide on short screens. */
#hero {
  padding-top: 0;
  padding-bottom: 8rem;
  background: #0d0906;
}
.hero-content {
  padding-top: var(--hero-content-safe-top);
  padding-bottom: 4.5rem;
}
.hero-frame {
  top: var(--hero-frame-safe-top);
  left: 2.5rem;
  right: 2.5rem;
  bottom: 2.5rem;
}
.hero-title {
  font-size: var(--hero-title-size);
}
.hero-overlay {
  background: linear-gradient(to right, rgba(10,6,4,.85) 50%, rgba(10,6,4,.4) 100%),
              linear-gradient(to top, rgba(10,6,4,var(--hero-overlay-opacity)) 0%, transparent 50%);
  opacity: var(--hero-overlay-opacity);
}
.hero-bg {
  background-image: var(--hero-bg-image), linear-gradient(160deg, #1A0F0D 0%, #2A1810 40%, #1A2010 100%);
  background-position: var(--hero-bg-position), center center;
  background-size: var(--hero-bg-size), cover;
  background-repeat: no-repeat;
}
.hero-scroll {
  bottom: 1.25rem;
}

#cms-builder-main { max-width: 1180px; margin: 0 auto; padding: 1.5rem 2rem 2.5rem; display: grid; gap: 1rem; }
#cms-builder-main:empty { display: none; padding: 0; margin: 0; }
.custom-page-block { margin: 0; }
.custom-page-block--heading { font-size: 2rem; color: #1f1f1f; }
.custom-page-block--text { color: #374151; line-height: 1.6; }
.custom-page-block--image { max-width: 100%; border-radius: 10px; display: block; }
.custom-page-block--divider { border: 0; border-top: 1px solid #d1d5db; }
.cms-block { border: 1px solid rgba(196,151,58,.16); border-radius: 10px; padding: 12px; background: rgba(255,255,255,.86); }
.cms-section, .cms-container { background: rgba(248,245,238,.92); }
.cms-columns { display: grid; gap: 18px; }
.cms-column { min-height: 40px; }
.cms-grid, .cms-card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
.cms-card, .cms-eventCard { background: linear-gradient(180deg,#fff,#f8f5ee); border: 1px solid rgba(196,151,58,.28); border-radius: 10px; padding: 12px; }
.cms-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 10px; }
.cms-gallery img { width: 100%; border-radius: 8px; display: block; }
.cms-cta { display: inline-flex; align-items: center; justify-content: center; }
.cms-contact, .cms-socialLinks { display: grid; gap: 8px; }
.cms-socialLinks a { color: #6B1520; text-decoration: none; font-weight: 600; }
.cms-divider { border: 0; border-top: 1px solid rgba(196,151,58,.45); }
.cms-spacer { background: transparent; border: 0; padding: 0; }

/* Keep desktop header stable for 1366/1920. */
@media (max-width: 1366px) {
  #nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .nav-links {
    gap: 1.4rem;
  }
}

@media (max-width: 1024px) {
  #nav {
    min-height: 86px;
    grid-template-columns: auto 1fr auto;
  }
  .nav-links {
    gap: 1rem;
  }
  #hero {
    padding-bottom: 7rem;
  }
  .hero-content {
    padding-top: 128px;
  }
  .hero-frame {
    top: 96px;
  }
}

@media (max-width: 768px) {
  #nav {
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
  }
  .slavitsa-logo {
    height: 38px;
    width: auto;
  }
  #hero {
    padding-top: 0;
    padding-bottom: 5.75rem;
  }
  .hero-content {
    padding: 1.5rem;
    padding-top: 112px;
    padding-bottom: 3.5rem;
  }
  .hero-frame {
    top: 88px;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .hero-scroll {
    bottom: .8rem;
  }
}

/* On short viewport heights, hide scroll hint to avoid collision with CTA row. */
@media (max-height: 760px) {
  .hero-scroll {
    display: none;
  }
}

/* Dynamic multi-level menu */
.nav-links .menu-item { position: relative; }
.nav-links .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(20,16,13,.96);
  border: 1px solid rgba(196,151,58,.25);
  border-radius: 4px;
  padding: .4rem;
  list-style: none;
  z-index: 130;
}
.nav-links .submenu .submenu { left: 100%; top: 0; }
.nav-links .menu-item:hover > .submenu,
.nav-links .menu-item.open > .submenu { display: block; }
.nav-links a.active {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(196,151,58,.3);
  border-bottom: 1px solid rgba(196,151,58,.55);
}
@media (max-width: 768px) {
  .nav-links .submenu {
    position: static;
    border: 0;
    background: transparent;
    padding-left: .8rem;
  }
}
/* CMS dynamic navigation (multi-level) */
.site-nav__list { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.site-nav__item { position: relative; }
.site-nav__link { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(249,245,238,.75); transition: var(--trans); }
.site-nav__link:hover { color: var(--gold); }
.site-nav__submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  list-style: none; padding: 8px; margin: 0; border: 1px solid rgba(196,151,58,.25);
  background: rgba(18,14,11,.98); box-shadow: 0 12px 32px rgba(0,0,0,.35); display: none; z-index: 500;
}
.site-nav__submenu .site-nav__item { padding: 4px 2px; }
.site-nav__item--has-children:hover > .site-nav__submenu,
.site-nav__item--has-children:focus-within > .site-nav__submenu,
.site-nav__item--open > .site-nav__submenu { display: block; }
.site-nav__submenu .site-nav__submenu { left: calc(100% + 4px); top: -8px; }
.site-nav__item--active > .site-nav__link,
.site-nav__item--ancestor-active > .site-nav__link,
.site-nav__link.active { color: var(--gold); text-shadow: 0 0 10px rgba(196,151,58,.25); }
.site-nav__item--active > .site-nav__link { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

@media (max-width: 1024px) {
  .site-nav__list { gap: 1.2rem; }
}

@media (max-width: 768px) {
  .site-nav__list {
    display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: .4rem;
    background: rgba(18,14,11,.98); border-top: 1px solid rgba(196,151,58,.2); padding: 14px;
  }
  #nav.open .site-nav__list { display: flex; }
  .site-nav__item { width: 100%; }
  .site-nav__submenu {
    position: static; display: none; border: 0; box-shadow: none; background: transparent; min-width: 0; padding: 6px 0 0 14px;
  }
  .site-nav__item--open > .site-nav__submenu { display: block; }
}
