/* ============================================================
   MCEL — Maroondah Community Enterprises Ltd
   Design system v2
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --forest:        #336957;
  --forest-deep:   #25513F;
  --forest-soft:   rgba(51, 105, 87, 0.08);
  --forest-mint:   #d8ebe1;
  --olive:         #ACA95E;
  --olive-soft:    rgba(172, 169, 94, 0.18);
  --terracotta:    #945E49;
  --terracotta-soft: rgba(148, 94, 73, 0.10);
  --cream:         #E6E7BF;
  --cream-soft:    #EEEFD0;
  --cream-deep:    #DCDDA7;
  --off-white:     #FAFAFA;
  --paper:         #F6F4E9;

  /* Type */
  --ink:           #1F2A26;
  --ink-2:         #3B4A43;
  --ink-3:         #5C6B63;
  --ink-4:         #8A968F;

  /* Rules & shadows */
  --rule:          rgba(31, 42, 38, 0.10);
  --rule-strong:   rgba(31, 42, 38, 0.18);
  --rule-onForest: rgba(255, 255, 255, 0.16);
  --shadow-card:   0 1px 0 rgba(31, 42, 38, 0.04), 0 12px 32px -16px rgba(31, 42, 38, 0.12);
  --shadow-lift:   0 2px 0 rgba(31, 42, 38, 0.04), 0 24px 48px -20px rgba(31, 42, 38, 0.18);

  /* Layout */
  --container:     1400px;
  --gutter:        clamp(20px, 4vw, 40px);
  --section-y:     clamp(80px, 11vw, 144px);

  /* Type scale */
  --display:  clamp(48px, 6.4vw, 76px);
  --h1:       clamp(40px, 4.8vw, 60px);
  --h2:       clamp(30px, 3.4vw, 44px);
  --h3:       clamp(22px, 2.2vw, 28px);
  --h4:       18px;
  --body-l:   18px;
  --body:     16px;
  --body-s:   14px;
  --tiny:     12px;

  /* Motion */
  --ease:     cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
/* The reset above strips link styling, which is right for nav, buttons and
   cards, but leaves inline links in body copy indistinguishable from plain
   text. Give unclassed links inside a paragraph their affordance back.
   Colour alone is not enough, so they are underlined too. */
p a:not([class]) {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
p a:not([class]):hover { color: var(--forest-deep); }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Body base ---------- */
body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: var(--body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain over everything — adds tactility, not noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.15 0 0 0 0 0.13 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-stretch: 100%;
  color: var(--forest-deep);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display { font-size: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 0.98; }
h1, .h1 { font-size: var(--h1); }
h2, .h2 { font-size: var(--h2); }
h3, .h3 { font-size: var(--h3); line-height: 1.15; letter-spacing: -0.015em; }
h4, .h4 { font-size: var(--h4); line-height: 1.3; letter-spacing: -0.005em; }

em {
  font-family: 'DM Sans', system-ui, sans-serif;
}
h1 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
}

p { margin: 0 0 1em; }
.lede { font-size: var(--body-l); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.body-l { font-size: var(--body-l); line-height: 1.6; }
.small { font-size: var(--body-s); line-height: 1.55; color: var(--ink-3); }

/* Eyebrow — the system's signature label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow.on-dark { color: var(--olive); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}
.section { padding: var(--section-y) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--cream-soft { background: var(--cream-soft); }
.section--forest { background: var(--forest); color: var(--off-white); }
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4 { color: var(--off-white); }
.section--paper { background: var(--paper); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Section header */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 20px; }
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); max-width: none; align-items: end; }
.section-head--split .lede { margin-top: 0; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }

/* Fleuron — section divider with leaf at centre */
.fleuron {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin: clamp(64px, 8vw, 96px) auto;
  max-width: 240px;
  color: var(--olive);
}
.fleuron::before, .fleuron::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, currentColor, transparent);
  opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.btn--primary    { background: var(--forest); color: var(--off-white); }
