/* =========================================================
   AQLITY — design system
   Brand: yellow #FDD128, teal #2C4A51, warm grey #878684
   Type: Poppins (headings), Nunito Sans (body)
   ========================================================= */

:root {
  --yellow: #fdd128;
  --yellow-600: #e9bb0c;
  --yellow-100: #fff6d1;
  --teal: #2c4a51;
  --teal-700: #1f363b;
  --teal-900: #142427;
  --teal-100: #e5eced;
  --grey: #878684;
  --sand: #f6f4ef;
  --line: #e4e1da;
  --ink: #1e2d30;          /* headings */
  --text: #3a4a4d;         /* body copy — 9.6:1 on white */
  --muted: #5e6b6d;        /* secondary copy — 5.6:1 on white */
  --white: #fff;

  --font-head: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.35rem, 1.1rem + .8vw, 1.6rem);
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem);
  --step-5: clamp(2.6rem, 1.6rem + 4vw, 4.6rem);

  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1200px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(20, 36, 39, .06), 0 8px 24px rgba(20, 36, 39, .08);
  --shadow-lg: 0 2px 4px rgba(20, 36, 39, .06), 0 20px 48px rgba(20, 36, 39, .16);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--step-0)/1.7 var(--font-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; color: var(--ink); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { display: none !important; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--yellow); color: var(--ink); padding: .7em 1.2em; font: 600 var(--step--1) var(--font-head); border-radius: var(--radius); }
