/* ════════════════════════════════════════════════════════════
   Andrew Lunsford | Tenor — Stylesheet
   Design: Dark luxury aesthetic inspired by top-tier opera sites
   Palette: Deep charcoal + warm gold + ivory
   ════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --bg:         #0d0d14;
  --bg-light:   #121219;
  --bg-card:    #16161f;
  --bg-warm:    #0f0e0b;
  --gold:       #c9a96e;
  --gold-light: #dfc391;
  --gold-dim:   #8a7441;
  --ivory:      #f0ece4;
  --text:       #d4d0c8;
  --text-dim:   #8a877f;
  --white:      #ffffff;
  --heading:    'Montserrat', 'Helvetica Neue', sans-serif;
  --sans:       'Lato', 'Helvetica Neue', sans-serif;
  --garamond:   'Cormorant Garamond', 'Georgia', serif;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  width: 100%;
}
section, nav, footer { max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold-light); }

/* ─── UTILITY ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.centered { text-align: center; }
.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label.centered { text-align: center; }
h2 {
  font-family: var(--heading);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
h2.centered { text-align: center; }
.section-subtitle {
  font-family: var(--garamond);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 3rem;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-1px);
}
.btn-full { width: 100%; text-align: center; }

/* ─── NAVIGATION ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(13, 13, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--gold);
  opacity: 0.9;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 1; color: var(--ivory); }
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.6rem 1.5rem !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(13,13,20,0.55) 0%,
      rgba(13,13,20,0.45) 30%,
      rgba(13,13,20,0.55) 60%,
      rgba(13,13,20,0.95) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 3vh;
  max-width: 800px;
  animation: fadeInUp 1.2s var(--ease-out) 0.3s both;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  text-shadow: 0 1px 15px rgba(0,0,0,0.6);
}
.hero-name {
  font-family: var(--heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 100;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6), 0 0 80px rgba(0,0,0,0.4);
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}
.hero-quote {
  margin-bottom: 2rem;
}
.hero-quote p {
  font-family: var(--garamond);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.5;
  text-shadow: 0 1px 20px rgba(0,0,0,0.5);
}
.hero-quote cite {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-style: normal;
  text-shadow: 0 1px 15px rgba(0,0,0,0.5);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
}
.hero-venues {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 15px rgba(0,0,0,0.5);
}
.venue-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── PRESS BAR ─── */
#press-bar {
  background: var(--bg-light);
  border-top: 1px solid rgba(201,169,110,0.08);
  border-bottom: 1px solid rgba(201,169,110,0.08);
  padding: 1.5rem 0;
}
.press-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.press-bar-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.press-bar-logos {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.press-bar-logos span,
.press-bar-logos a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  transition: color 0.3s;
  text-decoration: none;
}
.press-bar-logos span:hover,
.press-bar-logos a:hover { color: rgba(255,255,255,0.6); }

/* ─── UPCOMING PERFORMANCE ─── */
#upcoming {
  padding: 3rem 0;
  background: var(--bg-warm);
  border-bottom: 1px solid rgba(201,169,110,0.08);
}
.upcoming-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.upcoming-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding-right: 2rem;
  border-right: 1px solid rgba(201,169,110,0.2);
}
.upcoming-details {
  flex: 1;
}
.upcoming-title {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}
.upcoming-venue {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.upcoming-roles {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: normal;
}
.upcoming-roles em {
  font-family: var(--garamond);
  font-size: 0.9rem;
}
.upcoming-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201,169,110,0.2);
  line-height: 1;
}
.upcoming-month {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.upcoming-day {
  font-family: var(--heading);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.15rem;
}
.upcoming-year {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.upcoming-cta {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .upcoming-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .upcoming-label {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(201,169,110,0.2);
    padding-bottom: 1rem;
  }
}

/* ─── ABOUT ─── */
#about {
  padding: 4rem 0 2.5rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.about-image-wrap {
  position: relative;
  padding-top: 1rem;
  padding-left: 1rem;
}
.about-image {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(10%);
}
.photo-credit {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--body);
  font-size: 0.6rem;
  color: rgba(240,236,228,0.5);
  letter-spacing: 0.05em;
  z-index: 3;
}
.hero-credit {
  bottom: 0.5rem;
  right: 1rem;
  z-index: 5;
  color: rgba(240,236,228,0.35);
  font-size: 0.5rem;
  max-width: 50%;
  text-align: right;
}
.about-image-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold-dim);
  transform: translate(-1rem, -1rem);
  z-index: 1;
}
.about-text h2 {
  margin-bottom: 2rem;
}
.about-text p {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--text);
}
.about-text em {
  color: var(--gold-light);
  font-style: italic;
}

