:root {
  --obsidian: #09080b;
  --obsidian-soft: #141218;
  --charcoal: #2a262e;
  --ruby: #9b1d3a;
  --ruby-glow: #d43a5c;
  --violet: #6b3a78;
  --petal: #b57bc4;
  --gold: #c9a227;
  --gold-soft: #e8d5a3;
  --ash: #b9b0b8;
  --ivory: #f3ebe6;
  --glass: rgba(20, 16, 24, 0.78);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(107, 58, 120, 0.22), transparent 42%),
    radial-gradient(ellipse at 88% 0%, rgba(155, 29, 58, 0.18), transparent 40%),
    var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath fill='none' stroke='%23c9a227' stroke-width='0.6' d='M90 20c8 18 24 30 24 48a24 24 0 1 1-48 0c0-18 16-30 24-48z'/%3E%3Cpath fill='none' stroke='%23b57bc4' stroke-width='0.4' d='M40 120c12-8 18-22 32-22s22 16 36 10'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.55rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 80;
  background: var(--gold);
  color: var(--obsidian);
  padding: 0.5rem 1rem;
}
.skip-link:focus { left: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.eyebrow {
  font-size: 0.72rem !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.85rem;
}
.gold-link {
  display: inline-block;
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  padding-bottom: 0.15rem;
  font-size: 0.92rem;
}
.gold-link:hover { color: var(--ivory); }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: linear-gradient(180deg, rgba(155, 29, 58, 0.85), rgba(20, 18, 24, 0.9));
  color: var(--ivory);
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.button::before,
.button::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 28px;
  border-radius: 80% 80% 70% 70%;
  background: radial-gradient(circle at 40% 30%, var(--petal), var(--ruby-glow) 55%, transparent 70%);
  opacity: 0;
  transform: scale(0.4) rotate(-18deg);
  transition: opacity 0.35s ease, transform 0.45s ease;
  z-index: -1;
  filter: blur(0.2px);
}
.button::before { left: 8%; top: -8px; }
.button::after { right: 10%; top: -6px; transform: scale(0.4) rotate(22deg); }
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(212, 58, 92, 0.35), 0 12px 30px rgba(0, 0, 0, 0.4);
}
.button:hover::before,
.button:hover::after {
  opacity: 0.95;
  transform: scale(1.15) rotate(0deg);
}
.button.ghost {
  background: transparent;
  border-color: rgba(243, 235, 230, 0.28);
}

.petal-mark {
  width: 38px;
  height: 38px;
  border-radius: 60% 40% 55% 45%;
  background:
    radial-gradient(circle at 30% 25%, var(--gold-soft), transparent 36%),
    radial-gradient(circle at 70% 70%, var(--ruby-glow), var(--violet) 50%, #1a1016 78%);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.18), 0 0 12px rgba(201, 162, 39, 0.25);
  flex-shrink: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 5vw, 4.5rem);
  position: relative;
  z-index: 30;
  background: linear-gradient(180deg, rgba(9, 8, 11, 0.92), rgba(9, 8, 11, 0.7));
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.15;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 0.2rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  font-size: 0.84rem;
}
.nav-bloom {
  border: 1px solid rgba(201, 162, 39, 0.45);
  padding: 0.5rem 0.95rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ivory);
  margin: 5px 0;
}