.skip:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal); color: #dbe5e6; }
.section--dark { background: var(--teal-900); color: #c9d5d7; }
.section--yellow { background: var(--yellow) url(/assets/img/pattern-yellow.webp) center / 520px; color: var(--ink); }
.section--topo { background: linear-gradient(rgba(44, 74, 81, .92), rgba(44, 74, 81, .92)), url(/assets/img/47cfe8_dbab631c4c4c476c983495a8f4584061.webp) center / cover; color: #dbe5e6; }
.section--teal h2, .section--teal h3, .section--dark h2, .section--dark h3, .section--topo h2, .section--topo h3 { color: var(--white); }
.section--teal strong, .section--dark strong, .section--topo strong { color: var(--white); }
.section--teal a:not(.btn), .section--dark a:not(.btn), .section--topo a:not(.btn) { color: var(--yellow); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.grid--center { align-items: center; }
.grid--wide-left { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 68ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* Two-column "heading left, copy right" rows */
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.row + .row { margin-top: var(--section); }

/* ---------- Typographic helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .8125rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section--teal .eyebrow, .section--dark .eyebrow, .section--topo .eyebrow, .page-hero .eyebrow, .home-hero .eyebrow { color: var(--yellow); }
.section--yellow .eyebrow::before { background: var(--teal); }
.dot { color: var(--yellow); }
.section--yellow .dot { color: var(--teal); }
.hl { color: var(--yellow); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); }
.section--teal .lead, .section--dark .lead, .section--topo .lead { color: #c9d5d7; }
.section--yellow .lead { color: var(--teal-700); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: .35em; }
.section-head p:last-child { margin-bottom: 0; }
.big-quote { font: 700 var(--step-3)/1.25 var(--font-head); color: var(--ink); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.section--teal .big-quote, .section--dark .big-quote { color: var(--white); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow); display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.6em; border-radius: var(--radius); border: 2px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 .9375rem/1.1 var(--font-head); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { --bg: var(--yellow-600); --bd: var(--yellow-600); color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20, 36, 39, .15); }
.btn:active { transform: none; box-shadow: none; }
.btn--dark { --bg: var(--teal); --fg: var(--white); --bd: var(--teal); }
.btn--dark:hover { --bg: var(--teal-900); --bd: var(--teal-900); color: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .7); }
.btn--ghost:hover { --bg: var(--white); --bd: var(--white); color: var(--ink); }
.btn--outline { --bg: transparent; --fg: var(--teal); --bd: var(--teal); }
.btn--outline:hover { --bg: var(--teal); --bd: var(--teal); color: var(--white); }
.btn--sm { padding: .7em 1.2em; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .arrow, .link-arrow .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 600 .9375rem var(--font-head); color: var(--teal); text-decoration: none; }
.link-arrow:hover { color: var(--teal-900); text-decoration: underline; }
.section--teal .link-arrow, .section--dark .link-arrow, .section--topo .link-arrow { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 36, 39, .06); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 156px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav__list > li { position: relative; margin: 0; }
.site-nav__link { display: inline-flex; align-items: center; gap: .35em; padding: .65em .95em; border: 0; background: none; border-radius: var(--radius); font: 500 .9375rem/1 var(--font-head); color: var(--ink); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.site-nav__link:hover, .has-sub:hover > .site-nav__link, .site-nav__link[aria-expanded="true"] { background: var(--sand); color: var(--ink); }
.site-nav__link[aria-current="page"], .site-nav__link.is-section { color: var(--teal); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: var(--radius) var(--radius) 0 0; }
.site-nav__link svg { width: 10px; height: 10px; transition: transform .2s; }
.has-sub:hover > .site-nav__link svg, .site-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.submenu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .site-nav__link[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu li { margin: 0; }
.submenu a { display: block; padding: .7rem .9rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); font: 500 .9375rem/1.3 var(--font-head); }
.submenu a small { display: block; font: 400 .8125rem/1.4 var(--font-body); color: var(--muted); margin-top: .15rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--yellow-100); }
.site-header__cta { margin-left: .5rem; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .site-header__logo img { width: 128px; }
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--yellow); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), background .2s; content: ""; position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--white); overflow-y: auto; padding: 1rem var(--gutter) 2.5rem; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 1.1rem .25rem; font-size: 1.125rem; border-radius: 0; }
  .site-nav__link:hover, .has-sub:hover > .site-nav__link { background: none; }
  .site-nav__link[aria-current="page"], .site-nav__link.is-section { box-shadow: none; }
  .has-sub:hover > .site-nav__link svg { transform: none; }
  .site-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem; display: none; min-width: 0; }
  .submenu::before { display: none; }
  .site-nav__link[aria-expanded="true"] + .submenu { display: block; }
  .has-sub:hover > .submenu { opacity: 1; }
  .site-nav__mobile-cta { display: grid; gap: .75rem; margin-top: 1.5rem; }
}
@media (min-width: 1021px) { .site-nav__mobile-cta { display: none; } }

/* ---------- Home hero ---------- */
.home-hero { position: relative; isolation: isolate; color: var(--white); min-height: min(88svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.home-hero__media, .home-hero__media img, .home-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 36, 39, .88) 0%, rgba(20, 36, 39, .6) 45%, rgba(20, 36, 39, .15) 100%), linear-gradient(0deg, rgba(20, 36, 39, .75) 0%, transparent 40%); }
.home-hero__content { padding-block: clamp(4rem, 10vw, 7rem) clamp(2.5rem, 5vw, 4rem); max-width: 820px; }
.home-hero h1 { color: var(--white); font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); line-height: 1.04; letter-spacing: -.025em; margin-bottom: .45em; }
.home-hero .lead { color: rgba(255, 255, 255, .88); max-width: 560px; margin-bottom: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-stats div { padding: 1.4rem 1.25rem 1.6rem 0; }
.hero-stats b { display: block; font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1 var(--font-head); color: var(--yellow); margin-bottom: .4rem; letter-spacing: -.02em; }
.hero-stats span { font-size: .9375rem; color: rgba(255, 255, 255, .82); line-height: 1.35; display: block; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--teal-900); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 36, 39, .9) 0%, rgba(20, 36, 39, .65) 50%, rgba(20, 36, 39, .25) 100%); }
.page-hero__content { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem); max-width: 760px; }
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero .lead { color: rgba(255, 255, 255, .86); margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero--plain { background: var(--teal); }
.page-hero--plain::before { background: radial-gradient(ellipse at 85% 20%, rgba(253, 209, 40, .16), transparent 55%); }
.page-hero--yellow { background: var(--yellow) url(/assets/img/pattern-yellow.webp) center / 520px; color: var(--ink); }
.page-hero--yellow::before { display: none; }
.page-hero--yellow h1 { color: var(--ink); }
.page-hero--yellow .lead { color: var(--teal-700); }
.page-hero--yellow .eyebrow { color: var(--teal); }
.page-hero--yellow .eyebrow::before { background: var(--teal); }
.page-hero--yellow .dot { color: var(--teal); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; padding: 0; margin: 0 0 1.25rem; font: 500 .8125rem var(--font-head); letter-spacing: .04em; }
.breadcrumb li { margin: 0; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; margin-right: .5em; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb [aria-current] { color: var(--yellow); }
.page-hero--yellow .breadcrumb li, .page-hero--yellow .breadcrumb a { color: var(--teal-700); }
.page-hero--yellow .breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.5rem, 2.5vw, 2rem); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card a { overflow-wrap: anywhere; }
.card--link:hover, a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
a.card { text-decoration: none; color: var(--text); }
.card .link-arrow { margin-top: auto; padding-top: 1rem; }
.card--teal { background: var(--teal); border-color: var(--teal); color: #d3dfe0; }
.card--teal h3, .card--teal strong { color: var(--white); }
.card--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--teal-700); }
.card--yellow h3 { color: var(--ink); }
.card--sand { background: var(--sand); border-color: var(--sand); }
.section--sand .card { border-color: transparent; box-shadow: var(--shadow); }
.section--teal .card:not(.card--yellow), .section--topo .card:not(.card--yellow) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #d3dfe0; }
.section--teal .card h3, .section--topo .card h3 { color: var(--white); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow-100); color: var(--teal); margin-bottom: 1.25rem; flex: none; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card--teal .card__icon, .section--teal .card__icon, .section--topo .card__icon { background: rgba(253, 209, 40, .16); color: var(--yellow); }
.card__num { font: 700 .875rem var(--font-head); color: var(--teal); letter-spacing: .1em; margin-bottom: .75rem; }
.card__media { margin: calc(-1 * clamp(1.5rem, 2.5vw, 2rem)); margin-bottom: 1.5rem; border-radius: 10px 10px 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.card:hover .card__media img { transform: scale(1.04); }
.card__meta { font: 500 .8125rem var(--font-head); color: var(--muted); letter-spacing: .02em; margin-bottom: .5rem; }

/* Post cards */
.post-card h3 { font-size: 1.2rem; line-height: 1.3; }
.post-card p { font-size: .9688rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding: 0; overflow: hidden; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.post-feature .card__media { margin: 0; border-radius: 0; aspect-ratio: auto; min-height: 320px; }
.post-feature__body { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.post-feature h3 { font-size: var(--step-3); }

/* ---------- Split (media + text, full-bleed) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__media { position: relative; min-height: 420px; overflow: hidden; background: var(--sand); }
.split__media > img, .split__media > video, .split__media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.split__media--contain { display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem); }
.split__media--contain > img { position: static; width: auto; max-width: 100%; height: auto; max-height: 560px; object-fit: contain; box-shadow: var(--shadow-lg); border-radius: 4px; }
.split__media--icons { background: var(--grey) url(/assets/img/47cfe8_2fc235bec3854e05b3efdf7f88052760.webp) center / cover; }
.split__body { padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 6vw, 5.5rem); display: flex; flex-direction: column; justify-content: center; }
.split__body > :last-child { margin-bottom: 0; }
.split--reverse .split__media { order: 2; }
.split + .split { border-top: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stats > div { background: var(--white); padding: 1.6rem 1.5rem; }
.stats b { display: block; font: 700 clamp(2rem, 1.5rem + 1.6vw, 2.8rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.02em; margin-bottom: .45rem; }
.stats b::after { content: ""; display: block; width: 24px; height: 3px; background: var(--yellow); margin-top: .7rem; border-radius: 2px; }
.stats span { color: var(--muted); font-size: .9688rem; line-height: 1.4; display: block; }

/* ---------- Check / bullet lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .85rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232c4a51' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tags li { margin: 0; padding: .45rem .85rem; border-radius: 999px; background: var(--teal-100); color: var(--teal-700); font: 500 .875rem var(--font-head); }
.section--teal .tags li, .section--topo .tags li { background: rgba(255, 255, 255, .1); color: var(--white); }

/* ---------- Numbered steps (101) ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(3rem, 6vw, 5rem); }
.step { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.step__num { font: 700 clamp(3rem, 2rem + 3vw, 5rem)/1 var(--font-head); color: var(--yellow); letter-spacing: -.04em; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.step__body > :last-child { margin-bottom: 0; }
.step__kicker { font: 700 var(--step-1)/1.4 var(--font-head); color: var(--teal); margin-top: 1.25rem; padding-left: 1rem; border-left: 3px solid var(--yellow); }

/* ---------- Doc list (governance) ---------- */
.doc { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.doc:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.doc__icon { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--yellow-100); color: var(--teal); }
.doc__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc__title { font: 600 1rem/1.3 var(--font-head); }
.doc__meta { display: block; font: 400 .8125rem var(--font-body); color: var(--muted); margin-top: .2rem; }
.doc__go { margin-left: auto; color: var(--teal); }

/* ---------- Notice ---------- */
.notice { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.5rem; border-radius: 10px; background: var(--yellow-100); border: 1px solid #f3dd85; color: var(--teal-700); }
.notice svg { flex: none; width: 26px; height: 26px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: .1rem; }
.notice h2, .notice h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.notice p { margin: 0; }
.notice p + p { margin-top: .5rem; }
.badge { display: inline-block; padding: .3em .75em; border-radius: 999px; background: var(--teal); color: var(--white); font: 600 .75rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.badge--muted { background: var(--line); color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font: 500 .875rem var(--font-head); color: var(--ink); }
.field .req { color: #9a6a00; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); font: 400 1rem/1.4 var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #cbc6bb; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(44, 74, 81, .14); }
.field input[type=file] { padding: .6rem; background: var(--sand); border-style: dashed; cursor: pointer; }
.field small { color: var(--muted); font-size: .8125rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; color: var(--text); }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--teal); flex: none; }
.form__note { font-size: .875rem; color: var(--muted); margin: 0; }
.form-error { color: #a4161a; font: 500 .875rem var(--font-head); margin: 0; }
.form-error:empty { display: none; }
.form-panel { background: var(--white); border-radius: 12px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); color: var(--text); }
.form-panel h3 { margin-bottom: .3em; }

/* ---------- Pre-footer CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--teal); color: #d3dfe0; border-radius: 16px; padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 36px solid rgba(253, 209, 40, .14); }
.cta h2 { color: var(--white); font-size: var(--step-3); margin-bottom: .35em; }
.cta p { margin: 0; max-width: 56ch; }
.cta .btn-row { position: relative; z-index: 1; }

/* ---------- Newsletter band ---------- */
.newsletter { background: var(--yellow) url(/assets/img/pattern-yellow.webp) center / 520px; padding-block: clamp(3rem, 6vw, 4.5rem); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.newsletter h2 { font-size: var(--step-3); margin-bottom: .3em; }
.newsletter p { color: var(--teal-700); margin: 0; }
.newsletter__field { display: flex; gap: .6rem; background: var(--white); padding: .4rem; border-radius: 10px; box-shadow: var(--shadow); }
.newsletter__field input { flex: 1; min-width: 0; border: 0; padding: .8rem 1rem; font: 400 1rem var(--font-body); background: transparent; color: var(--ink); }
.newsletter__field input:focus { outline: none; }
.newsletter__field:focus-within { box-shadow: 0 0 0 3px var(--teal), var(--shadow); }
.newsletter .check { margin-top: .9rem; font-size: .875rem; color: var(--teal-700); }
.newsletter .check a { color: var(--ink); }
.newsletter .form-error { margin-top: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #a9b9bb; font-size: .9688rem; }
.site-footer a { color: #d7e1e2; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(3.5rem, 6vw, 5rem) 3rem; }
.site-footer__brand img { width: 150px; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 34ch; }
.site-footer h2 { font: 600 .8125rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0 0 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer address { font-style: normal; }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s; }
.socials a:hover { background: var(--yellow); }
.socials svg { width: 18px; height: 18px; fill: #d7e1e2; }
.socials a:hover svg { fill: var(--ink); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.site-footer__bottom nav { display: flex; gap: 1.5rem; }

/* ---------- Article (news post) ---------- */
.article-head { background: var(--sand); padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.article-head .breadcrumb li, .article-head .breadcrumb a { color: var(--muted); }
.article-head .breadcrumb [aria-current] { color: var(--ink); }
.article-head h1 { font-size: var(--step-4); }
.article-meta { display: flex; gap: 1rem; align-items: center; color: var(--muted); font: 500 .875rem var(--font-head); }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose h2 { font-size: var(--step-2); margin: 2em 0 .6em; }
.prose h3 { font-size: var(--step-1); margin: 1.8em 0 .5em; }
.prose figure { margin: 2.25rem 0; }
.prose figure img { border-radius: 8px; width: 100%; }
.prose figcaption { font-size: .875rem; color: var(--muted); margin-top: .6rem; }
.prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 4px solid var(--yellow); font: 500 var(--step-1)/1.5 var(--font-head); color: var(--ink); }
.prose .embed { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.prose a { word-break: break-word; }
.prose > figure:first-child { margin-top: 0; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-nav a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font: 600 .9688rem/1.35 var(--font-head); transition: border-color .2s, box-shadow .2s; }
.article-nav a:hover { border-color: transparent; box-shadow: var(--shadow); }
.article-nav small { display: block; font: 500 .75rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.article-nav .next { text-align: right; grid-column: 2; }

/* ---------- Simple pages ---------- */
.simple { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.simple h1 { font-size: var(--step-4); }

/* ---------- Misc ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.logo-strip img { height: 72px; width: auto; border-radius: 8px; background: var(--white); padding: .5rem; border: 1px solid var(--line); }
.frame { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.frame img { width: 100%; }
.map-frame { width: 100%; height: clamp(380px, 55vw, 560px); border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); background: var(--sand); }
.media-rounded { border-radius: 12px; overflow: hidden; }
.media-rounded img { width: 100%; height: 100%; object-fit: cover; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.divider { height: 1px; background: var(--line); border: 0; margin: var(--section) 0 0; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .32s; }
.js [data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid--2, .grid--3, .grid--wide-left, .row, .split, .newsletter__inner, .cta, .post-feature { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media { min-height: 300px; }
  .split__media--contain { min-height: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .step { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .step__num { position: static; }
  .post-feature .card__media { min-height: 220px; aspect-ratio: 16 / 10; }
  .cta::after { display: none; }
}
@media (max-width: 560px) {
  .grid--4, .form__row, .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .newsletter__field { flex-direction: column; padding: .5rem; }
  .newsletter__field .btn { width: 100%; }
  .home-hero { min-height: 0; }
  .home-hero__content { padding-top: 5rem; }
  .hero-stats span { font-size: .875rem; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { grid-column: auto; }
  .btn-row .btn { flex: 1 1 auto; }
}