.btn--primary:hover { background: var(--forest-deep); transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(51, 105, 87, .5); }
.btn--primary.is-awaiting,
.btn--primary:disabled:not(.is-loading) {
  background: #b8c4bd;
  color: rgba(255, 255, 255, 0.95);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 1;
}
.btn--primary.is-awaiting:hover,
.btn--primary:disabled:not(.is-loading):hover {
  background: #b8c4bd;
  transform: none;
  box-shadow: none;
}
.btn.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.btn.is-loading:hover { transform: none; box-shadow: none; }
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
.btn--ghost      { background: transparent; color: var(--forest-deep); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--forest); background: var(--forest-soft); }
.btn--terracotta { background: transparent; color: var(--terracotta); border-color: currentColor; }
.btn--terracotta:hover { background: var(--terracotta); color: var(--off-white); }
.btn--on-dark    { background: var(--cream); color: var(--forest-deep); }
.btn--on-dark:hover { background: var(--off-white); transform: translateY(-1px); }
.btn--text       { padding: 0; background: transparent; border: 0; color: var(--forest-deep); font-weight: 500; }
.btn--text .arrow { transition: transform .25s var(--ease); }
.btn--text:hover .arrow { transform: translateX(4px); }
.btn--lg { padding: 18px 32px; font-size: 16px; }

.arrow { display: inline-block; }
.arrow::after { content: '→'; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-header__logo { display: flex; align-items: center; gap: 12px; }
.site-header__logo img { height: 46px; width: auto; }
.site-header__logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.site-header__logo-text small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; }

.site-nav { display: flex; gap: 6px; }
.site-nav a {
  padding: 11px 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--forest-deep); background: var(--forest-soft); }
.site-nav a.is-current { color: var(--forest-deep); background: var(--forest-mint); font-weight: 600; }

.site-header__cta { display: flex; align-items: center; gap: 12px; }