.ledger-hero {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  min-height: calc(100vh - 84px);
}
.session-ledger {
  padding: 2.5rem 1.6rem;
  background: linear-gradient(180deg, rgba(42, 38, 46, 0.7), rgba(9, 8, 11, 0.95));
  border-right: 1px solid rgba(201, 162, 39, 0.18);
}
.ledger-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--petal);
}
.session-ledger ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}
.session-ledger li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(243, 235, 230, 0.08);
}
.session-ledger time,
.session-ledger span {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.session-ledger strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 0.2rem;
}
.ledger-plate {
  margin: 0;
  position: relative;
  min-height: 640px;
}
.ledger-plate img {
  position: absolute;
  inset: 0;
  filter: saturate(0.75) contrast(1.05);
}
.ledger-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(9, 8, 11, 0.92) 92%),
    radial-gradient(circle at 80% 20%, rgba(107, 58, 120, 0.25), transparent 40%);
}
.ledger-plate figcaption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  max-width: 820px;
}
.ledger-plate h1 { margin-bottom: 0.8rem; }
.ledger-plate figcaption > p:not(.eyebrow) {
  color: var(--ash);
  max-width: 540px;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-top: 1px solid rgba(201, 162, 39, 0.16);
}
.offer-copy, .offer-portrait { padding: clamp(2.5rem, 6vw, 5rem); }
.offer-copy { background: var(--obsidian-soft); }
.offer-meta { color: var(--gold-soft); font-size: 0.9rem; }
.offer-portrait img { height: 420px; border-radius: 48% 12% 30% 18%; }
.offer-portrait p {
  margin: 1rem 0 0;
  color: var(--ash);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.related-strip, .notes-preview, .page-crest, .timetable, .programme-list,
.detail-prose, .note-grid, .about-story, .faculty, .contact-split, .legal-prose,
.arrive-notes {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 6vw, 5rem);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.related-grid img, .note-grid img, .programme-image img { height: 210px; }
.related-grid h3 { margin: 0.4rem 0 0.6rem; }
.related-grid p:not(.eyebrow), .note-grid p { color: var(--ash); font-size: 0.92rem; }
.strip-foot { text-align: center; padding: 0 1.5rem 4rem; }

.voice-band {
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 29, 58, 0.28), transparent 55%),
    var(--charcoal);
}
.voice-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  font-style: italic;
  max-width: 900px;
  margin: 0 auto 1.2rem;
  line-height: 1.25;
}
.voice-band p { color: var(--ash); font-size: 0.85rem; }

.notes-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
  background: rgba(20, 18, 24, 0.7);
}
.notes-preview ul { list-style: none; padding: 0; margin: 0; }
.notes-preview li { border-bottom: 1px solid rgba(243, 235, 230, 0.1); }
.notes-preview a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.45rem;
}
.notes-preview span {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-crest {
  background:
    radial-gradient(circle at 90% 10%, rgba(107, 58, 120, 0.3), transparent 40%),
    var(--obsidian-soft);
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}
.page-crest h1 { max-width: 18ch; }
.page-crest > p:not(.eyebrow) { max-width: 640px; color: var(--ash); }
.updated { font-size: 0.8rem; color: var(--gold); }

.timetable-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.timetable-grid article {
  background: linear-gradient(165deg, rgba(42, 38, 46, 0.9), rgba(9, 8, 11, 0.95));
  border: 1px solid rgba(181, 123, 196, 0.18);
  padding: 1.4rem;
  min-height: 280px;
}
.timetable-grid h2 { font-size: 2rem; margin-bottom: 0.2rem; }
.timetable-grid header p { color: var(--gold); margin: 0 0 1rem; }
.room { color: var(--petal); font-size: 0.85rem; }
.arrive-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--obsidian-soft);
}
.arrive-notes img { height: 420px; border-radius: 12% 40% 18% 48%; }
.arrive-notes p { color: var(--ash); }

.programme-list article {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(243, 235, 230, 0.08);
}
.programme-list article:nth-child(even) .programme-image { order: 2; }
.programme-image { height: 340px; overflow: hidden; }
.programme-image img { height: 100%; }

.detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.detail-split > div { padding: clamp(2.5rem, 7vw, 6rem); align-self: center; }
.detail-split figure { margin: 0; min-height: 620px; }
.facts {
  display: flex;
  gap: 2.5rem;
  margin: 1.8rem 0;
  padding: 1rem 0;
  border-block: 1px solid rgba(201, 162, 39, 0.2);
}
.facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.facts dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: 1.25rem; }
.detail-prose { max-width: 760px; }
.detail-prose p, .detail-prose li { color: var(--ash); }
.detail-prose ul { padding-left: 1.1rem; }

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.note-grid img { height: 280px; margin-bottom: 1rem; }
.note-grid time { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.note-article header { text-align: center; padding: clamp(3rem, 7vw, 6rem) 1.5rem 2rem; }
.note-article header h1 { max-width: 16ch; margin: 0.6rem auto 1rem; }
.lede { max-width: 640px; margin: 0 auto; color: var(--ash); font-size: 1.15rem; }
.note-article > img { max-width: 1100px; height: min(58vw, 560px); margin: 0 auto; }
.note-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.4rem 6rem;
  font-family: var(--serif);
  font-size: 1.28rem;
}
.note-body aside {
  margin-top: 2.5rem;
  padding: 1.8rem;
  background: linear-gradient(135deg, rgba(155, 29, 58, 0.28), rgba(107, 58, 120, 0.22));
  border: 1px solid rgba(201, 162, 39, 0.2);
  font-family: var(--sans);
  font-size: 1rem;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-story img { height: 460px; border-radius: 40% 10% 28% 16%; }
.about-story p { color: var(--ash); }
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.faculty-grid img {
  height: 280px;
  border-radius: 46% 20% 30% 24%;
  margin-bottom: 1rem;
}
.faculty-grid p:not(.eyebrow) { color: var(--ash); font-size: 0.92rem; }

.contact-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.contact-card {
  background: var(--obsidian-soft);
  border: 1px solid rgba(201, 162, 39, 0.2);
  padding: 2rem;
}
.contact-card address { font-style: normal; color: var(--ash); margin-bottom: 1rem; }
.enrol-form {
  background: linear-gradient(180deg, rgba(42, 38, 46, 0.65), rgba(9, 8, 11, 0.9));
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(181, 123, 196, 0.2);
}
.enrol-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.enrol-form input,
.enrol-form select,
.enrol-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(243, 235, 230, 0.2);
  padding: 0.7rem 0.15rem;
  outline: none;
}
.enrol-form input:focus,
.enrol-form select:focus,
.enrol-form textarea:focus { border-color: var(--gold); }
.enrol-form .invalid { border-color: var(--ruby-glow); }
.field-error { display: block; min-height: 1rem; color: var(--ruby-glow); font-size: 0.72rem; text-transform: none; letter-spacing: 0; }
.check {
  display: flex !important;
  gap: 0.7rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  align-items: flex-start;
}
.check input { width: auto; margin-top: 0.3rem; }
.check a { text-decoration: underline; color: var(--gold-soft); }
.form-status, .inline-status { font-size: 0.85rem; margin-top: 0.8rem; }
.form-status.success { color: var(--gold-soft); }
.form-status.error { color: var(--ruby-glow); }

.legal-prose { max-width: 860px; margin: 0 auto; }
.legal-prose article {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(243, 235, 230, 0.08);
}
.legal-prose p { color: var(--ash); }

.lost {
  min-height: 70vh;
  text-align: center;
  padding: 6rem 1.4rem;
  background: radial-gradient(circle at 50% 30%, rgba(155, 29, 58, 0.25), transparent 50%);
}
.lost p:not(.eyebrow) { color: var(--ash); }

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 3.5rem clamp(1.2rem, 6vw, 5rem) 1.5rem;
  background: #050407;
  border-top: 1px solid rgba(201, 162, 39, 0.16);
}
.footer-bloom { display: flex; gap: 0.9rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer p, .site-footer a { color: var(--ash); font-size: 0.88rem; }
.site-footer > div > a { display: block; margin: 0.3rem 0; }
.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(243, 235, 230, 0.08);
  padding-top: 1.2rem;
  margin-top: 1rem;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 760px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.3rem;
  background: linear-gradient(135deg, rgba(20, 18, 24, 0.97), rgba(42, 38, 46, 0.96));
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 24px rgba(107, 58, 120, 0.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--serif); font-size: 1.2rem; }
.cookie-banner p { margin: 0.35rem 0 0; color: var(--ash); font-size: 0.8rem; }
.cookie-banner a { color: var(--gold-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.4rem 1.4rem;
    background: var(--obsidian);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  }
  .site-nav.open { display: flex; }
  .ledger-hero, .primary-offer, .notes-preview, .arrive-notes, .detail-split,
  .about-story, .contact-split, .programme-list article {
    grid-template-columns: 1fr;
  }
  .programme-list article:nth-child(even) .programme-image { order: 0; }
  .related-grid, .timetable-grid, .faculty-grid, .note-grid, .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .detail-split figure { min-height: 380px; }
}

@media (max-width: 640px) {
  .related-grid, .timetable-grid, .faculty-grid, .note-grid, .site-footer, .cookie-banner {
    grid-template-columns: 1fr;
  }
  .ledger-plate { min-height: 520px; }
  .offer-portrait img, .arrive-notes img, .about-story img { height: 280px; }
  .facts { flex-direction: column; gap: 1rem; }
}
