/* noiaa-report v2: page styles. Brand: White + Forest (#0B3D1E) and its tints,
   Poppins 400/500/600, 4px spacing scale. The engine (scrollcraft.css) is
   themed through its tokens, never restyled. */

:root {
  --white: #FFFFFF;
  --forest: #0B3D1E;
  --forest-72: #4F735D;
  --forest-60: #6D8B78;
  --forest-12: #E2E8E4;
  --forest-06: #F0F3F2;
  --forest-dark: color-mix(in oklab, var(--forest) 92%, #000);
  /* The logo's other colours, sampled from the mark (v3 "blend"). */
  --green: #2A8A4A;          /* large text and fills only on white (4.3:1) */
  --green-hi: #5CC17F;       /* accents on dark grounds */
  --blue: #2868A8;
  --blue-ink: #1F4F86;
  --navy: #17193A;
  --paper: #FBFCFA;          /* the hero's near-white ground */
  --grid: rgba(11, 61, 30, 0.07);
  --mint: #DDF2E4;
  /* Badge colours follow each body's own logo. */
  --c-opito: #0057A8;
  --c-stcw: #1E5A3C;
  --c-waha: #C8204A;

  --sc-canvas: var(--white);
  --sc-surface: var(--forest-06);
  --sc-ink: var(--forest);
  --sc-ink-soft: var(--forest-72);
  --sc-accent: var(--forest);
  --sc-accent-ink: var(--white);
  --sc-font-display: "Poppins", system-ui, sans-serif;
  --sc-font-text: "Poppins", system-ui, sans-serif;
  --sc-shadow-color: 143 69% 14%;
  --sc-r-sm: 4px; --sc-r-md: 8px; --sc-r-lg: 16px;

  --strip: 40px;             /* contact strip, folds away on scroll */
  --bar: 72px;               /* main bar */
  --hdr: calc(var(--strip) + var(--bar));
  --gutter: clamp(16px, 3.4vw, 56px);
  --maxw: 1520px;            /* the live noiaa.com header spans about this */
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  --pad: 96px;               /* one section padding for the whole page */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-sm: 0 1px 2px rgba(11, 61, 30, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 61, 30, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 61, 30, 0.12);
}
@media (max-width: 1024px) { :root { --pad: 64px; } }
@media (max-width: 980px)  { :root { --strip: 0px; } }
@media (max-width: 700px)  { :root { --bar: 64px; --gutter: 16px; --pad: 48px; } }

body { font-size: 16px; line-height: 1.7; letter-spacing: 0; }
@media (max-width: 700px) { body { font-size: 15px; } }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; }   /* with width/height attributes: space is reserved, never stretched */
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; border-radius: 2px; }
.strip :focus-visible, .dial :focus-visible, .back :focus-visible, .hero :focus-visible, .register :focus-visible, .gal__stage :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--pad); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 90; background: var(--forest); color: var(--white); padding: 8px 16px; border-radius: 4px; }
.skip:focus { top: 16px; }
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ type ramp -- */
.display { font-weight: 600; font-size: clamp(38px, 2.4rem + 1.6vw, 60px); line-height: 1.1; letter-spacing: -1px; text-wrap: balance; }
.h2 { font-weight: 600; font-size: 32px; line-height: 1.2; letter-spacing: -0.25px; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.7; max-width: 640px; text-wrap: pretty; }
.eyebrow { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 1.5px; text-transform: uppercase; color: var(--forest-72); }
@media (max-width: 700px) { .h2 { font-size: 26px; } .lead { font-size: 17px; } }

/* --------------------------------------------------------- components -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 8px; white-space: nowrap; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0.2px; text-decoration: none;
  transition: background-color 150ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-dark); }
.btn--white { background: var(--white); color: var(--forest); }
.btn--white:hover { background: var(--forest-06); }
.btn--ghost { background: var(--white); color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.btn--ghost:hover { background: var(--forest-06); }

.link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.2px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.link svg, .menu__btn svg, .bar__burger svg, .body__go svg, .card__view svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.link svg, .card__view svg, .body__go svg { transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link:hover svg, .body__go:hover svg { transform: translateX(4px); } }

/* Review-only marker for an unconfirmed fact. Not part of the design. */
.todo {
  display: inline-block; margin-left: 4px; padding: 0 8px; border: 1px dashed var(--forest-60); border-radius: 4px;
  font-size: 12px; font-weight: 500; line-height: 1.6; color: var(--forest-72); white-space: normal;
}
.dial .todo { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.8); }

/* -------------------------------------------------------------- intro -- */
/* Forest screen. The logo builds in pieces: the mark rises, each letter of
   NOIAA rises out of its own line, then CORPORATION and the web address,
   while the whole logo drifts slowly closer. Then the Forest sheet sweeps
   off to the right behind a flowing wave edge (the wave from the logo, with
   a light green band), and the logo flies into the header. */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; }
.intro__sheet { position: absolute; inset: 0; background-color: var(--forest);
  background-image: radial-gradient(50% 55% at 50% 46%, rgba(92, 193, 127, 0.2), transparent 70%), radial-gradient(40% 45% at 72% 72%, rgba(40, 104, 168, 0.16), transparent 70%);
  transition: transform 1150ms cubic-bezier(0.77, 0, 0.18, 1); }
/* The leading edge: a wave tile (light band, then Forest) stacked down the
   sheet's left side; it scrolls as the sheet moves, so the edge flows. */
.intro__sheet::before { content: ""; position: absolute; top: 0; bottom: 0; right: calc(100% - 1px); width: clamp(110px, 15vw, 210px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 1000' preserveAspectRatio='none'%3E%3Cpath fill='%235CC17F' d='M200 0H100C40 250 160 250 100 500S160 750 100 1000H200Z'/%3E%3Cpath fill='%230B3D1E' d='M200 0H140C80 250 200 250 140 500S200 750 140 1000H200Z'/%3E%3C/svg%3E") 100% 0 / 100% 62vh repeat-y; }
.intro.is-clearing { pointer-events: none; }
.intro.is-clearing .intro__sheet { transform: translateX(calc(100% + 240px)); }
.intro.is-clearing .intro__sheet::before { animation: intro-wave 1150ms linear both; }
.intro.is-fast .intro__sheet { transition-duration: 560ms; }
.intro.is-fast .intro__sheet::before { animation-duration: 560ms; }
@keyframes intro-wave { to { background-position: 100% 62vh; } }

.intro__logo { position: relative; z-index: 1; width: min(460px, 72vw); }
.intro__in { display: grid; }
.intro__in > img, .intro__bit { grid-area: 1 / 1; }
.intro__in img { display: block; width: 100%; height: auto; }
.intro__colour, .intro__white { opacity: 0; }
/* Each piece shows its own window of the white logo and rises into it. */
.intro__bit { --tr: calc(var(--h) * 105%);
  clip-path: inset(calc(var(--y) * 100%) calc((1 - var(--x) - var(--w)) * 100%) calc((1 - var(--y) - var(--h)) * 100%) calc(var(--x) * 100%)); }
.intro__bit:first-of-type { --tr: 70%; }
.intro__bit img { opacity: 0; }
.is-building .intro__in { animation: intro-drift 3.6s cubic-bezier(0.25, 0.1, 0.25, 1) both; }
.is-building .intro__bit img { animation: intro-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--dl) both; }
@keyframes intro-drift { from { scale: 0.93; } to { scale: 1.04; } }
@keyframes intro-rise { from { translate: 0 var(--tr); opacity: 0; filter: blur(5px); } 45% { opacity: 1; } to { translate: 0 0; opacity: 1; filter: blur(0); } }
/* Once built, one whole white logo replaces the pieces (no seams). */
.is-built .intro__white { opacity: 1; }
.is-built .intro__bit { visibility: hidden; }
.intro__in.is-still { animation: none; }
/* The hand-off: the logo flies to the header logo, which waits hidden underneath. */
.intro__logo.is-flying { transform-origin: 0 0; transition: transform 800ms cubic-bezier(0.65, 0, 0.35, 1); }
.intro__logo.is-flying .intro__colour { opacity: 1; transition: opacity 500ms ease 160ms; }
.intro__logo.is-flying .intro__white { opacity: 0; transition: opacity 500ms ease 160ms; }
.intro-handoff .bar__logo img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .intro__sheet { transition: none; } }
.no-intro .intro { display: none; }

/* The page assembles once the intro clears (or at once without it): the hero
   falls in from above and settles, one piece after another; the photo
   bubbles drop and pop. */
[data-enter] { --fall: cubic-bezier(0.22, 1.24, 0.36, 1); opacity: 0; translate: 0 -48px;
  transition: opacity 560ms ease calc(var(--d, 0) * 0.8ms), translate 1000ms var(--fall) calc(var(--d, 0) * 0.8ms); }
.bub[data-enter] { translate: 0 -90px; scale: 0.7; transition: opacity 500ms ease calc(var(--d, 0) * 0.8ms), translate 1000ms var(--fall) calc(var(--d, 0) * 0.8ms), scale 900ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d, 0) * 0.8ms); }
.is-ready [data-enter] { opacity: 1; translate: 0 0; scale: 1; }
@media (prefers-reduced-motion: reduce) { [data-enter], .bub[data-enter] { transition: none; opacity: 1; translate: none; scale: 1; } }

/* Scroll reveal (site.js tags the blocks): each rises and fades in the first
   time it comes into view; blocks arriving together go one after another.
   The attribute is removed afterwards, so the block's own styles return. */