/* Mobile burger button */
.site-header__burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: 999px;
  margin-left: auto;
}
.site-header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest-deep);
  margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  border-radius: 2px;
}
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown panel */
.mobile-nav {
  display: none;
  padding: 8px 0 20px;
  border-top: 1px solid var(--rule);
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.mobile-nav.is-open { display: block; min-height: calc(100dvh - 79px); background: var(--off-white); }
.mobile-nav .container { display: flex; flex-direction: column; }
.mobile-nav a:not(.btn) {
  padding: 14px 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a:not(.btn).is-current { color: var(--forest-deep); }
.mobile-nav .btn {
  margin-top: 18px;
  text-align: center;
  justify-content: center;
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__burger { display: block; }
}
@media (max-width: 560px) {
  :root { --gutter: 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(60% 50% at 90% 0%, rgba(172,169,94,0.08), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(148,94,73,0.07), transparent 60%);
  pointer-events: none;
}
.site-footer__top {
  padding: clamp(64px, 8vw, 96px) 0 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 3vw, 52px);
  position: relative;
  z-index: 1;
}
.site-footer__brand .logo { height: 56px; width: auto; margin-bottom: 24px; }
.site-footer__tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  max-width: 320px;
  color: var(--off-white);
  letter-spacing: -0.01em;
}
.site-footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(250,250,250,0.78); transition: color .2s var(--ease); font-size: 15px; }
.site-footer a:hover { color: var(--off-white); }
.site-footer__branch p { font-size: 14px; color: rgba(250,250,250,0.72); line-height: 1.55; margin: 0; }
.site-footer__branch strong { color: var(--off-white); font-weight: 500; }
.site-footer__bottom {
  border-top: 1px solid var(--rule-onForest);
  padding: 28px 0 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(250,250,250,0.6);
  position: relative;
  z-index: 1;
}
.site-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__acknowledgement {
  border-top: 1px solid var(--rule-onForest);
  padding: 28px 0;
  font-size: 13.5px;
  color: rgba(250,250,250,0.72);
  line-height: 1.6;
  max-width: 880px;
  position: relative;
  z-index: 1;
}
.site-footer__acknowledgement strong { color: var(--olive); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; display: block; margin-bottom: 6px; }
@media (max-width: 920px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 520px; height: 520px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path fill='%23336957' fill-opacity='0.08' d='M100 10 C140 30 165 60 175 100 C165 140 140 170 100 190 C60 170 35 140 25 100 C35 60 60 30 100 10 Z M100 30 C75 50 55 75 50 100 C55 125 75 150 100 170 C125 150 145 125 150 100 C145 75 125 50 100 30 Z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-grid--text-only { grid-template-columns: 1fr; max-width: 920px; }
.hero__title {
  font-size: var(--display);
  font-weight: 700;
  color: var(--forest-deep);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.hero__title em {
  font-style: normal;
  color: var(--forest);
  font-weight: 500;
}
.hero__lede {
  margin-top: 28px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}
.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__meta {
  margin-top: 56px;
  display: flex; gap: 28px; align-items: center;
  font-size: 13px; color: var(--ink-3);
}
.hero__meta-dot { width: 6px; height: 6px; background: var(--olive); border-radius: 50%; }

.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__caption {
  position: absolute;
  left: 18px; bottom: 18px; right: 18px;
  background: rgba(250,250,250,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.hero__caption strong { color: var(--forest-deep); font-weight: 500; display: block; margin-bottom: 2px; font-family: 'DM Sans', sans-serif; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16/12; }
  .hero::before { width: 280px; height: 280px; right: -80px; top: -60px; }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  background: var(--cream);
  padding: clamp(80px, 9vw, 132px) 0 clamp(64px, 7vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid rgba(31,42,38,0.06);
}
.page-hero__eyebrow { margin-bottom: 20px; }
.page-hero__title { font-size: var(--h1); max-width: 18ch; }
.page-hero__lede { margin-top: 24px; max-width: 60ch; font-size: var(--body-l); color: var(--ink-2); }
/* Our Story: centre the hero in the same reading column as the article body */
.page-story .page-hero .container { max-width: calc(740px + 2 * var(--gutter)); }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--off-white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(48px, 6vw, 80px) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 8px 32px;
  border-left: 1px solid var(--rule);
  position: relative;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 4.2vw, 56px);
  color: var(--terracotta);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.stat__num small { font-size: 0.55em; color: var(--terracotta); font-weight: 500; margin-left: 4px; vertical-align: super; }
.stat__label {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 24ch;
  margin: 0 0 10px;
}
.stat__meta {
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .stat { border-left: 0; padding: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
  .stat:nth-child(-n+2) { border-top: 0; padding-top: 0; }
}

/* ---------- Story preview (homepage) ---------- */
.story-preview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.story-preview__media { position: relative; aspect-ratio: 5/6; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.story-preview__media img { width: 100%; height: 100%; object-fit: cover; }
.story-preview h2 { margin-bottom: 24px; }
.story-preview p { font-size: var(--body-l); color: var(--ink-2); max-width: 50ch; }
.story-preview__cta { margin-top: 28px; }
@media (max-width: 800px) { .story-preview { grid-template-columns: 1fr; } }

/* ---------- Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pillar-card:hover { transform: translateY(-4px); border-color: var(--olive); box-shadow: var(--shadow-card); }
.pillar-card__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--olive);
  text-transform: uppercase;
}
.pillar-card__title { font-size: 22px; line-height: 1.15; }
.pillar-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 0; flex: 1; }
.pillar-card__link {
  margin-top: 8px; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px;
  color: var(--terracotta); display: inline-flex; align-items: center; gap: 6px;
}
.pillar-card__link::after { content: '→'; transition: transform .2s var(--ease); }
.pillar-card:hover .pillar-card__link::after { transform: translateX(3px); }
@media (max-width: 920px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------- Story cards (Community Impact) ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story-card {
  background: var(--off-white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.story-card__media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story-card:hover .story-card__media img { transform: scale(1.04); }
.story-card__tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(250,250,250,0.95);
  color: var(--forest-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.story-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.story-card__meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.story-card h3 { font-size: 22px; line-height: 1.2; }
.story-card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0; flex: 1; }
.story-card__link {
  margin-top: 8px; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px;
  color: var(--terracotta); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.story-card__link::after { content: '→'; transition: transform .2s var(--ease); }
.story-card:hover .story-card__link::after { transform: translateX(3px); }
@media (max-width: 920px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .story-grid { grid-template-columns: 1fr; } }

/* Featured story (large card) */
.story-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.story-feature__media { aspect-ratio: auto; min-height: 360px; position: relative; }
.story-feature__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.story-feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.story-feature__body h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.story-feature__body p { font-size: var(--body-l); color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .story-feature { grid-template-columns: 1fr; } .story-feature__media { min-height: 280px; } }

/* ---------- CTA banner (dark forest) ---------- */
.cta-band {
  background: var(--forest);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172,169,94,0.18), transparent 70%);
  pointer-events: none;
}
.cta-band::before { width: 520px; height: 520px; top: -200px; right: -160px; }
.cta-band::after { width: 380px; height: 380px; bottom: -160px; left: -100px; background: radial-gradient(circle, rgba(148,94,73,0.18), transparent 70%); }
.cta-band__inner {
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: clamp(32px, 5vw, 64px);
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative; z-index: 1;
}
.cta-band h2 { color: var(--off-white); font-size: clamp(34px, 4vw, 52px); line-height: 1.05; max-width: 16ch; letter-spacing: -0.025em; }
.cta-band p { color: rgba(250,250,250,0.78); font-size: var(--body-l); max-width: 44ch; margin: 0; }
.cta-band__actions { display: flex; gap: 14px; align-items: center; }
@media (max-width: 760px) { .cta-band__inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Facilities preview ---------- */
.facilities-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.facility-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.facility-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.facility-card__media { position: relative; min-height: 220px; }
.facility-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facility-card__body { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.facility-card__tag { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); }
.facility-card h3 { font-size: 22px; }
.facility-card p { font-size: 14.5px; color: var(--ink-2); margin: 0; flex: 1; }
.facility-card__link { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px; color: var(--terracotta); margin-top: 8px; }
@media (max-width: 800px) { .facilities-row { grid-template-columns: 1fr; } .facility-card { grid-template-columns: 1fr; } .facility-card__media { aspect-ratio: 16/10; min-height: 0; } }

/* ---------- Long-form article (Our Story) ---------- */
.article {
  max-width: 740px;
  margin: 0 auto;
  font-size: var(--body-l);
  color: var(--ink);
  line-height: 1.65;
}
.article > * + * { margin-top: 24px; }
.article h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 56px; }
.article h3 { font-size: 22px; margin-top: 40px; }
.article p:first-of-type::first-letter {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  float: left;
  font-size: 4.4em;
  line-height: 0.85;
  padding-right: 12px;
  padding-top: 6px;
  color: var(--forest);
}
.article .pullquote {
  margin: 56px 0;
  padding: 0;
  border: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--forest-deep);
  position: relative;
  padding-left: 24px;
}
.article .pullquote::before {
  content: '';
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: var(--terracotta);
}
.article .pullquote cite {
  display: block; margin-top: 14px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.article figure { margin: 56px 0; }
.article figure img { width: 100%; border-radius: 10px; }
.article figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

/* Timeline */
.timeline { display: grid; gap: 0; max-width: 880px; margin: 0 auto; }
.timeline__item {
  display: grid;
  grid-template-columns: 140px 1px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.timeline__item:last-child { border-bottom: 1px solid var(--rule); }
.timeline__year {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: -0.02em;
}
.timeline__line { background: var(--olive); width: 1px; }
.timeline__body h3 { font-size: 20px; margin-bottom: 8px; }
.timeline__body p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (max-width: 600px) {
  .timeline__item { grid-template-columns: 1fr; gap: 12px; }
  .timeline__line { display: none; }
}

/* ---------- Pillars detail page ---------- */
.pillar-deep {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--rule);
}
.pillar-deep:first-of-type { border-top: 0; }
.pillar-deep__num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--terracotta);
  letter-spacing: -0.02em;
  padding-top: 12px;
}
.pillar-deep__head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.pillar-deep__head .lede { font-size: var(--body-l); }
.pillar-deep__head .pillar-tag { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.16em; color: var(--olive); text-transform: uppercase; margin-bottom: 12px; display: block; }
.pillar-deep__body { display: flex; flex-direction: column; gap: 28px; }
.pillar-block h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.pillar-block p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.pillar-block ul { margin: 0; padding-left: 18px; font-size: 15.5px; color: var(--ink-2); }
.pillar-block ul li + li { margin-top: 8px; }
@media (max-width: 800px) {
  .pillar-deep { grid-template-columns: 1fr; }
  .pillar-deep__num { font-size: 20px; padding-top: 0; }
}

/* ---------- Booking widget ---------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 980px) { .booking { grid-template-columns: 1fr; } }

.booking-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.booking-step {
  padding: 18px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  border-right: 1px solid var(--rule);
  position: relative;
  display: flex; align-items: center; gap: 10px;
}
.booking-step:last-child { border-right: 0; }
.booking-step__num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--rule-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  color: var(--ink-3);
}
.booking-step.is-active { color: var(--forest-deep); background: var(--off-white); }
.booking-step.is-active .booking-step__num { background: var(--forest); color: var(--off-white); border-color: var(--forest); }
.booking-step.is-done .booking-step__num { background: var(--olive); border-color: var(--olive); color: var(--off-white); }

/* Mobile: collapse steps to numbered circles, only the active step shows its label */
@media (max-width: 600px) {
  .booking-steps { display: flex; }
  .booking-step { flex: 0 0 auto; padding: 14px 12px; justify-content: center; font-size: 12.5px; }
  .booking-step__label { display: none; }
  .booking-step.is-active { flex: 1 1 auto; }
  .booking-step.is-active .booking-step__label { display: inline; }
}

.booking-body { padding: clamp(24px, 4vw, 40px); }
.booking-panel { display: none; }
.booking-panel.is-active { display: block; }
.booking-panel h3 { font-size: 22px; margin-bottom: 8px; }
.booking-panel > p.lede { margin: 0 0 24px; font-size: 15.5px; color: var(--ink-2); max-width: 56ch; }

/* Step 1 — asset cards */
.asset-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .asset-grid { grid-template-columns: 1fr; } }
.asset-grid__status {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--ink-3);
}
.asset-card--skeleton {
  pointer-events: none;
  cursor: default;
}
.asset-card--skeleton:hover { transform: none; border-color: var(--rule-strong); }
.asset-skel {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cream-soft) 0%, var(--off-white) 50%, var(--cream-soft) 100%);
  background-size: 200% 100%;
  animation: asset-skel-shimmer 1.4s linear infinite;
}
@keyframes asset-skel-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
.asset-skel--tag { width: 56px; height: 12px; margin-bottom: 14px; }
.asset-skel--title { width: 72%; height: 20px; margin-bottom: 12px; }
.asset-skel--meta { width: 100%; height: 13px; margin-bottom: 8px; }
.asset-skel--meta-short { width: 85%; margin-bottom: 16px; }
.asset-skel--price { width: 60%; height: 13px; }
.asset-card {
  background: var(--off-white);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.asset-card:hover { border-color: var(--olive); transform: translateY(-2px); }
.asset-card.is-selected { border-color: var(--forest); background: var(--cream-soft); }
.asset-card__tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; font-family: 'DM Sans', sans-serif; }
.asset-card__name { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 500; color: var(--forest-deep); margin-bottom: 8px; line-height: 1.2; }
.asset-card__meta { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.asset-card__price { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--ink-2); }
.asset-card__price strong { color: var(--forest-deep); font-weight: 500; }

