/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #171008;
  --dark:    #1e1509;
  --dark2:   #231a0b;
  --border:  rgba(180,130,30,0.16);
  --amber:   #b8620a;
  --amber2:  #d4880e;
  --copper:  #8a4e06;
  --text:    #e8d8b4;
  --muted:   #7a6a48;
  --faint:   rgba(232,216,180,0.3);

  /* FONT STACK */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-logo:    'Playfair Display', 'Georgia', serif;
  --font-body:    'EB Garamond', 'Georgia', serif;
  --font-ui:      'Josefin Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Warm matte vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 997;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10,6,0,0.55) 100%);
}

/* Film grain — heavier for vintage feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px;
}

/* ── Stars canvas ───────────────────────────────────────────── */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* ── Eclipse background ─────────────────────────────────────── */
.eclipse-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110vmax;
  height: 110vmax;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
}
.eclipse-svg { width: 100%; height: 100%; }

/* ── NAV ────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  transition: all 0.5s;
}
#nav.scrolled {
  background: rgba(11,8,0,0.96);
  border-bottom: 1px solid var(--border);
  padding: 16px 60px;
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--amber2);
  text-decoration: none;
  font-style: italic;
}
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 50%; right: 50%;
  height: 1px;
  background: var(--amber);
  transition: left 0.25s, right 0.25s;
}
.nav-links a:hover { color: var(--amber2); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 20px; cursor: pointer; }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
}
.hero-content { max-width: 960px; }

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 1.2s 0.2s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-name-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
/* The SVG arc name — JS fades it in */
.hero-name-svg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0; /* JS sets to 1 after load */
}
.hero-arc-text, .hero-arc-glow {
  /* font props already inline on the SVG elements */
}
/* Legacy h1.hero-name — not used when SVG is present, keep for fallback */
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 180px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 12px;
  line-height: 0.9;
  background: linear-gradient(165deg, #f8ecc8 0%, #e09020 45%, #8a4a04 80%, #4a2002 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: none; /* hidden — SVG replaces it */
}

/* Corona sweep — entry animation only (no mix-blend-mode = no black box) */
#coronaSweep {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100px;
  height: 200%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(212, 120, 10, 0.12) 20%,
    rgba(255, 210, 60, 0.6) 44%,
    rgba(255, 250, 180, 0.92) 50%,
    rgba(255, 210, 60, 0.6) 56%,
    rgba(212, 100, 10, 0.12) 80%,
    transparent 100%
  );
  filter: blur(14px);
  z-index: 10;
  border-radius: 50%;
  /* No mix-blend-mode — was causing black rendering artifact */
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  color: var(--muted);
  margin-top: 24px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp 1.2s 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin: 52px auto;
  opacity: 0;
  animation: fadeUp 1.2s 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-rule-line {
  display: block;
  width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,112,10,0.6));
}
.hero-rule + .hero-rule-line,
.hero-rule .hero-rule-line:last-child {
  background: linear-gradient(to left, transparent, rgba(200,112,10,0.6));
}
.hero-rule-gem {
  color: var(--amber);
  font-size: 10px;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s 1s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s 1.6s forwards;
}
.hero-scroll-cue span {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}
.hero-scroll-cue::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2.4s 2s infinite;
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  60%  { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 18px 48px;
  border: 1px solid var(--amber);
  color: var(--black);
  background: var(--amber);
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--amber2);
  border-color: var(--amber2);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 18px 48px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber2);
  transform: translateY(-1px);
}

/* ── SECTIONS ────────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 88px 24px;
}
section:nth-child(odd)  { background: rgba(18,14,5,0.93); }
section:nth-child(even) { background: rgba(11,8,0,0.93); }
section::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.section-inner { max-width: 1060px; margin: 0 auto; }
.section-inner-narrow { max-width: 660px; margin: 0 auto; text-align: center; }

/* Section header */
.section-header {
  margin-bottom: 48px;
  position: relative;
}
.section-num {
  display: block;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 5px;
  color: var(--copper);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 3px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.1;
}
.title-rule {
  width: 64px;
  height: 1px;
  background: linear-gradient(to right, var(--amber), transparent);
  margin: 0 auto;
}
.section-inner .title-rule { margin: 0; }