[data-rv] { transition: opacity 800ms ease var(--rv-d, 0ms), translate 1100ms cubic-bezier(0.16, 1, 0.3, 1) var(--rv-d, 0ms), scale 1100ms cubic-bezier(0.16, 1, 0.3, 1) var(--rv-d, 0ms); }
[data-rv]:not(.rv-in) { opacity: 0; translate: 0 64px; }
[data-rv="img"]:not(.rv-in) { translate: 0 40px; scale: 0.94; }
/* The engine's own flow reveal, brought up to the same feel. */
[data-sc-in], [data-sc-stagger] > * { transform: translate3d(0, 56px, 0); transition-duration: 800ms, 1100ms; transition-timing-function: ease, cubic-bezier(0.16, 1, 0.3, 1); }
[data-sc-in].sc-in, [data-sc-stagger] > .sc-in { transform: none; }
.rm [data-sc-in], .rm [data-sc-stagger] > * { transform: none; }

/* ------------------------------------------------------------- header -- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform 260ms var(--ease); }
.hdr.is-folded { transform: translateY(calc(-1 * var(--strip))); }
.strip { height: var(--strip); background: linear-gradient(90deg, var(--forest) 0%, #12333A 62%, var(--navy) 100%); color: var(--white); font-size: 13px; overflow: hidden; }
.strip__in { height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.strip__contact { flex: 1; display: flex; gap: 24px; min-width: 0; overflow: hidden; }
.strip__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.strip__item .ico { opacity: .72; }
.strip__item a + a::before { content: "·"; margin-right: 8px; color: rgba(255,255,255,.4); }
.strip a { color: rgba(255,255,255,.9); text-decoration: none; }
.strip a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.strip__clocks { display: flex; height: 100%; }
.strip__clocks li { display: flex; border-left: 1px solid rgba(255,255,255,.16); }
.strip__clocks { flex: none; }
.strip__clocks a { display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.strip__clocks a:hover { text-decoration: none; background: rgba(255,255,255,.06); }
.strip__clocks span { font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.72); }
.strip__clocks time { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--white); }
@media (max-width: 1360px) { .strip__item:last-child a + a { display: none; } }
@media (max-width: 1300px) { .strip__item:first-child a + a { display: none; } }
@media (max-width: 1120px) { .strip__item:last-child { display: none; } }
@media (max-width: 980px) { .strip { display: none; } }

.bar { height: var(--bar); background: var(--white); transition: box-shadow 200ms var(--ease); }
.hdr.is-folded .bar { box-shadow: var(--shadow-sm); }
.bar__in { position: relative; height: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.bar__logo { flex: none; display: block; margin-right: auto; }
.bar__logo img { width: 136px; height: auto; }
.bar__nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.bar__nav > a, .menu__btn { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.bar__nav > a:hover, .menu__btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu__btn { gap: 4px; background: none; border: 0; padding: 0; font-weight: 500; cursor: pointer; }
.menu__btn svg { transition: transform 150ms var(--ease); }
.menu__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu__panel {
  position: absolute; top: calc(100% - 4px); left: 50%; translate: -50% 0; display: grid; gap: 32px;
  width: 320px; padding: 32px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.menu__panel--2 { grid-template-columns: 1fr 1fr; width: 560px; }
.menu__panel--3 { grid-template-columns: repeat(3, 1fr); width: min(840px, calc(100vw - 2 * var(--gutter))); }
.menu__panel[hidden] { display: none; }
.menu__col .eyebrow + ul { margin-top: 12px; }
.menu__col ul + .eyebrow { margin-top: 24px; }
.menu__col ul { display: grid; gap: 4px; }
.menu__col a:not(.link) { display: block; padding: 4px 0; font-weight: 400; font-size: 15px; line-height: 1.5; text-decoration: none; }
.menu__col a:not(.link):hover { text-decoration: underline; text-underline-offset: 4px; }
.menu__all { margin-top: 16px; }
.bar__burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--forest); cursor: pointer; }
.sheet { position: fixed; inset: var(--bar) 0 0; background: var(--white); overflow-y: auto; padding: 8px var(--gutter) 48px; }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: 4px; }
.sheet .eyebrow { margin-top: 24px; margin-bottom: 4px; }
.sheet a:not(.btn) { display: block; padding: 8px 0; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--forest-12); }
.sheet .btn { margin-top: 32px; }
@media (max-width: 1180px) { .bar__nav { gap: 16px; font-size: 14px; } .bar__in { gap: 16px; } }
@media (max-width: 980px) {
  .bar__nav { display: none; }
  .bar__burger { display: inline-grid; place-items: center; }
  /* No strip to fold here, so no transform: a transformed header would trap the
     fixed mobile menu inside its own 64px box instead of the full screen. */
  .hdr.is-folded { transform: none; }
}
@media (max-width: 420px) { .bar__cta { height: 40px; padding: 0 16px; font-size: 14px; } .bar__logo img { width: 104px; } .bar__in { gap: 8px; } }