/* Step 2 — calendar */
.cal {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 18px;
}
.cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.cal__title { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 16px; color: var(--forest-deep); }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--rule-strong);
  color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cal__nav button:hover { background: var(--forest-soft); color: var(--forest); }
.cal__grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
}
.cal__dow {
  text-align: center; font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-4); padding: 8px 0; text-transform: uppercase;
}
.cal__day {
  aspect-ratio: 1; min-height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-2); border-radius: 8px;
  background: transparent; border: 0;
  transition: background .15s var(--ease), color .15s var(--ease);
  position: relative;
}
.cal__day:hover:not(:disabled) { background: var(--cream-soft); color: var(--forest-deep); }
.cal__day:disabled { color: var(--ink-4); opacity: 0.4; cursor: not-allowed; }
.cal__day.is-other { color: var(--ink-4); opacity: 0.45; }
.cal__day.is-today { font-weight: 500; color: var(--terracotta); }
.cal__day.is-today:disabled { color: var(--ink-4); font-weight: 500; }
.cal__day.is-booked-out:disabled {
  background: var(--cream-soft);
  color: var(--ink-4);
  opacity: 0.62;
}
.cal__day.is-blackout:disabled {
  background: var(--cream-soft);
  color: var(--ink-4);
  opacity: 0.55;
}
.cal__day.is-past:disabled { opacity: 0.32; }
.cal__day.is-selected { background: var(--forest); color: var(--off-white); }
.cal__day.has-dot::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--olive);
}
@media (max-width: 560px) {
  .cal { padding: 12px; }
  .cal__grid { gap: 3px; }
  .cal__day { min-height: 38px; font-size: 13.5px; }
  .cal__dow { font-size: 10px; padding: 6px 0; }
  .cal__legend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; font-size: 11.5px; }
  .cal__legend-item { white-space: nowrap; }
}
.cal__legend { display: flex; gap: 18px; margin-top: 16px; font-size: 12px; color: var(--ink-3); }
.cal__legend-item { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend-swatch { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.cal__legend-swatch.is-booked { background: var(--ink-4); opacity: 0.4; }
.cal__legend-swatch.is-fully-booked {
  background: var(--cream-soft);
  border: 1px solid var(--rule-strong);
  opacity: 1;
}

/* Step 3 — time slots */
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 720px) { .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* A lone slot (e.g. a single full-day option) spans the full width */
.slot-grid .slot:only-child { grid-column: 1 / -1; }
.slot {
  background: var(--off-white);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.slot:hover:not(:disabled) { border-color: var(--forest); }
.slot.is-selected { background: var(--forest); color: var(--off-white); border-color: var(--forest); }
.slot:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* Step 4 — form */
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .bk-form { grid-template-columns: 1fr; } }
.bk-field { display: flex; flex-direction: column; gap: 6px; }
.bk-field.is-wide { grid-column: 1/-1; }
.bk-field label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-family: 'DM Sans', sans-serif; }
.bk-field input, .bk-field textarea, .bk-field select {
  background: var(--off-white);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.bk-field input:focus, .bk-field textarea:focus, .bk-field select:focus {
  outline: 0; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(51,105,87,0.10);
}
.bk-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; grid-column: 1/-1; }
.bk-checkbox input { margin-top: 4px; accent-color: var(--forest); }
.bk-checkbox .bk-terms-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-color: rgba(148,94,73,0.3);
  text-underline-offset: 3px;
  cursor: pointer;
}
.bk-checkbox .bk-terms-link:hover { color: var(--forest-deep); }

