@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  --bg: #0D0F0A;
  --bg-raised: #14160F;
  --bg-card: #181B12;
  --gold: #C9A45C;
  --gold-bright: #E0C07E;
  --sage: #93A574;
  --sage-dim: #6F7F58;
  --cream: #EDE6D6;
  --cream-dim: #B8B2A1;
  --border-gold: rgba(201, 164, 92, 0.35);
  --border-gold-soft: rgba(201, 164, 92, 0.15);

  --display: 'Cinzel', serif;
  --body: 'Cormorant Garamond', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin: 0;
}

p {
  margin: 0 0 1em;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* subtle grain texture overlay for the whole page */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(13, 15, 10, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-gold-soft);
}

.header-brand {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  color: var(--cream-dim);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--gold-bright);
}

.header-cta {
  border: 1px solid var(--border-gold);
  padding: 8px 18px;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

@media (max-width: 820px) {
  .header-nav { display: none; }
  .site-header { padding: 16px 20px; }
}

/* ===== SHARED SECTION STYLES ===== */
.section {
  position: relative;
  padding: 110px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 18px;
}

.lede {
  font-size: 22px;
  font-style: italic;
  color: var(--cream-dim);
  margin-bottom: 28px;
}

.script-line {
  font-family: var(--body);
  font-style: italic;
  font-size: 24px;
  color: var(--sage);
  margin: 18px 0;
}

.script-inline {
  font-style: italic;
  color: var(--sage);
}

.closing-script {
  font-family: var(--body);
  font-style: italic;
  font-size: 22px;
  color: var(--sage);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-gold-soft);
}

.tiny-line {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  text-transform: uppercase;
}

.center { text-align: center; }

.dot { color: var(--gold); margin: 0 6px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 58vw, 760px); /* tall enough to hold the title/tagline/badge/buttons stack at any width, scales down gracefully on narrower screens */
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover; /* fills the box at any height without stretching/distorting the art */
  background-position: center 38%; /* keeps the mountain/text panel area in frame rather than the image's vertical center */
  background-repeat: no-repeat;
  filter: saturate(1.05);
}

@media (max-width: 700px) {
  .hero {
    min-height: 100vh;
  }
  .hero-bg {
    background-position: center 35%;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,15,10,0) 0%, rgba(13,15,10,0) 50%, rgba(13,15,10,0.35) 56%, rgba(13,15,10,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  padding: 76px 8% 0 24px;
}

@media (max-width: 900px) {
  .hero-content {
    max-width: 400px;
    padding-top: 56px;
  }
  .hero-title {
    font-size: clamp(30px, 5vw, 42px);
  }
  .live-status {
    margin-bottom: 18px;
  }
  .hero-buttons {
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  .hero-content {
    max-width: 90%;
    padding: 96px 24px 0;
    margin: 0 auto;
    text-align: center;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(13,15,10,0.4) 0%, rgba(13,15,10,0.75) 100%);
  }
  .hero-buttons {
    justify-content: center;
  }
}

.kicker {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(32px, 5.5vw, 56px);
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 24px rgba(201, 164, 92, 0.3);
  line-height: 1.1;
}

.hero-tagline {
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--sage);
  margin: 12px 0 26px;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  margin-bottom: 32px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-dim);
}

.live-status.is-live .status-dot {
  background: #D9534F;
  box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.6);
  animation: live-pulse 1.6s infinite;
}

.live-status.is-live .status-text {
  color: var(--gold-bright);
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(217, 83, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); }
}

.status-text {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hero-buttons.center {
  justify-content: center;
  margin-top: 36px;
}

.btn {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid var(--border-gold);
  transition: all 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
}

.btn-secondary {
  color: var(--gold);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--border-gold-soft);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-cue 1.8s infinite;
}

@keyframes scroll-cue {
  0% { opacity: 0; transform: translateY(-10px) scaleY(0.5); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px) scaleY(1); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.about-portrait img {
  width: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px var(--bg-raised), 0 0 40px rgba(201, 164, 92, 0.15);
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.value-item {
  border: 1px solid var(--border-gold-soft);
  padding: 8px 16px;
  border-radius: 30px;
}

.value-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 200px; margin: 0 auto; }
}

