@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/playfair-display-latin-900-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/rubik-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/rubik-latin-500-normal.woff2') format('woff2');
}

:root {
  --blue: #1a56b8;
  --blue-dark: #123c82;
  --heading: #4a3630;
  --ink: #333333;
  --muted: #5c6b6b;
  --olive: #76923c;
  --gold: #eba91d;
  --cream: #ffffff;
  --border: #e5e5e5;
  --input-bg: #ececec;
  --nav-bg: #ffffff;
  --footer-bg: #1a56b8;
  --footer-ink: #eaf0fb;
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #0d2f70;
    --blue-dark: #081c47;
    --heading: #f0c9a0;
    --ink: #e2e2e2;
    --muted: #a8b3b3;
    --olive: #9dc85f;
    --gold: #f2bd4a;
    --cream: #12181f;
    --border: #2b333a;
    --input-bg: #1c232a;
    --nav-bg: #0f151b;
    --footer-bg: #081c47;
    --footer-ink: #cdd9ee;
  }
}
:root[data-theme="dark"] {
  --blue: #0d2f70;
  --blue-dark: #081c47;
  --heading: #f0c9a0;
  --ink: #e2e2e2;
  --muted: #a8b3b3;
  --olive: #9dc85f;
  --gold: #f2bd4a;
  --cream: #12181f;
  --border: #2b333a;
  --input-bg: #1c232a;
  --nav-bg: #0f151b;
  --footer-bg: #081c47;
  --footer-ink: #cdd9ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Rubik', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  transition: background-color .2s ease, color .2s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--heading);
  margin: 0 0 .4em;
  line-height: 1.2;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.brand img { height: 56px; width: auto; }
.site-nav nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.site-nav nav > a,
.nav-drop > .drop-label {
  text-decoration: none;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.site-nav nav > a[aria-current="page"] {
  font-weight: 600;
}
.site-nav nav > a:hover,
.nav-drop.active > .drop-label { color: var(--blue); }
.nav-drop { position: relative; }
.nav-drop .drop-label svg { width: 12px; height: 12px; transition: transform .15s ease; }
.nav-drop.open .drop-label svg { transform: rotate(180deg); }
.dropdown {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--nav-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: none;
}
.nav-drop.open .dropdown,
.nav-drop:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
}
.dropdown li a:hover { color: var(--blue); background: var(--input-bg); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition: background-color .15s ease, border-color .2s ease, color .2s ease;
}
.theme-toggle:hover { background: var(--input-bg); }
.theme-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* Hero video */
.hero-video-section { background: #000; }

.music-link {
  text-align: center;
  padding: 20px 0;
}
.music-link a { color: var(--blue); text-decoration: underline; }

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--max);
  margin: 0 auto;
}

/* Festivals intro */
.festivals-intro {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0 24px;
  text-align: center;
}
.festivals-intro h2 { font-size: 2.4rem; }
.festivals-intro p { color: var(--muted); }

.festival-grid {
  padding: 32px 0 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .festival-grid { grid-template-columns: 1fr 1fr; }
}
.festival-card img {
  border-radius: 16px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 320px;
}
.festival-card h4 { font-size: 1.4rem; }
.festival-card h4 a { text-decoration: none; color: var(--heading); }
.festival-card p { color: var(--ink); }
.festival-card .event-meta {
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  margin-top: 12px;
}

/* Art tech band */
.art-tech-band {
  background: var(--blue);
  padding: 48px 24px;
}
.art-tech-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}
.art-tech-card h2 { font-size: 2.4rem; }
.art-tech-card p { color: var(--muted); max-width: 700px; margin: 0 auto; }

/* Product rows */
.product-row {
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 800px) {
  .product-row { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.product-row img { border-radius: 16px; margin: 0 auto; }
.product-row h2 { font-size: 2.2rem; }
.product-row .price-copy { color: var(--ink); }
.product-row .cta {
  text-align: center;
  margin-top: 20px;
}
.product-row .cta a {
  color: var(--olive);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}
.product-row .cta a:hover { text-decoration: underline; }

/* Reusable image/photo gallery grid */
.gallery-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid.cols-3 { grid-template-columns: 1fr; }
.gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 700px) {
  .gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.gallery-grid figure { margin: 0; }
.gallery-grid img { border-radius: 10px; width: 100%; }
.gallery-grid figcaption {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Two-column text split (narrow label + wide body) */
.split-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .split-row { grid-template-columns: 1fr 2fr; gap: 56px; }
}
.split-row h2 { font-size: 2rem; }
.split-row h4 { font-size: 1.3rem; }
.split-row p { color: var(--ink); }

/* Centered text block (page intro / simple copy sections) */
.text-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}
.text-block h2 { font-size: 2.2rem; }
.text-block p { color: var(--ink); margin-bottom: 20px; }
.text-block p:last-child { margin-bottom: 0; }

/* Responsive video embed (plain 16:9 iframe wrapper) */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Light "spare" band for a heading + video pairing */
.spare-band {
  background: var(--input-bg);
  padding: 48px 24px;
  text-align: center;
}
.spare-band h2 { margin-bottom: 24px; }

/* Gallery modifier: sharp corners, optional description line */
.gallery-grid.sharp img { border-radius: 0; }
.gallery-grid figcaption .cap-title { font-weight: 600; display: block; }
.gallery-grid figcaption .cap-desc { font-size: .8rem; color: var(--muted); display: block; margin-top: 2px; }

/* Solid-color promo band (no card — text sits directly on the color) */
.promo-band {
  background: var(--gold);
  color: #1a1a1a;
  padding: 48px 24px;
  text-align: center;
}
.promo-band h2 { color: #1a1a1a; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.promo-band h2 img { border-radius: 4px; }
.promo-band p { max-width: 700px; margin: 0 auto 20px; }
.promo-band a { color: #1a1a1a; text-decoration: underline; }

/* Divider for stacked sections that otherwise blend together in dark mode */
.section-divider { border-top: 1px solid var(--border); }

.product-row.sharp img { border-radius: 0; }
.product-row figure { margin: 0; }
.product-row figure img { margin: 0 auto; }
.product-row figcaption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--ink);
}
.product-row img.square-crop {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* Centered app-download block: heading-link above a store icon */
.app-download {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.app-download h2 { font-size: 1.8rem; }
.app-download h2 a { text-decoration: none; color: var(--heading); }
.app-download img { max-width: 180px; margin: 20px auto 0; border-radius: 16px; display: block; }

/* FAQ entries: icon + heading, followed by paragraphs */
.faq-item {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
}
.faq-item h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
}
.faq-item h2 img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}
.faq-item p { color: var(--ink); margin: 0 0 12px; }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item p b { color: var(--heading); }

/* Contact section */
.contact-section {
  position: relative;
  padding: 80px 24px;
  background-size: cover;
  background-position: center;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
.contact-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 8px;
  padding: 40px;
}
.contact-card h2 { font-size: 2rem; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: .95rem;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 130px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: #1a1a1a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s ease;
}
.button-submit:hover { opacity: .9; }
.button-submit:disabled { opacity: .6; cursor: default; }

.form-status {
  margin: 14px 0 0;
  font-size: .95rem;
  min-height: 1.2em;
}
.form-status[data-state="ok"] { color: #2f7a4f; }
:root[data-theme="dark"] .form-status[data-state="ok"] { color: #6fd19a; }
.form-status[data-state="error"] { color: #b3443f; }
:root[data-theme="dark"] .form-status[data-state="error"] { color: #f0918c; }

/* Footer */
footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  text-align: center;
  padding: 22px 0;
  transition: background-color .2s ease;
}