.bk-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bk-terms-modal[hidden] { display: none; }
.bk-terms-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 32, 28, 0.55);
}
.bk-terms-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(85vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(26, 32, 28, 0.22);
  border: 1px solid var(--rule);
}
.bk-terms-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid var(--rule);
}
.bk-terms-modal__head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  color: var(--forest-deep);
}
.bk-terms-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--off-white);
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.bk-terms-modal__close:hover { background: var(--cream); color: var(--ink); }
.bk-terms-modal__body {
  padding: 16px 22px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.bk-terms-modal__section { margin-bottom: 20px; }
.bk-terms-modal__section:last-child { margin-bottom: 0; }
.bk-terms-modal__section h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--forest-deep);
}
.bk-terms-modal__section p { margin: 0 0 10px; }
.bk-terms-modal__section ul { margin: 0; padding-left: 1.2em; }
.bk-terms-modal__custom {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.bk-terms-modal__custom h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--terracotta);
}
.bk-terms-modal__custom-body {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.booking-actions { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.booking-actions[hidden] { display: none; }
@media (max-width: 600px) {
  .booking-actions { flex-direction: column-reverse; }
  .booking-actions > span:empty { display: none; }
  .booking-actions .btn { width: 100%; }
}
.booking-success {
  text-align: center; padding: clamp(40px, 6vw, 64px) 24px;
}
.booking-success__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream); margin: 0 auto 20px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--forest);
  font-size: 28px; font-family: 'DM Sans', sans-serif;
}
.booking-success h3 { font-size: 28px; margin-bottom: 12px; }
.booking-success p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 24px; }

