:root {
  --ink: #24170f;
  --muted: #66584a;
  --paper: #fff8eb;
  --panel: #fffdf8;
  --line: #dcc7a6;
  --blue: #1769b1;
  --blue-dark: #0c4d87;
  --green: #2f5f49;
  --red: #a2352b;
  --gold: #c9902f;
  --wood: #6e4225;
  --shadow: 0 20px 58px rgba(36, 23, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 105, 177, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(110, 66, 37, 0.055) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 34px 34px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(45deg, transparent 46%, rgba(110, 66, 37, 0.16) 49%, transparent 52%),
    linear-gradient(-45deg, transparent 46%, rgba(110, 66, 37, 0.16) 49%, transparent 52%);
  background-size: 26px 26px;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(23, 105, 177, 0.14) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(225deg, rgba(23, 105, 177, 0.14) 25%, transparent 25%) 0 0 / 34px 34px,
    rgba(255, 248, 235, 0.96);
  border-bottom: 4px solid var(--blue);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--blue);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

.nav a {
  padding: 8px 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover {
  color: var(--blue-dark);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 13, 8, 0.84), rgba(20, 13, 8, 0.5) 48%, rgba(20, 13, 8, 0.16)),
    linear-gradient(0deg, rgba(20, 13, 8, 0.56), transparent 44%);
}

.hero-content {
  position: relative;
  width: min(850px, calc(100% - 36px));
  padding: 0 0 clamp(42px, 8vw, 88px);
  margin-left: clamp(18px, 6vw, 76px);
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.34);
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.lead {
  max-width: 710px;
  margin-bottom: 28px;
  font-size: clamp(1.14rem, 2vw, 1.48rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
}

.diamond-band {
  height: 56px;
  background:
    linear-gradient(45deg, var(--blue) 25%, transparent 25%) 0 0 / 56px 56px,
    linear-gradient(135deg, var(--blue) 25%, transparent 25%) 0 0 / 56px 56px,
    linear-gradient(225deg, var(--blue) 25%, transparent 25%) 0 0 / 56px 56px,
    linear-gradient(315deg, var(--blue) 25%, #fff 25%) 0 0 / 56px 56px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid var(--blue-dark);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 104px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service,
.dance-list,
.featured-dances article,
.term-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(36, 23, 15, 0.07);
}

.service {
  min-height: 245px;
  padding: 22px;
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  background: #f0e3cf;
  color: var(--red);
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

.service p,
.copy p,
.dance-list li,
.timeline p,
.contact p {
  color: var(--muted);
}

.ensemble {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
  align-items: end;
}

.image-stack img,
.appearances-layout img {
  width: 100%;
  border: 6px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.image-stack img:last-child {
  aspect-ratio: 4 / 3;
  margin-bottom: 44px;
}

.repertoire {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(23, 105, 177, 0.08) 25%, transparent 25%) 0 0 / 46px 46px,
    linear-gradient(225deg, rgba(23, 105, 177, 0.08) 25%, transparent 25%) 0 0 / 46px 46px,
    rgba(255, 253, 248, 0.78);
}

.featured-dances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.featured-dances article {
  padding: 22px;
  border-top: 5px solid var(--blue);
}

.featured-dances p {
  margin-bottom: 0;
  color: var(--muted);
}

.dance-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(170px, 0.72fr));
  gap: 16px;
  align-items: start;
}

.dance-list {
  padding: 22px;
}

.dance-list h3 {
  color: var(--blue-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.dance-list ul {
  columns: 2;
  column-gap: 24px;
  padding-left: 18px;
  margin: 0;
}

.dance-list:nth-child(n + 2) ul {
  columns: 1;
}

.dance-list li {
  break-inside: avoid;
  margin: 0 0 6px;
}

.appearances-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  margin-bottom: 36px;
}

.appearances-layout img {
  aspect-ratio: 4 / 3;
}

.term-note {
  padding: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.year-list {
  display: grid;
  gap: 26px;
}

.year-block {
  padding-top: 8px;
}

.year-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-width: 118px;
  padding: 8px 14px;
  margin: 0 0 10px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  list-style: none;
}

.year-block summary::-webkit-details-marker {
  display: none;
}

.year-block summary::after {
  content: "+";
  margin-left: 18px;
  font-size: 1.1rem;
  line-height: 1;
}

.year-block[open] summary {
  border-radius: 8px 8px 0 0;
}

.year-block[open] summary::after {
  content: "-";
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0 8px 8px 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(36, 23, 15, 0.06);
}

.term-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.term-table th,
.term-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eadcc4;
  vertical-align: top;
  text-align: left;
}

.term-table th {
  background: #f2e4cc;
  color: var(--ink);
}

.term-table td:first-child {
  width: 150px;
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.term-table td:last-child {
  width: 132px;
  white-space: nowrap;
}

.term-table tr:nth-child(even) {
  background: #fff6e6;
}

.contact {
  width: min(1080px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  margin-bottom: 42px;
  padding: clamp(34px, 6vw, 58px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%) 0 0 / 42px 42px,
    var(--green);
  color: #fff;
  border-radius: 8px;
}

.contact .section-kicker,
.contact p {
  color: #f4dcae;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: block;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.socials a {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 4px solid var(--blue);
  background: var(--panel);
}

.footer p {
  margin-bottom: 0;
}

.legal-hero {
  padding: clamp(74px, 12vw, 132px) 18px clamp(42px, 7vw, 76px);
  background:
    linear-gradient(135deg, rgba(23, 105, 177, 0.16) 25%, transparent 25%) 0 0 / 52px 52px,
    linear-gradient(225deg, rgba(23, 105, 177, 0.16) 25%, transparent 25%) 0 0 / 52px 52px,
    var(--paper);
  border-bottom: 4px solid var(--blue);
}

.legal-hero-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.legal-hero h1 {
  color: var(--ink);
  text-shadow: none;
}

.legal-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.16rem;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.legal-card {
  min-height: 100%;
  padding: clamp(20px, 4vw, 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(36, 23, 15, 0.07);
}

.legal-card h2 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  text-transform: uppercase;
}

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

.legal-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .intro,
  .ensemble,
  .appearances-layout,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

  .legal-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  h1 {
    font-size: clamp(3.2rem, 20vw, 4.8rem);
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .image-stack,
  .featured-dances {
    grid-template-columns: 1fr;
  }

  .image-stack img:last-child {
    margin-bottom: 0;
  }

  .dance-list ul {
    columns: 1;
  }

  .term-table {
    min-width: 620px;
  }

  .contact {
    width: min(100% - 24px, 1080px);
    padding: 26px 18px;
  }
}
