:root {
  --ink: #000;
  --muted: #757575;
  --navy: #1f395a;
  --footer-ink: #0d0d0d;
  --line: #e5e5e5;
  --font-sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "EB Garamond", "Adobe Garamond Pro", Georgia, serif;
  --font-quote: "Fjalla One", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 9.5vw, 5.625rem);
  color: #fff;
  text-shadow: 0 0 13px rgba(0, 0, 1, 0.73);
}

h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  color: var(--ink);
}

h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.4;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1em;
}

strong {
  font-weight: 700;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  clip: auto;
  color: #fff;
  background: var(--navy);
}

/* Header: solid navy on inner pages, transparent overlay on the home hero */
.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100px;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  color: #fff;
  background: var(--navy);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.3rem);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 0.6;
}

.nav-folder {
  position: relative;
}

.nav-folder-toggle {
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-folder-toggle:hover,
.nav-folder-toggle:focus-visible {
  opacity: 0.6;
}

.nav-folder-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: none;
  min-width: 270px;
  padding: 0.9rem 0;
  background: var(--navy);
  text-align: left;
  transform: translateX(-50%);
}

.nav-folder:hover .nav-folder-menu,
.nav-folder:focus-within .nav-folder-menu,
.nav-folder.open .nav-folder-menu {
  display: block;
}

.nav-folder-menu a {
  display: block;
  padding: 0.45rem 1.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* Hero: full-viewport image with centered serif title */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 100svh;
  padding: clamp(5rem, 10vh, 8rem) clamp(1.25rem, 6vw, 5rem);
  overflow: hidden;
  background: #16233a;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero::before {
  background-image: url("assets/hero.jpg");
  background-position: center 24%;
  background-size: cover;
}

/* Translucent dark layer between the photo and the title, as on the original */
.hero::after {
  background: rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  text-align: center;
}

.hero-content .eyebrow {
  margin-top: 3.5rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 1, 0.5);
}

/* Small uppercase line used under headings, as on the original */
.eyebrow {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Short photo band behind the overlay header, used on pages like /performances */
.page-hero-wrap {
  position: relative;
}

.page-hero {
  aspect-ratio: 5 / 1.4;
  min-height: 200px;
  background-position: center;
  background-size: cover;
}

/* Centered page title on inner pages */
.page-heading {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 6vw, 5rem) 0;
  text-align: center;
}

.page-heading h1 {
  color: var(--ink);
  text-shadow: none;
}

.page-heading .eyebrow {
  margin-top: 1.7rem;
}

.button-row,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* Flat rectangular buttons, Squarespace-style */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 1em 1.9em;
  border: 1px solid var(--navy);
  border-radius: 0;
  color: #fff;
  background: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.button:focus-visible {
  opacity: 0.85;
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

/* Quote: black Fjalla One on white, left aligned */
.quote-band {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 6vw, 5rem) clamp(2rem, 5vw, 3.5rem);
  background: #fff;
}

.quote-band blockquote {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--font-quote);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: left;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 6vw, 5rem);
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.intro-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid .copy-stack {
  max-width: clamp(320px, 46vw, 640px);
  margin: 0 auto;
}

.feature-split,
.education-grid,
.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-split.reverse .feature-image,
.resource-layout img {
  order: 2;
}

.copy-stack {
  color: var(--ink);
  font-size: 1rem;
}

.copy-stack h2,
.copy-stack h3 {
  margin-bottom: 1.2rem;
}

.copy-stack .button {
  margin-top: 1.8rem;
}

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.photo-pair img,
.feature-image,
.image-strip img,
.gallery-grid img,
.resource-layout img,
.full-photo img {
  width: 100%;
  object-fit: cover;
  background: #f2f2f2;
}

.photo-pair img {
  aspect-ratio: 1;
}

.feature-image {
  aspect-ratio: 4 / 3;
}

.full-photo {
  max-width: 1180px;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
}

/* Home video: large frame over the skyline backdrop, as on the original */
.video-feature {
  position: relative;
  padding: clamp(4rem, 11vw, 8.5rem) clamp(1.25rem, 7vw, 6rem);
  overflow: hidden;
  background: #0c1522;
}

