/* ── RESET & DESIGN TOKENS ──────────────────────────────────────────────── */

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

:root {
  --bg:       #0a0a0a;
  --bg2:      #111111;
  --bg3:      #1a1a1a;
  --ink:      #f0ece6;
  --ink-mid:  #c8c0b8;
  --ink-dim:  #888078;
  --accent:   #571a1a;
  --rule:     #2a2a2a;
  --rule-faint: rgba(240, 236, 230, 0.06);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  padding-bottom: 60px; /* room for fixed footer */
}

img, video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}


/* ── NAVIGATION ─────────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 4rem;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(10px);
  border-color: var(--rule);
}

.nav-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
}

.nav-center {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-center a {
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.nav-center a:hover {
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-switcher {
  display: flex;
}

.lang-btn {
  padding: 0.32rem 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-dim);
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
}

.lang-btn + .lang-btn {
  border-left: none;
}

.lang-btn.active {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.lang-btn:hover:not(.active) {
  color: var(--ink);
  border-color: var(--ink-dim);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
}


/* ── HERO ───────────────────────────────────────────────────────────────── */

#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 70px;
}

.hero-bg {
  position: fixed;
  inset: 0;
  background: url('../sections/hero/media/hero.jpg') center / cover no-repeat;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem;
  max-width: 600px;
}

.hero-pre {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 2.2rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-name {
  font-family: 'EB Garamond', serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-name .first { display: block; color: var(--ink); }
.hero-name .last  { display: block; color: var(--accent); }

.hero-desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  max-width: 320px;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}


/* ── BUTTONS ────────────────────────────────────────────────────────────── */

.btn-solid {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-solid:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1px solid var(--rule);
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}


/* ── SHARED SECTION STYLES ──────────────────────────────────────────────── */

section {
  padding: 8rem 4rem;
}

.sec-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 3rem;
  color: var(--ink);
}

.thin-rule {
  width: 36px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 3rem;
  opacity: 0.7;
}

.sub-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  color: var(--ink-dim);
  margin-bottom: 2.2rem;
}


/* ── ABOUT ──────────────────────────────────────────────────────────────── */

#about {
  background: rgba(10, 10, 10, 0.7);
  border-top: 1px solid var(--rule);
}

.about-body {
  max-width: 780px;
}

.about-body p {
  color: var(--ink-mid);
  margin-bottom: 1.4rem;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-subhead {
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}


/* ── CONCERTS ───────────────────────────────────────────────────────────── */

#concerts {
  background: rgba(17, 17, 17, 0.65);
  border-top: 1px solid var(--rule);
}

.past-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin-top: 2px;
}

.p-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: rgba(17, 17, 17, 0.85);
  transition: background 0.2s;
}

.p-card-link {
  cursor: pointer;
}

.p-card-link:hover {
  background: rgba(26, 26, 26, 0.9);
}

.p-card-link:hover .p-name {
  color: var(--accent);
}

.p-media {
  position: relative;
  height: 160px;
  background: var(--bg3);
  overflow: hidden;
}

.p-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-info {
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-date {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-weight: 300;
}

.p-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}

.p-venue {
  font-size: 0.74rem;
  color: var(--ink-dim);
  margin-bottom: 0.35rem;
  font-weight: 300;
}

.p-desc {
  font-size: 0.74rem;
  color: var(--ink-dim);
  opacity: 0.6;
}


/* ── CONCERT LIGHTBOX ───────────────────────────────────────────────────── */

.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lb-overlay.open {
  display: flex;
}

.lb-sizer {
  position: relative;
  width: min(90vw, 940px);
}

.lb-sizer::before {
  content: '';
  display: block;
  padding-top: 56.25%;
  pointer-events: none;
}

.lb-box {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.97);
  display: grid;
  grid-template-columns: 60% 40%;
  overflow: hidden;
}

.lb-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 100;
  background: var(--accent);
  color: var(--ink);
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 36px;
  text-align: center;
  padding: 0;
  pointer-events: auto;
}

.lb-photos {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 100%;
}

.lb-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.lb-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 32px;
  text-align: center;
  padding: 0;
}

.lb-arr:hover  { background: var(--accent); }
.lb-arr-l      { left: 5px; }
.lb-arr-r      { right: 5px; }

.lb-meta {
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--rule);
  overflow-y: auto;
}

.lb-date {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.lb-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.lb-venue {
  font-size: 0.76rem;
  color: var(--ink-dim);
  font-weight: 300;
  margin-bottom: 0.6rem;
}

.lb-desc {
  font-size: 0.78rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.8;
}

.lb-counter {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-top: 0.8rem;
}


/* ── LESSONS ────────────────────────────────────────────────────────────── */

#lessons {
  background: rgba(10, 10, 10, 0.78);
  border-top: 1px solid var(--rule);
}

.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  background: var(--rule);
  gap: 1px;
}

.l-card {
  background: rgba(10, 10, 10, 0.8);
  padding: 2.4rem;
  transition: background 0.2s;
}

.l-card:hover {
  background: rgba(17, 17, 17, 0.9);
}