/* --------------------------------------------------------------- hero -- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: var(--hdr); overflow: hidden; background: var(--paper); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; }
.glow--g { width: 56vw; height: 56vw; left: -18vw; top: -10vw; background: radial-gradient(circle, rgba(92, 193, 127, 0.28) 0%, rgba(92, 193, 127, 0) 62%); }
.glow--b { width: 52vw; height: 52vw; right: -16vw; bottom: -18vw; background: radial-gradient(circle, rgba(40, 104, 168, 0.22) 0%, rgba(40, 104, 168, 0) 62%); }
.hero__inner { position: relative; z-index: 3; align-self: center; display: grid; justify-items: center; text-align: center; gap: 20px; padding-block: 56px 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 9999px;
  font-size: 13px; font-weight: 500; color: var(--forest); background: var(--white);
  box-shadow: 0 0 0 1px var(--forest-12), 0 4px 14px rgba(11, 61, 30, 0.06);
}
.pill svg { width: 14px; height: 14px; fill: var(--green); }
.hero .display { font-size: clamp(40px, 2rem + 3.2vw, 76px); line-height: 1.14; letter-spacing: -1.5px; max-width: 900px; }
/* Brush underline in the logo's green-to-blue (a stroke, not gradient text). */
.swash { position: relative; white-space: nowrap; z-index: 0; }
.swash::after {
  content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: 0.06em; height: 0.24em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%235CC17F'/%3E%3Cstop offset='1' stop-color='%234E8FD6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 16C70 6 150 4 296 10' stroke='url(%23g)' stroke-width='10' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform-origin: left; transform: scaleX(0); transition: transform 700ms var(--ease) 450ms;
}
.is-ready .swash::after { transform: scaleX(1); }
.hero .lead { max-width: 560px; color: var(--forest-72); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.btn--soft { background: var(--white); color: var(--forest); box-shadow: 0 0 0 1px var(--forest-12), 0 4px 14px rgba(11, 61, 30, 0.06); }
.btn--soft:hover { background: var(--forest-06); }

/* Photo bubbles: outer = position + entrance, __p = pointer depth (script),
   __f = idle float (CSS). Each points at the headline with a small arrow. */
.bubs { position: absolute; inset: var(--hdr) 0 0; z-index: 2; pointer-events: none; }
.bub { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); }
.bub__p { width: 100%; height: 100%; will-change: transform; }
.bub__f { position: relative; width: 100%; height: 100%; animation: float var(--fd, 6s) ease-in-out infinite alternate; }
.bub img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); box-shadow: 0 18px 40px rgba(23, 25, 58, 0.16), 0 0 0 1px var(--forest-12); }
.bub__arrow { position: absolute; width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(23, 25, 58, 0.2)); }
.bub__arrow--green { fill: var(--green); } .bub__arrow--blue { fill: var(--blue); } .bub__arrow--forest { fill: var(--forest); } .bub__arrow--mint { fill: #3FAE6A; }
.bub__tag { position: absolute; white-space: nowrap; padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 500; line-height: 1; box-shadow: 0 6px 16px rgba(23, 25, 58, 0.14); }
.bub__tag--green { background: var(--green); color: var(--white); }
.bub__tag--blue { background: var(--blue); color: var(--white); }
.bub__tag--forest { background: var(--forest); color: var(--white); }
.bub__tag--mint { background: var(--mint); color: var(--forest); box-shadow: 0 6px 16px rgba(23, 25, 58, 0.1), 0 0 0 1px rgba(42, 138, 74, 0.25); }
@keyframes float { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
/* Placement: arrow on the side facing the headline, tag beside it. */
.bub--0 { --s: 132px; --fd: 6.4s; left: 15%; top: 24%; }
.bub--0 .bub__arrow { right: -18px; bottom: 6px; transform: rotate(160deg); } .bub--0 .bub__tag { left: 62%; top: 100%; margin-top: 10px; }
.bub--1 { --s: 104px; --fd: 5.6s; left: 85%; top: 21%; }
.bub--1 .bub__arrow { left: -18px; bottom: 4px; transform: rotate(-110deg) scaleX(-1); } .bub--1 .bub__tag { right: 62%; top: 100%; margin-top: 10px; }
.bub--2 { --s: 112px; --fd: 7s; left: 21%; top: 70%; }
.bub--2 .bub__arrow { right: -16px; top: 0; transform: rotate(110deg); } .bub--2 .bub__tag { left: 50%; translate: -50% 0; bottom: 100%; margin-bottom: 12px; }
.bub--3 { --s: 120px; --fd: 6s; left: 80%; top: 69%; }
.bub--3 .bub__arrow { left: -18px; top: 2px; transform: rotate(-20deg) scaleX(-1) rotate(-90deg); } .bub--3 .bub__tag { left: 50%; translate: -50% 0; bottom: 100%; margin-bottom: 12px; }
.bub--4 { --s: 72px; --fd: 5s; left: 7%; top: 48%; opacity: 0.9; }
.bub--4 .bub__arrow { display: none; } .bub--4 .bub__tag { left: 50%; translate: -50% 0; top: 100%; margin-top: 8px; }
.is-ready .bub--4 { opacity: 0.92; }
@media (max-width: 1180px) { .bub--4 { display: none; } }
@media (max-width: 1180px) and (min-width: 861px) {
  /* Narrow laptops and tablets in landscape: smaller bubbles in the corners,
     no tags, so none of them sits on the headline. */
  .bub--4, .bub__tag { display: none; }
  .bub { --s: 92px !important; }
  .bub--0 { left: 8%; top: 12%; } .bub--1 { left: 92%; top: 11%; } .bub--2 { left: 9%; top: 70%; } .bub--3 { left: 91%; top: 69%; }
  .hero .display { font-size: clamp(40px, 1.4rem + 3.4vw, 62px); max-width: 760px; }
  .hero__inner { padding-block: 88px 72px; }
}
@media (max-width: 860px) {
  .bub { --s: 64px !important; }
  .bub__tag { display: none; }
  .bub__arrow { width: 16px; height: 16px; }
  .bub--0 { left: 13%; top: 8%; } .bub--1 { left: 87%; top: 7%; } .bub--2 { left: 11%; top: 74%; } .bub--3 { left: 89%; top: 73%; }
  .hero__inner { padding-block: 104px 96px; }
}
@media (prefers-reduced-motion: reduce) { .bub__f { animation: none; } .swash::after { transition: none; transform: none; } }

/* Trusted-by row at the foot of the hero. */
.hero__trust { position: relative; z-index: 3; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; max-width: calc(var(--maxw) + 2 * var(--gutter)); width: 100%; margin: 0 auto; padding: 24px var(--gutter) 40px; }
.hero__trust-t { font-size: 14px; font-weight: 500; line-height: 1.4; max-width: 170px; color: var(--forest); }
.hero__trust-t b { font-weight: 600; color: var(--green); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__set { flex: none; display: flex; align-items: center; gap: 64px; padding-right: 64px; animation: slide 46s linear infinite; }
.marquee:hover .marquee__set { animation-play-state: paused; }
.marquee__set li { flex: none; height: 64px; display: grid; place-items: center; }
.marquee__set img { height: calc(var(--h, 40px) * 0.82); width: auto; max-width: none; mix-blend-mode: multiply; }
/* A client without a logo file yet: its name, set like a wordmark. */
.marquee__word { font-size: 19px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #5A6470; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (max-width: 760px) { .hero__trust { grid-template-columns: 1fr; gap: 12px; text-align: center; padding-bottom: 24px; } .hero__trust-t { max-width: none; } .marquee__set { gap: 44px; padding-right: 44px; animation-duration: 34s; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__set { animation: none; flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding: 0; flex: 1; }
  .marquee__set[aria-hidden] { display: none; }
}

/* ------------------------------------------------------------ statement -- */
/* One bold colour panel, mint into sky, with the photo breaking out of its top. */
.statement { padding-top: calc(var(--pad) + 32px); }
.statement .wrap, .register .wrap { max-width: none; padding-inline: 0; }
.panel { position: relative; isolation: isolate; overflow: clip; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: end; padding: 80px var(--edge); border-radius: 0; background: linear-gradient(120deg, #DDF2E4 0%, #E2EEF8 100%); }
.panel__sun { position: absolute; z-index: -1; right: 0; bottom: 0; translate: 0 25%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 193, 127, 0.55), rgba(92, 193, 127, 0) 70%); pointer-events: none; }
.panel__text { position: relative; display: grid; gap: 16px; align-content: center; align-self: center; }
.panel__h { font-size: clamp(30px, 1.4rem + 1.6vw, 44px); letter-spacing: -0.75px; }
.panel__text .lead { color: var(--forest); }
.panel__text > p:not(.lead) { color: var(--forest-72); max-width: 520px; }
.panel__cta { position: relative; margin-top: 12px; }
.scribble { position: absolute; left: 168px; top: -6px; width: 132px; height: 72px; fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.panel__fig { position: relative; margin-top: -144px; }
.panel { overflow: visible; }
.panel__fig img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 20px; border: 6px solid var(--white); box-shadow: 0 30px 60px rgba(23, 25, 58, 0.2); transform: rotate(2deg); }
.panel__chip { position: absolute; left: -24px; bottom: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9999px; background: var(--white); font-size: 13px; font-weight: 500; box-shadow: 0 12px 28px rgba(23, 25, 58, 0.16); }
.panel__chip span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(42, 138, 74, 0.18); }
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; padding: 40px var(--gutter) 32px; gap: 32px; }
  .panel__fig { margin-top: 0; }
  .panel__fig img { aspect-ratio: 4 / 3; transform: none; }
  .panel__chip { left: 12px; bottom: 12px; }
  .scribble { display: none; }
}

/* ------------------------------------------------------------- register -- */
/* Rounded deep-green band inside the page, two rows drifting opposite ways. */
.register { padding-block: 0; }
.band {
  position: relative; overflow: hidden; border-radius: 0; padding: 96px 0 72px; text-align: center; color: var(--white);
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(92, 193, 127, 0.3), transparent 62%),
    radial-gradient(50% 70% at 100% 100%, rgba(40, 104, 168, 0.4), transparent 62%),
    linear-gradient(135deg, #0E4424 0%, #10332F 52%, var(--navy) 100%);
}
.band__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 80%);
}
.register__head { position: relative; display: grid; gap: 16px; justify-items: center; padding: 0 var(--gutter); margin-bottom: 48px; }
.pill--dark { background: rgba(255, 255, 255, 0.1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.pill--dark svg { fill: none; stroke: var(--green-hi); stroke-width: 2; }
.register__title { font-size: clamp(30px, 1.4rem + 2vw, 50px); font-weight: 600; line-height: 1.12; letter-spacing: -0.75px; max-width: 860px; text-wrap: balance; }
.register .lead { color: rgba(255, 255, 255, 0.85); margin-inline: auto; }
.rows { position: relative; display: flex; overflow: hidden; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rows + .rows { margin-top: 8px; }
.rows__set { flex: none; display: flex; gap: 24px; padding-right: 24px; animation: drift 60s linear infinite; }
.rows--rev .rows__set { animation-direction: reverse; animation-duration: 66s; }
.rows:hover .rows__set, .rows:focus-within .rows__set, .rows.is-held .rows__set { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-100%); } }
.flip { flex: none; width: 248px; height: 268px;   /* tall enough for the longest back (WAHA) */ perspective: 1200px; }
.flip__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 700ms var(--ease); }
.flip.is-flipped .flip__in { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .flip:hover .flip__in { transform: rotateY(180deg); } }
.flip__front, .flip__back { position: absolute; inset: 0; border-radius: 20px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__front {
  display: grid; align-content: center; justify-items: center; gap: 4px; padding: 24px; border: 0; cursor: pointer;
  background: var(--white); color: var(--forest); box-shadow: 0 16px 40px rgba(5, 15, 30, 0.3);
}
.flip__group { position: absolute; top: 14px; left: 14px; padding: 4px 8px; border-radius: 9999px; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.flip__group--reg { background: #E3EEF9; color: var(--blue-ink); }
.flip__group--sta { background: var(--mint); color: var(--forest); }
.flip__group--col { background: #FDEBEF; color: #9B1B3A; }
.flip__logo { width: 100%; height: 92px; display: grid; place-items: center; margin: 12px 0 10px; }
.flip__logo img { max-width: 176px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.flip__name { font-size: 14px; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.flip__kind { font-size: 12px; color: var(--forest-72); }
.flip__back {
  transform: rotateY(180deg); display: flex; flex-direction: column; gap: 8px; padding: 22px; text-align: left;
  background: linear-gradient(160deg, #2A8A4A 0%, #1B5E4A 45%, #1F3F7A 100%); box-shadow: 0 16px 40px rgba(5, 15, 30, 0.3);
}
.flip__bname { font-size: 15px; font-weight: 600; line-height: 1.35; }
.flip__covers { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.94); }
.flip__ref { font-size: 12px; color: rgba(255, 255, 255, 0.82); font-variant-numeric: tabular-nums; }
.flip__acts { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.flip__go { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 16px; border-radius: 9999px; border: 0; cursor: pointer; background: var(--white); color: var(--forest); font-size: 14px; font-weight: 500; }
.flip__go svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
.flip__go:hover svg { transform: translateX(3px); }
.flip__more { font-size: 13px; color: var(--white); text-underline-offset: 4px; }
.flip__wide { font-size: 13px; color: rgba(255, 255, 255, 0.86); }
.register__foot { position: relative; margin-top: 40px; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; }
.todo--dark { border-color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.85); }
/* Small screens keep the drift (the user wants it moving everywhere); cards
   shrink, the rows run a little faster, and a tap flips a card and holds its row. */
@media (max-width: 760px) {
  .band { padding: 56px 0 48px; }
  .rows { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .rows__set { gap: 14px; padding-right: 14px; animation-duration: 44s; }
  .rows--rev .rows__set { animation-duration: 48s; }
  .flip { width: 196px; height: 290px;   /* narrower card, so its back needs more height */ }
  .flip__front { padding: 20px 16px; }
  .flip__back { padding: 18px 16px; gap: 6px; }
  .flip__covers { font-size: 13px; }
  .flip__logo { height: 76px; margin: 14px 0 6px; }
  .flip__logo img { max-width: 132px; max-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .flip__in { transition: none; }
  .rows { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .rows__set { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .rows__set[aria-hidden] { display: none; }
}

/* Pause/play control shared by the carousel and the gallery. */
.playpause {
  width: 44px; height: 44px; flex: none; border-radius: 9999px; display: grid; place-items: center; cursor: pointer;
  background: rgba(23, 25, 58, 0.55); border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white);
  transition: background-color 150ms var(--ease);
}
.playpause:hover { background: rgba(23, 25, 58, 0.75); }
.playpause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.playpause .i-play, .playpause.is-off .i-pause { display: none; }
.playpause.is-off .i-play { display: block; }
.playpause--dark { background: var(--white); border-color: var(--forest-12); color: var(--forest); }
.playpause--dark:hover { background: var(--forest-06); }
.is-paused .gal__slide.is-on img { animation-play-state: paused; }
@keyframes push { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .gal__slide.is-on img { animation: none; } }

/* -------------------------------------------------------------- courses -- */
.courses { background: linear-gradient(180deg, var(--white) 0%, #F2F6F4 60%, #EEF3F7 100%); }
.courses__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.courses__head { display: grid; gap: 16px; }
.car-ctrl { display: flex; gap: 8px; flex: none; }
.car-btn { width: 44px; height: 44px; border-radius: 9999px; display: grid; place-items: center; cursor: pointer; background: var(--white); border: 1px solid var(--forest-12); color: var(--forest); transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.car-btn:hover { border-color: var(--forest); }
.car-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 9999px; cursor: pointer;
  background: var(--white); border: 1px solid var(--forest-12); color: var(--forest); font-size: 14px; font-weight: 400;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.chip:hover { border-color: var(--forest); }
.chip.is-on { background: var(--forest); border-color: var(--forest); color: var(--white); font-weight: 500; }
.chip--opito.is-on { background: var(--c-opito); border-color: var(--c-opito); }
.chip--stcw.is-on { background: var(--c-stcw); border-color: var(--c-stcw); }
.chip--waha.is-on { background: var(--c-waha); border-color: var(--c-waha); }
.chip.is-on::before { content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.chips__rule { width: 1px; height: 24px; background: var(--forest-12); margin: 0 8px; }
.courses__status { min-height: 24px; margin: 16px 0 16px; font-size: 14px; color: var(--forest-72); }
.car { overflow: hidden; margin: 0 -12px; padding: 12px 12px 28px; touch-action: pan-y; }
.car__track { display: flex; gap: 24px; transition: transform 700ms var(--ease); will-change: transform; }
.car.is-dragging .car__track { transition: none; }
.card { flex: 0 0 calc((100% - 3 * 24px) / 4); min-width: 0; }
.card[hidden] { display: none; }
.card__a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white);
  border: 1px solid var(--forest-12); border-radius: 12px; overflow: hidden; -webkit-user-drag: none;
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.card__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--forest-06); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); -webkit-user-drag: none; pointer-events: none; }
.card__img::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(23, 25, 58, 0.35), transparent); pointer-events: none; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 6px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.6px; color: var(--white); background: var(--forest); box-shadow: 0 2px 8px rgba(5, 15, 30, 0.25); }
.badge--opito { background: var(--c-opito); }
.badge--stcw { background: var(--c-stcw); }
.badge--waha { background: var(--c-waha); }
.badge--noiaa { background: linear-gradient(90deg, var(--forest), var(--blue)); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.card__sector { font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--forest-72); }
.card__name { font-size: 17px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: 13px; color: var(--forest-72); font-variant-numeric: tabular-nums; }
.card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--forest-12); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--forest-72); }
.card__view { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--forest); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .card__a:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
  .card__a:hover .card__img img { transform: scale(1.05); }
  .card__a:hover .card__view svg { transform: translateX(4px); }
}
.car-progress { height: 3px; border-radius: 3px; background: var(--forest-12); overflow: hidden; }
.car-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--blue)); transition: width 700ms var(--ease); }
.courses__todo { margin-top: 24px; text-align: center; }
@media (max-width: 1100px) { .card { flex-basis: calc((100% - 2 * 24px) / 3); } }
@media (max-width: 760px) {
  .courses__top { flex-direction: column; align-items: stretch; }
  .car-ctrl { justify-content: flex-end; }
  .car__track { gap: 16px; }
  .card { flex-basis: calc((100% - 16px) / 2); }
  .card__body { padding: 16px; } .card__name { font-size: 16px; }
}
@media (max-width: 520px) { .card { flex-basis: 78%; } .card__foot > span:first-child { display: none; } .chips__rule { display: none; } }