/* ===== OFFERINGS ===== */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.offering-card {
  border: 1px solid var(--border-gold-soft);
  background: var(--bg-card);
  padding: 32px 26px;
  border-radius: 4px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.offering-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.offering-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.offering-card h3 {
  font-size: 18px;
  color: var(--gold-bright);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.offering-card p {
  font-size: 16px;
  color: var(--cream-dim);
  margin: 0;
}

@media (max-width: 820px) {
  .offerings-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .offerings-grid { grid-template-columns: 1fr; }
}

/* ===== COMMUNITY ===== */
.community {
  max-width: 100%;
  padding: 0;
}

.community-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.community-scrim {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 10, 0.82);
}

.community-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 110px 24px;
}

.community-statement {
  text-align: center;
  font-size: 20px;
  color: var(--cream-dim);
  max-width: 600px;
  margin: 0 auto 24px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 48px 0;
  text-align: center;
}

.community-item h4 {
  font-size: 15px;
  color: var(--gold-bright);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.community-item p {
  font-size: 14.5px;
  color: var(--cream-dim);
}

@media (max-width: 900px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .community-grid { grid-template-columns: 1fr; }
}

/* ===== SETUP ===== */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.setup-card {
  border: 1px solid var(--border-gold-soft);
  background: var(--bg-card);
  padding: 28px;
  border-radius: 4px;
}

.setup-card h3 {
  font-size: 16px;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-gold-soft);
}

.setup-card li {
  display: flex;
  flex-direction: column;
  font-size: 15.5px;
  color: var(--cream);
  margin-bottom: 14px;
}

.setup-card li span {
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 3px;
}

.tools-list li {
  flex-direction: row;
  margin-bottom: 10px;
}

.tools-list li::before {
  content: '—';
  color: var(--gold);
  margin-right: 10px;
}

@media (max-width: 820px) {
  .setup-grid { grid-template-columns: 1fr; }
}

/* ===== SCHEDULE ===== */
.schedule-grid {
  max-width: 480px;
  margin: 48px auto 0;
  border: 1px solid var(--border-gold-soft);
  border-radius: 4px;
  overflow: hidden;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-gold-soft);
  background: var(--bg-card);
}

.schedule-row:last-child {
  border-bottom: none;
}

.sched-day {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.sched-time {
  font-family: var(--display);
  font-size: 13px;
  color: var(--gold);
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 64px 24px 48px;
  border-top: 1px solid var(--border-gold-soft);
}

.footer-brand {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.footer-tagline {
  font-style: italic;
  color: var(--sage);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-links a {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-fine {
  font-size: 13px;
  color: var(--cream-dim);
  opacity: 0.7;
}

/* ===== MUSIC TOGGLE ===== */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  padding: 10px 16px 10px 14px;
  color: var(--gold);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: background 0.2s, border-color 0.2s, padding 0.25s;
}

.music-toggle:hover {
  border-color: var(--gold);
  background: var(--bg-raised);
}

.music-icon {
  flex-shrink: 0;
}

.music-bars {
  display: none;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.music-toggle.is-playing .music-bars {
  display: flex;
}

.music-bars span {
  display: block;
  width: 2px;
  background: var(--gold-bright);
  border-radius: 1px;
  animation: music-bar 0.9s ease-in-out infinite;
}

.music-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 100%; animation-delay: 0.2s; }
.music-bars span:nth-child(3) { height: 65%; animation-delay: 0.4s; }

@keyframes music-bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.music-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.25s ease, opacity 0.2s ease;
}

.music-toggle:hover .music-label {
  max-width: 160px;
  opacity: 1;
}

@media (max-width: 700px) {
  .music-toggle {
    bottom: 18px;
    right: 18px;
    padding: 12px;
  }
  .music-label {
    display: none;
  }
}
