:root {
  --bg: #f5f2ec;
  --bg-soft: #e9e3d8;
  --panel: #f5f2ec;
  --panel-strong: #efe7dc;
  --card: #ffffff;
  --primary: #d7b875;
  --primary-dark: #786f61;
  --secondary: #b8964f;
  --text: #171717;
  --text-light: #ffffff;
  --muted: #555555;
  --line: rgba(23, 23, 23, 0.1);
  --shadow: 0 18px 40px rgba(15, 19, 22, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

p {
  text-align: justify;
}

img {
  max-width: 100%;
  display: block;
}

iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 240px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #111827;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text small {
  color: rgba(255,255,255,0.7);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f5f2ec;
  color: #171717;
  box-shadow: 0 12px 24px rgba(15, 19, 22, 0.12);
}

.btn-secondary {
  background: rgba(255,255,255,0.55);
  border-color: rgba(23, 23, 23, 0.15);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15, 19, 22, 0.05);
}

.hero .btn-secondary,
.site-header .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: var(--text-light);
  box-shadow: none;
}

.nav-cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  background-image: url('assets/images/hero.png');
  background-size: cover;
  background-position: center;
  min-height: 760px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 19, 22, 0.93), rgba(15, 19, 22, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  padding: 7rem 0 4rem;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
}

.eyebrow.accent {
  color: var(--primary-dark);
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(3.2rem, 5vw, 6rem);
  max-width: 620px;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  color: #13233b;
}

#obra h2 {
  color: #13233b;
}

.hero-text {
  font-size: 1.12rem;
  max-width: 620px;
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 110px;
}

.hero-stats strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--secondary);
}

.hero-stats span {
  color: rgba(255,255,255,0.7);
}

.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--panel);
}

.section-contrast {
  background: #e9e3d8;
  color: #171717;
}

.two-column {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}

.two-column p {
  color: var(--muted);
}

.info-card {
  background: rgba(255,255,255,0.38);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-card h3 {
  color: var(--text);
  font-size: 2rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  color: var(--text);
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.section-intro {
  max-width: 820px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 600;
}

.duration-note {
  margin-top: 1.5rem;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.05rem;
}

.symphony-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.movement-card {
  background: linear-gradient(180deg, #f9f4ed, #f2e8dc);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow);
}

.movement-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(166, 124, 45, 0.12);
  color: var(--primary-dark);
  font-weight: 800;
}

.movement-card h3 {
  margin-top: 1rem;
  font-size: 2.2rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-contrast h2,
.section-contrast p,
.section-contrast .eyebrow {
  color: #171717;
}

.event-list {
  display: grid;
  gap: 1.2rem;
}

.event-item {
  display: grid;
  grid-template-columns: 180px 1fr 42px;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 22px;
  padding: 1.3rem 1.5rem;
  box-shadow: 0 14px 28px rgba(26, 20, 12, 0.06);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  border-right: 1px solid rgba(23, 23, 23, 0.12);
  text-align: center;
  padding-right: 1rem;
}

.event-date strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.9;
  color: #786f61;
}

.event-date span {
  margin-top: 0.3rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d4d32;
}

.event-copy {
  min-width: 0;
}

.event-copy h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 2vw, 2.5rem);
  color: #171717;
}

.event-copy p {
  margin: 0;
  color: #4b4a48;
  font-size: 1rem;
}

.event-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7b875, #786f61);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.badge,
.badge.muted,
.concert-card,
.concert-date,
.concert-meta {
  display: none;
}

.musicians-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.musician-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  min-height: 270px;
}

.musician-card-wide {
  grid-column: span 2;
}

.wind-block {
  background: #fff;
  border: 1px solid rgba(127, 93, 30, 0.25);
  color: #000;
}

.wind-block h3 {
  color: #000;
}

.instrument-group {
  margin-top: 1rem;
}

.instrument-label {
  margin: 0.8rem 0 0.2rem;
  font-weight: 800;
  color: #c79b2f;
}

.instrument-names {
  margin: 0;
  color: #000;
  font-weight: 600;
  line-height: 1.5;
}

.avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #101827;
}

.avatar-gold { background: linear-gradient(135deg, #f3d08f, #d6a857); }
.avatar-blue { background: linear-gradient(135deg, #b8d9ff, #78a1f7); }
.avatar-sand { background: linear-gradient(135deg, #e7d4b3, #c5a37f); }
.avatar-green { background: linear-gradient(135deg, #bfe8b4, #7ebc85); }
.avatar-red { background: linear-gradient(135deg, #f7b3b3, #dc7485); }
.avatar-purple { background: linear-gradient(135deg, #d8c4ff, #9a86df); }

.musician-card h3 {
  font-size: 2.2rem;
}

.role {
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.media-heading {
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.gallery-grid img:hover {
  transform: translateY(-2px);
  transition: transform 0.25s ease;
}

.instagram-grid .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-meta {
  padding: 1rem;
}

.post-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.post-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.section-cta {
  background: #f5f1ea;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(166,124,45,0.12), rgba(208,176,115,0.2));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem 2.2rem;
}

.section-contact {
  background: linear-gradient(180deg, #f6f3ee, #efe7dc);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  margin-top: 1.2rem;
  color: var(--text);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-links a {
  border: 1px solid rgba(18, 26, 39, 0.15);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.4);
}

.contact-card {
  display: grid;
  gap: 1.2rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 2.2rem;
  color: var(--text);
}

.contact-card p {
  color: var(--muted);
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-secondary.dark {
  border-color: rgba(18, 26, 39, 0.15);
  color: var(--text);
  background: rgba(255,255,255,0.5);
}

.site-footer {
  background: #0f1316;
  color: rgba(255,255,255,0.72);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .two-column,
  .contact-wrap,
  .symphony-grid,
  .concerts-grid,
  .musicians-grid,
  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-column,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 5rem;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .symphony-grid,
  .musicians-grid,
  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .musician-card-wide {
    grid-column: span 1;
  }

  .event-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.2rem;
  }

  .event-date {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.12);
    padding-right: 0;
    padding-bottom: 0.8rem;
  }

  .event-arrow {
    justify-self: end;
  }

  .section-heading,
  .cta-box,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-text strong {
    font-size: 0.72rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