/* ---------------------------------------------------------------- roll -- */
.roll__head { display: grid; gap: 16px; margin-bottom: 48px; justify-items: start; }
.roll__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stub { padding: 24px; border: 1px solid var(--forest-12); border-radius: 8px; background: var(--white); display: grid; gap: 4px; align-content: start; }
.stub__face { width: 56px; height: 56px; border-radius: 9999px; object-fit: cover; margin-bottom: 16px; }
.stub__face--init { display: grid; place-items: center; background: var(--forest-06); color: var(--forest-72); font-size: 15px; font-weight: 500; }
.stub__name { font-size: 17px; font-weight: 500; line-height: 1.35; }
.stub__course { font-size: 14px; line-height: 1.5; }
.stub__co { font-size: 13px; line-height: 1.5; color: var(--forest-72); }
@media (max-width: 1024px) { .roll__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .roll__list { gap: 12px; } .stub { padding: 16px; } }

/* ------------------------------------------------------- dial (the peak) -- */
.dial__stage { background: radial-gradient(circle at 28% 52%, #11522B 0%, var(--forest) 40%, #131C3A 100%); color: var(--white); }
.dial__hush {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--bar) var(--gutter) 0; text-align: center;
  font-size: clamp(22px, 1rem + 1.2vw, 32px); font-weight: 500; letter-spacing: -0.25px;
}
.dial__body {
  position: absolute; inset: var(--bar) 0 0; display: grid; grid-template-columns: auto minmax(0, 480px); justify-content: center;
  align-items: center; gap: clamp(32px, 6vw, 96px); padding: 24px var(--gutter);
}
.dial__watch { --d: min(calc(100svh - var(--bar) - 96px), 46vw, 680px); position: relative; width: var(--d); height: var(--d); }
.dial__svg { width: 100%; height: 100%; max-width: none; overflow: visible; }
.dial__case { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.5; }
.dial__turn { will-change: transform; }
.dial__night { fill: rgba(255,255,255,.07); }
.dial__hours text { fill: rgba(255,255,255,.62); font: 500 13px "Poppins", sans-serif; font-variant-numeric: tabular-nums; text-anchor: middle; dominant-baseline: central; }
.dial__hours text.is-day { fill: rgba(255,255,255,.9); }
.dial__hours .sep { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.dial__cities text { fill: rgba(255,255,255,.62); font: 500 14px "Poppins", sans-serif; letter-spacing: 2px; text-transform: uppercase; text-anchor: middle; dominant-baseline: central; transition: fill 200ms var(--ease); }
.dial__cities text.is-on { fill: var(--white); }
.dial__cities circle { fill: rgba(255,255,255,.62); }
.dial__track line { stroke: rgba(255,255,255,.34); stroke-width: 1; }
.dial__track line.maj { stroke: rgba(255,255,255,.7); stroke-width: 2; }
.dial__index { fill: var(--white); }
.dial__read { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; }
.dial__time { font-size: clamp(40px, 1.6rem + 2.4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.dial__city { font-size: 18px; font-weight: 500; margin-top: 12px; }
.dial__utc { font-size: 13px; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.dial__read > * { transition: opacity 160ms var(--ease); }
.dial__read.is-swap > * { opacity: 0.25; }
.dial__side { display: grid; gap: 16px; }
.dial .eyebrow { color: rgba(255,255,255,.72); }
.dial__h { color: var(--white); font-size: 26px; max-width: 440px; }
.dial__map { position: relative; margin-top: 16px; }
.dial__map img { width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.dial__pins { position: absolute; inset: 0; }
.pin {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; padding: 0; background: none;
  color: var(--white); cursor: pointer; display: grid; place-items: center;
}
.pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.75); transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.pin::after { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--white); opacity: 0; transform: scale(.6); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.pin.is-on::before { background: var(--white); transform: scale(1.4); }
.pin.is-on::after { opacity: 1; transform: none; }
.pin span { position: absolute; top: 34px; left: 50%; translate: -50% 0; font-size: 12px; font-weight: 500; white-space: nowrap; color: rgba(255,255,255,.72); }
.pin.is-on span { color: var(--white); }
.pin--up span { top: auto; bottom: 34px; }
@media (hover: hover) and (pointer: fine) { .pin:hover::before { transform: scale(1.4); } }
.dial__card { min-height: 148px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); display: grid; gap: 4px; align-content: start; }
.dial__card > * { transition: opacity 160ms var(--ease); }
.dial__card.is-swap > * { opacity: 0.25; }
.dial__role { font-size: 13px; color: rgba(255,255,255,.72); }
.dial__name { font-size: 20px; font-weight: 500; line-height: 1.35; }
.dial__addr { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.88); }
.dial__mail { font-size: 15px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.dial__mail a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 4px; }
.dial__mail a:hover { text-decoration-color: currentColor; }
/* Text twin of the dial: for screen readers, and the visible list under reduced motion. */
.offices { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 860px) {
  .dial__body { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 16px; padding: 12px var(--gutter) 16px; }
  .dial__watch { --d: min(80vw, calc(100svh - var(--bar) - 420px), 440px); }
  .dial__side { width: 100%; max-width: 480px; gap: 8px; }
  .dial .eyebrow { display: none; }
  .dial__h { font-size: 20px; }
  .dial__map { margin-top: 4px; }
  .pin span { display: none; }
  .dial__card { min-height: 136px; padding-top: 12px; }
  .dial__name { font-size: 18px; }
  .dial__addr, .dial__mail { font-size: 14px; }
}
@media (max-width: 860px) and (max-height: 760px) { .dial__h { display: none; } }

/* --------------------------------------------------- back cover + footer -- */
.back { background: radial-gradient(60% 80% at 100% 0%, rgba(40, 104, 168, 0.3), transparent 60%), linear-gradient(135deg, var(--forest) 0%, #10302F 55%, var(--navy) 100%); color: var(--white); padding-top: calc(var(--pad) + 32px); }
.back__in { display: grid; gap: 32px; justify-items: start; padding-bottom: var(--pad); }
.back__h { font-size: clamp(32px, 1.6rem + 1.6vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: -0.5px; max-width: 760px; text-wrap: balance; }
.back__act { display: grid; gap: 16px; justify-items: start; }
.back__meta { font-size: 14px; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.foot { padding-top: 64px; padding-bottom: 48px; border-top: 1px solid rgba(255,255,255,.16); }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.foot__grid > * { display: grid; gap: 8px; align-content: start; font-size: 14px; line-height: 1.5; }
.foot__grid a { color: rgba(255,255,255,.88); text-decoration: none; padding: 2px 0; overflow-wrap: anywhere; }
.foot__grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot__grid p { color: rgba(255,255,255,.72); }
.foot__brand img { width: 144px; height: auto; margin-bottom: 8px; }
.foot__brand p { max-width: 280px; }
/* Social icons under the brand line. */
.soc { display: flex; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.soc__a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.soc__a svg { width: 18px; height: 18px; fill: currentColor; }
a.soc__a:hover { background: var(--white); color: var(--forest); transform: translateY(-2px); }
.soc__a--todo { opacity: 0.45; cursor: default; }
@media (prefers-reduced-motion: reduce) { a.soc__a:hover { transform: none; } }
.foot__t { color: var(--white) !important; font-weight: 500; margin-bottom: 4px; }
.foot__small { margin-top: 48px; font-size: 13px; color: rgba(255,255,255,.7); }
.foot__legal { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; margin-left: 18px; }
.foot__legal a, .foot__legal button { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.foot__legal a:hover, .foot__legal button:hover { color: var(--white); }
@media (max-width: 600px) { .foot__legal { display: flex; margin: 10px 0 0; } }

/* Cookies (3 Dec 2026, after 3t; bar version the same day at NOIAA's request).
   First visit: a full-width bar along the bottom, page still usable. Customise
   opens a centred preferences panel (modal). After a choice, a small cookie
   button at the bottom left reopens it. Square, quiet, professional. */
.ck { margin: 0; padding: 0; border: 0; background: var(--white); color: var(--forest); font-size: 14px; line-height: 1.55; }
.ck a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ck a:hover { color: var(--green); }
.ck__t { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -0.1px; }
.ck__d { color: var(--forest-72); }
/* Buttons: compact, 6px corners, equal weight for Reject and Accept. */
.ck .ck__b { height: 42px; padding: 0 20px; border-radius: 6px; font-size: 14px; font-weight: 600; letter-spacing: 0; box-shadow: none; }
.ck__b--fill { background: var(--forest); color: var(--white); border: 1px solid var(--forest); }
.ck__b--fill:hover { background: #0E4D27; }
.ck__b--line { background: var(--white); color: var(--forest); border: 1px solid var(--forest); }
.ck__b--line:hover { background: var(--forest-06); }
.ck__b--link { background: none; color: var(--forest); border: 1px solid transparent; text-decoration: underline; text-underline-offset: 4px; padding-inline: 10px; }
.ck__b--link:hover { background: var(--forest-06); }
.ck .ck__b:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

/* The bar. */
.ck--notice[open] { position: fixed; z-index: 75; inset: auto 0 0 0; width: 100%; max-width: none; display: block;
  border-top: 3px solid var(--forest); box-shadow: 0 -10px 30px rgba(11, 61, 30, 0.12); animation: ckUp 360ms var(--ease); }
@keyframes ckUp { from { transform: translateY(100%); } }
.ck--notice:focus { outline: none; }
.ck__in { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; gap: 20px 32px; }
.ck__ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: var(--forest-06); color: var(--forest); }
.ck__ico svg, .ckbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ck__ico svg circle, .ckbtn svg circle { fill: currentColor; stroke: none; }
.ck__copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ck__copy .ck__d { max-width: 820px; }
.ck--notice .ck__btns { flex: none; display: flex; align-items: center; gap: 10px; }

/* The preferences panel. */
.ck--prefs { width: min(600px, calc(100vw - 32px)); max-height: calc(100svh - 32px); margin: auto; border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(11, 30, 20, 0.3); }
.ck--prefs[open] { display: flex; flex-direction: column; animation: ckIn 260ms var(--ease); }
.ck--prefs::backdrop { background: rgba(11, 30, 20, 0.55); animation: ckFade 260ms linear; }
@keyframes ckIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes ckFade { from { opacity: 0; } }
.ck__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--forest-12); }
.ck__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ck__brand img { width: 92px; height: auto; flex: none; padding-right: 14px; border-right: 1px solid var(--forest-12); }
.ck__x { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--forest); cursor: pointer; }
.ck__x:hover { background: var(--forest-06); }
.ck__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ck__body { overflow-y: auto; padding: 20px 24px; display: grid; gap: 10px; }
.ck__body > .ck__d { margin-bottom: 6px; }
.ck--prefs .ck__btns { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--forest-12); background: var(--forest-06); }
/* A category: a bordered row; the name opens to explain it; the switch or
   "Always active" sits right. */
.ckcat { position: relative; border: 1px solid var(--forest-12); border-radius: 6px; background: var(--white); }
.ckcat summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 120px 0 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; }
.ckcat summary::-webkit-details-marker { display: none; }
.ckcat summary::before { content: ""; width: 7px; height: 7px; flex: none; border: solid var(--forest); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform 200ms var(--ease); }
.ckcat details[open] summary::before { transform: rotate(45deg); }
.ckcat summary:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; border-radius: 6px; }
.ckcat details p { margin: 0 16px; padding: 12px 0 16px 19px; border-top: 1px solid var(--forest-12); color: var(--forest-72); font-size: 13px; }
.ckcat__on, .ckswitch { position: absolute; right: 16px; top: 26px; transform: translateY(-50%); }
.ckcat__on { font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--forest); }
.ckswitch { display: inline-flex; cursor: pointer; }
.ckswitch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ckswitch__t { position: relative; width: 40px; height: 22px; border-radius: 9999px; background: #C9D3CD; transition: background-color 200ms var(--ease); }
.ckswitch__t::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(11, 61, 30, 0.3); transition: transform 200ms var(--ease); }
.ckswitch input:checked + .ckswitch__t { background: var(--forest); }
.ckswitch input:checked + .ckswitch__t::after { transform: translateX(18px); }
.ckswitch input:focus-visible + .ckswitch__t { outline: 2px solid var(--forest); outline-offset: 3px; }

/* The cookie button: bottom left, once a choice is made. Green circle
   (NOIAA, 3 Dec 2026: "I liked that"). */
.ckbtn { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--forest); color: var(--white); box-shadow: 0 8px 20px rgba(11, 61, 30, 0.25); transition: transform 150ms var(--ease), background-color 150ms var(--ease); }
.ckbtn:hover { transform: scale(1.06); background: #0E4D27; }
.ckbtn:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.ckbtn[hidden] { display: none; }

@media (max-width: 980px) {
  .ck__in { flex-wrap: wrap; }
  .ck__copy { flex-basis: calc(100% - 64px); }
  .ck--notice .ck__btns { width: 100%; justify-content: flex-end; }
}
@media (max-width: 560px) {
  .ck__in { padding: 16px var(--gutter) 18px; gap: 14px; }
  .ck__ico { display: none; }
  .ck__copy { flex-basis: 100%; }
  .ck--notice .ck__btns { display: grid; grid-template-columns: 1fr 1fr; }
  .ck--notice .ck__b--fill { grid-column: 1 / -1; order: -1; }
  .ck__head { padding: 14px 14px 14px 18px; }
  .ck__brand img { width: 76px; }
  .ck__body { padding: 16px 18px; }
  .ck--prefs .ck__btns { display: grid; grid-template-columns: 1fr; padding: 14px 18px; }
  .ck--prefs .ck__b--fill { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .ck--notice[open], .ck--prefs[open], .ck--prefs::backdrop { animation: none; } }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------- reduced motion -- */
.rm .dial__stage { height: auto; position: relative; padding: calc(var(--bar) + 48px) 0 var(--pad); }
.rm .dial__hush { position: static; padding: 0 var(--gutter) 32px; }
.rm .dial__body { position: static; }
.rm .offices{
  position: static; width: auto; height: auto; clip-path: none; white-space: normal; overflow: visible;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 48px auto 0; padding: 0 var(--gutter);
}
.rm .offices li { border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; font-size: 14px; color: rgba(255,255,255,.88); }
.rm .offices h3 { font-size: 16px; font-weight: 500; color: var(--white); }
.rm .offices .o-time { color: var(--white); font-variant-numeric: tabular-nums; margin-top: 4px; }
.rm .dial__card { display: none; }
@media (max-width: 700px) { .br-wide { display: none; } }
@media (max-width: 860px) { .panel__sun { translate: 0 25%; width: 200px; height: 200px; } }

/* =================================================================== v5 == */
/* Courses, ERGT-style: the carousel runs from the content edge to the right
   edge of the screen so the next card peeks in; landscape photo, sector line,
   title, then Duration and Cost side by side. */
.courses { background: var(--white); }
.courses .car { margin-right: calc((100% - 100vw) / 2); padding-right: 0; }
.courses .card { flex: 0 0 var(--card-w); }
.courses { --card-w: calc((min(100vw - 2 * var(--gutter), var(--maxw)) - 4 * 24px) / 5.2); }
@media (max-width: 1440px) { .courses { --card-w: calc((min(100vw - 2 * var(--gutter), var(--maxw)) - 3 * 24px) / 4.2); } }
@media (max-width: 1100px) { .courses { --card-w: calc((100vw - 2 * var(--gutter) - 2 * 24px) / 3.15); } }
@media (max-width: 760px)  { .courses { --card-w: calc((100vw - 2 * var(--gutter) - 16px) / 1.6); } }
@media (max-width: 480px)  { .courses { --card-w: 74vw; } }
.card__a { border-radius: 16px; }
.card__img { aspect-ratio: 16 / 10; }
.card__img::after { display: none; }
.card__body { gap: 8px; padding: 18px 18px 16px; }
.card__sector { font-size: 11px; letter-spacing: 1.2px; }
.card__name { font-size: 16px; min-height: calc(2 * 1.35em); }
.card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--forest-12); }
.card__facts small { display: block; font-size: 12px; color: var(--forest-72); }
.card__facts b { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card__view { margin-top: 6px; }
.car-progress { margin-top: 4px; }

/* -------------------------------------------------------------- news -- */
.news { background: var(--paper); }
.news__head, .testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.post__a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--forest-12); transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.post__img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--mint), #E3EEF9); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.post__cat { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 9999px; font-size: 11px; font-weight: 600; letter-spacing: 0.4px; color: var(--white); background: var(--green); }
.post:nth-child(2n) .post__cat { background: var(--blue); }
.post__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.post__title { font-size: 16px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__ex { font-size: 14px; line-height: 1.55; color: var(--forest-72); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__date { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--forest-72); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .post__a:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--forest-12), var(--shadow-md); }
  .post__a:hover .post__img img { transform: scale(1.05); }
}
@media (max-width: 1024px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } .news__head, .testi__head { flex-direction: column; align-items: flex-start; } }