/* Booking sidebar summary */
.booking-summary {
  background: var(--forest);
  color: var(--off-white);
  border-radius: 14px;
  padding: 28px;
  position: sticky;
  top: 96px;
}
.booking-summary h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 18px;
}
.booking-summary__row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule-onForest); font-size: 14px; gap: 12px; }
.booking-summary__row:last-of-type { border-bottom: 0; }
.booking-summary__row dt { color: rgba(250,250,250,0.66); }
.booking-summary__row dd { margin: 0; text-align: right; color: var(--off-white); font-family: 'DM Sans', sans-serif; font-weight: 500; max-width: 60%; }
.booking-summary__empty { color: rgba(250,250,250,0.55); font-style: italic; font-size: 14px; padding: 8px 0 16px; }
.booking-summary__note { font-size: 12.5px; color: rgba(250,250,250,0.66); line-height: 1.5; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule-onForest); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 44px);
}
.contact-form-card h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 10px; }
.contact-form-card p.lede { margin-bottom: 28px; }
.contact-form-success {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: clamp(24px, 4vw, 48px) 8px;
}
.contact-form-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--forest-mint); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.contact-form-success__icon svg { width: 30px; height: 30px; }
.contact-form-success h3 { font-size: clamp(24px, 2.6vw, 30px); color: var(--forest-deep); margin: 0; }
.contact-form-success p { color: var(--ink-2); font-size: 16px; line-height: 1.55; margin: 0; max-width: 38ch; }
.contact-info-list { display: grid; gap: 22px; }
.contact-info-card { padding: 24px 0; border-top: 1px solid var(--rule); }
.contact-info-card:first-child { border-top: 0; padding-top: 0; }
.contact-info-card h4 { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); margin-bottom: 10px; }
.contact-info-card .value { font-family: 'DM Sans', sans-serif; font-size: 18px; color: var(--forest-deep); }
.contact-info-card .small { margin-top: 6px; }

