:root {
  --ivory: #f7f1e7;
  --paper: #fffaf1;
  --ink: #251d1a;
  --muted: #6c5f56;
  --gold: #b88a3d;
  --gold-soft: #e4c786;
  --burgundy: #781f2a;
  --burgundy-dark: #4d1118;
  --line: rgba(80, 45, 31, 0.16);
  --shadow: 0 24px 60px rgba(56, 30, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 250, 241, 0.88), rgba(255, 250, 241, 0.88)),
    repeating-linear-gradient(90deg, rgba(120, 31, 42, 0.025) 0 1px, transparent 1px 84px);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(184, 138, 61, 0.55);
  border-radius: 50%;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
}

.main-nav a {
  border-bottom: 1px solid transparent;
  padding: 8px 0;
}

.main-nav a:hover {
  border-color: var(--gold);
  color: var(--burgundy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--burgundy);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 6vw, 88px) clamp(42px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 15%, rgba(228, 199, 134, 0.24), transparent 28%),
    linear-gradient(135deg, #fffaf1 0%, #f2e4cf 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/hero-harpa-liturgica.png");
  background-position: 76% 48%;
  background-repeat: no-repeat;
  background-size: min(46vw, 620px);
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero-content,
.hero-photo {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--burgundy-dark);
  font-size: 1.25rem;
  line-height: 1.2;
}

.lead {
  max-width: 660px;
  color: #4d4038;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

blockquote {
  max-width: 560px;
  margin: 28px 0;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  color: var(--burgundy-dark);
  font-size: 1.08rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.button.primary {
  background: var(--burgundy);
  color: white;
  box-shadow: 0 14px 30px rgba(120, 31, 42, 0.2);
}

.button.secondary {
  border-color: rgba(120, 31, 42, 0.25);
  color: var(--burgundy);
}

.hero-photo {
  justify-self: end;
  width: min(100%, 650px);
  padding: clamp(12px, 1.6vw, 20px);
  border: 1px solid rgba(184, 138, 61, 0.38);
  background: rgba(255, 250, 241, 0.68);
  box-shadow: var(--shadow);
}

.hero-photo img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  filter: sepia(0.08) saturate(0.9) contrast(0.98);
}

.section {
  padding: clamp(64px, 8vw, 118px) clamp(20px, 6vw, 88px);
}

.section[id] {
  scroll-margin-top: 84px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding-block: 28px;
  background: var(--burgundy-dark);
  color: white;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(140px, 0.65fr));
  gap: 24px;
  align-items: center;
}

.intro-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
}

.stat {
  border-left: 1px solid rgba(228, 199, 134, 0.45);
  padding-left: 18px;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
}

.copy {
  color: #4e423a;
  font-size: 1.08rem;
}

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

.muted {
  background:
    linear-gradient(rgba(247, 241, 231, 0.92), rgba(247, 241, 231, 0.92)),
    linear-gradient(90deg, rgba(184, 138, 61, 0.16), transparent);
}

.conductor-layout,
.signup-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.conductor-portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 138, 61, 0.42);
  background: rgba(255, 250, 241, 0.74);
  box-shadow: var(--shadow);
}

.conductor-portrait img {
  width: 100%;
  height: clamp(420px, 56vw, 640px);
  object-fit: cover;
  object-position: 48% 18%;
  filter: sepia(0.08) saturate(0.95) contrast(1.02);
}

.conductor-portrait figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  background: rgba(77, 17, 24, 0.84);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bio-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.bio-list li {
  position: relative;
  padding-left: 20px;
}

.bio-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.gallery-item span {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin-bottom: 36px;
}

.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.repertoire-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
}

.repertoire-grid p,
.timeline p,
.gallery-head p,
.signup-layout p {
  color: var(--muted);
}

.events {
  background: #fbf3e6;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline article:last-child {
  border-bottom: 1px solid var(--line);
}

time {
  color: var(--burgundy);
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.album-grid {
  display: grid;
  gap: 20px;
}

.album-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.74);
  box-shadow: var(--shadow);
}

.album-media-stack {
  display: grid;
  gap: 12px;
}

.album-cover {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 8px;
}

.album-cover.video-cover {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(280px, 1fr);
}

.album-cover.photo-cover-many {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(120px, 1fr));
}

.album-cover.festival-cover {
  grid-template-rows: repeat(4, minmax(105px, 1fr));
}

.album-cover.photo-cover-large {
  grid-template-rows: repeat(4, minmax(105px, 1fr));
}

.album-cover.video-cover-many {
  grid-template-rows: none;
  grid-auto-rows: auto;
}

.album-cover.single-video-cover {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(280px, 1fr);
}

.album-photo {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: #d9c9ad;
}

.album-video {
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(80, 45, 31, 0.16);
  background: #191311;
}

.album-video.video-pending {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 22px;
  text-align: center;
  color: #fffaf1;
  background:
    linear-gradient(145deg, rgba(77, 17, 24, 0.88), rgba(184, 138, 61, 0.45)),
    repeating-linear-gradient(45deg, rgba(255, 250, 241, 0.12) 0 2px, transparent 2px 18px),
    #191311;
}

