:root {
  --bg: #f3f1ec;
  --bg-elevated: #faf9f6;
  --ink: #1c2421;
  --ink-soft: #4a5550;
  --line: #d5d0c6;
  --accent: #2f3e3a;
  --accent-hover: #24322f;
  --accent-soft: #8fa89a;
  --highlight: #c4a574;
  --success: #2f5d45;
  --error: #8b3a2f;
  --shadow: 0 18px 40px rgba(28, 36, 33, 0.08);
  --radius: 4px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(143, 168, 154, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(196, 165, 116, 0.12), transparent 50%),
    linear-gradient(180deg, #ebe7df 0%, var(--bg) 28%, #f7f5f1 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 241, 236, 0.9);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header:hover,
.site-header.nav-open {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background:
    linear-gradient(145deg, transparent 42%, var(--accent-soft) 42% 58%, transparent 58%),
    linear-gradient(35deg, var(--accent) 0 55%, #3f524c 55%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  font: inherit;
  border-radius: var(--radius);
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: #f7f5f1 !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f7f5f1;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.4s ease both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 36, 33, 0.78) 0%, rgba(28, 36, 33, 0.45) 48%, rgba(28, 36, 33, 0.2) 100%),
    linear-gradient(0deg, rgba(28, 36, 33, 0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  color: #f7f5f1;
  max-width: 38rem;
  animation: fadeUp 0.9s ease 0.2s both;
}

.hero-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 1rem;
  color: #faf9f6;
}

.hero-content h1 {
  color: #e8e4dc;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  max-width: 28rem;
}

.hero-content p {
  color: rgba(247, 245, 241, 0.88);
  font-size: 1.05rem;
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero .btn-primary {
  background: #e8e4dc;
  color: var(--accent);
}

.hero .btn-primary:hover {
  background: #fff;
  color: var(--accent-hover);
}

.hero .btn-ghost {
  border-color: rgba(247, 245, 241, 0.45);
  color: #f7f5f1;
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease both;
}

.programme-list {
  display: grid;
  gap: 1.5rem;
}

.programme-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, padding 0.25s ease;
}

.programme-row:hover {
  background: rgba(255, 255, 255, 0.45);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.programme-row img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
}

.programme-row h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.programme-row p {
  margin: 0;
  font-size: 0.98rem;
}

.programme-meta {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.quote {
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--accent-soft);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.45;
}

.quote footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero p.lede {
  font-size: 1.15rem;
  max-width: 40rem;
}

.media-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  margin-bottom: 2rem;
  overflow: hidden;
}

.media-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 36, 33, 0.7), rgba(28, 36, 33, 0.15));
}

.media-hero .shell {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  color: #f7f5f1;
}

.media-hero h1,
.media-hero p {
  color: #f7f5f1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.soft-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.soft-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.soft-card:hover img {
  transform: scale(1.02);
}

.soft-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.detail-aside dl {
  margin: 0;
}

.detail-aside dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  margin-top: 1rem;
}

.detail-aside dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.fee-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

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

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  font: inherit;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
}

.field [data-error] {
  display: block;
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(143, 168, 154, 0.2);
}

.form-status.is-success {
  background: rgba(47, 93, 69, 0.15);
  color: var(--success);
}

.form-status.is-error {
  background: rgba(139, 58, 47, 0.12);
  color: var(--error);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.address-block {
  white-space: pre-wrap;
  font-family: inherit;
}

.site-footer {
  margin-top: 4rem;
  padding: 3.5rem 0 1.5rem;
  background: var(--accent);
  color: #e8e4dc;
}

.site-footer a {
  color: #e8e4dc;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #faf9f6;
  margin-bottom: 0.75rem;
}

.footer-blurb,
.footer-address,
.site-footer p {
  color: rgba(232, 228, 220, 0.85);
}

.footer-heading {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232, 228, 220, 0.2);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(28, 36, 33, 0.96);
  color: #f7f5f1;
  padding: 1rem 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner p {
  margin: 0;
  color: rgba(247, 245, 241, 0.9);
  max-width: 48rem;
}

.cookie-banner a {
  color: #c4a574;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner .btn-ghost {
  border-color: rgba(247, 245, 241, 0.35);
  color: #f7f5f1;
}

.cookie-banner .btn-primary {
  background: #e8e4dc;
  color: var(--accent);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(143, 168, 154, 0.15);
}

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

.story-block {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.story-block h3 {
  font-size: 1.5rem;
}

.cta-band {
  background: var(--accent);
  color: #f7f5f1;
  padding: 3.5rem 0;
  margin-top: 2rem;
}

.cta-band h2 {
  color: #faf9f6;
}

.cta-band p {
  color: rgba(247, 245, 241, 0.85);
}

.cta-band .btn-primary {
  background: #e8e4dc;
  color: var(--accent);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRise {
  from {
    transform: scale(1.06);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .split,
  .detail-layout,
  .contact-grid,
  .footer-grid,
  .quote-grid,
  .card-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .programme-row {
    grid-template-columns: 1fr;
  }

  .programme-row img {
    width: 100%;
    height: 180px;
  }

  .programme-meta {
    white-space: normal;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--shell);
    gap: 0;
  }

  .site-nav li {
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-cta {
    margin: 0.5rem 0 0.75rem;
    justify-content: center;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: 78vh;
  }

  .detail-aside {
    position: static;
  }
}
