:root {
  --bg: #f6f0ea;
  --surface: rgba(255, 252, 248, 0.88);
  --surface-strong: #fffaf5;
  --surface-soft: #efe4dc;
  --text: #231718;
  --muted: #6f5f60;
  --border: rgba(113, 39, 49, 0.16);
  --accent: #a32739;
  --accent-strong: #861e2e;
  --shadow: 0 18px 40px rgba(79, 33, 41, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

body.dark {
  --bg: #191114;
  --surface: rgba(35, 24, 28, 0.92);
  --surface-strong: #24181c;
  --surface-soft: #311f25;
  --text: #f7f0ec;
  --muted: #c7b6b5;
  --border: rgba(243, 220, 214, 0.12);
  --accent: #f06c77;
  --accent-strong: #ff8791;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(163, 39, 57, 0.08), transparent 24rem),
    radial-gradient(circle at bottom right, rgba(163, 39, 57, 0.06), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body.dark {
  background:
    radial-gradient(circle at top left, rgba(240, 108, 119, 0.045), transparent 22rem),
    radial-gradient(circle at bottom right, rgba(240, 108, 119, 0.035), transparent 24rem),
    var(--bg);
}

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

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

button {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.9;
}

.brand-copy span {
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.language-toggle,
.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.language-toggle {
  display: inline-flex;
  padding: 0.22rem;
}

.language-button,
.theme-toggle {
  padding: 0.7rem 0.95rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-button.active {
  background: var(--accent);
  color: #fff6f5;
  border-radius: 999px;
}

.theme-toggle {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

main {
  padding: 2.75rem 0 5.75rem;
}

.hero,
.page-hero,
.event-hero,
.content-grid,
.event-list,
.gallery-section,
.overview,
.closing-panel {
  margin-bottom: 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
}

.hero-copy h1,
.page-hero h1,
.event-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.25rem);
  line-height: 0.94;
  max-width: 9.8ch;
}

.page-hero h1,
.event-hero h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.1rem);
  line-height: 0.97;
  max-width: 12ch;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  line-height: 0.97;
  max-width: 16ch;
}

.section-heading {
  margin-bottom: 2.2rem;
}

.overview {
  margin-top: 0.5rem;
}

.lead,
.hero-copy p,
.text-panel p,
.event-card p,
.feature-card p,
.closing-panel p {
  color: var(--muted);
  line-height: 2;
  max-width: 56ch;
}

.lead {
  max-width: 54ch;
  font-size: 1.03rem;
  margin: 0 0 0.6rem;
}

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

.hero-actions,
.toolbar,
.closing-panel {
  display: flex;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #fff8f7;
  border-color: transparent;
}

.button-secondary {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-photo,
.feature-card,
.panel-card,
.event-card,
.text-panel,
.closing-panel,
.gallery-grid img,
.about-photo-stack img,
.event-hero-image,
.photo-band img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-photo {
  overflow: hidden;
}

.feature-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.feature-photo figcaption {
  padding: 1.2rem 1.3rem 1.4rem;
}

.feature-photo strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 23ch;
}

.section-grid,
.card-grid,
.content-grid,
.upcoming-section {
  display: grid;
  gap: 1.8rem;
}

.upcoming-section {
  margin-bottom: 3rem;
}

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

.feature-card,
.panel-card,
.text-panel,
.closing-panel {
  padding: 1.8rem;
}

.feature-card h2,
.panel-card h3,
.text-panel h2,
.event-card h2,
.closing-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  line-height: 1.12;
  font-family: "Cormorant Garamond", serif;
  max-width: 18ch;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.upcoming-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 1.5rem;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(163, 39, 57, 0.08), rgba(163, 39, 57, 0.02)),
    var(--surface);
}

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

.upcoming-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  margin-top: 0.15rem;
}

.upcoming-media {
  overflow: hidden;
}

.upcoming-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.upcoming-note {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.upcoming-date {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.upcoming-time {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-grid-home .feature-card {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.68), rgba(255, 252, 248, 0.44));
  box-shadow: 0 12px 30px rgba(79, 33, 41, 0.04);
}

body.dark .section-grid-home .feature-card {
  background: linear-gradient(180deg, rgba(43, 30, 35, 0.96), rgba(34, 23, 28, 0.94));
  border-color: rgba(243, 220, 214, 0.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.section-grid-home {
  gap: 1.15rem 1.4rem;
}

.overview {
  margin-top: 0.7rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--border);
}

.overview .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.overview .panel-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.08rem;
  border-width: 1px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 252, 248, 0.28)), rgba(255, 252, 248, 0.7);
  box-shadow: 0 12px 26px rgba(79, 33, 41, 0.035);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.dark .overview .panel-card {
  background: linear-gradient(180deg, rgba(41, 29, 33, 0.95), rgba(31, 21, 25, 0.94));
  border-color: rgba(243, 220, 214, 0.09);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.overview .panel-card::after {
  content: "↗";
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.overview .panel-card:hover,
.overview .panel-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(163, 39, 57, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 252, 248, 0.42)), rgba(255, 252, 248, 0.84);
}

body.dark .overview .panel-card:hover,
body.dark .overview .panel-card:focus-visible {
  border-color: rgba(240, 108, 119, 0.24);
  background: linear-gradient(180deg, rgba(53, 37, 42, 0.98), rgba(37, 25, 30, 0.96));
}

.overview .panel-card:hover::after,
.overview .panel-card:focus-visible::after {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.overview .panel-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.18rem;
  line-height: 1.04;
  max-width: 9ch;
}

.overview .panel-card p {
  margin-bottom: 0;
  line-height: 1.56;
  max-width: 22ch;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--muted) 92%, var(--text) 8%);
}