.album-video.video-pending span,
.album-video.video-pending strong {
  display: block;
}

.album-video.video-pending span {
  margin-bottom: 8px;
  color: #f4d08a;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.album-video.video-pending strong {
  max-width: 220px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
}

.album-cover.video-cover-many .album-video {
  aspect-ratio: 16 / 9;
}

.album-cover.single-video-cover .album-video {
  aspect-ratio: 16 / 9;
}

.album-photo.featured {
  grid-row: 1 / 3;
}

.album-photo img,
.album-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-video video {
  display: block;
  min-height: 280px;
}

.album-cover.video-cover-many .album-video video {
  min-height: 0;
}

.album-cover.single-video-cover .album-video video {
  min-height: 0;
}

.album-photo img {
  filter: sepia(0.08) saturate(0.92) contrast(0.98);
  transition: transform 220ms ease, filter 220ms ease;
}

.album-photo:hover img {
  transform: scale(1.03);
  filter: sepia(0.02) saturate(1) contrast(1.02);
}

.album-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 8px;
}

.album-info h3 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.02;
}

.album-info p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.online-section {
  background:
    linear-gradient(rgba(255, 250, 241, 0.82), rgba(255, 250, 241, 0.82)),
    linear-gradient(115deg, rgba(120, 31, 42, 0.08), rgba(184, 138, 61, 0.12));
}

.online-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.online-head p {
  color: var(--muted);
}

.online-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.online-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 320px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: var(--shadow);
}

.online-card.youtube-card {
  border-top: 4px solid #9a2825;
}

.online-card.facebook-card {
  border-top: 4px solid #315f8f;
}

.online-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.platform-label,
.status-pill {
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-label {
  color: var(--burgundy);
}

.youtube-card .platform-label {
  color: #9a2825;
}

.facebook-card .platform-label {
  color: #315f8f;
}

.status-pill {
  padding: 6px 10px;
  border: 1px solid rgba(184, 138, 61, 0.4);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 241, 0.72);
}

.online-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.online-card p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.online-placeholder-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.online-placeholder-list span {
  display: block;
  height: 44px;
  border: 1px solid rgba(80, 45, 31, 0.13);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(184, 138, 61, 0.18), rgba(255, 250, 241, 0.78) 45%, rgba(120, 31, 42, 0.08)),
    rgba(255, 250, 241, 0.86);
}

.online-link-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
}

.online-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(80, 45, 31, 0.13);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.84);
  color: var(--ink);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.online-link:hover {
  transform: translateY(-1px);
  border-color: rgba(184, 138, 61, 0.55);
  background: white;
}

.online-link span {
  font-weight: 700;
}

.online-link small {
  flex: 0 0 auto;
  color: var(--burgundy);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.facebook-card .online-link small {
  color: #315f8f;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: end start;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(184, 138, 61, 0.25);
  background:
    linear-gradient(150deg, rgba(77, 17, 24, 0.78), rgba(184, 138, 61, 0.34)),
    repeating-linear-gradient(45deg, rgba(255, 250, 241, 0.12) 0 2px, transparent 2px 18px);
  color: white;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.video {
  background:
    linear-gradient(150deg, rgba(37, 29, 26, 0.86), rgba(120, 31, 42, 0.62)),
    radial-gradient(circle at 70% 30%, rgba(228, 199, 134, 0.52), transparent 34%);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(184, 138, 61, 0.36);
  background: rgba(255, 250, 241, 0.72);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--burgundy-dark);
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(80, 45, 31, 0.18);
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: 1rem Arial, sans-serif;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 56px clamp(20px, 6vw, 88px);
  background: var(--burgundy-dark);
  color: white;
}

.footer-inner {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.site-footer p,
.site-footer .eyebrow,
address {
  color: rgba(255, 255, 255, 0.78);
}

address {
  display: grid;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-style: normal;
}

address a:hover {
  color: var(--gold-soft);
}

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

  .main-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .two-column,
  .conductor-layout,
  .signup-layout,
  .gallery-head,
  .online-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo {
    justify-self: start;
    width: min(650px, 100%);
  }

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

  .timeline article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    max-width: 170px;
  }

  .main-nav.is-open,
  .intro-grid,
  .repertoire-grid,
  .gallery-grid,
  .online-grid {
    grid-template-columns: 1fr;
  }

  .online-card {
    min-height: auto;
  }

  .online-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .album-cover {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .album-cover.video-cover {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .album-cover.photo-cover-many {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .album-cover.festival-cover {
    grid-template-rows: none;
  }

  .album-photo,
  .album-photo.featured,
  .album-video {
    aspect-ratio: 16 / 9;
    grid-row: auto;
  }

  .album-video video {
    min-height: 0;
  }

  .album-video.video-pending {
    min-height: 0;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-art {
    background-position: 50% 20%;
    background-size: 520px;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.6rem);
  }

  .hero-photo,
  .conductor-portrait img {
    height: clamp(360px, 108vw, 560px);
  }

  .gallery-grid {
    grid-auto-rows: 190px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-inner {
    display: grid;
  }
}