/* --------------------------------------------------------------- FAQ -- */
/* Questions on the left; a photo inside the NOIAA leaf mark on the right. */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.faq__head { display: grid; gap: 16px; margin-bottom: 32px; }
.qa { border-top: 1px solid var(--forest-12); }
.qa__item { border-bottom: 1px solid var(--forest-12); }
.qa__q { margin: 0; font-size: inherit; }
.qa__q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--forest); }
.qa__q button:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--forest-60); }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); transition: background-color 200ms var(--ease), transform 300ms var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--white); transition: transform 300ms var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
[aria-expanded="true"] .qa__icon { background: var(--green); transform: rotate(180deg); }
[aria-expanded="true"] .qa__icon::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 380ms var(--ease), visibility 0s linear 380ms; }
.qa__a > div { min-height: 0; overflow: hidden; }
.qa__a p { padding: 0 56px 20px 0; opacity: 0; translate: 0 -6px; transition: opacity 260ms var(--ease), translate 320ms var(--ease); }
.qa__item.is-open .qa__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 420ms var(--ease), visibility 0s; }
.qa__item.is-open .qa__a p { opacity: 1; translate: 0 0; transition-delay: 90ms; }
.qa__item { transition: background-color 200ms var(--ease); }
.qa__item.is-open .qa__q button { color: var(--forest); }
@media (prefers-reduced-motion: reduce) { .qa__a, .qa__a p, .qa__item.is-open .qa__a { transition: none; } }
.qa__a p { font-size: 15px; line-height: 1.7; color: var(--forest-72); max-width: 600px; }
.qa__a a { color: var(--forest); text-underline-offset: 3px; }
.faq__art { position: relative; margin: 0; }
.faq__art::before { content: ""; position: absolute; inset: 8% -6% -4% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(92, 193, 127, 0.25), rgba(40, 104, 168, 0.12) 50%, transparent 70%); }
.faq__leaf { position: relative; display: block; aspect-ratio: 524 / 549; -webkit-mask: url(assets/leaf-mask.png) center / contain no-repeat; mask: url(assets/leaf-mask.png) center / contain no-repeat; }
.faq__leaf img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 40px; } .faq__art { order: -1; width: min(320px, 70vw); margin: 0 auto; } }

