/*
Theme Name: Antrum Energy Trilemma
Theme URI: https://antrumenergytrilemma.co.uk/
Author: Geeaig Digital Services
Author URI: https://geeaig.com
Description: Site for Antrum Energy Trilemma Ltd: leadership, sustainability and renewable energy insight. Expertise pages, research and insights, leadership team, partnerships, contact form with admin settings, meeting requests, dark mode and SEO built in.
Version: 2.9.0
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietary
Text Domain: aet
*/

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Cond"; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Cond"; font-weight: 700; font-display: swap; src: url("assets/fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #0b1d29;
  --ink-2: #13313f;
  --ink-line: #24475a;
  --paper: #f4f6f5;
  --white: #ffffff;
  --rule: #d3dbdd;
  --text: #13232d;
  --muted: #4b5e69;
  --green: #24783a;
  --green-hi: #2d8f46;
  --blue: #1b6aa8;
  --amber: #b45a08;
  --amber-hi: #f0a63a;
  --on-ink: #e8eef0;
  --on-ink-muted: #a9bac3;
  --max: 1200px;
  --head: "Plex Cond", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Plex", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r: 3px;
  --fg: #0b1d29;
  --link: #24783a;
  --link-hover: #1c6230;
  --btn: #24783a;
  --btn-hover: #1c6230;
  --avail: #eaf3ec;
  --warn-bg: #fff3e6;
  --field: #ffffff;
  --hdr-bg: #ffffff;
  --hdr-fg: #0b1d29;
  --hdr-muted: #4b5e69;
  --hdr-line: #d3dbdd;
  --ov-a: .56;
  --ov-b: .24;
}
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #08141c;
  --white: #0e2230;
  --ink: #0f2736;
  --ink-2: #16384a;
  --rule: #25404f;
  --text: #e6edf0;
  --muted: #9db1bb;
  --fg: #ffffff;
  --link: #5cc277;
  --link-hover: #8be0a1;
  --green: #3fae5d;
  --blue: #5aa8e6;
  --amber: #f0a63a;
  --avail: #12372a;
  --warn-bg: #3a2a12;
  --field: #0a1923;
  --hdr-bg: #0b1d29;
  --hdr-fg: #ffffff;
  --hdr-muted: #a9bac3;
  --hdr-line: #24475a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r); }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sym { width: 44px; height: 44px; flex: none; }
.sym.sm { width: 18px; height: 18px; }
.sym { stroke-width: 1.75; }

