/* =====================================================================
   Green Pacer Sdn Bhd — website prototype
   Built to the Greenpacer Website Engineering Brief (28 Oct 2026).
   Dynamic, modern, green, semi-corporate. Sized for readers over 50:
   20–22px body, 20px navigation and controls, 56px buttons.
   ===================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Colour: greens from the Green Pacer logo, warm neutral backgrounds */
  --forest-900: #0D3123;   /* darkest: footer, dark bands */
  --forest-800: #123F2D;
  --forest-700: #19543E;   /* primary controls, headings accent */
  --forest-600: #1F6A4C;
  --logo-dark:  #016737;   /* logo G */
  --logo-green: #00A131;   /* logo P: graphics and large accents only */
  --fresh:      #7BD389;   /* fresh accent on dark backgrounds */
  --mint:       #E6F2E9;   /* calm surface */
  --mint-2:     #F1F7F2;
  --warm:       #F8F8F3;   /* page background */
  --white:      #FFFFFF;
  --ink:        #1C2A24;   /* body text */
  --muted:      #46564F;   /* secondary text, 7.6:1 on warm */
  --line:       #D5E2D9;
  --line-dark:  rgba(255,255,255,.18);
  --amber-bg:   #FFF1CC;   /* form destinations, verified badges */
  --amber-ink:  #5A4100;
  --amber-line: #C9982B;
  --error:      #A7261B;

  /* Type: rem-based so user text enlargement is preserved */
  --font: "Inter", Arial, Helvetica, sans-serif;
  --fs-body: clamp(1.25rem, 1.18rem + .25vw, 1.375rem);   /* 20 → 22 */
  --fs-small: 1.125rem;                                     /* 18 minimum */
  --fs-ui: 1.25rem;                                         /* 20: nav, buttons, labels */
  --fs-h1: clamp(2.25rem, 1.2rem + 3.9vw, 4.5rem);          /* 36 → 72 */
  --fs-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.75rem);        /* 28 → 44 */
  --fs-h3: clamp(1.375rem, 1.25rem + .5vw, 1.625rem);       /* 22 → 26 */
  --fs-page: clamp(2.125rem, 1.3rem + 3vw, 3.75rem);        /* inner page titles */

  --max: 1280px;
  --read: 68ch;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --header: 88px;
  --r-sm: 10px; --r: 14px; --r-lg: 22px;
  --shadow: 0 18px 40px -26px rgba(13,49,35,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  color: var(--ink); background: var(--warm); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--forest-900); font-weight: 650; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.028em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-body); line-height: 1.4; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--forest-700); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--forest-900); text-decoration-color: var(--logo-green); }
:focus-visible { outline: 3px solid var(--logo-green); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--fresh); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -200px; z-index: 200; background: var(--white); color: var(--forest-900); padding: 14px 20px; border-radius: var(--r-sm); font-weight: 600; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: var(--read); }
.lead { font-size: clamp(1.375rem, 1.25rem + .45vw, 1.625rem); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); line-height: 1.55; }
.center { text-align: center; }

