:root {
  --ink: #201c19;
  --ink-soft: #504944;
  --paper: #f5f0e8;
  --paper-deep: #eae1d6;
  --white: #fffdf9;
  --brown: #3b1f12;
  --brown-light: #6c4635;
  --green: #46654d;
  --line: rgba(32, 28, 25, 0.16);
  --shadow: 0 24px 70px rgba(57, 35, 24, 0.13);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #a16345;
  outline-offset: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--white);
  background: var(--brown);
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(57, 35, 24, 0.05);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 82px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav > a:not(.button) {
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav > a:not(.button):hover {
  color: var(--brown-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--brown);
  border-radius: 10px;
  color: var(--white);
  background: var(--brown);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #512b19;
  box-shadow: 0 10px 28px rgba(59, 31, 18, 0.17);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 0.9rem;
}

.button-secondary {
  color: var(--brown);
  background: rgba(255, 253, 249, 0.6);
}

.button-secondary:hover {
  color: var(--white);
}

.button-light {
  color: var(--brown);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 96px;
  background: linear-gradient(135deg, #f2eee7 0%, #f4ece8 54%, #e9eee5 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-glow-one {
  right: -8%;
  bottom: -30%;
  width: 520px;
  height: 520px;
  background: rgba(103, 170, 113, 0.42);
}

.hero-glow-two {
  top: 8%;
  left: 45%;
  width: 360px;
  height: 360px;
  background: rgba(227, 175, 175, 0.35);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--brown-light);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section h1,
.legal-page h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.83;
}

.hero-role {
  max-width: 680px;
  margin: 25px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
}

.hero-summary {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 16px -18px -18px 18px;
  z-index: -1;
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  width: 86%;
  margin: 13px auto 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-align: center;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 30px;
  min-height: 112px;
}

.trust-inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 26px;
  font-family: var(--serif);
  font-size: 1.28rem;
}

.section {
  padding: 112px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
}

.section h2,
.legal-page h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.section h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.25;
}

.prose p {
  margin: 0 0 22px;
}

.lead-prose {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.lead-prose a:not(.text-link),
.legal-copy a {
  color: var(--brown-light);
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--brown);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section-dark {
  color: var(--white);
  background: #241912;
}

.section-label-light {
  color: #d6bcae;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 22px auto 0;
  color: #c8bbb3;
}

.section:not(.section-dark) .section-heading > p:last-child {
  margin-left: 0;
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 320px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.card-number {
  display: inline-block;
  margin-bottom: 74px;
  color: #d6bcae;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.service-card p {
  margin: 14px 0 0;
  color: #c8bbb3;
}

.programme-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-block: 1px solid rgba(255, 255, 255, 0.15);
}

.programme-proof div {
  padding: 36px 24px;
  text-align: center;
}

.programme-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.programme-proof strong {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.programme-proof span {
  display: block;
  margin-top: 7px;
  color: #c8bbb3;
  font-size: 0.9rem;
}

.centered {
  text-align: center;
}

.action-space {
  margin-top: 40px;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.recognition-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.58);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.recognition-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 31, 18, 0.35);
  box-shadow: var(--shadow);
}