.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .branch-grid { grid-template-columns: 1fr; } }
.branch-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 200px auto;
}
.branch-card__map {
  position: relative;
  background: linear-gradient(135deg, #DCDDA7 0%, #C7C893 100%);
  overflow: hidden;
}
.branch-card__map::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(31,42,38,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,42,38,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.branch-card__map::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 60%, rgba(255,255,255,0.5), transparent 40%),
                    radial-gradient(circle at 70% 30%, rgba(148,94,73,0.18), transparent 50%);
}
.branch-card__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  width: 28px; height: 28px;
  background: var(--terracotta);
  border-radius: 50% 50% 50% 0;
  transform-origin: 50% 100%;
  rotate: -45deg;
  box-shadow: 0 6px 16px rgba(148,94,73,0.4);
  z-index: 1;
}
.branch-card__pin::after {
  content: '';
  position: absolute;
  left: 50%; top: 40%; transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: var(--off-white);
  border-radius: 50%;
}
.branch-card__body { padding: 24px 28px 28px; }
.branch-card h3 { font-size: 22px; margin-bottom: 8px; }
.branch-card__rows { margin-top: 18px; }
.branch-card__row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 8px 0; font-size: 14px; border-top: 1px solid var(--rule); }
.branch-card__row:first-child { border-top: 0; }
.branch-card__row dt { color: var(--ink-3); font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 1px; }
.branch-card__row dd { margin: 0; color: var(--ink); }
.branch-card__row.is-closed dd { color: var(--ink-4); }

/* ---------- Legal pages ---------- */
.legal {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 6vw, 80px);
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 800px) { .legal { grid-template-columns: 1fr; } }
.legal__toc {
  position: sticky; top: 96px; align-self: start;
  border-left: 1px solid var(--rule);
  padding-left: 20px;
}
.legal__toc h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}
.legal__toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.legal__toc a { color: var(--ink-2); }
.legal__toc a:hover { color: var(--forest); }
.legal__body { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 70ch; }
.legal__body h2 { margin-top: 48px; margin-bottom: 16px; font-size: 24px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body ul { margin: 0 0 16px; }
.legal__body ul { padding-left: 20px; }
.legal__body strong { color: var(--ink); font-weight: 500; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--rule); }
.accordion__item { border-bottom: 1px solid var(--rule); }
.accordion__btn {
  width: 100%; background: transparent; border: 0;
  padding: 26px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 22px;
  color: var(--forest-deep); text-align: left; letter-spacing: -0.01em;
}
.accordion__btn::after {
  content: '+'; font-family: 'DM Sans', sans-serif; font-size: 24px; color: var(--terracotta);
  transition: transform .2s var(--ease);
}
.accordion__item.is-open .accordion__btn::after { content: '–'; }
.accordion__panel {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}
.accordion__panel-inner { padding: 0 0 28px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.accordion__panel-inner p { max-width: 70ch; }
.accordion__item.is-open .accordion__panel { max-height: 1600px; }
.accordion__list { columns: 3; column-gap: 40px; }
.accordion__list li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 800px) { .accordion__list { columns: 2; } }
@media (max-width: 520px) { .accordion__list { columns: 1; } }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: var(--off-white); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.divider { border-top: 1px solid var(--rule); margin: 64px 0; }
.eyebrow-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- Video feature (highlight) ---------- */
.video-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--forest-deep);
  box-shadow: var(--shadow-lift);
}
.video-feature__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.video-feature:hover .video-feature__poster { transform: scale(1.03); }
.video-feature__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,42,38,0.62), rgba(31,42,38,0.08) 45%, rgba(31,42,38,0.28));
  transition: opacity .4s var(--ease);
}
.video-feature__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(72px, 8vw, 92px); height: clamp(72px, 8vw, 92px);
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.95);
  color: var(--forest-deep);
  display: flex; align-items: center; justify-content: center;
  border: 0;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.video-feature__play svg { width: 34%; height: 34%; margin-left: 8%; }
.video-feature:hover .video-feature__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-feature__caption {
  position: absolute;
  left: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: opacity .4s var(--ease);
}
.video-feature__caption .pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(31, 42, 38, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: -0.005em;
}
.video-feature__caption .pill svg { width: 13px; height: 13px; }
.video-feature__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-feature.is-playing .video-feature__poster,
.video-feature.is-playing .video-feature__overlay,
.video-feature.is-playing .video-feature__play,
.video-feature.is-playing .video-feature__caption { opacity: 0; pointer-events: none; }

/* Video wrapped as a card (media on top, copy below) */
.video-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.video-card .video-feature {
  border-radius: 0;
  box-shadow: none;
}
.video-card__body { padding: clamp(28px, 4vw, 44px); }
.video-card__body h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.video-card__body p {
  color: var(--ink-2);
  font-size: var(--body-l);
  line-height: 1.65;
  margin: 16px 0 0;
}