/* ---------- Surfaces ---------- */
.section { padding: var(--section) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.surface { background: var(--mint); }
.surface-2 { background: var(--mint-2); }
.white { background: var(--white); }
.on-dark { background: var(--forest-900); color: #E3EEE7; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--fresh); }
.on-dark a:not(.btn):hover { color: var(--white); }
.on-dark .muted { color: #B9CDC1; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--forest-700); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--logo-green), var(--fresh)); }
.on-dark .eyebrow, .hero .eyebrow { color: var(--fresh); }

.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head p { margin: 0; color: var(--muted); }
.on-dark .head p { color: #C3D6CA; }
.head.solo { grid-template-columns: 1fr; }
.head.solo p { max-width: var(--read); }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 12px 28px; font: 600 var(--fs-ui)/1.2 var(--font);
  border-radius: 12px; border: 2px solid transparent; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--forest-700); color: var(--white); }
.btn-primary:hover { background: var(--forest-900); color: var(--white); box-shadow: 0 10px 24px -14px rgba(13,49,35,.8); }
.btn-secondary { background: transparent; color: var(--forest-700); border-color: var(--forest-700); }
.btn-secondary:hover { background: var(--forest-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest-900); }
.btn-light:hover { background: var(--mint); color: var(--forest-900); }
.btn-ghost-light { background: rgba(13,49,35,.25); color: var(--white); border-color: rgba(255,255,255,.75); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: var(--white); color: var(--forest-900); border-color: var(--white); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .arrow { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow::after { content: ""; width: 10px; height: 10px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(150%); } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link, .nav-item > details > summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px;
  font: 550 var(--fs-ui)/1.2 var(--font); color: var(--ink); text-decoration: none; border-radius: var(--r-sm);
  cursor: pointer; list-style: none; white-space: nowrap;
}
.nav-item > details > summary::-webkit-details-marker { display: none; }
.nav-link:hover, .nav-item > details > summary:hover, .nav-item > details[open] > summary { background: var(--mint); color: var(--forest-900); }
.nav-link[aria-current="page"], .nav-item.is-current > details > summary { color: var(--forest-700); box-shadow: inset 0 -3px 0 var(--logo-green); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.caret { width: 12px; height: 8px; flex: none; transition: transform .2s ease; }
details[open] > summary .caret { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 340px; padding: 10px;
  background: var(--white); border-radius: var(--r); box-shadow: 0 28px 60px -28px rgba(13,49,35,.45), 0 0 0 1px var(--line);
}
.menu a { display: block; padding: 12px 16px; border-radius: var(--r-sm); text-decoration: none; color: var(--forest-900); font-size: var(--fs-ui); font-weight: 550; line-height: 1.3; }
.menu a span { display: block; margin-top: 3px; font-size: var(--fs-small); font-weight: 400; color: var(--muted); }
.menu a:hover, .menu a:focus-visible { background: var(--mint); }
.menu a[aria-current="page"] { background: var(--mint-2); box-shadow: inset 3px 0 0 var(--logo-green); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { white-space: nowrap; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; font: 600 var(--fs-ui) var(--font); color: var(--forest-900); background: var(--mint); border: 2px solid var(--forest-700); border-radius: 12px; cursor: pointer; }
.menu-toggle .bars { width: 22px; height: 14px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars i { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars i { top: 6px; } .menu-toggle .bars::after { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars i { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1360px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header)); overflow-y: auto;
         flex-direction: column; align-items: stretch; gap: 4px; padding: 12px var(--gutter) 28px; background: var(--white); box-shadow: 0 24px 40px -24px rgba(13,49,35,.4), 0 1px 0 var(--line) inset; }
  .nav.is-open { display: flex; }
  .nav-link, .nav-item > details > summary { width: 100%; justify-content: space-between; min-height: 56px; padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link[aria-current="page"], .nav-item.is-current > details > summary { box-shadow: inset 4px 0 0 var(--logo-green); padding-left: 16px; }
  .menu { position: static; min-width: 0; box-shadow: none; padding: 6px 0 12px 12px; border-radius: 0; }
  .menu a span { display: none; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 520px) { .brand img { height: 38px; } :root { --header: 76px; } .menu-toggle { padding: 8px 14px; } }

/* ---------- Energy-flow motif ---------- */
.flow { position: absolute; pointer-events: none; }
.flow path { fill: none; stroke-linecap: round; }
.flow .track { stroke: rgba(123,211,137,.28); stroke-width: 2; }
.flow .pulse { stroke: var(--fresh); stroke-width: 3; stroke-dasharray: 2 26; }
@media (prefers-reduced-motion: no-preference) {
  .flow .pulse { animation: flow 2.8s linear infinite; }
  .flow .pulse.slow { animation-duration: 4.2s; }
}
@keyframes flow { to { stroke-dashoffset: -112; } }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #EAF3ED; background: var(--forest-900); }
.hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,49,35,.97) 0%, rgba(13,49,35,.9) 36%, rgba(13,49,35,.55) 64%, rgba(13,49,35,.25) 100%),
              linear-gradient(0deg, rgba(13,49,35,.9) 0%, rgba(13,49,35,0) 40%); }
.hero > .wrap { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100svh - var(--header)), 820px); padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(140px, 14vw, 190px); }
.hero-company { display: inline-flex; align-items: center; gap: 14px; font-size: var(--fs-ui); font-weight: 650; color: var(--white); margin-bottom: 22px; letter-spacing: .01em; }
.hero-company img { height: 44px; width: auto; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { color: #E3EEE7; max-width: 36rem; margin: 26px 0 38px; }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; }
.hero-strip ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; padding-bottom: clamp(28px, 4vw, 44px); }
.hero-strip li { position: relative; padding-top: 34px; font-size: var(--fs-ui); font-weight: 600; color: var(--white); }
.hero-strip li::before { content: ""; position: absolute; top: 8px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--forest-900); border: 3px solid var(--fresh); box-shadow: 0 0 0 6px rgba(123,211,137,.16); }
.hero-strip .flow { left: 0; right: 0; top: 16px; height: 4px; width: 100%; overflow: visible; }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(0deg, rgba(13,49,35,.96) 25%, rgba(13,49,35,.78) 70%, rgba(13,49,35,.6) 100%); }
  .hero > .wrap { min-height: 0; padding-bottom: 40px; }
  .hero-strip { position: relative; }
  .hero-strip ol { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .hero-strip li { padding: 6px 0 14px; }
  .hero-strip li::before { left: -34px; top: 9px; }
  .hero-strip .flow { display: none; }
  .hero-strip ol::before { content: ""; position: absolute; left: 8px; top: 16px; bottom: 32px; width: 2px; background: rgba(123,211,137,.4); }
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-900); color: #E3EEE7; }
.page-hero .wrap { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); position: relative; }
.page-hero h1 { font-size: var(--fs-page); color: var(--white); max-width: 20ch; }
.page-hero .lead { color: #DCEAE1; max-width: 44rem; margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero.has-media .hero-media img { object-position: center; }
.page-hero.has-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,49,35,.96) 0%, rgba(13,49,35,.88) 45%, rgba(13,49,35,.45) 100%); }
@media (max-width: 760px) { .page-hero.has-media::after { background: rgba(13,49,35,.86); } }
.page-hero .flow { right: -40px; bottom: 18px; width: min(560px, 60%); height: 120px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; font-size: var(--fs-small); margin-bottom: 22px; color: #BFD3C6; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: rgba(255,255,255,.4); }
.crumbs a { color: #D7E8DD; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 16px; }
a.card { text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #B7CEBF; }
a.card:hover h3 { color: var(--forest-700); }
.card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--mint); color: var(--forest-700); display: grid; place-items: center; margin-bottom: 20px; }
.card .icon svg { width: 30px; height: 30px; }

/* Service pillars */
.pillar { padding: 0; overflow: hidden; }
.pillar .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint); }
.pillar .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.pillar:hover .ph img { transform: scale(1.04); }
.pillar .body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; flex: 1; }
.pillar .num { font-size: var(--fs-small); font-weight: 650; color: var(--logo-dark); margin-bottom: 8px; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 6px 0 4px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%2319543E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.on-dark .ticks li { color: #E3EEE7; }
.on-dark .ticks li::before { background-color: rgba(123,211,137,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%237BD389' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Facts */
.facts-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.fact b { display: block; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--forest-700); font-weight: 700; margin-bottom: 8px; }
.fact span { display: block; font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
@media (max-width: 1060px) { .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts-row { grid-template-columns: 1fr; } }

/* Logo wall */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logo-wall li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); display: grid; place-items: center; height: 110px; padding: 16px 20px; }
.logo-wall img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 1060px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-wall li { height: 96px; } }
.logo-group + .logo-group { margin-top: 56px; }
.logo-group h3 { margin-bottom: 8px; }
.logo-group > p { color: var(--muted); margin-bottom: 22px; }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mint); position: relative; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.split .ph.tall { aspect-ratio: 4 / 5; }
.split .caption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }

/* People */
.people { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.person .ph { aspect-ratio: 4 / 4.2; background: linear-gradient(180deg, #F2F6F3, #DDE8E1); overflow: hidden; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.person .body { padding: 22px 24px 26px; }
.person h3 { font-size: 1.375rem; }
.person .role { color: var(--forest-700); font-weight: 600; margin: 4px 0 10px; font-size: var(--fs-small); }
.person p { color: var(--muted); font-size: var(--fs-small); }
.person.lead-person { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.person.lead-person .ph { aspect-ratio: auto; min-height: 420px; }
.person.lead-person .body { padding: clamp(28px, 4vw, 56px); align-self: center; }
.person.lead-person h3 { font-size: var(--fs-h2); }
.person.lead-person p { font-size: var(--fs-body); }
@media (max-width: 1060px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } .person.lead-person { grid-column: span 2; } }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; } .person.lead-person { grid-column: auto; grid-template-columns: 1fr; } .person.lead-person .ph { min-height: 0; aspect-ratio: 4 / 4.2; } }
.people-strip { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.people-strip .ph { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, #F2F6F3, #DDE8E1); margin-bottom: 14px; }
.people-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.people-strip strong { display: block; font-size: var(--fs-small); line-height: 1.35; color: var(--forest-900); }
.people-strip span { display: block; font-size: var(--fs-small); color: var(--muted); line-height: 1.4; margin-top: 4px; }
@media (max-width: 1060px) { .people-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sessions (training) */
.sessions { list-style: none; display: grid; gap: 16px; }
.session { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.date-tile { background: var(--mint); border-radius: var(--r-sm); padding: 14px 12px; text-align: center; line-height: 1.15; }
.date-tile b { display: block; font-size: 1.75rem; color: var(--forest-900); letter-spacing: -0.02em; }
.date-tile span { display: block; font-size: var(--fs-small); color: var(--forest-700); font-weight: 600; margin-top: 4px; }
.session h3 { font-size: 1.375rem; margin-bottom: 8px; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: var(--fs-small); }
.meta li { display: inline-flex; align-items: center; gap: 8px; }
.meta svg { width: 18px; height: 18px; color: var(--forest-700); flex: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 650; padding: 4px 12px; border-radius: 999px; background: var(--amber-bg); color: var(--amber-ink); border: 1px solid var(--amber-line); }
.badge.green { background: var(--mint); color: var(--forest-700); border-color: #A9CBB5; }
.badge.closed { background: #EEE; color: #444; border-color: #BBB; }
.session.closed { background: #F4F5F2; }
.session.closed .date-tile { background: #E7E9E4; }
.on-dark .session { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.on-dark .session h3 { color: var(--white); }
.on-dark .date-tile { background: rgba(123,211,137,.14); }
.on-dark .date-tile b { color: var(--white); } .on-dark .date-tile span { color: var(--fresh); }
.on-dark .meta { color: #C3D6CA; } .on-dark .meta svg { color: var(--fresh); }
@media (max-width: 860px) { .session { grid-template-columns: 1fr; gap: 14px; } .date-tile { justify-self: start; text-align: left; padding: 10px 16px; } .date-tile b { display: inline; font-size: 1.375rem; } .date-tile span { display: inline; margin-left: 8px; } .session .btn { width: 100%; } }

/* Public courses, Designs 2-6: one compact row per course (course, format, next date, action). */
.course-index { list-style: none; display: grid; gap: 12px; padding: 0; }
.course-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.1fr) 200px; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; }
.course-row.has-date { border-color: var(--forest-700); box-shadow: inset 4px 0 0 var(--forest-700); }
.course-row h3 { font-size: var(--fs-h3); margin: 4px 0 6px; }
.course-row h3 a { color: inherit; text-decoration: none; }
.course-row h3 a:hover { text-decoration: underline; }
.course-row .cr-main p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.course-row .cr-meta { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.cr-next { margin: 0; line-height: 1.35; }
.cr-next .cr-label { display: block; font-size: var(--fs-small); color: var(--muted); }
.cr-next b { display: block; }
.cr-next b + span { display: block; font-size: var(--fs-small); color: var(--muted); }
.cr-act { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.cr-act .link-arrow { align-self: center; }
@media (max-width: 1024px) { .course-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .course-row .cr-main { grid-column: 1 / -1; } .cr-act { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; } }
@media (max-width: 560px) { .course-row { grid-template-columns: 1fr; padding: 20px; gap: 14px; } .cr-act { flex-direction: column; align-items: stretch; } }
.empty { border: 2px dashed #B7CEBF; border-radius: var(--r); padding: clamp(24px, 3vw, 36px); background: var(--mint-2); }
.empty h3 { margin-bottom: 8px; }
.on-dark .empty { background: rgba(255,255,255,.04); border-color: rgba(123,211,137,.4); }

/* Contact options */
.contact-options { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-options a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px; border-radius: var(--r); text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--white); transition: background .2s ease, transform .2s var(--ease); }
.contact-options a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); color: var(--white); }
.contact-options svg { width: 30px; height: 30px; color: var(--fresh); margin-bottom: 8px; }
.contact-options b { font-size: var(--fs-ui); }
.contact-options span { color: #C3D6CA; font-size: var(--fs-small); }
.contact-options .primary a { background: var(--white); color: var(--forest-900); border-color: var(--white); }
.contact-options .primary a span { color: var(--muted); }
.contact-options .primary svg { color: var(--forest-700); }
.contact-options .primary a:hover { background: var(--mint); }
.white .contact-options a, .surface .contact-options a { background: var(--white); color: var(--forest-900); border-color: var(--line); }
.white .contact-options span, .surface .contact-options span { color: var(--muted); }
.white .contact-options svg, .surface .contact-options svg { color: var(--forest-700); }
@media (max-width: 1060px) { .contact-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-options { grid-template-columns: 1fr; } }

/* Service detail */
.detail { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { max-width: var(--read); }
.prose ul:not(.ticks), .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: 8px; }
.aside-card { position: sticky; top: calc(var(--header) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.aside-card h2 { font-size: var(--fs-h3); margin-bottom: 12px; }
.aside-card p { color: var(--muted); font-size: var(--fs-small); }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.aside-card .direct { list-style: none; display: grid; gap: 6px; font-size: var(--fs-small); }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .aside-card { position: static; } }
.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; max-width: var(--read); }
.steps li { counter-increment: s; position: relative; padding: 4px 0 4px 64px; min-height: 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-700); color: var(--white); font-weight: 700; }
.steps strong { display: block; color: var(--forest-900); }
.note { background: var(--mint-2); border-left: 4px solid var(--logo-green); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 20px 24px; max-width: var(--read); margin: 24px 0; }
.note strong { color: var(--forest-900); }
.callout-band { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.callout-band h2 { max-width: 22ch; }

/* Method */
.method { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: m; position: relative; }
.method li { counter-increment: m; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; position: relative; }
.method li::before { content: counter(m); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--forest-700); color: var(--white); font-weight: 700; margin-bottom: 16px; }
.method h3 { margin-bottom: 8px; }
.method p { color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 1060px) { .method { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .method { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; position: relative; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 40px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 111px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--logo-green); }
.timeline .yr { font-weight: 700; color: var(--forest-700); text-align: right; font-variant-numeric: tabular-nums; }
.timeline strong { display: block; color: var(--forest-900); }
.timeline span { color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 600px) { .timeline::before { left: 7px; } .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 34px; } .timeline li::before { left: 0; top: 18px; } .timeline .yr { text-align: left; } }

/* Credential table */
.cred-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cred-list li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cred-list .h { font-size: var(--fs-small); font-weight: 650; color: var(--muted); padding: 12px 0; }
.cred-list strong { color: var(--forest-900); }
@media (max-width: 760px) { .cred-list li { grid-template-columns: 1fr; gap: 4px; } .cred-list li.hrow { display: none; } }

/* Values */
.values { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.values li { padding: 28px 24px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); }
.values svg { width: 40px; height: 40px; color: var(--fresh); margin-bottom: 14px; }
.values h3 { font-size: 1.375rem; margin-bottom: 6px; }
.values p { font-size: var(--fs-small); color: #C3D6CA; }
@media (max-width: 1060px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Resources */
.article-list { list-style: none; display: grid; gap: 16px; }
.article-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.article-list a:hover { border-color: #A9CBB5; box-shadow: var(--shadow); }
.article-list .topic { font-size: var(--fs-small); font-weight: 650; color: var(--logo-dark); }
.article-list h3 { font-size: 1.375rem; margin: 4px 0 6px; }
.article-list p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.article-list .go { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--forest-700); display: grid; place-items: center; color: var(--forest-700); grid-row: span 3; }
.article-list .go svg { width: 20px; height: 20px; }
.article-list .ext { font-size: var(--fs-small); color: var(--muted); }
.video-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-grid a { display: block; text-decoration: none; color: inherit; }
.video-grid .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--forest-800); margin-bottom: 14px; }
.video-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-grid .play { position: absolute; left: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.video-grid .play::before { content: ""; border-left: 16px solid var(--forest-700); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video-grid h3 { font-size: 1.25rem; line-height: 1.35; }
.video-grid span { display: block; font-size: var(--fs-small); color: var(--muted); margin-top: 4px; }
@media (max-width: 1060px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 14px 18px 18px; font-size: var(--fs-small); color: var(--ink); line-height: 1.45; }
.gallery-download { display: inline-block; margin: 0 18px 18px; }
.gallery figcaption span { display: block; color: var(--muted); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.form { display: grid; gap: 26px; max-width: 720px; }
.field { display: grid; gap: 8px; }
.field label, .field legend, .fieldset legend { font-size: var(--fs-ui); font-weight: 600; color: var(--forest-900); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: var(--fs-small); color: var(--muted); margin: -2px 0 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px; padding: 12px 16px; font: 400 var(--fs-ui)/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 2px solid #8FA79A; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2319543E' stroke-width='2.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; padding-right: 52px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-700); box-shadow: 0 0 0 4px rgba(0,161,49,.22); }
.field .err { display: none; color: var(--error); font-weight: 600; font-size: var(--fs-small); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: flex; gap: 8px; align-items: flex-start; }
.field.invalid .err::before { content: "!"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 14px; font-weight: 800; margin-top: 2px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 20px; border: 2px solid #8FA79A; border-radius: 12px; background: var(--white); font-size: var(--fs-ui); cursor: pointer; }
.choice input { width: 22px; height: 22px; accent-color: var(--forest-700); min-height: 0; }
.choice:has(input:checked) { border-color: var(--forest-700); background: var(--mint-2); box-shadow: 0 0 0 3px rgba(0,161,49,.15); }
.choice:has(input:focus-visible) { outline: 3px solid var(--logo-green); outline-offset: 3px; }
.form-section-title { font-size: var(--fs-h3); padding-top: 22px; border-top: 1px solid var(--line); margin-top: 6px; }
.form-section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { border: 3px solid var(--error); border-radius: var(--r); padding: 22px 26px; background: #FFF6F5; }
.error-summary h2 { font-size: var(--fs-h3); color: var(--error); margin-bottom: 10px; }
.error-summary ul { padding-left: 1.2em; }
.error-summary a { color: var(--error); font-weight: 600; }
.privacy-note { font-size: var(--fs-small); color: var(--muted); max-width: 640px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn .spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: var(--white); display: none; }
.btn.is-submitting .spinner { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { border-radius: var(--r); padding: 26px 28px; }
.form-status h2 { font-size: var(--fs-h3); margin-bottom: 10px; }
.form-status.ok { background: var(--mint); border: 2px solid var(--forest-700); }
.form-status.fail { background: var(--amber-bg); border: 2px solid var(--amber-line); color: var(--amber-ink); }
.form-status.fail h2 { color: var(--amber-ink); }
.form-status .btn-row { margin-top: 18px; }
.selection { background: var(--mint-2); border: 2px solid #A9CBB5; border-radius: var(--r); padding: 22px 26px; }
.selection h2 { font-size: var(--fs-h3); margin-bottom: 10px; }
.selection dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: var(--fs-small); }
.selection dt { color: var(--muted); font-weight: 600; }
.selection dd { margin: 0; color: var(--forest-900); }
.selection .change { margin-top: 12px; }
.side-help { display: grid; gap: 20px; }
.side-help .card p { font-size: var(--fs-small); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: #D4E4DA; padding: clamp(56px, 7vw, 88px) 0 36px; font-size: var(--fs-small); position: relative; overflow: hidden; }
.site-footer a { color: #E3EEE7; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)) minmax(0, 3fr); gap: 32px; }
.footer-top h2 { font-size: var(--fs-small); color: var(--white); margin-bottom: 14px; }
.footer-top ul { list-style: none; display: grid; gap: 10px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #C3D6CA; max-width: 34ch; }
.footer-related { margin-top: 24px; display: flex; align-items: center; gap: 14px; color: #B9CDC1; }
.footer-related img { height: 30px; width: auto; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; color: #B9CDC1; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1060px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Staging tools: content awaiting business confirmation ---------- */
.staging-bar { position: fixed; left: 16px; bottom: 16px; z-index: 150; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; box-shadow: 0 10px 30px -12px rgba(13,49,35,.5); }
.staging-bar button { font: 650 1rem var(--font); min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--forest-700); background: transparent; color: var(--forest-700); cursor: pointer; }
.staging-bar button[aria-pressed="true"] { background: var(--forest-700); color: var(--white); }
body.show-confirm [data-confirm] { outline: 3px dashed var(--amber-line); outline-offset: 4px; position: relative; cursor: help; }
body.show-confirm [data-confirm]:hover::after, body.show-confirm [data-confirm]:focus-visible::after {
  content: "To confirm: " attr(data-confirm); position: absolute; left: 0; top: calc(100% + 10px); z-index: 160; width: max-content; max-width: min(360px, 80vw);
  background: #3D2E06; color: #FFF6DD; font: 400 1rem/1.45 var(--font); padding: 10px 14px; border-radius: 8px; text-align: left; white-space: normal; letter-spacing: 0;
}
@media (max-width: 560px) { .staging-bar span.lbl { display: none; } }

@media print { .site-header, .staging-bar, .flow, #design-switcher { display: none !important; } }

/* Organisation chart */
.org-chart { display: grid; justify-items: center; gap: 44px; }
.org-node { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px 20px; background: var(--mint-2); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: var(--fs-small); line-height: 1.35; }
.org-node strong { color: var(--forest-900); }
.org-node:hover { border-color: var(--forest-700); color: var(--ink); }
.org-lead { position: relative; width: min(100%, 420px); height: auto; background: var(--forest-900); border-color: var(--forest-900); color: #E3EEE7; text-align: center; }
.org-lead strong { color: var(--white); }
.org-lead:hover { color: #E3EEE7; }
.org-lead::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; background: var(--line); }
.org-row { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; }
.org-row li { position: relative; min-width: 0; }
.org-row li::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; background: var(--line); }
.org-row li::after { content: ""; position: absolute; left: -8px; right: -8px; top: -22px; height: 2px; background: var(--line); }
.org-row li:first-child::after { left: 50%; }
.org-row li:last-child::after { right: 50%; }
@media (max-width: 1060px) {
  .org-chart { gap: 20px; }
  .org-lead::after, .org-row li::before, .org-row li::after { display: none; }
  .org-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .org-row { grid-template-columns: 1fr; } }

/* Company profile */
.profile-list { margin: 0; border-top: 1px solid var(--line); }
.profile-list > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.profile-list dt { font-weight: 650; color: var(--forest-900); }
.profile-list dd { margin: 0; min-width: 0; }
@media (max-width: 760px) { .profile-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* Events table */
.table-scroll { overflow-x: auto; }
.events-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.events-table th, .events-table td { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.events-table thead th { font-size: var(--fs-small); font-weight: 650; color: var(--muted); }
.events-table tbody th { font-weight: 600; color: var(--forest-900); }
.events-table td:first-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 600px) {
  .events-table { min-width: 0; }
  .events-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .events-table tr, .events-table th, .events-table td { display: block; }
  .events-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .events-table th, .events-table td { padding: 2px 0; border-bottom: 0; }
  .events-table td:first-child { white-space: normal; }
  .events-table td::before { content: attr(data-label) ": "; font-weight: 650; color: var(--muted); }
}

.founder-fig{margin:0}
.founder-fig figcaption{margin-top:16px}
.founder-fig figcaption img{display:block;width:160px;max-width:60%;height:auto}

/* ---------- Page loader: a pulse line sweeps across, the lockup is revealed in its wake, then the layer lifts ---------- */
#page-loader {
  --loader-bg: var(--warm);
  --loader-line: var(--logo-dark);
  --loader-dot: var(--logo-green);
  --loader-track: var(--line);
  --loader-glow: rgba(0,161,49,.28);
  --loader-shade: rgba(13,49,35,.28);
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--loader-bg);
  box-shadow: 0 24px 60px -20px var(--loader-shade);
  will-change: transform;
}
/* Without the script the layer leaves on a timer. With it, main.js releases the lift, and a 4s head-script timer caps it if main.js runs late, and 5s is the CSS backstop if no script runs. */
#page-loader { animation: gp-loader-cap .45s cubic-bezier(.7,0,.2,1) 1.6s forwards; }
.js #page-loader { animation-delay: 5s; }
.loaded #page-loader { animation: gp-loader-lift .45s cubic-bezier(.7,0,.2,1) forwards; }
/* The hem of the curtain: it sits below the fold until the layer lifts. */
#page-loader::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 2px; background: var(--loader-dot); }
.loader-stage { width: min(470px, 88vw); display: grid; justify-items: center; gap: 12px; }
.loader-logo {
  display: block; width: 56%; height: auto;
  animation: gp-logo-wipe .7s linear .05s both, gp-logo-rise .6s cubic-bezier(.2,.7,.2,1) .22s both;
}
.loader-pulse {
  display: block; width: 100%; height: auto; aspect-ratio: 600 / 80; overflow: visible;
  background: linear-gradient(var(--loader-track), var(--loader-track)) 0 72.5% / 100% 1px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  filter: drop-shadow(0 0 9px var(--loader-glow));
}
.loader-pulse path { fill: none; stroke-linejoin: round; }
.pulse-line {
  stroke: var(--loader-line); stroke-width: 2.4; stroke-dasharray: 100 200;
  animation: gp-pulse-draw .7s linear .05s both;
}
.pulse-dot, .pulse-halo {
  stroke: var(--loader-dot); stroke-width: 9; stroke-linecap: round; stroke-dasharray: .01 200;
  animation: gp-pulse-dot .7s linear .05s both;
}
.pulse-halo { stroke-width: 26; opacity: .16; }
/* The three sweeps share one set of stops, sampled along the path, so the wipe edge stays under the dot through the peak. */
@keyframes gp-pulse-draw {
  0% { stroke-dashoffset: 100; } 5% { stroke-dashoffset: 99.64; } 10% { stroke-dashoffset: 98.42; }
  15% { stroke-dashoffset: 96.06; } 20% { stroke-dashoffset: 92.18; } 25% { stroke-dashoffset: 86.17; }
  30% { stroke-dashoffset: 77.32; } 35% { stroke-dashoffset: 65.33; } 40% { stroke-dashoffset: 51.68; }
  45% { stroke-dashoffset: 39.13; } 50% { stroke-dashoffset: 29.04; } 55% { stroke-dashoffset: 21.29; }
  60% { stroke-dashoffset: 15.38; } 65% { stroke-dashoffset: 10.86; } 70% { stroke-dashoffset: 7.42; }
  75% { stroke-dashoffset: 4.82; } 80% { stroke-dashoffset: 2.90; } 85% { stroke-dashoffset: 1.54; }
  90% { stroke-dashoffset: 0.65; } 95% { stroke-dashoffset: 0.16; } 100% { stroke-dashoffset: 0; }
}
@keyframes gp-pulse-dot {
  0% { stroke-dashoffset: 0; } 5% { stroke-dashoffset: -0.36; } 10% { stroke-dashoffset: -1.58; }
  15% { stroke-dashoffset: -3.94; } 20% { stroke-dashoffset: -7.82; } 25% { stroke-dashoffset: -13.83; }
  30% { stroke-dashoffset: -22.68; } 35% { stroke-dashoffset: -34.67; } 40% { stroke-dashoffset: -48.32; }
  45% { stroke-dashoffset: -60.87; } 50% { stroke-dashoffset: -70.96; } 55% { stroke-dashoffset: -78.71; }
  60% { stroke-dashoffset: -84.62; } 65% { stroke-dashoffset: -89.14; } 70% { stroke-dashoffset: -92.58; }
  75% { stroke-dashoffset: -95.18; } 80% { stroke-dashoffset: -97.10; } 85% { stroke-dashoffset: -98.46; }
  90% { stroke-dashoffset: -99.35; } 95% { stroke-dashoffset: -99.84; } 100% { stroke-dashoffset: -100; }
}
@keyframes gp-logo-wipe {
  0% { clip-path: inset(0 139.1% 0 0); } 5% { clip-path: inset(0 138.4% 0 0); } 10% { clip-path: inset(0 136.2% 0 0); }
  15% { clip-path: inset(0 131.7% 0 0); } 20% { clip-path: inset(0 124.2% 0 0); } 25% { clip-path: inset(0 112.7% 0 0); }
  30% { clip-path: inset(0 95.5% 0 0); } 35% { clip-path: inset(0 72.4% 0 0); } 40% { clip-path: inset(0 51.9% 0 0); }
  45% { clip-path: inset(0 35.7% 0 0); } 50% { clip-path: inset(0 16.5% 0 0); } 55% { clip-path: inset(0 1.7% 0 0); }
  60% { clip-path: inset(0 -9.7% 0 0); } 65% { clip-path: inset(0 -18.4% 0 0); } 70% { clip-path: inset(0 -25.1% 0 0); }
  75% { clip-path: inset(0 -30.1% 0 0); } 80% { clip-path: inset(0 -33.8% 0 0); } 85% { clip-path: inset(0 -36.4% 0 0); }
  90% { clip-path: inset(0 -38.2% 0 0); } 95% { clip-path: inset(0 -39.1% 0 0); } 100% { clip-path: inset(0 -39.3% 0 0); }
}
@keyframes gp-logo-rise { from { transform: translateY(8px); } to { transform: none; } }
@keyframes gp-loader-lift { to { transform: translateY(-104%); visibility: hidden; } }
@keyframes gp-loader-cap { to { transform: translateY(-104%); visibility: hidden; } }
/* Shown once per browser session: the head script adds loader-seen on later pages. */
.loader-seen #page-loader { display: none; }
@media (prefers-reduced-motion: reduce) {
  #page-loader { display: none; }
}

/* ---------- Design switcher (demo chip, removed with SHOW_DESIGN_SWITCHER = False) ---------- */
#design-switcher { position: fixed; right: 16px; bottom: 16px; z-index: 150; display: flex; gap: 2px; padding: 4px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(13,49,35,.5); font-family: var(--font); }
#design-switcher a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; color: var(--forest-700); font-size: 1rem; font-weight: 650; line-height: 1; text-decoration: none; white-space: nowrap; }
#design-switcher a:hover { background: var(--surface, #EEF3EF); }
#design-switcher a[aria-current="page"] { background: var(--forest-700); color: var(--white); }
#design-switcher a:focus-visible { outline: 3px solid var(--forest-700); outline-offset: 2px; }
#design-switcher a[aria-current="page"]:focus-visible { outline-color: var(--forest-700); outline-offset: 3px; }
@media (max-width: 760px) { #design-switcher { right: 8px; bottom: 76px; } }
/* Seven designs do not fit a phone as words: show the numbers, keep "Design N" as the accessible name. */
@media (max-width: 560px) {
  #design-switcher a { justify-content: center; min-width: 44px; padding: 8px 10px; }
  #design-switcher .sw-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