/* ---------- Header ---------- */
.site-banner { padding: 8px 24px; background: var(--ink); color: var(--on-ink); font-size: 14px; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--hdr-bg); border-bottom: 1px solid var(--hdr-line); box-shadow: 0 1px 0 rgba(11, 29, 41, .03), 0 8px 24px -18px rgba(11, 29, 41, .25); }
.admin-bar .site-header { top: 32px; }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: var(--hdr-fg); }
.brand-row { display: flex; align-items: center; gap: var(--logo-gap, 12px); }
.brand-mark { width: var(--logo-w, 46px); height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.menu { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.menu li { position: relative; }
.menu > li > a { display: block; padding: 28px 9px; color: var(--hdr-fg); font-size: 13.5px; font-weight: 600; letter-spacing: .005em; text-decoration: none; border-bottom: 3px solid transparent; }
.menu > li > a:hover, .menu > li > a[aria-current="page"], .menu > .current-menu-item > a { border-bottom-color: var(--green); color: var(--green); }
[data-theme="dark"] .menu > li > a:hover, [data-theme="dark"] .menu > li > a[aria-current="page"] { color: #fff; border-bottom-color: var(--green-hi); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.sub-menu { position: absolute; left: 0; top: calc(100% - 1px); z-index: 5; min-width: 300px; margin: 0; padding: 8px 0; list-style: none; color: var(--text); background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--green-hi); box-shadow: 0 12px 28px rgba(11, 29, 41, .12); display: none; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu { display: block; }
.menu > .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: -3px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: middle; opacity: .7; }
.sub-menu .sub-menu { left: 100%; top: -11px; }
[data-theme="dark"] .sub-menu { color: var(--text); }
.sub-menu a { display: block; padding: 10px 20px; font-size: 14px; text-decoration: none; }
.sub-menu a:hover { background: var(--paper); }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--hdr-line); border-radius: var(--r); background: transparent; color: var(--hdr-fg); cursor: pointer; }
.theme-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid var(--hdr-line); border-radius: var(--r); background: transparent; color: var(--hdr-fg); cursor: pointer; }
.theme-toggle:hover { border-color: var(--green); color: var(--green); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--btn); border-radius: var(--r); background: var(--btn); color: #fff; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.small { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn.outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.outline:hover { background: var(--fg); color: var(--paper); }
.hero .btn.outline, .page-hero .btn.outline { color: #fff; border-color: #fff; }
.hero .btn.outline:hover, .page-hero .btn.outline:hover { background: #fff; color: var(--ink); }
.btn.btn-green-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn.btn-green-outline:hover { background: var(--green); border-color: var(--green); color: #fff; }
[data-theme="dark"] .btn.btn-green-outline { color: var(--green-hi); border-color: var(--green-hi); }
[data-theme="dark"] .btn.btn-green-outline:hover { background: var(--green-hi); color: #07141d; }
.btn.outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: wait; }
.text-link { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.text-link:hover { color: var(--link-hover); }
.ink .text-link, .cta-band .text-link, .hero .text-link, .page-hero .text-link { color: var(--amber-hi); }

/* ---------- Home hero ---------- */
.hero { padding: 64px 0 72px; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 3.9vw, 54px); line-height: 1.06; letter-spacing: -.01em; }
.lead { margin: 22px 0 0; max-width: 60ch; color: var(--muted); font-size: 19px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .lead, .page-hero .lead { color: var(--on-ink-muted); }
.hero-note { margin: 26px 0 0; color: var(--on-ink-muted); font-size: 15px; }
.hero-note a { color: #fff; text-underline-offset: 3px; }

@keyframes fade { to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--white); border-block: 1px solid var(--rule); }
.section.ink { background: var(--ink); color: var(--on-ink); }
.section h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: 22ch; }
.section-intro { max-width: 62ch; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.ink .section-intro, .ink p { color: var(--on-ink-muted); }
.section-head { margin-bottom: 44px; }
.head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }

/* Trilemma: three sides, each keyed to its colour */
.trilemma { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.side { padding-top: 22px; border-top: 4px solid var(--c); }
.side .sym { width: 52px; height: 52px; color: var(--c); }
.side h3 { margin: 16px 0 8px; font-size: 26px; }
.side p { margin: 0; color: var(--muted); }
.side.security { --c: var(--blue); }
.side.cost { --c: var(--amber); }
.side.sustain { --c: var(--green); }

/* Services: ruled list */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; list-style: none; margin: 0; padding: 0; }
.svc-list li { display: flex; gap: 22px; padding: 30px 0; border-top: 1px solid var(--rule); }
.svc-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc-list .sym { width: 52px; height: 52px; color: var(--fg); margin-top: 2px; }
.svc-list h3 { font-size: 24px; margin-bottom: 8px; }
.svc-list h3 a { text-decoration: none; }
.svc-list h3 a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.svc-list p { margin: 0 0 10px; color: var(--muted); }

/* Process: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; margin: 44px 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 30px 22px 0 0; border-top: 2px solid var(--fg); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: -15px; left: 0; display: grid; place-items: center; width: 28px; height: 28px; background: var(--paper); border: 2px solid var(--fg); border-radius: 50%; font: 700 14px/1 var(--head); }
.section.alt .steps li::before { background: var(--white); }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* IESDP on ink */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ink h2, .ink h3 { color: #fff; }
.rail { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--ink-line); }
.rail li { position: relative; padding: 0 0 26px; }
.rail li:last-child { padding-bottom: 0; }
.rail li::before { content: ""; position: absolute; left: -36px; top: 7px; width: 14px; height: 14px; background: var(--ink); border: 2px solid var(--amber-hi); border-radius: 50%; }
.rail h3 { font-size: 24px; margin-bottom: 4px; }
.rail p { margin: 0; color: var(--on-ink-muted); }
.ink .btn.outline { color: #fff; border-color: #fff; }
.ink .btn.outline:hover { background: #fff; color: var(--ink); }

/* Definition-style lists */
.defs { display: grid; grid-template-columns: 1fr 2fr; gap: 0 56px; margin: 0; }
.defs dt, .defs dd { padding: 22px 0; border-top: 1px solid var(--rule); margin: 0; }
.defs dt { font: 700 24px/1.15 var(--head); }
.defs dd { color: var(--muted); }

.who { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; list-style: none; margin: 0; padding: 0; }
.who li { padding: 22px 0; border-top: 1px solid var(--rule); }
.who strong { display: block; font: 700 22px/1.15 var(--head); margin-bottom: 6px; }
.who span { color: var(--muted); }

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding: 34px 0; list-style: none; margin: 0; }
.proof b { display: block; font: 700 44px/1 var(--head); }
.proof span { color: var(--muted); font-size: 15px; }

.pullquote { max-width: 30ch; font: 700 clamp(28px, 3.4vw, 42px)/1.12 var(--head); }

.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.explore li { padding: 20px 0; border-top: 1px solid var(--rule); }
.explore a { font: 700 21px/1.2 var(--head); text-decoration: none; }
.explore a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.explore p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-ink); padding: 72px 0; }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.cta-band p { color: var(--on-ink-muted); margin: 14px 0 0; max-width: 56ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .cta-mail { margin: 4px 0 0; }
.cta-actions a:not(.btn) { color: #fff; text-underline-offset: 3px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 40px 0 56px; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); }
.page-hero h1 { color: #fff; margin-top: 20px; font-size: clamp(34px, 4.4vw, 56px); max-width: 20ch; }
.page-hero .lead { max-width: 64ch; }
.page-hero .wrap { position: relative; }
.hero-sym { position: absolute; right: 0; top: 8px; width: 220px; height: 220px; display: grid; place-items: center; border: 1px solid var(--ink-line); border-radius: var(--r); color: #fff; background:
  linear-gradient(var(--ink-line), var(--ink-line)) center / 1px 100% no-repeat,
  linear-gradient(var(--ink-line), var(--ink-line)) center / 100% 1px no-repeat; }
.hero-sym .sym { width: 120px; height: 120px; padding: 6px; background: var(--ink); stroke-width: 1.4; }
.hero-meta { margin: 16px 0 0; color: var(--on-ink-muted); font-size: 15px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--on-ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ink-line); }
.crumbs a { color: var(--on-ink-muted); text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; padding: 64px 0 88px; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(28px, 3vw, 36px); scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.6em; font-size: 24px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose img { height: auto; border-radius: var(--r); }
.prose blockquote { margin-left: 0; padding-left: 22px; border-left: 4px solid var(--green-hi); color: var(--muted); }
.prose details { border-top: 1px solid var(--rule); padding: 0; }
.prose details:last-of-type { border-bottom: 1px solid var(--rule); }
.prose summary { position: relative; padding: 18px 40px 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 28px/1 var(--body); color: var(--green); }
.prose details[open] summary::after { content: "\2212"; }
.prose details > :not(summary) { margin: 0 0 18px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; }

.aside { position: sticky; top: 100px; display: grid; gap: 36px; }
.admin-bar .aside { top: 132px; }
.aside h2 { margin-bottom: 12px; font: 700 19px/1.2 var(--head); }
.toc { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 15px; text-decoration: none; }
.toc a:hover, .toc a.is-active { border-left-color: var(--green-hi); color: var(--text); }
.aside-box { padding: 24px; background: var(--ink); color: var(--on-ink); border-radius: var(--r); }
.aside-box h2 { color: #fff; }
.aside-box p { margin: 0 0 16px; color: var(--on-ink-muted); font-size: 15px; }
.aside-box .btn { width: 100%; }
.aside-box .btn + .btn { margin-top: 10px; }
.related { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px solid var(--rule); }
.related a { display: block; padding: 11px 0; font-size: 15px; text-decoration: none; }
.related a:hover { color: var(--link); }

/* Spec list */
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 24px 0; }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; }

/* Entry (generic page, legal) */
.entry { width: min(780px, 100% - 48px); margin: 0 auto; padding: 64px 0 96px; }
.entry h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 24px; }
.entry h2 { margin: 1.8em 0 .5em; font-size: 30px; }
.entry p, .entry li { color: var(--text); }
.entry a { color: var(--link); }

/* Posts and projects */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.post-card { display: flex; flex-direction: column; border-top: 3px solid var(--fg); padding-top: 16px; }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; border-radius: var(--r); }
.post-card h2, .post-card h3 { font-size: 26px; margin: 4px 0 10px; max-width: none; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--link); }
.post-card p { color: var(--muted); font-size: 16px; }
.post-meta { color: var(--muted); font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.filters a { padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); font-size: 14px; text-decoration: none; }
.filters a:hover, .filters a.is-active { background: var(--fg); border-color: var(--fg); color: var(--paper); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--rule); background: var(--white); text-decoration: none; }
.pagination .current { background: var(--fg); border-color: var(--fg); color: var(--paper); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; padding: 24px 0; margin: 0 0 32px; border-block: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 2px 0 0; font: 700 20px/1.2 var(--head); }
.empty { padding: 36px; border: 1px dashed #9fb0b8; border-radius: var(--r); background: var(--white); }
.empty h3 { margin-bottom: 8px; font-size: 24px; }
.empty p { margin: 0 0 14px; color: var(--muted); }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input { flex: 1; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding: 64px 0 88px; }
.enquiry-form { padding: 36px; background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green-hi); border-radius: var(--r); }
.enquiry-form h2 { font-size: 32px; margin-bottom: 8px; max-width: none; }
.form-intro { margin: 0 0 26px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field .req { color: var(--amber); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #8a9ea9; border-radius: var(--r); background: var(--field); color: var(--text); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); }
.check label { margin: 0; font-weight: 400; color: var(--muted); }
.check a { color: var(--link); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.notice { margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--rule); border-left-width: 4px; border-radius: var(--r); background: var(--white); }
.notice.ok { border-left-color: var(--green-hi); }
.notice.err { border-left-color: var(--amber); }
.notice strong { display: block; margin-bottom: 2px; }
.notice p { margin: 0; color: var(--muted); }
.contact-card { display: grid; gap: 28px; }
.contact-card h2 { font-size: 22px; margin-bottom: 10px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; }
.contact-card .sym { margin-top: 3px; color: var(--green); }

/* Booking */
.booking { padding: 56px 0 88px; }
.booking-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; counter-reset: b; }
.booking-steps li { flex: 1; padding-top: 10px; border-top: 3px solid var(--rule); color: var(--muted); font-size: 15px; font-weight: 600; }
.booking-steps li.is-done, .booking-steps li.is-current { border-top-color: var(--green-hi); color: var(--text); }
.b-step h2 { margin-bottom: 20px; font-size: 32px; max-width: none; }
.b-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 28px; }
.b-type { position: relative; display: block; padding: 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); cursor: pointer; }
.b-type input { position: absolute; opacity: 0; }
.b-type strong { display: block; font: 700 22px/1.1 var(--head); }
.b-type em { display: block; margin: 4px 0 8px; color: var(--link); font-style: normal; font-weight: 600; }
.b-type small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.b-type:has(input:checked) { border-color: var(--green-hi); box-shadow: inset 0 0 0 2px var(--green-hi); }
.b-type:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.b-tz { color: var(--muted); margin: -8px 0 20px; }
.b-pick { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 40px; margin-bottom: 28px; align-items: start; }
.b-cal { padding: 18px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); }
.b-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.b-cal-head button { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); color: var(--text); font-size: 22px; cursor: pointer; }
.b-cal-head button:disabled { opacity: .35; cursor: not-allowed; }
.b-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.b-cal-grid .dow { padding: 4px 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.b-cal-grid button { min-height: 42px; border: 1px solid transparent; border-radius: var(--r); background: transparent; color: var(--muted); font: inherit; }
.b-cal-grid button:disabled { opacity: .35; cursor: default; }
.b-cal-grid button.avail { background: var(--avail); color: var(--text); font-weight: 600; cursor: pointer; }
.b-cal-grid button.avail:hover { border-color: var(--green-hi); }
.b-cal-grid button.sel { background: var(--btn); color: #fff; }
.b-times h3 { margin-bottom: 14px; font-size: 24px; }
.b-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.b-slots button { min-height: 46px; border: 1px solid var(--fg); border-radius: var(--r); background: var(--white); color: var(--text); font: 600 16px var(--body); cursor: pointer; }
.b-slots button:hover, .b-slots button.sel { background: var(--fg); color: var(--paper); }
.b-slots p { grid-column: 1 / -1; color: var(--muted); margin: 0; }
.b-summary { margin: 0 0 20px; padding: 14px 18px; background: var(--avail); border-left: 4px solid var(--green-hi); font-weight: 600; }
.b-error { margin: 18px 0 0; padding: 12px 16px; background: var(--warn-bg); border-left: 4px solid var(--amber); }
.b-done { padding: 32px; background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green-hi); }
.b-ref { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #07141d; color: var(--on-ink-muted); padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font: 700 18px/1.2 var(--head); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-about img { width: var(--logo-w, 46px); height: auto; }
.foot-about p { margin: 0 0 10px; max-width: 36ch; }
.foot-about strong { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .sym { margin-top: 2px; color: var(--amber-hi); }
.foot-contact .btn { margin-top: 18px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: 14px; }
.legal p { margin: 0; }
.legal-links { display: flex; gap: 20px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; max-width: 760px; margin-inline: auto; padding: 16px 20px; background: var(--ink); color: var(--on-ink); border-radius: var(--r); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 15px; }
.consent a { color: var(--amber-hi); }
.consent .btn.outline { color: #fff; border-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; }
  .theme-toggle { margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 20px; background: var(--hdr-bg); border-bottom: 1px solid var(--hdr-line); max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li > a { padding: 14px 4px; border-bottom: 1px solid var(--hdr-line); }
  .has-sub > a::after { display: none; }
  .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 6px 16px; border: 0; box-shadow: none; background: transparent; }
  .sub-menu a { padding: 9px 4px; font-size: 14.5px; color: var(--hdr-muted); }
  .sub-menu a:hover { background: transparent; color: var(--green); }
  .nav-cta { margin-top: 14px; }
}
@media (max-width: 960px) {
  .hero-sym { display: none; }
  .hero .wrap, .split, .detail, .form-layout, .cta-grid, .b-pick { grid-template-columns: 1fr; }
  .hero .wrap { gap: 36px; }
  .detail { gap: 48px; }
  .aside, .admin-bar .aside { position: static; }
  .trilemma, .post-grid, .explore { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-left: 2px solid var(--fg); }
  .steps li { padding: 0 0 28px 26px; border-top: 0; }
  .steps li::before { top: 0; left: -15px; }
  .svc-list, .who { grid-template-columns: 1fr; }
  .defs { grid-template-columns: 1fr; }
  .defs dt { padding-bottom: 4px; }
  .defs dd { border-top: 0; padding-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 48px; }
  .site-nav { padding-inline: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .enquiry-form { padding: 24px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .actions .btn, .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print { .site-header, .site-footer, .cta-band, .aside, .consent { display: none; } .detail { display: block; } }

/* ---------- Illustrations and media ---------- */
.media { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--ink-line); border-radius: var(--r); background: radial-gradient(120% 90% at 70% 100%, rgba(240, 166, 58, .13), transparent 60%), linear-gradient(#0e2535, #0a1b27); aspect-ratio: 16 / 10; }
.media.tall { aspect-ratio: 4 / 3; }
.media.wide { aspect-ratio: 21 / 9; }
.media .media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-cap { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* Page hero with media */
.page-hero.has-media .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.page-hero.has-media .hero-copy { min-width: 0; }
.page-hero.has-media .crumbs { grid-column: 1 / -1; margin-bottom: -20px; }
.page-hero.has-media h1 { max-width: none; }

/* Home hero with a landscape behind it */
.hero { position: relative; overflow: hidden; padding-bottom: 210px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(159, 192, 209, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 192, 209, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(#000, transparent 80%); mask-image: linear-gradient(#000, transparent 80%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 29, 41, var(--ov-a)) 0%, rgba(11, 29, 41, var(--ov-b)) 100%); }
.hero.has-photo::before { display: none; }

/* Image + text bands */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.band.flip .media { order: -1; }
.band .media { box-shadow: 0 24px 50px -28px rgba(11, 29, 41, .5); }
.industry { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: center; padding: 28px 0; border-top: 1px solid var(--rule); scroll-margin-top: 100px; }
.industry .media { aspect-ratio: 4 / 3; }
.industry h2 { font-size: 28px; max-width: none; }
.industry p { margin: 0 0 12px; color: var(--muted); }
.post-card .media { margin-bottom: 14px; }

@media (max-width: 960px) {
  .page-hero.has-media .wrap, .band { grid-template-columns: 1fr; gap: 28px; }
  .page-hero.has-media .media { order: 2; max-height: 260px; }
  .page-hero.has-media .crumbs { margin-bottom: 0; }
  .band.flip .media { order: 0; }
  .industry { grid-template-columns: 1fr; gap: 14px; }
  .industry .media { max-width: 360px; }
  .hero { padding-bottom: 150px; }
}

/* ---------- Leadership positioning additions ---------- */
.steps.four { grid-template-columns: repeat(4, 1fr); }
.touch { padding: 56px 0; background: var(--paper); border-top: 1px solid var(--rule); }
.touch-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.touch h2 { font-size: clamp(26px, 3vw, 36px); max-width: 26ch; }
.touch p { margin: 10px 0 0; max-width: 56ch; color: var(--muted); }
.touch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; list-style: none; margin: 0; padding: 0; }
.themes li { padding-top: 22px; border-top: 3px solid var(--fg); }
.themes .sym { width: 48px; height: 48px; color: var(--fg); }
.themes h3 { margin: 14px 0 8px; font-size: 24px; }
.themes p { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; list-style: none; margin: 0; padding: 0; }
.person-photo { aspect-ratio: 4 / 5; margin-bottom: 16px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); color: var(--rule); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .sym { width: 96px; height: 96px; }
.person h3 { font-size: 26px; }
.person-role { margin: 4px 0 12px; color: var(--link); font-weight: 600; }
.person-bio { color: var(--muted); font-size: 16px; }
.person-bio p { margin: 0 0 .8em; }
.editor-note { margin: 0 0 20px; padding: 12px 16px; border: 1px dashed var(--amber); border-radius: var(--r); background: var(--warn-bg); font-size: 15px; }
.post-grid .post-card:first-child:nth-last-child(n+3) { }
@media (max-width: 1100px) { .themes { grid-template-columns: repeat(2, 1fr); } .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .touch-grid { grid-template-columns: 1fr; gap: 20px; } .people { grid-template-columns: 1fr 1fr; } .steps.four { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .themes, .people { grid-template-columns: 1fr; } }

/* ---------- Logo lockup: both lines share one width ---------- */
.brand-name { display: inline-block; width: max-content; line-height: 1; color: var(--hdr-fg); }
.bn-top { display: block; font: 700 27px/1 var(--head); letter-spacing: 0; white-space: nowrap; }
.bn-sub { display: block; width: 0; min-width: 100%; margin-top: 5px; font: 600 9.5px/1 var(--head); text-align: justify; text-align-last: justify; white-space: nowrap; color: var(--green); }
.brand-name.is-fit .bn-sub { width: max-content; min-width: 0; text-align-last: auto; }
.foot-about .brand { margin-bottom: 16px; color: #fff; }
.foot-about .brand-name { color: #fff; }
.foot-about .bn-sub { color: var(--on-ink-muted); }
@media (max-width: 600px) { .bn-top { font-size: 23px; } .bn-sub { font-size: 8.2px; } }

/* ---------- Hero media ---------- */
.page-hero, .hero { position: relative; overflow: hidden; }
.page-hero .wrap, .hero .wrap { position: relative; z-index: 1; }
.hero-side { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.page-hero.has-media .wrap { position: relative; }
@media (prefers-reduced-motion: reduce) { .hero-bg video, .hero-bg .yt-bg iframe { display: none; } }

/* ---------- Type scale, kicker, pills ---------- */
.kicker { margin: 0 0 14px; color: var(--amber-hi); font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.section:not(.ink) .kicker { color: var(--green); }
[data-theme="dark"] .section .kicker { color: var(--amber-hi); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.pill { display: inline-block; padding: 6px 14px; border: 1px solid rgba(240, 166, 58, .55); border-radius: 999px; background: rgba(240, 166, 58, .08); color: var(--amber-hi); font: 600 13px/1.2 var(--body); letter-spacing: .02em; cursor: default; }

/* ---------- Refined cards and panels ---------- */
:root { --rad: 14px; --shadow: 0 1px 2px rgba(11, 29, 41, .06), 0 18px 40px -22px rgba(11, 29, 41, .28); --accent: #f0a63a; }
.section { padding: 104px 0; }
.section + .section:not(.alt):not(.ink) { border-top: 1px solid var(--rule); }
.section h2 { letter-spacing: -.015em; }
.hero h1 { max-width: 18ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card, .pcard, .panel { position: relative; padding: 30px 28px; border: 1px solid var(--rule); border-radius: var(--rad); background: linear-gradient(160deg, var(--white), color-mix(in srgb, var(--white) 92%, var(--green) 8%)); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .pcard:hover, .panel:hover { transform: translateY(-4px); border-color: var(--green-hi); }
.card .sym, .pcard .sym { width: 46px; height: 46px; color: var(--c, var(--green)); margin-bottom: 18px; }
.card h3, .pcard h3 { margin-bottom: 8px; font-size: 24px; }
.card p, .pcard p { margin: 0; color: var(--muted); font-size: 16px; }
.pcard { --c: var(--blue); border-top: 4px solid var(--c); }
.pcard.cost { --c: var(--amber); }
.pcard.sustain { --c: var(--green); }
.pcard .tag { color: var(--text); font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.pcard .sub { color: var(--muted); font-size: 15px; }
.ink .card, .section.ink .panel { background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border-color: var(--ink-line); box-shadow: none; backdrop-filter: blur(6px); }
.ink .card .sym { color: var(--amber-hi); }
.ink .card p { color: var(--on-ink-muted); }
.ink .card:hover { border-color: var(--amber-hi); }
.divider { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--rule), transparent); }

/* Framework: Architect, Enable, Transform */
.frame { counter-reset: f; }
.frame .card::after { counter-increment: f; content: "0" counter(f); position: absolute; top: 22px; right: 24px; color: var(--rule); font: 700 34px/1 var(--head); }

/* Purpose, Mission, Vision */
.pmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel { padding: 36px 32px 38px; background: linear-gradient(160deg, var(--ink), var(--ink-2)); border-color: var(--ink-line); border-top: 4px solid var(--amber-hi); color: var(--on-ink); }
.panel:hover { border-color: var(--amber-hi); }

/* Quote band and feature block */
.quote-band { padding: 72px 0; background: linear-gradient(135deg, var(--green), #17562a); color: #fff; }
.quote-band blockquote { margin: 0; max-width: 28em; font: 700 clamp(24px, 2.8vw, 36px)/1.25 var(--head); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 44px; border: 1px solid var(--ink-line); border-radius: var(--rad); background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: var(--on-ink); }
.feature h2, .feature h3 { color: #fff; }
.feature p { color: var(--on-ink-muted); }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.stages .card::before { content: attr(data-n); display: block; margin-bottom: 14px; color: var(--green); font: 700 38px/1 var(--head); }
.later { border-style: dashed; box-shadow: none; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 26px; position: relative; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--green-hi); }
.btn { border-radius: 8px; }
.btn:hover { transform: translateY(-1px); }

@media (max-width: 960px) {
  .cards.c3, .cards.c2, .pmv, .stages, .feature { grid-template-columns: 1fr; }
  .feature { padding: 28px 22px; gap: 28px; }
  .section { padding: 72px 0; }
  .page-hero.has-media .hero-side, .hero .hero-side { order: 2; max-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .card, .pcard, .panel, .btn { transition: none; } .card:hover, .pcard:hover, .panel:hover, .btn:hover { transform: none; } }

/* ---------- Framework acknowledgement and in-page anchors ---------- */
.framework-note { padding: 40px 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.framework-note h2 { margin: 0 0 12px; font-size: 22px; }
.framework-note p { max-width: 72ch; margin: 0 0 10px; color: var(--muted); }
.framework-note a, .framework-line a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.framework-line { margin: 24px 0 0; max-width: 72ch; color: var(--muted); font-size: 15px; }
main section[id] { scroll-margin-top: 90px; }

/* ---------- Background media (heroes and sections), overlays, text and image layouts ---------- */
.hero-bg, .sec-bg { container-type: size; position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 1; }
.sec-bg { z-index: -1; }
.hero-bg img, .hero-bg video, .sec-bg img, .sec-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-bg { position: absolute; inset: 0; overflow: hidden; }
.yt-bg iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }
.hero-bg::after, .sec-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 29, 41, var(--ov-a)) 8%, rgba(11, 29, 41, var(--ov-b)) 85%); }
.sec-bg::after { background: linear-gradient(180deg, rgba(11, 29, 41, calc(var(--ov-a) + .08)), rgba(11, 29, 41, calc(var(--ov-b) + .22))); }
.has-bg h1, .has-bg .lead, .has-bg .hero-note, .has-bg .kicker { text-shadow: 0 1px 14px rgba(5, 15, 22, .45); }
.section.has-sbg { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.section.has-sbg + .section { border-top: 0; }
.has-sbg .kicker { color: var(--amber-hi); }
.has-sbg .text-link { color: var(--amber-hi); }
.has-sbg .panel { background: rgba(11, 29, 41, .6); backdrop-filter: blur(6px); }
/* Priority cards read cleanly on dark backgrounds. */
.ink .pcard { background: rgba(255, 255, 255, .07); border-color: var(--ink-line); border-top-color: var(--c); box-shadow: none; backdrop-filter: blur(6px); }
.ink .pcard h3, .ink .pcard .tag { color: #fff; }
.ink .pcard p, .ink .pcard .sub { color: var(--on-ink-muted); }
.ink .pcard .sym { color: var(--on-ink); }
@media (prefers-reduced-motion: reduce) { .yt-bg iframe, .sec-bg video { display: none; } }

/* Sections with an optional image. No image: text takes the full width. */
.ms { display: grid; gap: 28px 64px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; align-items: start; }
.ms-head { grid-area: head; }
.ms-head h2 { margin: 0; }
.ms-body { grid-area: body; max-width: 72ch; }
.ms-body > * + * { margin-top: 1.1em; }
.ms-body > p, .ms-body > ul { margin-block: 0; }
.ms-media { grid-area: media; width: 100%; }
.ms.is-below { grid-template-areas: "head" "media" "body"; }
.ms.is-below .ms-media { aspect-ratio: 21 / 9; }
.ms.is-beside { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "head media" "body media"; }
.ms.is-beside .ms-media { aspect-ratio: auto; min-height: 320px; height: 100%; align-self: stretch; }
.band.no-media, .feature.no-media { grid-template-columns: minmax(0, 1fr); }
.band.no-media > div, .feature.no-media > div { max-width: 760px; }
@media (max-width: 900px) {
  .ms.is-beside { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; }
  .ms.is-beside .ms-media { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .ms.is-below .ms-media { aspect-ratio: 16 / 10; }
}
.ink .framework-line, .ink .framework-line a { color: var(--on-ink-muted); }
.framework-note .ms-body p { max-width: none; }
.ms-body.wide { max-width: none; }
.ms.is-beside .ms-body .cards.c3 { grid-template-columns: minmax(0, 1fr); }
.hero.no-side .wrap { grid-template-columns: minmax(0, 1fr); }
.hero.no-side .wrap > div { max-width: 760px; }

/* ---------- v2.8: Purpose / Mission / Vision ---------- */
.panel .sym { width: 44px; height: 44px; margin-bottom: 20px; color: var(--amber-hi); }
.panel h3 { margin: 0 0 12px; color: #fff; font: 700 34px/1.1 var(--head); letter-spacing: -.005em; text-transform: none; }
.panel p { margin: 0; color: var(--on-ink-muted); font: 400 17px/1.65 var(--body); }
.pmv { align-items: stretch; }
.has-sbg .panel p { color: var(--on-ink); }

/* ---------- v2.8: image credit ---------- */
.media-credit { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); margin: 0; padding: 5px 10px; border-radius: 6px; background: rgba(8, 20, 28, .78); color: #fff; font: 500 12px/1.3 var(--body); letter-spacing: .01em; backdrop-filter: blur(4px); }
.media-credit a { color: inherit; text-decoration: none; }
.media-credit a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- v2.8: surveys ---------- */
.cards.surveys .card { display: flex; flex-direction: column; align-items: flex-start; }
.cards.surveys .card p:not(.survey-type) { margin-bottom: 22px; }
.cards.surveys .btn { margin-top: auto; }
.survey-type { margin: 0 0 6px !important; color: var(--green) !important; font: 700 13px/1 var(--body) !important; letter-spacing: .14em; text-transform: uppercase; }
[data-theme="dark"] .survey-type { color: var(--amber-hi) !important; }

/* ---------- v2.8: brand positioning (About) ---------- */
.pos { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.pos-lead { padding: 40px 40px 36px; border-radius: var(--rad); background: linear-gradient(150deg, var(--green), #17562a); color: #fff; }
.pos-label { margin: 0 0 12px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.pos-lead .pos-label { color: rgba(255, 255, 255, .8); }
.pos-statement { margin: 0; font: 700 clamp(26px, 2.8vw, 36px)/1.2 var(--head); }
.pos-promo { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .3); font: 600 19px/1.3 var(--body); }
.pos-promo .sym { color: var(--amber-hi); }
.pos-side { display: grid; gap: 24px; }
.pos-box { padding: 28px; border: 1px solid var(--rule); border-radius: var(--rad); background: var(--paper); }
.section.alt .pos-box { background: var(--paper); }
.pos-box p:last-child { margin: 0; }
.pos-motto { font: 700 clamp(28px, 3vw, 38px)/1.1 var(--head); }
[data-theme="dark"] .pos-label { color: var(--amber-hi); }
.pos-frame { margin-top: 48px; }
.pos-note { margin: 22px 0 0; color: var(--muted); font-size: 18px; }
@media (max-width: 960px) { .pos { grid-template-columns: 1fr; } .pos-lead { padding: 28px 24px; } }

/* ---------- v2.8: IESDP product showcase ---------- */
.showcase { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 85% 10%, rgba(45, 143, 70, .22), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(27, 106, 168, .22), transparent 60%), var(--ink); }
.showcase::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(159, 192, 209, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 192, 209, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.showcase .wrap { position: relative; }
.sc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.sc-product { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--on-ink-muted); font-size: 14px; }
.sc-mark { padding: 5px 12px; border-radius: 6px; background: var(--green-hi); color: #fff; font: 700 15px/1 var(--head); letter-spacing: .12em; }
.showcase h2 { max-width: 16ch; }
.sc-lead { margin: 18px 0 0; max-width: 56ch; color: var(--on-ink-muted); font-size: 18px; }
.sc-points { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.sc-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-ink); font-size: 16px; }
.sc-points .sym, .dv-checks .sym { flex: none; margin-top: 2px; color: #5cc277; }
.sc-stage { position: relative; padding: 0 0 8px; }
.sc-device { position: relative; overflow: hidden; border: 1px solid var(--ink-line); border-radius: 16px; background: #0a1b27; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .04); transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); transition: transform .4s ease; }
.sc-device:hover { transform: none; }
.dv-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0f2736; border-bottom: 1px solid var(--ink-line); }
.dv-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c4b5d; }
.dv-bar i:nth-child(1) { background: #e0675a; } .dv-bar i:nth-child(2) { background: #f0a63a; } .dv-bar i:nth-child(3) { background: #3fae5d; }
.dv-bar span { margin-left: 10px; color: var(--on-ink-muted); font-size: 12.5px; }
.dv-shot { display: block; width: 100%; height: auto; }
.dv-body { display: grid; grid-template-columns: 138px minmax(0, 1fr); min-height: 380px; }
.dv-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: #0c2030; border-right: 1px solid var(--ink-line); }
.dv-side b { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--on-ink-muted); font: 500 12.5px/1 var(--body); }
.dv-side b.on { background: rgba(63, 174, 93, .18); color: #fff; }
.dv-side .sym { width: 16px; height: 16px; }
.dv-main { padding: 16px 18px 18px; display: grid; gap: 14px; align-content: start; }
.dv-head { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.dv-head strong { font: 700 17px/1 var(--head); }
.dv-head em { padding: 3px 9px; border-radius: 999px; background: rgba(240, 166, 58, .15); color: var(--amber-hi); font: 600 11px/1.2 var(--body); font-style: normal; }
.dv-chart { position: relative; padding: 10px 10px 8px; border: 1px solid var(--ink-line); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.dv-chart svg { display: block; width: 100%; height: 96px; }
.dv-legend { display: flex; gap: 14px; align-items: center; margin-top: 6px; color: var(--on-ink-muted); font-size: 11px; }
.dv-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--amber-hi); margin-right: -6px; }
.dv-legend i.g { background: #5cc277; }
.dv-opts { display: grid; gap: 8px; }
.dv-opt { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; color: var(--on-ink-muted); font-size: 11.5px; }
.dv-opt div { display: grid; gap: 3px; }
.dv-opt i { display: block; width: var(--w); height: 5px; border-radius: 3px; }
.dv-opt i.s { background: #5aa8e6; } .dv-opt i.c { background: #f0a63a; } .dv-opt i.e { background: #5cc277; }
.dv-checks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dv-checks li { display: flex; align-items: center; gap: 8px; color: var(--on-ink); font-size: 12px; }
.dv-checks .sym { width: 14px; height: 14px; margin: 0; }
.sc-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ink-line); border-radius: 999px; background: rgba(11, 29, 41, .92); color: #fff; font: 600 13.5px/1 var(--body); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.sc-chip .sym { color: #5cc277; }
.sc-chip.c1 { top: -16px; right: 24px; }
.sc-chip.c2 { bottom: 30px; left: -22px; }
.sc-caption { margin: 14px 0 0; color: var(--on-ink-muted); font-size: 13px; text-align: center; }
.sc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 72px 0 0; padding: 0; list-style: none; }
.sc-tiles li { padding: 24px; border: 1px solid var(--ink-line); border-radius: var(--rad); background: rgba(255, 255, 255, .04); }
.sc-tiles .sym { width: 38px; height: 38px; margin-bottom: 14px; color: var(--amber-hi); }
.sc-tiles h3 { margin-bottom: 6px; font-size: 21px; }
.sc-tiles p { margin: 0; color: var(--on-ink-muted); font-size: 15px; }
.sc-flow { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 0; margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink-line); }
.sc-flow li { position: relative; padding: 22px 20px 0 0; }
.sc-flow li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 4px rgba(63, 174, 93, .25); }
.sc-flow span { display: block; margin-bottom: 6px; color: var(--amber-hi); font: 700 14px/1 var(--head); letter-spacing: .1em; }
.sc-flow b { display: block; color: #fff; font: 700 19px/1.2 var(--head); }
.sc-flow em { display: block; margin-top: 4px; color: var(--on-ink-muted); font-size: 14.5px; font-style: normal; }
@media (max-width: 1100px) { .sc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .sc-grid { grid-template-columns: 1fr; gap: 48px; }
  .sc-device { transform: none; }
  .sc-chip.c2 { left: 8px; }
  .sc-flow { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 600px) {
  .dv-body { grid-template-columns: 1fr; }
  .dv-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--ink-line); }
  .dv-side b { padding: 6px 8px; }
  .sc-tiles, .sc-flow { grid-template-columns: 1fr; }
  .sc-chip.c1 { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .sc-device { transform: none; transition: none; } }
.hero.has-bg .lead, .page-hero.has-bg .lead { color: var(--on-ink); }
.sc-points .sym, .dv-checks .sym { stroke-width: 3; }
.pos-frame .pos-label { margin-bottom: 20px; }

/* ---------- v2.8.1: social links ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink-line); border-radius: 50%; color: var(--on-ink); text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.socials a:hover { background: var(--green-hi); border-color: var(--green-hi); color: #fff; text-decoration: none; }
.socials .sym { width: 20px; height: 20px; margin: 0; }
.site-footer .socials { display: flex; }
.socials.on-light a { border-color: var(--rule); color: var(--fg); }
.socials.on-light a:hover { color: #fff; }
.contact-card .socials li { display: block; }

/* ---------- v2.8.2: smaller menu, uncropped images ---------- */
.site-nav .nav-cta { min-height: 38px; padding: 7px 14px; font-size: 13.5px; white-space: nowrap; }
.menu > li > a { white-space: nowrap; }
.bar { gap: 20px; }
.has-sub > a::after { margin-left: 6px; }

/* Section images show whole, at their own proportions. */
.ms .ms-media, .ms.is-beside .ms-media, .ms.is-below .ms-media { aspect-ratio: auto; min-height: 0; height: auto; align-self: start; background: none; }
.ms .ms-media .media-img { height: auto; max-height: 640px; object-fit: contain; }
.ms.is-below .ms-media .media-img { max-height: 560px; }
.hero-side { aspect-ratio: auto; background: none; }
.hero-side .media-img { height: auto; max-height: 520px; object-fit: contain; }
.band .media, .feature .media { aspect-ratio: auto; }
.band .media .media-img, .feature .media .media-img { height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .ms .ms-media, .ms.is-beside .ms-media, .ms.is-below .ms-media { aspect-ratio: auto; }
  .page-hero.has-media .media, .page-hero.has-media .hero-side, .hero .hero-side { max-height: none; }
}

/* ---------- v2.9: logo tagline and theme options ---------- */
.brand-tag { display: block; max-width: 300px; margin: 0; color: var(--hdr-muted); font: 500 10.5px/1.3 var(--body); letter-spacing: .02em; }
.bn-tag { display: block; width: 0; min-width: 100%; margin-top: 7px; color: var(--hdr-muted); font: 500 10.5px/1.3 var(--body); letter-spacing: .02em; white-space: normal; }
.brand-name.no-fit .bn-sub { width: auto; min-width: 0; text-align: left; text-align-last: auto; letter-spacing: .16em; }
.foot-about .brand { margin-bottom: 16px; }
.foot-about .brand-tag, .foot-about .bn-tag { color: var(--on-ink-muted); }
.foot-about p { margin-top: 0; }
@media (max-width: 600px) { .brand-tag { font-size: 9.5px; max-width: 220px; } }
/* Framework layout */
.framework-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

/* Stack cards vertically */
.framework-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sticky image */
.framework-image {
    position: sticky;
    top: 110px;
    align-self: start;
}

.framework-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Tablet and mobile */
@media (max-width: 900px) {
    .framework-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .framework-image {
        position: relative;
        top: auto;
        order: -1;
    }

    .framework-cards {
        gap: 16px;
    }

    .section-head h2 {
        white-space: normal !important;
    }
}
.top-bar {
    background: var(--green);
    color: #ffffff;
    padding: 9px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.35px;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar p {
    margin: 0;
    text-align: center;
}

/* Dark mode */
[data-theme="dark"] .top-bar {
    background: var(--green);
    color: #ffffff;
}

/* Mobile */
@media (max-width: 600px) {
    .top-bar {
        padding: 8px 12px;
        font-size: 11px;
    }
}