:root {
  --black: #050806;
  --black-2: #0a120d;
  --green: #0f6a42;
  --green-deep: #07462c;
  --green-soft: #dff2e6;
  --gold: #e7c65b;
  --gold-2: #f5df85;
  --cream: #f7f3e8;
  --white: #ffffff;
  --text: #171a18;
  --muted: #687169;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(8, 24, 14, 0.14);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-space { padding: 120px 0; }
.section-dark { color: white; background: var(--black); }
.section-light { background: #fff; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green-soft); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 8, 6, .86);
  backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,.08);
}

.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  min-width: 250px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(231,198,91,.35);
}

.brand span { display: grid; line-height: 1.05; }
.brand strong {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  color: var(--gold-2);
}
.brand small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .72;
}

.nav { display: flex; align-items: center; gap: 30px; color: white; }
.nav > a {
  font-size: 14px;
  font-weight: 600;
  opacity: .82;
  transition: opacity .2s ease, color .2s ease;
}
.nav > a:hover { opacity: 1; color: var(--gold-2); }

.nav-cta {
  border: 1px solid rgba(231,198,91,.5);
  padding: 12px 18px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 23px;
  height: 2px;
  background: white;
  transition: .25s ease;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 35%, rgba(15,106,66,.23), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(231,198,91,.10), transparent 22%),
    linear-gradient(135deg, #040604 0%, #09150d 58%, #030604 100%);
}

.hero::after {
  content:"";
  position:absolute;
  inset:0;
  opacity:.11;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 28%, #000 70%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 70px;
  padding-top: 116px;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-weight: 700;
  color: var(--gold-2);
}
.eyebrow span {
  width: 30px;
  height: 1px;
  background: currentColor;
}
.eyebrow.dark { color: var(--green-deep); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  letter-spacing: -.045em;
  line-height: .98;
}
h1 {
  font-size: clamp(54px, 6.4vw, 96px);
  margin-bottom: 28px;
  max-width: 900px;
}
h2 {
  font-size: clamp(44px, 5.4vw, 74px);
  margin-bottom: 26px;
}
h1 em, h2 em {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-style: italic;
  color: var(--gold-2);
}
.section-light h2 em,
.section-cream h2 em,
.section-green h2 em { color: var(--green); }

.hero-text {
  max-width: 660px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
  color: rgba(255,255,255,.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  color: #172017;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 15px 40px rgba(231,198,91,.18);
}
.btn-ghost {
  border-color: rgba(255,255,255,.22);
  color: white;
}
.btn-ghost:hover { background: rgba(255,255,255,.07); }
.btn-dark { background: var(--black); color: white; }
.btn-full { width: 100%; border: 0; }

.hero-proof {
  display: flex;
  align-items: stretch;
  gap: 26px;
}
.hero-proof div {
  display: grid;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong {
  color: var(--gold-2);
  font-size: 14px;
  letter-spacing: .1em;
}
.hero-proof span { font-size: 13px; color: rgba(255,255,255,.58); }

.hero-visual { position: relative; min-height: 620px; display: grid; place-items: center; }
.logo-stage {
  width: min(100%, 560px);
  aspect-ratio: 1 / 1.14;
  border-radius: 44% 44% 22% 22% / 28% 28% 12% 12%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 50px 120px rgba(0,0,0,.5);
  border: 1px solid rgba(231,198,91,.22);
  background: #000;
}
.logo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.02);
}
.logo-stage::after {
  content:"";
  position:absolute;
  inset:0;
  box-shadow: inset 0 0 80px rgba(0,0,0,.35);
}
.logo-glow {
  position:absolute;
  inset: 12%;
  border-radius:50%;
  background: rgba(231,198,91,.14);
  filter: blur(60px);
}

.floating-card {
  position: absolute;
  z-index: 3;
  max-width: 230px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(18px);
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.floating-card p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.78); }
.card-top { top: 14%; right: -24px; }
.mini-dot {
  width: 9px; height: 9px; display:inline-block; margin-right: 8px;
  border-radius:50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(231,198,91,.12);
}

