:root {
  --bg: #f1ede4;
  --bg-soft: #e7e2d8;
  --surface: #fbf8f2;
  --ink: #18212b;
  --ink-soft: #485463;
  --ink-faint: #66717d;
  --navy: #14202b;
  --navy-soft: #223243;
  --navy-deep: #0d151d;
  --line: rgba(24, 33, 43, 0.16);
  --line-strong: rgba(24, 33, 43, 0.26);
  --line-light: rgba(255, 255, 255, 0.16);
  --accent: #98866a;
  --accent-soft: rgba(152, 134, 106, 0.14);
  --shadow: 0 20px 60px rgba(13, 21, 29, 0.12);
  --content-width: min(1120px, calc(100vw - 2rem));
  --measure: 44rem;
  --header-height: 5.5rem;
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(152, 134, 106, 0.25);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol,
dl {
  margin: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(241, 237, 228, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(24, 33, 43, 0.08);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  position: relative;
  z-index: 120;
}

.brand-mark {
  width: 0.9rem;
  height: 0.9rem;
  display: inline-block;
  font-size: 0;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, rgba(152, 134, 106, 0.68), rgba(255, 255, 255, 0.08));
}

.site-header.is-scrolled .brand-mark {
  border-color: rgba(24, 33, 43, 0.24);
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.site-header.is-scrolled .brand-tag {
  color: var(--ink-faint);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  position: relative;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.25s ease;
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink-soft);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  color: var(--ink);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 1rem;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  content: "";
}

.nav-toggle-bar {
  font-size: 0;
  line-height: 0;
  transform: translate(-50%, 0);
}

.nav-toggle-bar::before {
  transform: translate(-50%, -0.34rem);
}

.nav-toggle-bar::after {
  transform: translate(-50%, 0.34rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translate(-50%, 0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translate(-50%, 0) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--surface);
  background:
    radial-gradient(circle at 18% 18%, rgba(152, 134, 106, 0.28), transparent 26%),
    radial-gradient(circle at 88% 26%, rgba(255, 255, 255, 0.09), transparent 20%),
    linear-gradient(180deg, rgba(20, 32, 43, 0.94), rgba(13, 21, 29, 0.98));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: min(18vw, 10rem) min(18vw, 10rem);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 78%);
}

.hero::after {
  top: 11rem;
  right: -6rem;
  width: min(38vw, 28rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 2.5rem rgba(255, 255, 255, 0.02);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: end;
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: clamp(4rem, 10vw, 6.5rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.8rem, 9vw, 7rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.hero-lead {
  max-width: 27rem;
  margin-top: 1.5rem;
  font-size: clamp(1.18rem, 2.5vw, 1.55rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.hero-body,
.page-hero-body {
  max-width: 38rem;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

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

.button-primary {
  background: var(--surface);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.button-primary:hover {
  background: #ffffff;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--surface);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.05);
}

.button-quiet {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-quiet:hover {
  background: rgba(24, 33, 43, 0.05);
}

.hero-side {
  display: grid;
  gap: 1rem;
  align-content: end;
}

.signal-stack {
  display: grid;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.signal {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.signal-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-muted {
  background: rgba(255, 255, 255, 0.18);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(152, 134, 106, 0.14), transparent 28%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: var(--surface);
}

.section-dark + .section-dark {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.section-dark .section-kicker,
.section-dark .intro-text,
.section-dark .muted,
.section-dark .list-copy,
.section-dark .supporting-copy,
.section-dark .form-note {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .bordered,
.section-dark .pillar,
.section-dark .programme-item,
.section-dark .principle,
.section-dark .step,
.section-dark .list-panel,
.section-dark .detail-row,
.section-dark .placeholder-list li {
  border-color: rgba(255, 255, 255, 0.14);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 2.75rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.77rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.intro-text,
.measure,
.supporting-copy {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.supporting-copy {
  font-size: 0.98rem;
}

.bordered {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.layout-wide {
  display: grid;
  gap: 2rem;
}

.pillar-grid,
.three-column,
.steps-grid,
.detail-grid {
  display: grid;
  gap: 1.5rem 2rem;
}

.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.pillar,
.principle,
.step,
.programme-item,
.list-panel,
.detail-row {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.pillar p,
.principle p,
.step p,
.programme-item p,
.detail-row p,
.list-copy {
  color: var(--ink-soft);
}

.section-dark .pillar p,
.section-dark .principle p,
.section-dark .step p,
.section-dark .programme-item p,
.section-dark .detail-row p,
.section-dark .list-copy {
  color: rgba(255, 255, 255, 0.72);
}

.micro-label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
}

.link-inline::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: transform 0.25s ease;
  transform-origin: left center;
}

.link-inline:hover::after {
  transform: scaleX(1.25);
}

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

.programme-focus {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
}

.programme-focus li,
.bullet-list li,
.placeholder-list li {
  position: relative;
  padding-left: 1.05rem;
}

.programme-focus li::before,
.bullet-list li::before,
.placeholder-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.35rem;
  height: 0.35rem;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.5;
}

.section-dark .programme-focus,
.section-dark .bullet-list,
.section-dark .placeholder-list {
  color: rgba(255, 255, 255, 0.74);
}

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

.bullet-list,
.placeholder-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.closing-panel,
.placeholder-panel,
.contact-panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section-muted .closing-panel,
.section-muted .placeholder-panel,
.contact-panel,
.placeholder-panel.light {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line);
  box-shadow: none;
}

.closing-panel h2,
.placeholder-panel h2 {
  max-width: 14ch;
}

.page-hero {
  min-height: 72svh;
}

.page-hero .hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.8fr);
  min-height: 72svh;
  align-items: end;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.page-summary {
  display: grid;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.summary-row {
  display: grid;
  gap: 0.25rem;
}

.summary-row strong {
  font-size: 0.77rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.summary-row span {
  color: rgba(255, 255, 255, 0.88);
}

.principles {
  display: grid;
  gap: 1.25rem;
}

.principle {
  grid-template-columns: minmax(14rem, 0.95fr) minmax(0, 1.2fr);
  gap: 1.25rem 2rem;
}

.principle h3 {
  font-size: 1.45rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem 3rem;
}

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

.field {
  display: grid;
  gap: 0.42rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 0.25rem rgba(20, 32, 43, 0.08);
  background: #ffffff;
}

.form-note {
  font-size: 0.94rem;
}

.form-feedback {
  padding: 1rem 1.1rem;
  margin-top: 1rem;
  background: rgba(20, 32, 43, 0.05);
  border: 1px solid var(--line);
}

.footer {
  padding: 2.5rem 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(12rem, 0.75fr));
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
  max-width: 24rem;
}

.footer-brand .brand-tag {
  color: rgba(255, 255, 255, 0.56);
}

.footer-heading {
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.55rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: #ffffff;
}

.meta-line {
  color: var(--ink-faint);
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .page-hero .hero-grid,
  .section-heading,
  .layout-split,
  .contact-layout,
  .principle {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .three-column,
  .steps-grid,
  .programme-list,
  .bullet-columns,
  .list-columns,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .page-hero {
    min-height: auto;
  }

  .hero::after {
    width: min(56vw, 20rem);
    top: 9rem;
    right: -4rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
    background: rgba(13, 21, 29, 0.96);
    backdrop-filter: blur(18px);
    display: grid;
    align-content: start;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a,
  .site-header.is-scrolled .site-nav a {
    width: fit-content;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.86);
  }

  .brand-tag {
    letter-spacing: 0.1em;
  }
}

@media (max-width: 680px) {
  :root {
    --content-width: min(1120px, calc(100vw - 1.25rem));
  }

  .hero-grid {
    padding-top: calc(var(--header-height) + 4.75rem);
    padding-bottom: 3.5rem;
  }

  .section {
    padding: 3.6rem 0;
  }

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

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