/* Portrait (vertical 9:16) video — sits beside the copy */
.video-card--portrait { display: grid; grid-template-columns: clamp(260px, 34%, 360px) 1fr; align-items: stretch; }
.video-card--portrait .video-feature { aspect-ratio: 9 / 16; }
.video-card--portrait .video-card__body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 720px) {
  .video-card--portrait { grid-template-columns: 1fr; }
  .video-card--portrait .video-feature { width: 100%; max-width: 320px; margin: 0 auto; }
}
/* ---------- Header: About dropdown (desktop) ---------- */
.site-nav__group { position: relative; }
.site-nav__trigger {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 11px 18px;
  background: transparent; border: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav__trigger:hover { color: var(--forest-deep); background: var(--forest-soft); }
.site-nav__trigger.is-current { color: var(--forest-deep); background: var(--forest-mint); font-weight: 600; }
.site-nav__caret { width: 10px; height: 6px; transition: transform .25s var(--ease); }
.site-nav__group:hover .site-nav__caret,
.site-nav__group.is-open .site-nav__caret { transform: rotate(180deg); }

.site-nav__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: rgba(250, 250, 250, 0.98);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
  padding: 8px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 60;
}
/* hover bridge so the gap below the trigger doesn't drop the menu */
.site-nav__menu::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.site-nav__group:hover .site-nav__menu,
.site-nav__group:focus-within .site-nav__menu,
.site-nav__group.is-open .site-nav__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-nav__menu a {
  padding: 11px 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav__menu a:hover { color: var(--forest-deep); background: var(--forest-soft); }
.site-nav__menu a.is-current { color: var(--forest-deep); background: var(--forest-mint); font-weight: 600; }

/* ---------- Mobile nav: About accordion ---------- */
.mobile-nav__group { border-bottom: 1px solid var(--rule); }
.mobile-nav__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0;
  padding: 14px 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink-2);
}
.mobile-nav__trigger.is-current { color: var(--forest-deep); }
.mobile-nav__caret { width: 12px; height: 8px; transition: transform .25s var(--ease); }
.mobile-nav__trigger[aria-expanded="true"] .mobile-nav__caret { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0 0 8px 16px; }
.mobile-nav__sub.is-open { display: grid; }
.mobile-nav__sub a:not(.btn) {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav__sub a:not(.btn):last-child { border-bottom: 0; }
.mobile-nav__sub a:not(.btn).is-current { color: var(--forest-deep); }

/* ---------- Team / Our people ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 36px); }
@media (max-width: 920px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.team-card__media { aspect-ratio: 3/4; overflow: hidden; position: relative; background: var(--forest-soft); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.team-card:hover .team-card__media img { transform: scale(1.04); }
.team-card__media-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest); opacity: 0.5;
}
.team-card__media-fallback svg { width: 64px; height: 64px; }
.team-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; }
.team-card__role { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); margin-bottom: 6px; }
.team-card__name { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 20px; color: var(--forest-deep); letter-spacing: -0.01em; }
.team-card__bio { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 10px 0 0; }

/* ---------- Document / report list (Investor centre) ---------- */
.doc-list { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--rule); }
.doc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--rule);
}
.doc-item__meta { display: flex; flex-direction: column; gap: 4px; }
.doc-item__year { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }
.doc-item__title { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 18px; color: var(--forest-deep); }
.doc-item__link { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px; color: var(--terracotta); white-space: nowrap; }
.doc-item__link svg { width: 16px; height: 16px; }
.doc-item__link:hover { color: var(--terracotta); text-decoration: underline; }
@media (max-width: 560px) { .doc-item { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* File rows — whole row is the download link (annual reports, statements) */
/* .doc-item sets display:flex, which would otherwise beat the UA [hidden] rule */
.doc-item[hidden] { display: none; }
.doc-item--file { text-decoration: none; transition: background-color 140ms ease; }
.doc-item--file:hover { background-color: var(--forest-soft); }
.doc-item--file:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; }
.doc-item__label { display: flex; align-items: center; gap: 16px; min-width: 0; }
.doc-item__icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--terracotta); }
.doc-item__name {
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 18px;
  color: var(--forest-deep); line-height: 1.35;
}
.doc-item--file:hover .doc-item__name { text-decoration: underline; }
.doc-item__size {
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink-3);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.doc-list__more { max-width: 860px; margin: 0; padding-top: 24px; text-align: center; }
.doc-more {
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 16px;
  color: var(--terracotta); background: none; border: 0; padding: 6px 10px;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.doc-more:hover { color: var(--forest-deep); }
/* Keep file rows side-by-side on mobile; the title wraps, the size stays right */
@media (max-width: 560px) {
  .doc-item--file { flex-direction: row; align-items: center; gap: 16px; }
  .doc-item__label { gap: 12px; }
  .doc-item__name { font-size: 16px; }
  .doc-item__size { font-size: 13px; }
}