.scroll-hint {
  position:absolute;
  left:50%;
  bottom: 26px;
  transform:translateX(-50%);
  z-index:3;
  color:rgba(255,255,255,.5);
  display:grid;
  justify-items:center;
  gap:10px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.scroll-hint i {
  width:1px;
  height:40px;
  background:linear-gradient(to bottom, var(--gold), transparent);
  animation: pulseLine 1.8s ease-in-out infinite;
}
@keyframes pulseLine { 0%,100%{transform:scaleY(.5);opacity:.4} 50%{transform:scaleY(1);opacity:1} }

.section-heading { max-width: 760px; margin-bottom: 64px; }
.section-heading > p:last-child,
.split-heading > p,
.about-copy p,
.community-copy > p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.vision-grid {
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.feature-card {
  padding: 38px;
  border-radius: var(--radius);
  border: 1px solid #e8ece8;
  min-height: 360px;
  display:flex;
  flex-direction:column;
  background:white;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform:translateY(-8px); box-shadow:var(--shadow); }
.feature-card.featured { background: var(--green-deep); color:white; border-color:transparent; }
.icon-badge {
  width: 70px; height: 70px;
  display:grid; place-items:center;
  border-radius:50%;
  background: var(--green-soft);
  margin-bottom: 52px;
}
.featured .icon-badge { background: rgba(255,255,255,.12); }
.icon-badge svg { width:32px; fill:none; stroke:var(--green-deep); stroke-width:1.8; }
.featured .icon-badge svg { stroke:var(--gold-2); }
.feature-card h3 { font-size: 30px; margin-bottom:14px; }
.feature-card p { color:var(--muted); line-height:1.75; }
.featured p { color:rgba(255,255,255,.72); }
.feature-card a { margin-top:auto; font-weight:700; color:var(--green); }
.featured a { color:var(--gold-2); }

.split-heading {
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 90px;
  align-items:end;
  margin-bottom: 60px;
}
.split-heading h2 { margin-bottom:0; }
.split-heading > p { margin-bottom:6px; }

.program-grid { display:grid; gap:20px; }
.program-card {
  display:grid;
  grid-template-columns: 160px 1fr;
  background:white;
  border-radius:26px;
  border:1px solid rgba(7,70,44,.09);
  overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease;
}
.program-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.program-number {
  min-height: 340px;
  display:grid;
  place-items:center;
  color: var(--gold-2);
  background:linear-gradient(180deg, var(--green-deep), #082d1d);
  font: 700 34px "Playfair Display", serif;
}
.program-content { padding: 38px 46px; }
.program-kicker {
  margin-bottom:8px;
  color:var(--green);
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.program-content h3 { font-size:34px; margin-bottom:12px; }
.program-content > p { color:var(--muted); line-height:1.7; max-width:760px; }
.program-content ul {
  display:flex; flex-wrap:wrap; gap:8px;
  list-style:none; padding:0; margin:22px 0 28px;
}
.program-content li {
  padding:8px 12px; border-radius:999px; background:#f1f6f2; color:#4b5a50; font-size:13px;
}
.text-link { font-weight:800; color:var(--green-deep); }
.text-link span { margin-left:6px; }

.impact {
  background:
    radial-gradient(circle at 85% 25%, rgba(15,106,66,.28), transparent 30%),
    var(--black);
}
.impact-grid {
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap:80px;
  align-items:center;
}
.impact-copy > p:not(.eyebrow) {
  color:rgba(255,255,255,.68);
  line-height:1.8;
  font-size:18px;
}
.impact-list { margin-top:38px; display:grid; gap:12px; }
.impact-list div {
  display:flex; align-items:center; gap:18px;
  border-top:1px solid var(--line);
  padding:17px 0 4px;
}
.impact-list b { color:var(--gold-2); font-size:12px; letter-spacing:.12em; }
.impact-list span { color:rgba(255,255,255,.82); }

.impact-panel {
  border-radius:32px;
  padding:40px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(231,198,91,.18);
  backdrop-filter:blur(18px);
}
.panel-label {
  color:var(--gold-2);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:12px;
  font-weight:800;
  margin-bottom:34px;
}
.metric { margin-bottom:25px; }
.metric strong { display:block; margin-bottom:10px; font-size:14px; }
.meter { height:7px; border-radius:99px; background:rgba(255,255,255,.1); overflow:hidden; }
.meter span {
  width:0; height:100%; display:block; border-radius:inherit;
  background:linear-gradient(90deg,var(--green),var(--gold));
  transition:width 1.2s cubic-bezier(.2,.8,.2,1);
}
.impact-panel.is-visible .meter span { width:var(--level); }
blockquote {
  margin:36px 0 0;
  padding:28px 0 0;
  border-top:1px solid var(--line);
  color:rgba(255,255,255,.72);
  font:italic 22px/1.5 "Playfair Display", serif;
}

.about-grid {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  align-items:center;
}
.about-art { position:relative; }
.arch {
  border-radius: 260px 260px 32px 32px;
  overflow:hidden;
  aspect-ratio:.85;
  background:#000;
  box-shadow:var(--shadow);
}
.arch img { width:100%; height:100%; object-fit:cover; object-position:center 43%; }
.stamp {
  position:absolute;
  right:-18px; bottom:42px;
  width:112px; height:112px;
  border-radius:50%;
  display:grid; place-items:center;
  color:var(--gold-2);
  background:var(--green-deep);
  border:8px solid white;
  font:700 28px "Playfair Display",serif;
  letter-spacing:-.08em;
}
.stamp span { font-style:italic; }
.about-copy .lead { font-size:21px; color:#2b332d; }
.about-copy .btn { margin-top:18px; }

.community-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:100px;
  align-items:center;
}
.community-list {
  background:white;
  border-radius:30px;
  padding:22px 34px;
  box-shadow:0 20px 60px rgba(7,70,44,.08);
}
.benefit {
  display:flex; align-items:center; gap:17px;
  padding:22px 0;
  border-bottom:1px solid #e9eee9;
}
.benefit:last-child { border-bottom:0; }
.benefit span {
  width:32px; height:32px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--green-soft); color:var(--green-deep); font-weight:900;
}
.benefit p { margin:0; font-weight:600; }

.contact {
  background:
    radial-gradient(circle at 15% 20%, rgba(231,198,91,.09), transparent 25%),
    linear-gradient(135deg, #050806, #0a170f);
}
.contact-grid {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  align-items:start;
}
.contact-copy > p:not(.eyebrow) { color:rgba(255,255,255,.67); font-size:18px; line-height:1.8; }
.contact-note { display:flex; gap:12px; margin-top:30px; color:rgba(255,255,255,.65); }
.contact-note span { color:var(--gold-2); }

.contact-form {
  background:white;
  color:var(--text);
  padding:34px;
  border-radius:30px;
  box-shadow:0 30px 100px rgba(0,0,0,.38);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form label {
  display:grid; gap:9px;
  font-size:13px; font-weight:800;
  margin-bottom:16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width:100%;
  border:1px solid #dfe4df;
  border-radius:14px;
  padding:14px 15px;
  outline:none;
  background:#fbfcfb;
  color:var(--text);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color:var(--green);
  box-shadow:0 0 0 4px rgba(15,106,66,.09);
}
.contact-form textarea { resize:vertical; }
.form-status { margin:14px 0 0; min-height:20px; font-size:13px; color:var(--green-deep); }

.footer { background:#020402; color:white; border-top:1px solid rgba(255,255,255,.08); }
.footer-grid {
  min-height:140px;
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:30px;
  align-items:center;
}
.footer-brand { display:flex; align-items:center; gap:14px; }
.footer-brand img { width:50px; height:50px; border-radius:12px; object-fit:cover; }
.footer-brand div { display:grid; gap:4px; }
.footer-brand strong { color:var(--gold-2); font-family:"Playfair Display",serif; }
.footer-brand span { font-size:11px; letter-spacing:.12em; text-transform:uppercase; opacity:.5; }
.footer-links { display:flex; gap:22px; font-size:13px; color:rgba(255,255,255,.65); }
.footer p { margin:0; color:rgba(255,255,255,.42); font-size:12px; }

.to-top {
  position:fixed;
  z-index:40;
  right:22px;
  bottom:22px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(231,198,91,.35);
  color:var(--gold-2);
  background:rgba(5,8,6,.82);
  backdrop-filter:blur(12px);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:.25s ease;
}
.to-top.show { opacity:1; pointer-events:auto; transform:none; }

.reveal {
  opacity:0;
  transform:translateY(32px);
  transition:opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.reveal-delay { transition-delay:.12s; }
.reveal.is-visible { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation:none !important; transition:none !important; }
  .reveal { opacity:1; transform:none; }
}

@media (max-width: 980px) {
  .section-space { padding:90px 0; }
  .menu-toggle { display:flex; z-index:60; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    min-height: 100vh;
    min-height: 100dvh;
    background:
      radial-gradient(circle at 80% 20%, rgba(15,106,66,.26), transparent 30%),
      rgba(5, 8, 6, .99);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding:
      calc(104px + env(safe-area-inset-top))
      max(22px, env(safe-area-inset-right))
      calc(28px + env(safe-area-inset-bottom))
      max(22px, env(safe-area-inset-left));
    gap: clamp(6px, 1.4vh, 14px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-10px);
    transition:
      opacity .24s ease,
      transform .34s cubic-bezier(.2,.8,.2,1),
      clip-path .34s cubic-bezier(.2,.8,.2,1),
      visibility 0s linear .34s;
  }

  .nav > a {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px clamp(16px, 4vw, 24px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    color: #fff;
    opacity: 1;
    font-size: clamp(18px, 5.2vw, 26px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 650;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav > a::after {
    content: "→";
    flex: 0 0 auto;
    margin-left: 14px;
    color: var(--gold-2);
    font-size: .9em;
    opacity: .8;
  }

  .nav > a:active {
    transform: scale(.985);
    background: rgba(255,255,255,.07);
  }

  .nav > .nav-cta {
    min-height: 60px;
    margin-top: clamp(8px, 2vh, 18px);
    justify-content: center;
    border-color: rgba(231,198,91,.52);
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #172017;
  }

  .nav > .nav-cta::after {
    color: #172017;
  }

  .site-header.menu-active .nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    transition:
      opacity .24s ease,
      transform .34s cubic-bezier(.2,.8,.2,1),
      clip-path .34s cubic-bezier(.2,.8,.2,1),
      visibility 0s;
  }

  .site-header.menu-active .menu-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .site-header.menu-active .menu-toggle span:nth-child(2){ opacity:0; }
  .site-header.menu-active .menu-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  .hero-grid,
  .impact-grid,
  .about-grid,
  .community-grid,
  .contact-grid {
    grid-template-columns:1fr;
    gap:55px;
  }
  .hero-grid { padding-top:140px; }
  .hero-visual { min-height:520px; }
  .logo-stage { width:min(100%,520px); }
  .split-heading { grid-template-columns:1fr; gap:25px; }
  .vision-grid { grid-template-columns:1fr; }
  .feature-card { min-height:unset; }
  .feature-card .icon-badge { margin-bottom:30px; }
  .about-art { max-width:580px; }
  .footer-grid { grid-template-columns:1fr; padding:34px 0; align-items:start; }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(5, 8, 6, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .container { width:min(calc(100% - 28px), var(--container)); }
  .section-space { padding:72px 0; }
  .nav-wrap { height:72px; }
  .brand { min-width:0; }
  .brand img { width:42px; height:42px; }
  .brand small { display:none; }

  .hero-grid { padding-top:112px; padding-bottom:90px; gap:34px; }
  h1 { font-size:clamp(46px, 13vw, 68px); }
  h2 { font-size:clamp(38px, 10vw, 56px); }
  .hero-text { font-size:16px; }
  .hero-actions { display:grid; }
  .btn { width:100%; }
  .hero-proof { gap:12px; }
  .hero-proof div { padding-right:12px; }
  .hero-proof span { font-size:11px; }
  .hero-visual { min-height:430px; }
  .logo-stage { border-radius:34px; aspect-ratio:1/1.05; }
  .floating-card { max-width:190px; padding:14px 16px; }
  .card-top { right:4px; top:6%; }
  .scroll-hint { display:none; }

  .section-heading { margin-bottom:38px; }
  .feature-card { padding:28px; }
  .program-card { grid-template-columns:1fr; }
  .program-number {
    min-height:auto; padding:18px 26px; place-items:start;
    background:var(--green-deep);
  }
  .program-content { padding:28px; }
  .program-content h3 { font-size:28px; }
  .program-content ul { display:grid; }
  .impact-panel { padding:28px; }
  .about-grid { gap:38px; }
  .stamp { width:90px; height:90px; right:-4px; bottom:24px; border-width:6px; }
  .community-list { padding:14px 22px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .contact-form { padding:24px; }
  .footer-links { flex-wrap:wrap; }
}


.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.community-actions { margin-top: 28px; }

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.form-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 3, .76);
  backdrop-filter: blur(12px);
}
.form-modal-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: min(90vh, 860px);
  overflow-y: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(0,0,0,.4);
  padding: 28px;
  transform: translateY(28px) scale(.985);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.form-modal.open .form-modal-dialog { transform: none; }
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #f2f5f2;
  color: #172017;
  font-size: 26px;
  line-height: 1;
}
.modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.modal-brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 15px;
}
.modal-brand div { display: grid; gap: 3px; }
.modal-brand strong { color: var(--green-deep); font-family: "Playfair Display", serif; }
.modal-brand span { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); }
.modal-form-panel { display: none; }
.modal-form-panel.active { display: block; }
.modal-form-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
}
.modal-intro {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.modal-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 15px;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  border: 1px solid #dfe4df;
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  background: #fbfcfb;
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15,106,66,.09);
}
.consent-row {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  font-weight: 500 !important;
  color: var(--muted);
  line-height: 1.45;
}
.consent-row input {
  width: 18px !important;
  height: 18px;
  margin-top: 1px;
}
body.modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .form-modal { padding: 10px; align-items: end; }
  .form-modal-dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
    padding: 22px;
  }
}

/* Responsive hamburger menu refinements */
@media (max-width: 380px) {
  .nav {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .nav > a {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: clamp(17px, 5.3vw, 21px);
  }
}

@media (max-width: 980px) and (max-height: 620px) {
  .nav {
    padding-top: calc(82px + env(safe-area-inset-top));
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    gap: 6px;
  }

  .nav > a {
    min-height: 46px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: clamp(16px, 3.8vw, 20px);
  }

  .nav > .nav-cta {
    min-height: 48px;
    margin-top: 5px;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 8px;
  }

  .nav > .nav-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-header {
    z-index: 80;
  }

  .brand,
  .menu-toggle {
    position: relative;
    z-index: 90;
  }

  .menu-toggle {
    flex: 0 0 44px;
    border-radius: 12px;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--gold-2);
    outline-offset: 3px;
  }
}

.program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.program-card{display:flex;flex-direction:column;min-height:360px}.program-card>p{flex:1}.program-format{margin:16px 0 10px;opacity:.78}.program-price{font-size:1.8rem;color:var(--gold-2);margin-bottom:4px}.program-card small{opacity:.65}.program-details{border:0;background:none;color:var(--gold-2);font:inherit;font-weight:700;text-align:left;padding:20px 0 0;cursor:pointer}.program-dialog{width:min(760px,calc(100% - 28px));max-height:88dvh;padding:0;border:1px solid rgba(255,255,255,.13);border-radius:24px;background:#0b100d;color:#fff}.program-dialog::backdrop{background:rgba(0,0,0,.8);backdrop-filter:blur(6px)}.program-dialog-inner{padding:clamp(24px,5vw,48px);position:relative}.program-dialog-close{position:absolute;right:16px;top:16px;width:42px;height:42px;border-radius:50%;border:1px solid #ffffff25;background:#ffffff0d;color:#fff;font-size:26px}.pd-format{display:inline-block;padding:8px 12px;border:1px solid #ffffff20;border-radius:999px;margin:8px 0 24px}.session-list{display:grid;gap:10px}.session-list article{padding:16px;border:1px solid #ffffff18;border-radius:15px;background:#ffffff08}.session-list strong,.pd-footer strong{color:var(--gold-2)}.session-list p{margin:6px 0 0;opacity:.75}.pd-footer{display:flex;justify-content:space-between;align-items:end;gap:18px;border-top:1px solid #ffffff18;margin-top:24px;padding-top:22px}.pd-footer small,.pd-footer strong{display:block}.pd-footer strong{font-size:1.7rem}@media(max-width:720px){.program-grid{grid-template-columns:1fr}.program-card{min-height:0}.program-dialog{width:100%;max-width:none;max-height:92dvh;margin:auto 0 0;border-radius:24px 24px 0 0}.pd-footer{flex-direction:column;align-items:stretch}.pd-footer .btn{width:100%}}

/* v8 programmes */
.programs .section-heading{max-width:850px;margin-bottom:clamp(32px,6vw,58px)}
.programs .section-heading>p:last-child{max-width:720px}
.program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.4vw,24px)}
.program-card{position:relative;min-height:0;padding:clamp(24px,3.2vw,34px);overflow:hidden;border:1px solid rgba(31,43,35,.10);border-radius:26px;background:radial-gradient(circle at 100% 0%,rgba(222,191,78,.12),transparent 38%),linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,250,247,.98));box-shadow:0 16px 42px rgba(13,20,15,.055);color:#171c18}
.program-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,var(--gold-2),rgba(15,106,66,.65))}
.program-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:25px}
.program-index{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#20251f;color:var(--gold-2);font-size:.82rem;font-weight:800;letter-spacing:.08em}
.program-tag{padding:7px 11px;border:1px solid rgba(32,37,31,.09);border-radius:999px;background:rgba(32,37,31,.045);color:#6b716c;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.program-card h3{margin:0;max-width:92%;color:#161b17;font-size:clamp(1.65rem,3vw,2.2rem);line-height:1.06;letter-spacing:-.035em}
.program-description{flex:none!important;margin:16px 0 26px!important;max-width:38rem;color:#5e655f;font-size:clamp(.98rem,1.4vw,1.08rem);line-height:1.58}
.program-duration{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0 20px;margin-top:auto;border-top:1px solid rgba(28,38,31,.08)}
.program-duration>div{display:grid;gap:2px}.program-duration strong{color:#222923;font-size:1rem}.program-duration>div span{color:#737a74;font-size:.9rem}
.program-bonus{padding:7px 10px;border-radius:10px;background:rgba(218,186,72,.13);color:#76641e;font-size:.78rem;font-weight:700;white-space:nowrap}
.program-details{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 9px 8px 18px;margin-top:0;border:1px solid #20251f;border-radius:16px;background:#20251f;color:#f5df82;font:inherit;font-weight:800;text-align:left;cursor:pointer;transition:.2s}
.program-details:hover{transform:translateY(-2px);background:#151a16;box-shadow:0 12px 24px rgba(12,18,14,.14)}
.program-details:focus-visible{outline:3px solid rgba(221,190,76,.36);outline-offset:3px}
.program-details-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#f0d66d;color:#20251f;font-size:1.12rem}
.program-dialog .pd-format{color:#ebe3c1;background:rgba(229,198,89,.07);border-color:rgba(229,198,89,.2)}
.program-dialog .pd-footer{padding:22px;border:1px solid rgba(229,198,89,.18);border-radius:18px;background:linear-gradient(135deg,rgba(229,198,89,.075),rgba(255,255,255,.025))}
.program-dialog .pd-footer>div>small:first-child{margin-bottom:4px;color:rgba(255,255,255,.62);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}
.program-dialog .pd-footer strong{margin:2px 0 4px;font-size:clamp(1.7rem,4vw,2.25rem)}
@media(max-width:720px){.program-grid{grid-template-columns:1fr;gap:18px}.program-card{padding:24px 20px 20px;border-radius:22px}.program-card h3{max-width:100%;font-size:clamp(1.65rem,7.5vw,2.15rem)}.program-description{margin-bottom:22px!important}.program-duration{align-items:flex-start}.program-details{min-height:56px;border-radius:15px}}
@media(max-width:380px){.program-card{padding:20px 16px 16px}.program-card-top{margin-bottom:20px}.program-tag{font-size:.65rem}.program-duration{flex-direction:column;align-items:stretch}.program-bonus{width:fit-content}}