/* ------------------------------------------------------- testimonials -- */
.testi { background: var(--white); }
.vids { --cols: 5; --gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px var(--gap); }
.vid { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.vid__btn { width: 100%; display: grid; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--forest); }
.vid__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--forest-06); margin-bottom: 12px; box-shadow: 0 0 0 1px var(--forest-12); }
.vid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.vid__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 25, 58, 0.45), transparent 45%); }
.vid__play { position: absolute; z-index: 1; left: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: 0 8px 20px rgba(23, 25, 58, 0.25); transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.vid__play svg { width: 18px; height: 18px; fill: var(--forest); margin-left: 3px; }
.vid__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
.vid__course { font-size: 13px; color: var(--forest-72); }
@media (hover: hover) and (pointer: fine) {
  .vid__btn:hover .vid__img img { transform: scale(1.05); }
  .vid__btn:hover .vid__play { transform: scale(1.08); background: var(--mint); }
}
.vid[hidden], .vids__more[hidden] { display: none; }
.vids__more { display: flex; justify-content: center; margin-top: 36px; }
.vids__more span { color: var(--forest-72); font-weight: 500; }
.testi .rvids__todo { margin-top: 20px; text-align: center; }
@media (max-width: 1024px) { .vids { --cols: 3; } }
@media (max-width: 560px) { .vids { --cols: 2; --gap: 14px; row-gap: 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.player { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px; background: var(--navy); color: var(--white); box-shadow: 0 24px 64px rgba(11, 61, 30, 0.16); }
.player::backdrop { background: rgba(11, 20, 30, 0.72); }
.player video { display: block; width: 100%; max-height: 78vh; background: #000; }
.player__t { padding: 14px 20px; font-size: 14px; }
/* Upright phone videos: the player takes the video's shape, not a wide box. */
.player.is-tall { width: min(calc(78vh * 9 / 16), calc(100vw - 32px)); }
.player.is-tall video { aspect-ratio: 9 / 16; max-height: 78vh; object-fit: contain; }
.player__x { position: absolute; z-index: 2; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, 0.9); color: var(--forest); }
.player__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* =================================================================== v7 == */
/* Hero, held (NOIAA, 1 Dec 2026): it never zooms. It holds still, full
   width, on every screen, and the rest of the page slides up over it.
   home.js sets --hero-top so a hero taller than the screen scrolls to its
   foot first, then holds. */
.hero { min-height: 0; display: block; padding-top: 0; overflow: visible; position: sticky; top: var(--hero-top, 0px); z-index: 0; }
.hero__stage { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 100svh; padding-top: var(--hdr); background: var(--paper); overflow: hidden; }
@media (max-width: 860px) { .hero__inner { padding-inline: calc(var(--gutter) + 8px); } }
:where(main > #hero ~ *) { position: relative; z-index: 1; background-color: var(--white); }
/* The first section arrives as a sheet over the hero. */
main > #hero + * { border-radius: 24px 24px 0 0; box-shadow: 0 -14px 36px rgba(11, 61, 30, 0.08); }

/* Header CTA shows how many courses are on the booking. */
.bar__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; border-radius: 9999px; background: var(--green-hi); color: var(--forest); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar__count[hidden] { display: none; }
.bar__count.is-stamped { animation: stamp 420ms var(--ease); }
@keyframes stamp { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Course cards: the title link covers the card; Add sits on the photo. */
.card__a { position: relative; }
.card__name { color: inherit; text-decoration: none; }
.card__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__a:has(.card__name:focus-visible) { outline: 2px solid var(--forest); outline-offset: 3px; }
.card__name:focus-visible { outline: none; }
.card__add {
  position: absolute; z-index: 2; top: 12px; right: 12px; height: 34px; padding: 0 12px 0 10px; border: 0; border-radius: 9999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--forest);
  background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 14px rgba(23, 25, 58, 0.2);
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.card__add:active { transform: scale(0.96); }
.card__add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__add .i-check, .card__add[aria-pressed="true"] .i-plus { display: none; }
.card__add[aria-pressed="true"] .i-check { display: block; }
.card__add[aria-pressed="true"] { background: var(--green); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .card__add:hover { background: var(--mint); } .card__add[aria-pressed="true"]:hover { background: #237A40; } }

/* Booking: lead and contacts on the Forest band, the form on a white card. */
.back { padding-top: var(--pad); }
.book { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; padding-bottom: var(--pad); scroll-margin-top: calc(var(--bar) + 16px); }
.book__lead { display: grid; gap: 16px; align-content: start; padding-top: 8px; }
.book__p { font-size: 18px; color: rgba(255, 255, 255, 0.88); max-width: 520px; }
.contact { display: grid; gap: 4px; margin-top: 16px; max-width: 520px; }
.contact li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact .ico { width: 20px; height: 20px; color: var(--green-hi); }
.contact__k { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.contact__v { display: block; font-size: 15px; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
a.contact__v:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { height: 32px; padding: 0 12px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: var(--white); font-size: 13px; font-weight: 500; cursor: pointer; }
.copy:hover { background: rgba(255, 255, 255, 0.1); }
.copy--dark { border-color: var(--forest-12); color: var(--forest); background: var(--white); justify-self: start; }
.copy--dark:hover { background: var(--forest-06); }
.bform { background: var(--white); color: var(--forest); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px rgba(5, 15, 30, 0.3); display: grid; gap: 24px; }
.bform__picked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 12px; background: linear-gradient(120deg, #DDF2E4, #E2EEF8); font-size: 14px; }
.bform__picked .lbl { font-weight: 500; margin-right: 4px; }
.pick { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px; border-radius: 9999px; background: var(--white); box-shadow: 0 0 0 1px rgba(42, 138, 74, 0.3); font-size: 13px; font-weight: 500; }
.pick button { width: 22px; height: 22px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--forest-06); color: var(--forest); font-size: 14px; line-height: 1; }
.pick button:hover { background: var(--forest-12); }
.bform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field label span { font-weight: 400; color: var(--forest-72); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--forest-12); background: var(--white);
  font: inherit; font-size: 15px; color: var(--forest); transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(42, 138, 74, 0.2); }
.field [aria-invalid="true"] { border-color: #9B1B3A; }
.field__err { font-size: 13px; font-weight: 500; color: #9B1B3A; }
.field__err:empty { display: none; }
.bform__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.bform__submit small { font-size: 13px; color: var(--forest-72); }
.bform__done { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--mint); }
.bform__done[hidden] { display: none; }
.bform__done pre { margin: 0; padding: 14px; border-radius: 8px; background: var(--white); font: 13px/1.6 "Poppins", sans-serif; white-space: pre-wrap; max-height: 220px; overflow: auto; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .bform { padding: 20px; } .bform__grid { grid-template-columns: 1fr; } }

/* Toast after adding a course. */
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: 9999px;
  background: var(--forest); color: var(--white); font-size: 14px; box-shadow: 0 16px 40px rgba(5, 15, 30, 0.3);
  transform: translate(-50%, 140%); opacity: 0; transition: transform 320ms var(--ease), opacity 240ms var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { flex: none; padding: 6px 12px; border-radius: 9999px; background: var(--green-hi); color: var(--forest); font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .toast { transition: opacity 160ms linear; } .bar__count.is-stamped { animation: none; } }
.toast { width: max-content; max-width: calc(100vw - 32px); }
@media (max-width: 520px) { .toast { border-radius: 16px; font-size: 14px; } }

/* "Who we are" menu: About NOIAA as a featured card beside two link columns. */
.menu__panel--who { grid-template-columns: 1.15fr 1fr 1fr; width: min(900px, calc(100vw - 2 * var(--gutter))); align-items: start; }
.menu__feature { display: grid; gap: 6px; padding: 12px; margin: -12px; border-radius: 12px; text-decoration: none; transition: background-color 150ms var(--ease); }
.menu__feature:hover { background: var(--forest-06); }
.menu__fimg { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: 8px; background: var(--forest-06); }
.menu__fimg img { width: 100%; height: 100%; object-fit: cover; }
.menu__ft { font-size: 17px; font-weight: 600; }
.menu__fl { font-size: 14px; line-height: 1.5; color: var(--forest-72); font-weight: 400; }
.menu__fa { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.menu__fa svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* "Request a quote" in place of a price on course cards. */
.card__quote { position: relative; z-index: 2; justify-self: start; align-self: end; padding: 6px 10px; border: 0; border-radius: 9999px; cursor: pointer;
  background: var(--mint); color: var(--forest); font: 600 13px/1.2 "Poppins", sans-serif; transition: background-color 150ms var(--ease); }
.card__quote:hover { background: #C9EBD4; }

/* Hero pill: the OPITO approval badge. */
.pill--approved { height: 40px; padding: 0 14px 0 6px; gap: 10px; font-weight: 600; }
.pill__logo { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12); }
.pill--approved .pill__check { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero .display { max-width: 1120px; }

/* ------------------------------------------- courses by role + crew ticket -- */
.crew { background: var(--paper); }
.crew__head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 40px; }
.crew__head .lead { margin-inline: auto; }
.crew__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cpanel { display: grid; gap: 0; border-radius: 20px; background: var(--forest-06); box-shadow: inset 0 0 0 1px var(--forest-12); overflow: hidden; }
.cpanel__head { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 32px 28px 26px; border-bottom: 1px solid var(--forest-12); }
.cpanel__t { font-size: 26px; font-weight: 600; letter-spacing: -0.3px; }
.cpanel__head p { font-size: 15px; color: var(--forest-72); max-width: 460px; }
.cpanel__card { margin: 20px; padding: 18px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12), 0 12px 28px rgba(23, 25, 58, 0.06); }
.cpanel__foot { padding: 0 20px 20px; text-align: center; font-size: 13px; color: var(--forest-72); }

.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.role { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--forest-12); background: var(--white); color: var(--forest); font: 500 14px "Poppins", sans-serif; cursor: pointer; transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease); }
.role:hover { border-color: var(--forest); }
.role[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.rlist { margin: 0; padding: 0; list-style: none; }
.rlist[hidden] { display: none; }
.rrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--forest-12); }
.rrow:last-child { border-bottom: 0; padding-bottom: 4px; }
.rrow__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mint); color: var(--forest); }
.rrow__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rrow__text { display: grid; gap: 2px; min-width: 0; }
.rrow__name { font-size: 15px; font-weight: 600; color: var(--forest); text-decoration: none; }
.rrow__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.rrow__fam { font-size: 13px; color: var(--forest-72); }
.radd { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--forest-12); background: var(--white); color: var(--forest); font: 600 14px "Poppins", sans-serif; cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); }
.radd:hover { border-color: var(--forest); }
.radd svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.radd .i-check, .radd[aria-pressed="true"] .i-plus { display: none; }
.radd[aria-pressed="true"] .i-check { display: block; }
.radd[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

/* The ticket: a perforated stub on white. */
.ticket { position: relative; margin: 20px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--forest-12), 0 18px 40px rgba(23, 25, 58, 0.1); }
.ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.ticket__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.ticket__brand svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticket__where { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; text-align: right; color: var(--forest-72); line-height: 1.4; }
.ticket__lines { position: relative; margin: 0; padding: 12px 20px; list-style: none; min-height: 150px; border-top: 2px dashed var(--forest-12); }
.ticket__lines::before, .ticket__lines::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest-06); box-shadow: inset 0 0 0 1px var(--forest-12); }
.ticket__lines::before { left: -11px; } .ticket__lines::after { right: -11px; }
.ticket__empty { display: grid; place-items: center; min-height: 126px; padding: 12px; text-align: center; font-size: 14px; color: var(--forest-72); }
.tline { display: grid; grid-template-columns: 12px minmax(0, 1fr) 32px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--forest-12); }
.tline:last-child { border-bottom: 0; }
.tline__hole { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(42, 138, 74, 0.18); }
.tline__name { font-size: 15px; font-weight: 500; color: var(--forest); text-decoration: none; }
a.tline__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.tline__x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--forest-06); color: var(--forest); font-size: 18px; line-height: 1; cursor: pointer; }
.tline__x:hover { background: var(--forest-12); }
.tline.is-new { animation: punch 520ms var(--ease); }
@keyframes punch { 0% { opacity: 0; transform: translateY(-8px) scale(0.98); } 60% { opacity: 1; transform: translateY(2px); } 100% { transform: none; } }
.ticket__foot { display: grid; gap: 14px; padding: 16px 20px 20px; border-top: 1px solid var(--forest-12); }
.crewsize { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crewsize b { display: block; font-size: 15px; font-weight: 600; }
.crewsize small { font-size: 13px; color: var(--forest-72); }
.stepper { display: inline-flex; align-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--forest-12); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; color: var(--forest); font-size: 20px; cursor: pointer; border-radius: 12px; }
.stepper button:hover:not(:disabled) { background: var(--forest-06); }
.stepper button:disabled { color: var(--forest-60); cursor: default; }
.stepper output { min-width: 44px; text-align: center; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticket__sum { font-size: 14px; font-weight: 500; color: var(--forest-72); }
.ticket__actions { display: grid; grid-template-columns: 1fr 52px; gap: 10px; }
.ticket__actions .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ticket__clear { display: grid; place-items: center; height: 48px; border-radius: 8px; border: 1px solid var(--forest-12); background: var(--white); color: var(--forest-72); cursor: pointer; }
.ticket__clear svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ticket__clear:hover:not(:disabled) { border-color: var(--forest); color: var(--forest); }
.ticket__clear:disabled { opacity: 0.45; cursor: default; }
.ticket__note { font-size: 13px; color: var(--forest-72); }
@media (max-width: 960px) { .crew__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .cpanel__card, .ticket { margin: 12px; }
  .cpanel__card { padding: 12px; }
  .rrow { grid-template-columns: 36px minmax(0, 1fr); }
  .rrow__ic { width: 36px; height: 36px; }
  .radd { grid-column: 2; justify-self: start; height: 36px; }
  .roles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .role { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .tline.is-new { animation: none; } }
.crew__grid > *, .cpanel__card { min-width: 0; }

/* Training courses menu: categories, then groups that open (catalogue rebuild, 28 Oct 2026). */
.menu__panel--cat { grid-template-columns: 1fr 1fr; width: min(760px, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - var(--bar) - 24px); overflow-y: auto; align-items: start; }
.menu__cath { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--forest-72); text-decoration: none; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--forest-12); }
.menu__cath:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.mtree { display: grid; gap: 2px; }
.mtree__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.menu__col .mtree__row a, .stree .mtree__row a { flex: 1; padding: 6px 0; font-size: 15px; font-weight: 500; text-decoration: none; border: 0; }
.mtree__row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mtree__btn { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--forest); cursor: pointer; transition: background-color 150ms var(--ease); }
.mtree__btn:hover { background: var(--forest-06); }
.mtree__btn svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 150ms var(--ease); }
.mtree__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mtree__list { display: grid; gap: 0; margin: 0 0 8px; padding-left: 14px; border-left: 2px solid var(--forest-12); }
.mtree__list[hidden] { display: none; }
.menu__col .mtree__list a:not(.link), .stree .mtree__list a { display: block; padding: 4px 0; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--forest-72); border: 0; }
.mtree__list a:hover { color: var(--forest); }
.menu__panel--cat .menu__all { grid-column: 1 / -1; margin-top: 4px; }
.stree { margin-top: 4px; }
.sheet .stree__cat { font-weight: 600; }
.stree__g { padding-left: 4px; border-bottom: 1px solid var(--forest-12); }
.sheet .stree__g .mtree__row a { font-size: 16px; }
.cgroups { display: grid; gap: 16px; justify-items: start; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--forest-12); }
.cgroups__t { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--forest-72); }
.cgroups__row { display: grid; grid-template-columns: 140px 1fr; gap: 12px 24px; align-items: start; width: 100%; }
.cgroups__cat { font-weight: 600; padding-top: 8px; }
.cgroups .cmore__list { display: flex; flex-wrap: wrap; gap: 8px; }
.cgroups .cmore__list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--forest-12); border-radius: 999px; background: var(--white); font-size: 14px; text-decoration: none; }
.cgroups .cmore__list a:hover { border-color: var(--forest); }
@media (max-width: 640px) { .cgroups__row { grid-template-columns: 1fr; } }