/* ── ABOUT ───────────────────────────────────────────────────── */
#about .section-inner-narrow { text-align: center; }
#about .section-header { text-align: center; }
#about .title-rule { margin: 0 auto; }

.about-text { position: relative; }
.about-text::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--amber);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.about-lead {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-style: italic;
  font-weight: 400;
  color: var(--amber2);
  margin-bottom: 28px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.about-text p {
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 18px;
  line-height: 1.85;
  letter-spacing: 0.3px;
}

/* ── CARDS ───────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2px;
}
.card {
  padding: 36px 32px;
  background: rgba(18,14,5,0.5);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.card:hover {
  background: rgba(28,20,6,0.85);
  border-color: rgba(180,120,20,0.35);
  transform: translateY(-2px);
}
.card-coming { opacity: 0.35; }
.card-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 22px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}
.card-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.card-footer { border-top: 1px solid var(--border); padding-top: 20px; }
.card-tech {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  color: var(--copper);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── GALLERY ─────────────────────────────────────────────────── */
.gallery-placeholder {
  border: 1px solid var(--border);
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gallery-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,112,10,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.gallery-icon {
  display: block;
  font-size: 28px;
  color: var(--amber);
  opacity: 0.25;
  margin-bottom: 28px;
  letter-spacing: 8px;
}
.gallery-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--muted);
  margin-bottom: 12px;
}
.gallery-sub {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.45;
}

/* ── MUSIC TRACKS ────────────────────────────────────────────── */
.music-list { display: flex; flex-direction: column; gap: 2px; }
.music-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 40px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
  background: rgba(18,14,5,0.5);
}
a.music-track:hover {
  background: rgba(28,20,6,0.85);
  border-color: rgba(180,120,20,0.35);
}
.music-track-coming { opacity: 0.35; cursor: default; }
.music-track-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}
.music-track-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  color: var(--text);
  letter-spacing: 1px;
}
.music-track-featured {
  border-color: rgba(200,112,10,0.4);
  background: rgba(25,18,6,0.7);
}
.music-track-featured .music-track-title {
  font-size: 34px;
  color: var(--amber2);
}
.music-track-featured .music-track-tag { color: var(--amber); }
.music-track-arrow {
  font-size: 22px;
  color: var(--amber);
  opacity: 0.6;
  flex-shrink: 0;
}
.music-view-all {
  display: block;
  text-align: center;
  padding: 28px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--copper);
  text-decoration: none;
  border: 1px solid var(--border);
  border-top: none;
  transition: color 0.2s, background 0.2s;
}
.music-view-all:hover { color: var(--amber2); background: rgba(20,15,4,0.6); }

/* ── MUSIC TEASER (homepage) ─────────────────────────────────── */
.music-teaser {
  border: 1px solid var(--border);
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.music-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(180,80,10,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.music-teaser-sub {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}
.music-teaser-quote {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.5;
}
.music-teaser-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ── BLOG ────────────────────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; }
.blog-post {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  align-items: start;
}
.blog-post:first-child { border-top: 1px solid var(--border); }
.blog-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 7px;
}
.blog-date {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
}
.blog-category {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.blog-excerpt {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}
.blog-read {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 4px;
  color: var(--amber);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.blog-read:hover { color: var(--amber2); }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-inner { text-align: center; }
.contact-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-style: italic;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.contact-link:hover { opacity: 0.7; }
.contact-link-label {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--copper);
  width: 52px;
  text-align: right;
}
.contact-link-val {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 52px 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--black);
  opacity: 0.6;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 800px) {
  #nav { padding: 16px 24px; }
  #nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-name { letter-spacing: 6px; }
  .blog-post { grid-template-columns: 1fr; gap: 10px; }
  .cards-grid { grid-template-columns: 1fr; }
  section { padding: 96px 20px; }
}