.recognition-source {
  margin-bottom: auto;
  color: var(--brown-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recognition-card h3 {
  margin-top: 56px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
}

.recognition-card p {
  color: var(--ink-soft);
}

.recognition-featured {
  background: #e8ded3;
}

.quote-section {
  background: var(--paper-deep);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 80px;
}

.quote-photo img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  object-position: 50% 36%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.quote-grid figure {
  margin: 0;
}

.quote-grid blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.quote-grid figcaption {
  margin-top: 32px;
}

.quote-grid figcaption strong,
.quote-grid figcaption span {
  display: block;
}

.quote-grid figcaption span {
  color: var(--ink-soft);
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: 90px;
  align-items: start;
}

.contact-grid > div > p:not(.section-label) {
  max-width: 560px;
  margin: 24px 0 30px;
  color: var(--ink-soft);
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.87rem;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(32, 28, 25, 0.25);
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--brown-light);
  outline: 2px solid rgba(108, 70, 53, 0.18);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 22px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.consent-row input {
  flex: 0 0 auto;
  margin-top: 5px;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-error {
  color: #8c211f;
}

.form-status.is-success {
  color: #24582e;
}

.site-footer {
  padding: 75px 0 28px;
  color: #ddd1c9;
  background: #19120e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

.footer-grid > div:first-child p {
  max-width: 390px;
  color: #aa9c94;
}

.footer-brand {
  filter: invert(1);
}

.footer-grid h2 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #aa9c94;
  text-decoration: none;
}

.footer-grid > div:not(:first-child) a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 62px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #85776f;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  text-decoration: none;
}

.page-hero {
  padding: 92px 0 76px;
  background: linear-gradient(135deg, #f2eee7, #e9eee5);
}

.page-hero h1 {
  max-width: 1080px;
  font-size: clamp(4rem, 9vw, 7.6rem);
  text-wrap: balance;
}

.page-intro {
  max-width: 810px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.24rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 85px;
  align-items: start;
}

.story-grid img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.story-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.timeline {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--brown-light);
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 6px;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.evidence-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.evidence-card,
.principle-grid article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.evidence-featured {
  border-color: var(--terracotta);
  background: var(--cream);
}

.evidence-card h3,
.principle-grid h3 {
  margin: 8px 0 16px;
  font-size: 1.5rem;
}

.evidence-card > p:not(.recognition-source),
.principle-grid p {
  color: var(--ink-soft);
}

.evidence-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.source-list,
.topic-list {
  display: grid;
  gap: 14px;
}

.source-list a,
.topic-list article {
  display: grid;
  gap: 7px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--paper);
  text-decoration: none;
}

.source-list a:first-child,
.topic-list article:first-child {
  padding-top: 0;
}

.source-list span {
  color: var(--peach);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.source-list strong {
  font-size: 1.18rem;
}

.source-list a:hover strong,
.source-list a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.principle-grid article > span {
  color: var(--terracotta);
  font-weight: 700;
}

.service-card-light {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.service-card-light p {
  color: var(--ink-soft);
}

.topic-list h3 {
  margin: 0 0 6px;
  color: var(--paper);
  font-size: 1.25rem;
}

.topic-list p {
  margin: 0;
  color: rgba(255, 249, 242, 0.76);
}

.legal-page {
  padding: 82px 0 110px;
}

.legal-page h1 {
  font-size: clamp(4rem, 9vw, 7rem);
}

.legal-meta {
  margin: 20px 0 54px;
  color: var(--ink-soft);
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 48px;
  font-family: var(--sans);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.legal-copy li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .quote-grid,
  .contact-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-grid {
    max-width: 820px;
  }

  .hero-media {
    max-width: 700px;
  }

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

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

  .service-card {
    min-height: 250px;
  }

  .card-number {
    margin-bottom: 45px;
  }

  .contact-form {
    max-width: 720px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 20px 30px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 38px rgba(57, 35, 24, 0.13);
  }

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

  .primary-nav > a:not(.button) {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .button {
    margin-top: 18px;
  }

  .hero {
    padding: 65px 0 74px;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 24vw, 6rem);
  }

  .hero-role {
    font-size: 2.2rem;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media img {
    aspect-ratio: 1.35;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 24px;
  }

  .trust-items {
    justify-content: flex-start;
    font-size: 1.1rem;
  }

  .section {
    padding: 78px 0;
  }

  .section h2 {
    font-size: 3rem;
  }

  .programme-proof,
  .recognition-grid,
  .evidence-grid,
  .principle-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .programme-proof div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .recognition-card {
    min-height: 280px;
    padding: 28px;
  }

  .quote-grid blockquote {
    font-size: 2.8rem;
  }

  .contact-form {
    padding: 23px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

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

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