/* Courses for your crew: category tabs, then groups that open (29 Oct 2026). */
.cgrps[hidden] { display: none; }
.cgrps { display: grid; gap: 8px; margin-top: 4px; }
.cgrp { border: 1px solid var(--forest-12); border-radius: 12px; background: var(--white); overflow: hidden; }
.cgrp__h { margin: 0; font-size: inherit; }
.cgrp__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px; border: 0; background: none; color: var(--forest); font: 600 15px "Poppins", sans-serif; text-align: left; cursor: pointer; transition: background-color 150ms var(--ease); }
.cgrp__btn:hover { background: var(--forest-06); }
.cgrp__btn[aria-expanded="true"] { background: var(--forest-06); }
.cgrp__name { flex: 1; min-width: 0; }
.cgrp__n { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--mint); font-size: 12px; font-weight: 500; }
.cgrp__chev { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
.cgrp__btn[aria-expanded="true"] .cgrp__chev { transform: rotate(180deg); }
.cgrp__body { padding: 0 16px 14px; }
.cgrp__body[hidden] { display: none; }
.cgrp .rrow { padding: 12px 0; }
.cgrp__all, .cgrp__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-underline-offset: 4px; }
.cgrp__all svg, .cgrp__cat svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cgrp__all { margin-top: 6px; }
.cgrp__cat { justify-self: start; margin-top: 8px; }
@media (max-width: 520px) { .cgrp__btn { padding: 12px; } .cgrp__body { padding: 0 12px 12px; } .cgrp__n { display: none; } }