/* ─── STATS ─── */
#stats {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
}
.stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(13,13,20,0.85) 50%, var(--bg) 100%);
}
.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── TIMELINE ─── */
#highlights {
  padding: 5rem 0 3rem;
  background: var(--bg-light);
}
.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dim), transparent);
}
.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}
.timeline-marker {
  position: absolute;
  left: -4.5px;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-light);
}
.timeline-year {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.timeline-body h3 {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.3rem;
}
.timeline-body p {
  font-size: 0.9rem;
  color: var(--text-dim);
}
.timeline-body em {
  color: var(--text);
}

/* ─── REPERTOIRE ─── */
#repertoire {
  padding: 5rem 0;
}
.rep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.rep-col h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,169,110,0.2);
  margin-bottom: 1rem;
}
.rep-subhead { margin-top: 2.5rem; }
.role {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
}
.role-name {
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory);
}
.role-note {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-dim);
}
.role-work {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}
.role-composer {
  font-style: normal;
  color: var(--text-dim);
}
.role.premiere .role-name::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Education within repertoire */
.education-list { margin-top: 0.5rem; }
.edu-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.edu-degree {
  display: block;
  font-family: var(--heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory);
}
.edu-school {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.edu-detail {
  display: block;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* ─── PHOTO BREAK ─── */
.photo-break {
  position: relative;
  overflow: hidden;
}
.photo-break picture {
  display: block;
  width: 100%;
  line-height: 0; /* prevent ghost space below img */
}
.photo-break img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,20,0.8) 0%, transparent 40%, transparent 60%, rgba(13,13,20,0.4) 100%);
}
.photo-break-caption {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}
.photo-break-caption p {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ─── GALLERY ─── */
#gallery {
  padding: 6rem 0;
  background: var(--bg-light);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 0.75rem;
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.wide {
  grid-column: span 2;
}

/* ─── CARNEGIE HALL ─── */
#carnegie {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.carnegie-bg {
  position: absolute;
  inset: 0;
}
.carnegie-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.carnegie-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg) 40%, rgba(13,13,20,0.85));
}
.carnegie-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.carnegie-intro {
  font-family: var(--garamond);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 2.5rem;
}
.carnegie-dates { display: flex; flex-direction: column; gap: 0; }
.ch-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201,169,110,0.08);
}
.ch-date {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 110px;
  flex-shrink: 0;
}
.ch-event {
  font-size: 0.9rem;
  color: var(--text);
}
.ch-event em { color: var(--text-dim); font-size: 0.85rem; }

/* ─── PRESS QUOTES ─── */
#press {
  padding: 6rem 0;
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.quote-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,169,110,0.08);
  padding: 2.5rem;
  position: relative;
}
.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--heading);
  font-size: 4rem;
  color: var(--gold-dim);
  opacity: 0.3;
  line-height: 1;
}
.quote-card p {
  font-family: var(--garamond);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.quote-card cite {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.quote-card.featured {
  grid-column: span 2;
  border-color: rgba(201,169,110,0.15);
  background: linear-gradient(135deg, var(--bg-card), rgba(201,169,110,0.03));
}
.quote-card.featured p {
  font-size: 1.6rem;
}

/* ─── TEACHING ─── */
#teaching {
  padding: 6rem 0;
  background: var(--bg-light);
}
.teaching-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}
.teaching-text h2 { margin-bottom: 1.5rem; }
.teaching-highlights {
  margin: 2rem 0;
}
.teach-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.teach-item h4 {
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.3rem;
}
.teach-item p {
  font-size: 0.9rem;
  color: var(--text-dim);
}
.advocacy-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,169,110,0.15);
}
.advocacy-section .section-label { margin-bottom: 0.5rem; }
.advocacy-section h2 { margin-bottom: 1rem; }
.teaching-image {
  overflow: hidden;
  border-radius: 2px;
}
.teaching-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ─── CONTACT ─── */
#contact {
  padding: 6rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-text h2 { margin-bottom: 1rem; }
.contact-text > p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2rem;
}
.contact-email {
  display: inline-block;
  font-family: var(--heading);
  font-size: 1.3rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding-bottom: 2px;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}
.contact-email:hover { border-color: var(--gold); }
.contact-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 50%;
  transition: all 0.3s;
}
.contact-social a:hover {
  border-color: var(--gold);
  background: var(--gold);
}
.contact-social svg {
  width: 18px;
  height: 18px;
  fill: var(--text-dim);
  transition: fill 0.3s;
}
.contact-social a:hover svg { fill: var(--bg); }
.contact-orgs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-orgs span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ivory);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a877f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid rgba(201,169,110,0.08);
  padding: 4rem 0 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.footer-logo {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-monogram {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.footer-logo-letter {
  font-family: var(--heading);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ivory);
  opacity: 0.5;
}
.footer-logo-bar {
  display: inline-block;
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  margin: 0 12px;
  opacity: 0.5;
}
.footer-logo-sub {
  font-family: var(--heading);
  font-size: 0.5rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.4;
  padding-left: 0.45em;
  margin-bottom: 6px;
}
.footer-logo p {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  opacity: 0.5;
  transition: opacity 0.3s;
  z-index: 10000;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 1rem; right: 1.5rem; font-size: 2.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.8s var(--ease-out);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .nav-links { gap: 1.4rem; }
  .nav-links a { font-size: 0.65rem; letter-spacing: 0.15em; }
  .nav-cta { padding: 0.5rem 1.1rem !important; }
  .nav-logo { font-size: 0.95rem; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 400px; margin: 0 auto; }
  .rep-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .teaching-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.4s var(--ease);
    border-left: 1px solid rgba(201,169,110,0.1);
  }
  .nav-links a { font-size: 0.85rem; letter-spacing: 0.2em; }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }
  .hero-name { font-size: clamp(2rem, 10vw, 3.5rem); letter-spacing: 0.08em; }
  .hero-venues { font-size: 0.6rem; gap: 0.3rem; }
  .rep-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .quotes-grid { grid-template-columns: 1fr; }
  .quote-card.featured { grid-column: span 1; }
  .quote-card.featured p { font-size: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .press-bar-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .press-bar-logos { justify-content: center; gap: 1.5rem; }
  .ch-item { flex-direction: column; gap: 0.25rem; }
  #about { padding: 3rem 0 1.5rem; }
  #stats { padding: 1.5rem 0 2.5rem; }
  #highlights, #repertoire, #gallery, #carnegie, #press, #teaching, #contact { padding: 3.5rem 0; }
  .footer-nav { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.large,
  .gallery-item.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
