:root {
  --obsidian: #09080b;
  --obsidian-2: #141218;
  --charcoal: #2c2a32;
  --ruby: #9c1d3c;
  --ruby-hot: #c42a52;
  --violet: #6a3a78;
  --violet-soft: #8a5a96;
  --gold: #c9a227;
  --gold-soft: #e8d5a3;
  --paper: #f3eadc;
  --muted: #b8b0c0;
  --glass: rgba(20, 18, 24, 0.72);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(154, 29, 60, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(106, 58, 120, 0.28), transparent 50%),
    radial-gradient(700px 400px at 50% 110%, rgba(201, 162, 39, 0.08), transparent 45%),
    var(--obsidian);
  background-attachment: fixed;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.15) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(138, 90, 150, 0.35) 0 18px, transparent 19px),
    radial-gradient(circle at 40% 80%, rgba(156, 29, 60, 0.25) 0 12px, transparent 13px);
  background-size: 140px 140px, 420px 420px, 310px 310px;
  mix-blend-mode: screen;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list li + li {
  margin-top: 0.4rem;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  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.18);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  text-decoration: none;
}

.brand__mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, var(--gold-soft) 0 12%, transparent 13%),
    radial-gradient(circle at 35% 58%, var(--violet) 0 28%, transparent 29%),
    radial-gradient(circle at 65% 58%, var(--ruby) 0 28%, transparent 29%),
    #0e0c12;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.45), 0 8px 24px rgba(156, 29, 60, 0.35);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.brand__text em {
  font-style: italic;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--paper);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--gold-soft);
  margin: 0 auto;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.hero-ledger {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.hero-ledger__photo {
  position: relative;
  min-height: 420px;
}

.hero-ledger__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}

.hero-ledger__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 40%, rgba(9, 8, 11, 0.55)),
    radial-gradient(circle at 30% 70%, rgba(156, 29, 60, 0.25), transparent 45%);
}

.hero-ledger__copy {
  padding: 3.5rem 2.4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(20, 18, 24, 0.4), transparent);
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-soft);
  margin: 0 0 1.4rem;
}

.ledger-card {
  margin-top: 1.2rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 2px 28px 2px 18px;
}

.ledger-card dt {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-card dd {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.45s ease, background 0.35s ease, color 0.35s ease;
}

.btn--bloom {
  background: linear-gradient(180deg, var(--ruby-hot), var(--ruby));
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(232, 213, 163, 0.25);
}

.btn--bloom:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(232, 213, 163, 0.55),
    -14px 0 22px rgba(106, 58, 120, 0.45),
    14px 0 22px rgba(156, 29, 60, 0.45),
    0 16px 28px rgba(201, 162, 39, 0.18);
  border-radius: 22px 40px 18px 36px;
}

.btn--ghost {
  background: transparent;
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.4);
}

.btn--ghost:hover {
  background: rgba(201, 162, 39, 0.08);
  color: #fff;
}

.section {
  padding: 4.2rem 0;
}

.section--tight {
  padding: 2.6rem 0 4rem;
}

.glass-panel {
  background: linear-gradient(160deg, rgba(44, 42, 50, 0.55), rgba(14, 12, 18, 0.8));
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 4px 28px 8px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  border-radius: 2px 40px 8px 24px;
  filter: contrast(1.05) saturate(0.8);
}

.offer-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.offer-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.offer-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: saturate(0.7);
}

.offer-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.offer-card h3 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.35rem;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.notes-row {
  display: grid;
  gap: 1rem;
}

.note {
  padding: 1.2rem 1.3rem;
  border-left: 3px solid var(--ruby);
}

.note p {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.note span {
  color: var(--gold);
  font-size: 0.85rem;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.prose {
  max-width: 68ch;
}

.prose p + p,
.prose ul + p,
.prose h2 + p {
  margin-top: 0.9rem;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}

.service-tile img,
.journal-tile img,
.person img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(0.75);
}

.service-tile,
.journal-tile,
.person {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.pad {
  padding: 1.1rem 1.2rem 1.3rem;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.curriculum {
  display: grid;
  gap: 1rem;
}

.day {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
}

.day strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold);
}

.form {
  display: grid;
  gap: 0.95rem;
  max-width: 36rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

input,
select,
textarea {
  font: inherit;
  color: var(--paper);
  background: rgba(9, 8, 11, 0.65);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 4px 16px 4px 10px;
  padding: 0.65rem 0.75rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-error,
.form-status {
  font-size: 0.88rem;
  color: #f0b7c4;
}

.form-status.is-ok {
  color: #d5e8c8;
}

.form-status.is-bad {
  color: #f0b7c4;
}

.site-foot {
  margin-top: 2rem;
  padding: 2.6rem 0 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  background: rgba(9, 8, 11, 0.55);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-foot__name,
.site-foot__label {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.site-foot__fine {
  margin-top: 1.6rem;
  font-size: 0.8rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 40;
}

.cookie-banner__panel {
  width: min(640px, 100%);
  margin-left: auto;
  padding: 1.15rem 1.2rem 1.2rem;
  background: linear-gradient(165deg, #1a151c, #0c0b10);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 6px 28px 10px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(106, 58, 120, 0.18);
}

.cookie-banner__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.lost {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

@media (max-width: 860px) {
  .hero-ledger,
  .split,
  .offer-preview,
  .site-foot__grid,
  .day {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 4.2rem;
    flex-direction: column;
    padding: 1rem 1.1rem;
    background: #120f16;
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 4px 18px 8px 14px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-ledger__copy {
    padding: 2rem 1.2rem 2.4rem;
  }
}