.l-icon {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  display: block;
  color: var(--accent);
}

.l-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.l-desc {
  font-size: 0.78rem;
  color: var(--ink-dim);
  font-weight: 300;
  line-height: 1.75;
}

.l-cta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem;
  border: 1px solid var(--rule);
  margin-top: 2rem;
}

.l-cta p {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--ink-mid);
  flex: 1;
}


/* ── MEDIA GALLERY ──────────────────────────────────────────────────────── */

#media {
  background: rgba(17, 17, 17, 0.65);
  border-top: 1px solid var(--rule);
}

.gal-strip-wrap {
  display: flex;
  align-items: center;
}

.gal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--rule);
  flex: 1;
  min-height: 240px;
}

.gal-strip-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: rgba(26, 26, 26, 0.8);
  color: var(--ink-dim);
  font-size: 0.78rem;
  text-align: center;
  opacity: 0.6;
}

.gal-strip-arr {
  flex-shrink: 0;
  width: 40px;
  align-self: stretch;
  background: rgba(10, 10, 10, 0.7);
  color: var(--ink-dim);
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.gal-strip-arr:hover {
  background: var(--accent);
  color: var(--ink);
}

.gal-thumb {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  cursor: pointer;
  aspect-ratio: 1;
}

.gal-thumb img,
.gal-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.gal-thumb:hover img,
.gal-thumb:hover video {
  transform: scale(1.05);
}

.gal-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gal-thumb-play svg {
  width: 40px;
  height: 40px;
  fill: #f0ece6;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

.gal-strip-counter {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-top: 1rem;
  text-align: center;
  min-height: 1em;
}


/* ── GALLERY LIGHTBOX ───────────────────────────────────────────────────── */

.gal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
}

.gal-overlay.open {
  display: flex;
}

.gal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--ink);
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 36px;
  text-align: center;
  z-index: 10;
}

.gal-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: var(--ink);
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 44px;
  text-align: center;
  z-index: 10;
  transition: background 0.2s;
}

.gal-arr:hover { background: var(--accent); }
.gal-prev      { left: 1rem; }
.gal-next      { right: 1rem; }

.gal-viewer {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-viewer img   { max-width: 90vw; max-height: 85vh; object-fit: contain; display: block; }
.gal-viewer video { max-width: 90vw; max-height: 85vh; display: block; }

.gal-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
}


/* ── CONTACT ────────────────────────────────────────────────────────────── */

#contact {
  background: rgba(10, 10, 10, 0.78);
  border-top: 1px solid var(--rule);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 5rem;
  align-items: start;
}

.book-div {
  background: var(--rule);
  align-self: stretch;
}

.book-left .sec-title {
  margin-bottom: 1.5rem;
}

.book-left p {
  font-size: 0.88rem;
  color: var(--ink-dim);
  font-weight: 300;
  line-height: 1.85;
  max-width: 340px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  padding-top: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 300;
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ink-dim);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-dim);
  opacity: 0.5;
}

.form-submit {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  background: var(--accent);
  color: var(--ink);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.5rem;
  align-self: flex-start;
}

.form-submit:hover    { opacity: 0.8; transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.form-msg {
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: 0.5rem;
  min-height: 1.2em;
}

.form-msg.ok  { color: #5a9e6f; }
.form-msg.err { color: #c0504d; }

.form-captcha-note {
  font-size: 0.6rem;
  color: var(--ink-dim);
  opacity: 0.5;
}

.grecaptcha-badge {
  visibility: hidden;
}


/* ── FOOTER ─────────────────────────────────────────────────────────────── */

footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid var(--rule);
  backdrop-filter: blur(10px);
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.foot-social {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.foot-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  transition: color 0.2s;
  text-decoration: none;
}

.foot-social a:hover { color: var(--accent); }
.foot-social svg     { width: 20px; height: 20px; fill: currentColor; }


/* ── ANIMATION ──────────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}


/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  nav {
    padding: 1.1rem 1.5rem;
  }

  .nav-center {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-center.open {
    display: flex;
  }

  .nav-center li a {
    display: block;
    padding: 0.9rem 2rem;
    border-bottom: 1px solid var(--rule-faint);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-text {
    padding: 4rem 2rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .book-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .book-div {
    display: none;
  }

  .past-grid {
    grid-template-columns: 1fr;
  }

  .p-card {
    grid-template-columns: 1fr;
  }

  .p-media {
    height: 180px;
  }

  .gal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-strip-arr {
    width: 32px;
    font-size: 1.4rem;
  }

  .lb-sizer {
    width: 95vw;
  }

  .lb-sizer::before {
    padding-top: 0;
  }

  .lb-box {
    position: static;
    display: block;
    max-height: 90vh;
    overflow-y: auto;
  }

  .lb-photos {
    height: 240px;
    position: relative;
  }

  .lb-meta {
    border-left: none;
    border-top: 1px solid var(--rule);
    padding: 1.2rem;
  }

  .gal-arr {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    line-height: 36px;
  }

  .gal-prev { left: 0.3rem; }
  .gal-next { right: 0.3rem; }
}