/* ------------------------------------------------------ where you train -- */
/* Drone footage band. --e (0..1) opens the frame from an inset rounded card to
   the full width as the act's --sc-p reaches the middle of the screen. */
.aerial { --e: clamp(0, calc(var(--sc-p, 0.5) * 2.4 - 0.35), 1); padding-block: calc(var(--pad) * 0.5); }
.aerial__frame { position: relative; overflow: hidden; min-height: min(86svh, 760px); display: grid; align-items: end; color: var(--white); background: var(--forest);
  clip-path: inset(calc((1 - var(--e)) * 5%) calc((1 - var(--e)) * max(var(--gutter, 24px), 6vw)) round calc((1 - var(--e)) * 28px + 4px)); }
.aerial__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.14 - var(--e) * 0.14)); }
.aerial__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 33, 20, 0.82) 0%, rgba(11, 33, 20, 0.35) 45%, rgba(11, 33, 20, 0) 75%); }
.aerial__copy { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; padding-block: 0 72px; }
.aerial__k { color: rgba(255, 255, 255, 0.8); }
.aerial__h { font-size: clamp(34px, 1.6rem + 3vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -1.5px; max-width: 14ch; text-wrap: balance; }
.aerial__lead { font-size: 18px; line-height: 1.65; max-width: 520px; color: rgba(255, 255, 255, 0.88); }
.aerial__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.aerial__chips li { padding: 8px 14px; border-radius: 9999px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.aerial__play { position: absolute; z-index: 2; right: max(var(--gutter, 24px), 6vw); bottom: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 9999px; font: inherit; font-size: 13px; font-weight: 500; color: var(--forest); background: rgba(255, 255, 255, 0.92); cursor: pointer; }
.aerial__play svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aerial__play .i-play { display: none; fill: currentColor; }
.aerial__play.is-paused .i-play { display: block; } .aerial__play.is-paused .i-pause { display: none; }
@media (max-width: 700px) {
  .aerial__frame { min-height: 78svh; }
  .aerial__copy { padding-bottom: 88px; }
  .aerial__play { right: auto; left: var(--gutter); bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .aerial { --e: 1; } .aerial__v { transform: none; } }
.aerial--slim .aerial__frame { min-height: min(64svh, 560px); }
.aerial--slim .aerial__h { font-size: clamp(30px, 1.4rem + 2.2vw, 54px); max-width: 18ch; }

/* Booking form trap field: hidden from people, filled by bots. */
.bform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------- stay (home) -- */
/* The accommodation page's header as a homepage band: copy left, the room
   photo right with a tilted inset photo and a chip. */
.stay { position: relative; overflow: hidden; background: var(--paper); box-shadow: inset 0 1px 0 var(--forest-12); }
/* The grid stays still here (the homepage hero's grows on scroll); the glows
   drift apart a little as the band scrolls through. */
.stay .hero__grid { transform: none; }
.stay .glow--g { top: -14vw; }
.stay__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.stay__copy { display: grid; gap: 18px; justify-items: start; }
.stay__h { font-size: clamp(36px, 1.6rem + 2.6vw, 64px); line-height: 1.08; letter-spacing: -1.2px; }
.stay .lead { color: var(--forest-72); max-width: 520px; }
.stay__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.stay__fig { position: relative; margin: 0; padding: 0 0 48px 48px; }
.stay__fig > img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 20px; border: 6px solid var(--white); box-shadow: 0 30px 60px rgba(23, 25, 58, 0.18); }
.stay__fig > img:first-child { aspect-ratio: 4 / 3; transform: rotate(-1.5deg); }
.stay__inset { position: absolute; left: 0; bottom: 0; width: 46% !important; aspect-ratio: 4 / 3; transform: rotate(3deg); border-radius: 16px !important; }
.stay__chip { position: absolute; right: 16px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9999px; background: var(--white); font-size: 13px; font-weight: 500; color: var(--forest); box-shadow: 0 10px 24px rgba(11, 61, 30, 0.14); }
.stay__chip span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(42, 138, 74, 0.18); }
@media (max-width: 900px) {
  .stay__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .stay__fig { padding: 0 0 32px 24px; }
  .stay__chip { right: 8px; bottom: 8px; }
}

/* ---------------------------------------------------------- phones -- */
@media (max-width: 760px) {
  /* Hero: two small photo bubbles in the top corners only, clear of the
     headline and the paragraph; the lower pair would sit on the text. */
  .bub--0 { left: 11%; top: 44px; } .bub--1 { left: 89%; top: 40px; }
  .flat .hero__stage { min-height: 0; }
  .flat .hero__inner { padding-block: 112px 112px; }
  /* The lower pair sits in the band between the buttons and "Trusted by",
     measured from the foot of the hero so it never touches either. */
  .bub--2 { left: 26%; top: auto; bottom: 168px; } .bub--3 { left: 74%; top: auto; bottom: 160px; }
  /* Phone numbers never break in the middle. */
  .offices a[href^="tel:"], .dial a[href^="tel:"], .kto a[href^="tel:"] { white-space: nowrap; }
}
@media (max-width: 560px) {
  /* Footer: the contact column gets the full width, so emails fit on one line. */
  .foot__grid > :last-child { grid-column: 1 / -1; }
  .foot__grid a { overflow-wrap: break-word; }
}

/* Offices dial on phones and tablets (NOIAA, 19 Nov 2026): it pins and turns
   as on desktop. The layout is anchored to the top, so a taller office card
   (Cape Limboh lists five numbers) grows downward and never moves the clock.
   The clock takes whatever height the heading, map and card leave. */
@media (max-width: 860px) {
  .dial__body { align-content: start; padding-top: 16px; }
  .dial__card { min-height: 212px; }
  .dial__watch {
    --map: calc(min(100vw - 2 * var(--gutter), 480px) * 0.356);
    --side: calc(var(--map) + 212px + 116px);
    --d: max(180px, min(80vw, 440px, calc(100svh - var(--bar) - var(--side))));
  }
}
@media (max-width: 860px) and (max-height: 760px) { .dial__watch { --side: calc(var(--map) + 212px + 60px); } }
@media (max-width: 860px) and (max-height: 620px) { .dial__map { display: none; } .dial__watch { --side: 272px; } }