.video-feature::before,
.video-feature::after {
  position: absolute;
  inset: 0;
  content: "";
}

.video-feature::before {
  background-image: url("assets/video-backdrop.jpg");
  background-position: center;
  background-size: cover;
}

.video-feature::after {
  background: rgba(8, 13, 21, 0.3);
}

.video-frame {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b1421;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Alternating member rows on the quartet page */
.member-row {
  align-items: center;
  margin-top: clamp(3rem, 8vw, 6rem);
}

.member-row h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.member-row .feature-image {
  aspect-ratio: 4 / 5;
}

.education-grid {
  align-items: start;
}

.testimonial-stack {
  display: grid;
  gap: 2.5rem;
  align-content: center;
}

.testimonial-stack blockquote {
  margin: 0;
}

.testimonial-stack p {
  color: var(--ink);
  font-family: var(--font-quote);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.testimonial-stack cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 1180px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}

.image-strip img {
  aspect-ratio: 1;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 1180px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}

.list-grid article {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.list-grid h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.list-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.list-grid li + li {
  margin-top: 0.45rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.video-grid article p {
  padding: 1rem 0 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.7;
}

.video-grid .video-frame {
  max-width: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

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

.link-row a,
.resource-grid a {
  font-weight: 600;
}

.resource-layout {
  align-items: start;
}

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

.resource-grid h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.resource-grid p {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.7;
}

.resource-grid a {
  display: inline-flex;
  margin-top: 0.8rem;
  margin-right: 0.8rem;
  font-size: 0.9rem;
}

.resource-layout img {
  aspect-ratio: 1;
}

.event-list {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
}

.event-list article {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

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

.event-list time {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-list h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.event-list p {
  margin-top: 0.6rem;
  color: var(--ink);
  font-size: 0.95rem;
}

/* Book us: plain white and centered, like the original */
.contact-section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 6vw, 5rem) clamp(5rem, 10vw, 8rem);
  text-align: center;
}

.contact-section h2 {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.contact-section p {
  max-width: 420px;
  margin: 1.5rem auto 0;
}

.contact-section a {
  color: var(--muted);
  text-decoration: none;
}

.contact-section a:hover,
.contact-section a:focus-visible {
  color: var(--ink);
}

/* Contact Us form, matching the fields on the real /performances and /education pages */
.contact-form-heading {
  max-width: 640px;
  margin: clamp(3.5rem, 8vw, 5.5rem) auto 0;
}

.contact-form {
  max-width: 640px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1.4rem;
  text-align: left;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form label span {
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  color: #fff;
  background: var(--footer-ink);
  border-color: var(--footer-ink);
}

.contact-form-note {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Footer: near-black with centered social icons */
.site-footer {
  padding: clamp(5rem, 12vw, 8.5rem) clamp(1.25rem, 6vw, 5rem);
  color: #fff;
  background: var(--footer-ink);
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.site-footer a {
  color: #fff;
  line-height: 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  opacity: 0.6;
}

.site-footer svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  .intro-grid .copy-stack {
    max-width: 640px;
  }

  .feature-split,
  .feature-split.reverse,
  .education-grid,
  .resource-layout {
    grid-template-columns: 1fr;
  }

  .feature-split.reverse .feature-image,
  .resource-layout img {
    order: initial;
  }

  .list-grid,
  .video-grid,
  .gallery-grid,
  .image-strip,
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-header {
    min-height: 84px;
  }

  .brand img {
    height: 52px;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    inset: 84px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 0.8rem 1.25rem 1.25rem;
    background: var(--navy);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav > a:last-child {
    border-bottom: 0;
  }

  .nav-folder {
    display: contents;
  }

  .nav-folder-toggle {
    display: none;
  }

  .nav-folder-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
    background: transparent;
    transform: none;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-content .eyebrow {
    margin-top: 1.8rem;
  }

  .photo-pair {
    grid-template-columns: 1fr;
  }

  .contact-section h2 {
    font-size: 2rem;
  }

  .contact-form .field-row {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .contact-form .button {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .button-row {
    display: grid;
  }
}