body.dark .overview .panel-card h3,
body.dark .section-grid-home .feature-card h2 {
  color: #f7f0ec;
}

body.dark .overview .panel-card p,
body.dark .section-grid-home .feature-card p {
  color: rgba(240, 229, 224, 0.84);
}

body.dark .overview .panel-card::after,
body.dark .section-grid-home .eyebrow {
  color: rgba(240, 229, 224, 0.62);
}

body[data-page="upcoming"] .page-hero {
  max-width: 46rem;
}

body[data-page="upcoming"] .upcoming-section {
  max-width: 58rem;
}

body[data-page="upcoming"] .upcoming-card {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  box-shadow: none;
  background: transparent;
  border-width: 1px 0 0;
  border-radius: 0;
  padding: 1.25rem 0 0.1rem;
}

body[data-page="upcoming"] .upcoming-card h2 {
  max-width: 17ch;
}

body[data-page="upcoming"] .upcoming-note {
  max-width: 46ch;
}

body[data-page="upcoming"] .upcoming-media {
  border-radius: var(--radius-md);
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.panel-card p:last-child,
.feature-card p:last-child,
.text-panel p:last-child {
  margin-bottom: 0;
}

.page-layout {
  padding-top: 1.5rem;
}

.page-layout .page-hero {
  margin-bottom: 2rem;
}

.content-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.about-photo-stack {
  display: grid;
  gap: 1.25rem;
}

.about-photo-stack img {
  width: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.event-list {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  align-content: start;
}

.event-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
}

.event-card-copy {
  padding: 1.45rem 1.45rem 1.55rem;
}

body[data-page="events"] .page-hero {
  max-width: 64rem;
}

body[data-page="events"] .page-hero h1 {
  font-size: clamp(2.35rem, 3.8vw, 3.35rem);
  max-width: 11ch;
}

body[data-page="events"] .page-hero .lead {
  max-width: 48ch;
  font-size: 1rem;
}

body[data-page="events"] .event-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

body[data-page="events"] .event-card p {
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

body[data-page="events"] .event-card img {
  aspect-ratio: 3 / 4;
  max-height: none;
  object-fit: cover;
  background: transparent;
}

.event-card-copy p,
.feature-card p,
.text-panel p,
.panel-card p,
.closing-panel p {
  max-width: 52ch;
}

.hero-copy > p,
.event-hero-copy > p,
.page-hero > p,
.feature-card > p,
.text-panel > p,
.closing-panel > p {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.hero-copy,
.event-hero-copy,
.page-hero {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.event-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.event-hero-image {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  cursor: zoom-in;
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.photo-band img,
.gallery-grid img {
  width: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.photo-band img {
  min-height: 320px;
}

.closing-panel {
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-grid img {
  aspect-ratio: 4 / 5;
}

.site-footer {
  padding: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: rgba(16, 10, 12, 0.88);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin: 0;
  color: #f1e8e6;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero,
  .event-hero,
  .content-grid,
  .section-grid,
  .card-grid,
  .photo-band,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .event-list {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1,
  .page-hero h1,
  .event-hero h1,
  .section-heading h2 {
    max-width: none;
  }

  .overview .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .photo-band img,
  .event-card img,
  .event-hero-image {
    min-height: 260px;
  }

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

  .closing-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mobile-instagram {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.mobile-instagram svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 0.9rem;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .mobile-instagram {
    display: inline-flex;
    order: 2;
  }

  .header-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .toolbar {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 120px);
    align-items: flex-start;
  }

  .brand-copy strong {
    font-size: 1.45rem;
    line-height: 0.92;
  }

  .brand-copy span {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  body[data-page="upcoming"] .page-hero {
    gap: 0.7rem;
    margin-bottom: 1.35rem;
  }

  body[data-page="upcoming"] .page-hero h1 {
    font-size: clamp(2.45rem, 10.5vw, 3.55rem);
    max-width: 9.2ch;
    line-height: 0.95;
  }

  body[data-page="upcoming"] .page-hero .lead {
    max-width: 30ch;
    font-size: 0.98rem;
    line-height: 1.8;
  }

  body[data-page="upcoming"] .upcoming-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0 0.1rem;
  }

  body[data-page="upcoming"] .upcoming-media {
    max-width: 32rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 0.98;
  }

  .overview .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .overview .panel-card {
    padding: 0.95rem 0.95rem 0.9rem;
  }

  .overview .panel-card h3 {
    font-size: 1.08rem;
    max-width: 9ch;
  }

  .overview .panel-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

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

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .toolbar {
    justify-content: space-between;
    gap: 0.55rem;
  }

  .language-button,
  .theme-toggle {
    padding: 0.62rem 0.78rem;
    font-size: 0.92rem;
  }

  .theme-toggle {
    min-width: 108px;
  }

  .brand img {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .brand-copy strong {
    font-size: 1.32rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .mobile-instagram {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .button {
    width: 100%;
  }

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

  .feature-card,
  .text-panel,
  .closing-panel,
  .event-card-copy {
    padding: 1.45rem;
  }

  .overview {
    padding-top: 1.05rem;
  }

  .overview .panel-card {
    padding: 0.88rem 0.88rem 0.84rem;
  }

  .overview .panel-card::after {
    right: 0.72rem;
    top: 0.78rem;
  }

  .overview .panel-card h3 {
    font-size: 1rem;
    max-width: 8.5ch;
  }

  .overview .panel-card p {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  body[data-page="upcoming"] .upcoming-note {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  body[data-page="upcoming"] .upcoming-media,
  .upcoming-media {
    max-width: 100%;
  }
}
