/* EcoVeritas — premium pass.
   Layout: left-aligned editorial grid; white header; one deep-purple field-survey hero whose contour
   lines draw in once; quiet paper sections; lime reserved for primary actions and the hero motif. */
:root {
  --purple: #3A1D52;
  --purple-ink: #24103A;
  --purple-soft: #F3EEF7;
  --lime: #7DE112;
  --lime-hover: #92EE34;
  --lime-ink: #3D7A05;
  --bg: #FBFAFC;
  --surface: #FFFFFF;
  --ink: #1C1325;
  --muted: #5B5166;
  --line: #E7E1EC;
  --line-strong: #CFC5D8;
  --heading: #2B1340;
  --tint: #F3EEF7;
  --header-bg: rgba(255, 255, 255, 0.92);
  --on-purple: #F5F1F9;
  --on-purple-muted: #C7B8D6;
  --ok: #2F7A1F;
  --err: #A1262B;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Albert Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --maxw: 1240px;
  --shadow-lift: 0 18px 40px -24px rgba(36, 16, 58, 0.45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120A19; --surface: #1B1224; --ink: #EEE8F3; --muted: #B3A7BF; --line: #2F2439; --line-strong: #46385A;
    --heading: #E4D6F2; --tint: #221630; --purple-soft: #221630; --lime-ink: #9BEA4A; --purple-ink: #170A22;
    --on-purple-muted: #BEAECD; --ok: #8FDB6A; --err: #F2878B; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120A19; --surface: #1B1224; --ink: #EEE8F3; --muted: #B3A7BF; --line: #2F2439; --line-strong: #46385A;
  --heading: #E4D6F2; --tint: #221630; --purple-soft: #221630; --lime-ink: #9BEA4A; --purple-ink: #170A22;
  --on-purple-muted: #BEAECD; --ok: #8FDB6A; --err: #F2878B; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17.5px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime-ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: #1B2A06; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.028em; }
h3 { font-size: 1.32rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.012em; }
h4 { font-size: 1.06rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; max-width: 66ch; }
ul { margin: 0; padding-left: 1.2em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.alt { background: var(--surface); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > * { min-width: 0; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.eyebrow { display: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 0.98rem/1 var(--font-body); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--lime); color: #142004; box-shadow: 0 10px 24px -14px rgba(125, 225, 18, 0.9); }
.btn-primary:hover { background: var(--lime-hover); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line-strong); color: var(--heading); background: var(--surface); }
.btn-outline:hover { border-color: var(--heading); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; color: var(--heading); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.textlink:hover { color: var(--lime-ink); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); color: #1C1325; border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { border-bottom-color: #ECE6F1; box-shadow: 0 10px 30px -22px rgba(36, 16, 58, 0.5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { display: flex; align-items: center; text-decoration: none; color: #3A1D52; flex: none; }
.brand img { height: 58px; width: auto; }
.brand .wordmark { display: none; font: 700 1.35rem/1 var(--font-display); letter-spacing: -0.02em; }
.brand .wordmark b { color: #5FA90B; font-weight: 700; }
.brand.noimg .wordmark { display: inline; }
.brand.noimg img { display: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: #2B2333; text-decoration: none; font: 500 0.96rem/1 var(--font-body); padding: 10px 12px; border-radius: 999px; white-space: nowrap; position: relative; transition: color .2s ease, background .2s ease; }
.nav a:hover { color: #3A1D52; background: #F3EEF7; }
.nav a[aria-current="page"] { color: #3A1D52; font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: #7DE112; }
.nav .btn { margin-left: 12px; padding: 13px 20px; color: #142004; }
.nav .btn:hover { background: #92EE34; color: #142004; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: #fff; border: 1px solid #DDD3E6; border-radius: 999px; padding: 10px 16px; font: 600 0.95rem var(--font-body); color: #3A1D52; cursor: pointer; }
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid #ECE6F1; box-shadow: 0 24px 40px -30px rgba(36,16,58,.5); padding: 10px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 10px; font-size: 1.08rem; border-radius: 10px; }
  .nav a[aria-current="page"]::after { left: 10px; right: auto; width: 24px; bottom: 8px; }
  .nav .btn { margin: 10px 0 0; }
}

/* Hero: the signature moment */
.hero { background: radial-gradient(120% 90% at 85% 10%, #4A2668 0%, var(--purple) 45%, var(--purple-ink) 100%); color: var(--on-purple); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 112px); position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lede { color: var(--on-purple); font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 54ch; }
.hero .tagline { font-size: 0.95rem; letter-spacing: 0.01em; color: var(--lime); font-weight: 500; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .28; pointer-events: none; }
.hero > .contours path, .page-intro > .contours path { stroke-dasharray: 2600; stroke-dashoffset: 0; animation: draw 2.4s cubic-bezier(.3,.1,.2,1) both; }
.hero > .contours path:nth-child(3n) { animation-delay: .15s; }
.hero > .contours path:nth-child(3n+1) { animation-delay: .3s; }
@keyframes draw { from { stroke-dashoffset: 2600; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.slideshow { position: relative; min-width: 0; }
.slides { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--purple-ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide .media { position: absolute; inset: 0; }
.slide .media .ph { position: absolute; inset: 0; border-radius: 0; }
.slide .media .ph img { object-fit: cover; }
.slide-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.slide-controls .dots { display: flex; gap: 8px; }
.slide-controls button { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 999px; padding: 8px 14px; font: 600 0.85rem var(--font-body); cursor: pointer; }
.slide-controls .dot { width: 34px; height: 6px; padding: 0; border: 0; background: rgba(255,255,255,.3); border-radius: 3px; }
.slide-controls .dot[aria-current="true"] { background: var(--lime); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .slides { aspect-ratio: 1 / 1; } }

/* Inner page opening band */
.page-intro { background: radial-gradient(120% 100% at 90% 0%, #4A2668 0%, var(--purple) 50%, var(--purple-ink) 100%); color: var(--on-purple); position: relative; overflow: hidden; }
.page-intro .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; }
.page-intro h1 { color: #fff; max-width: 18ch; }
.page-intro p { color: var(--on-purple); font-size: clamp(1.06rem, 1.3vw, 1.2rem); max-width: 62ch; }
.page-intro .btn-row { margin-top: 8px; }
.page-intro.light { background: #F7F4FA; color: #1C1325; }
.page-intro.light h1 { color: #2B1340; }
.page-intro.light p { color: #3B3044; }
.intro-art { position: absolute; inset: 0; pointer-events: none; }
.intro-art img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 0.9rem; color: var(--on-purple-muted); }
.crumbs a { color: var(--on-purple-muted); }

/* Image slots */
.ph { position: relative; background: var(--tint); border-radius: var(--r-md); overflow: hidden; display: grid; place-items: center; max-width: 100%; }
.ph picture { position: absolute; inset: 0; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.ph.cover img { object-fit: cover; }
.ph .ph-label { font-size: 0.78rem; color: var(--muted); text-align: center; padding: 12px; line-height: 1.4; }
.ph .ph-label b { display: block; color: var(--heading); font-size: 0.82rem; margin-bottom: 4px; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.news16x9 { aspect-ratio: 16 / 9; }
.dark-ph { background: transparent; }
.dark-ph .ph-label { color: var(--on-purple-muted); }
.dark-ph .ph-label b { color: #fff; }

/* Generic card grids (3 then 2 centred) */
.grid-3-2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.grid-3-2 > * { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
@media (max-width: 980px) { .grid-3-2 > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .grid-3-2 > * { flex-basis: 100%; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s ease, box-shadow .25s ease; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.card p { color: var(--muted); }
.card .textlink { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.sol-code { display: none; }

/* Home: solutions index */
.sol-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.sol-index li { border-bottom: 1px solid var(--line-strong); }
.sol-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 48px; gap: 16px 48px; align-items: center; padding: 30px 6px; text-decoration: none; color: inherit; position: relative; transition: background .25s ease, padding .25s ease; border-radius: 4px; }
.sol-row h3 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); letter-spacing: -0.025em; transition: color .2s ease; }
.sol-row p { color: var(--muted); font-size: 1.04rem; }
.sol-row .go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .2s ease, border-color .2s ease, transform .25s ease; }
.sol-row .go svg { width: 18px; height: 18px; stroke: var(--heading); fill: none; stroke-width: 2; }
.sol-row:hover { background: var(--surface); padding-left: 20px; padding-right: 20px; }
.sol-row:hover .go { background: var(--lime); border-color: var(--lime); transform: rotate(-45deg); }
.sol-row:hover .go svg { stroke: #142004; }
@media (max-width: 760px) { .sol-row { grid-template-columns: minmax(0, 1fr) 44px; } .sol-row p { grid-column: 1 / 2; } .sol-row .go { grid-row: 1 / 3; grid-column: 2; width: 44px; height: 44px; } }

/* Why EcoVeritas */
.why-band { background: var(--purple); color: var(--on-purple); }
.why-band h2 { color: #fff; }
.why-band .section-head p { color: var(--on-purple-muted); }
.why { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; }
.why li { list-style: none; padding: 8px 26px 8px 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.why li + li { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.16); }
.why .icon { width: 56px; height: 56px; position: relative; flex: none; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.why .icon img { position: absolute; inset: 0; width: 100%; height: 100%; }
.why h3 { font-size: 1.16rem; color: #fff; line-height: 1.3; }
@media (max-width: 980px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; } .why li + li { padding-left: 0; border-left: 0; } .why li { flex-direction: row; align-items: center; padding: 0 16px 0 0; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; gap: 24px; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.partner { min-width: 0; aspect-ratio: 64 / 30; position: relative; display: grid; place-items: center; padding: 14px; background: #fff; }
.partner + .partner { border-left: 1px solid #EEE8F2; }
.partner img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.partner span { font: 600 0.85rem/1.25 var(--font-body); color: #3A1D52; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } .partner { border-top: 1px solid #EEE8F2; } .partner:nth-child(4) { border-left: 0; } }
@media (max-width: 520px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner:nth-child(odd) { border-left: 0; } .partner:nth-child(4) { border-left: 1px solid #EEE8F2; } .partner:last-child { grid-column: 1 / -1; aspect-ratio: auto; min-height: 92px; } }

/* Closing enquiry band */
.closing { background: var(--bg); }
.closing .wrap { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.closing .wrap > div:first-child { }
.closing-inner { background: radial-gradient(120% 140% at 100% 0%, #4A2668 0%, var(--purple) 45%, var(--purple-ink) 100%); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.closing-inner > * { position: relative; z-index: 1; min-width: 0; }
.closing-inner .contours { opacity: .22; }
.closing h2 { color: #fff; max-width: 20ch; }
.closing p { color: var(--on-purple-muted); margin-top: 14px; font-size: 1.08rem; }

/* About */
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col .stack p { font-size: 1.08rem; }
.name-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--heading); }
.name-strip div { padding: 26px 26px 6px 0; display: flex; flex-direction: column; gap: 8px; }
.name-strip div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.name-strip b { font: 600 clamp(1.8rem, 3vw, 2.4rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--heading); }
.name-strip span { color: var(--muted); font-size: 1.04rem; }
@media (max-width: 640px) { .name-strip { grid-template-columns: 1fr; } .name-strip div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mv .panel { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; background: var(--purple); color: var(--on-purple); }
.mv .panel h3 { color: var(--lime); font-size: 1.05rem; letter-spacing: 0; }
.mv p { font: 500 clamp(1.15rem, 1.8vw, 1.42rem)/1.45 var(--font-display); letter-spacing: -0.01em; color: #fff; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.values div { border-top: 2px solid var(--lime); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.values p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.lists2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lists2 .card { padding: clamp(24px, 3vw, 36px); }
.lists2 .card:hover { box-shadow: none; border-color: var(--line); }
@media (max-width: 760px) { .lists2 { grid-template-columns: 1fr; } }
.icon-list { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.icon-list li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.icon-list li:last-child { border-bottom: 0; }
.icon-list img { width: 40px; height: 40px; flex: none; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 0 0 1px #EEE8F2; }
.icon-list span { min-width: 0; overflow-wrap: anywhere; }
.creds-grid .cred { align-items: center; text-align: center; padding: 28px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 16px; }
.cred-mark { height: 104px; width: 100%; display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 10px; }
.cred-mark img { max-height: 84px; max-width: 100%; width: auto; object-fit: contain; }

/* Solutions page */
.sol-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line-strong); scroll-margin-top: 100px; }
.sol-detail:first-of-type { border-top: 0; }
.sol-detail aside { display: flex; flex-direction: column; gap: 12px; align-self: start; position: sticky; top: 110px; }
.sol-detail aside h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem) !important; }
.sol-detail aside .focus { color: var(--muted); }
.sol-body { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sol-body > p:first-child { font-size: 1.16rem !important; color: var(--ink); }
.svc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.svc p { color: var(--muted); font-size: 0.96rem; }
.outputs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.outputs li { font-size: 0.92rem; background: var(--tint); color: var(--heading); border-radius: 999px; padding: 7px 14px; }
.value-line { font: 500 1.2rem/1.45 var(--font-display); letter-spacing: -0.01em; color: var(--heading); padding-left: 18px; border-left: 3px solid var(--lime); }
@media (max-width: 860px) { .sol-detail { grid-template-columns: 1fr; } .sol-detail aside { position: static; } .svc-groups { grid-template-columns: 1fr; } }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; }
.dl { display: flex; flex-direction: column; gap: 2px; padding: 16px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: border-color .2s ease; }
.dl:hover { border-color: var(--heading); }
.dl b { color: var(--heading); }
.dl small { color: var(--muted); }

/* Projects */
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, border-color .2s ease; }
.project:hover { box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.project .ph { border-radius: 0; background: #F6F3F9; }
.project .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.93rem; margin: 0; }
.meta dt { font-size: 0.82rem; color: var(--muted); padding-top: 1px; }
.meta dd { margin: 0; color: var(--ink); }
.project .output { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.97rem; color: var(--ink); }
.project .output b { display: block; font-size: 0.82rem; color: var(--lime-ink); margin-bottom: 4px; font-weight: 600; }
.project p { color: var(--muted); font-size: 0.99rem; }

/* Insights */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: 500 0.92rem var(--font-body); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.chip:hover { border-color: var(--heading); }
.chip[aria-pressed="true"] { background: var(--heading); color: var(--bg); border-color: var(--heading); }
.featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: clamp(48px, 6vw, 80px); }
.featured .ph { border-radius: 0; min-height: 300px; }
.featured .news16x9 { aspect-ratio: auto; }
.featured .news16x9 img { object-fit: cover; }
.featured .body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.featured h2 { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured .ph { min-height: 0; aspect-ratio: 16 / 9; } }
.post-meta { font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.post-meta .cat { color: var(--lime-ink); font-weight: 600; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 920px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } }
.storymap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease; }
.storymap:hover { box-shadow: var(--shadow-lift); }
.storymap .map-art { aspect-ratio: 4 / 3; background: var(--tint); position: relative; overflow: hidden; }
.storymap .map-art .ph { position: absolute; inset: 0; border-radius: 0; }
.storymap .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.storymap .body p { color: var(--muted); }
.storymap .textlink { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.map-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 920px) { .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.map-fig { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.map-fig a { display: block; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; transition: border-color .2s ease; }
.map-fig a:hover { border-color: var(--heading); }
.map-fig .ph { border-radius: 0; background: #fff; }
.map-fig figcaption, .art-fig figcaption { font-size: 0.88rem; color: var(--muted); }

/* Article */
.article { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.article h2 { font-size: 1.65rem !important; margin-top: 18px; }
.article p, .article li { font-size: 1.12rem; line-height: 1.72; }
.article .event { font-size: 0.95rem; background: var(--tint); padding: 16px 20px; border-radius: var(--r-sm); color: var(--heading); }
.article .standfirst { font: 500 clamp(1.3rem, 2vw, 1.55rem)/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--heading); }
.article ul { display: flex; flex-direction: column; gap: 10px; }
.art-fig { margin: 10px 0; display: flex; flex-direction: column; gap: 10px; }
.art-fig.portrait .ph { aspect-ratio: 3 / 4; max-width: 420px; }
.callout { border-radius: var(--r-md); padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }

/* Shop */
.shop-hero-img { min-width: 0; }
.shop-hero-img .ph { aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.shop-hero-img .ph img { object-fit: cover; }
@media (max-width: 640px) { .shop-hero-img .ph { aspect-ratio: 1 / 1; } }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 920px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; padding: 0 0 24px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s ease; }
.cat-card:hover { box-shadow: var(--shadow-lift); }
.cat-card > :not(.ph) { margin-left: 24px; margin-right: 24px; }
.cat-card .ph { border-radius: 0; aspect-ratio: 3 / 2; margin-bottom: 8px; }
.cat-card .ph img { object-fit: cover; }
.cat-card p { color: var(--muted); }
.cat-card button { margin-top: auto; align-self: flex-start; }
@media (max-width: 600px) { .cat-card .ph { aspect-ratio: 1 / 1; } }
.listing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .products { grid-template-columns: 1fr; } }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; min-width: 0; }
.product .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .body p { color: var(--muted); font-size: 0.94rem; }
.product .body .sol-code { display: block; font-size: 0.8rem; color: var(--lime-ink); font-weight: 600; }
.product .btn { margin-top: auto; padding: 11px 14px; font-size: 0.9rem; white-space: normal; text-align: center; }
.packs { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.pack { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); align-items: center; }
.pack > * { min-width: 0; }
.pack .ctx { color: var(--muted); }
.pack .contents { font-size: 0.97rem; }
.pack-title { display: flex; align-items: center; gap: 16px; }
.pack-icon { width: 56px; height: 56px; flex: none; border-radius: 14px; background: #fff; padding: 4px; box-shadow: 0 0 0 1px #EEE8F2; }
@media (max-width: 920px) { .pack { grid-template-columns: 1fr; gap: 10px; align-items: start; } .pack .btn { justify-self: start; } }
.notice { font-size: 0.92rem; color: var(--muted); }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lift); position: relative; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font: 600 0.95rem var(--font-body); color: var(--heading); }
.field label .opt { font-weight: 400; font-size: 0.85rem; color: var(--muted); margin-left: 6px; }
.field input, .field select, .field textarea { font: 400 1rem var(--font-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(125, 225, 18, .35); }
.field textarea { min-height: 160px; resize: vertical; }
.field .hint { font-size: 0.88rem; color: var(--muted); }
.field .err { font-size: 0.88rem; color: var(--err); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.form-status { grid-column: 1 / -1; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--err); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Contact */
.socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--heading); transition: background .2s ease, border-color .2s ease; }
.socials a:hover { background: var(--lime); border-color: var(--lime); color: #142004; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); }
.contact-card { background: #fff; border: 1px solid #ECE6F1; border-radius: var(--r-md); padding: 32px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.contact-card h3 { color: #3A1D52; font-size: 1.15rem; }
.contact-card p, .contact-card a { color: #1C1325; overflow-wrap: anywhere; }
.contact-card a { font-weight: 600; text-decoration-color: #7DE112; text-decoration-thickness: 2px; }
.contact-card .ic { width: 52px; height: 52px; border-radius: 50%; background: #F3EEF7; display: grid; place-items: center; }
.contact-card .ic svg { width: 24px; height: 24px; stroke: #3A1D52; fill: none; stroke-width: 1.8; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.below-form { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }

/* FAQs */
.faq-group { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.faq-group h2 { font-size: 1.5rem !important; margin-bottom: 12px; }
details { border-bottom: 1px solid var(--line-strong); }
.faq-group details:first-of-type { border-top: 1px solid var(--line-strong); }
summary { cursor: pointer; padding: 22px 4px; font: 600 1.1rem/1.35 var(--font-display); color: var(--heading); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: linear-gradient(var(--heading), var(--heading)) center / 12px 2px no-repeat, linear-gradient(var(--heading), var(--heading)) center / 2px 12px no-repeat; transition: transform .25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 24px; color: var(--muted); font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--purple-ink); color: var(--on-purple-muted); font-size: 0.96rem; }
.site-footer .wrap { padding-block: clamp(56px, 7vw, 88px) 32px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr; gap: 40px; }
.foot-cols > * { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-cols h2 { font: 600 0.95rem var(--font-body) !important; letter-spacing: 0; color: #fff; }
.foot-cols a { color: var(--on-purple); text-decoration: none; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--lime); }
.foot-cols ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-logo { background: #fff; border-radius: 12px; padding: 12px 16px; align-self: flex-start; }
.foot-logo .brand img { height: 44px; }
.foot-cols .foot-logo a.brand, .foot-logo .wordmark { color: #3A1D52; }
.foot-logo .wordmark b { color: #4E8F0A; }
.foot-socials { display: flex; gap: 10px; margin-top: 6px; }
.foot-socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); transition: background .2s ease, border-color .2s ease; }
.foot-socials a:hover { background: var(--lime); border-color: var(--lime); }
.foot-socials a:hover svg { fill: #142004; }
.foot-socials svg { width: 16px; height: 16px; fill: var(--on-purple); }
.bottom-line { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
@media (max-width: 920px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } }

/* Preview banner */
.preview-bar { background: #1C1325; color: #EDE6F3; font-size: 0.86rem; }
.preview-bar .wrap { padding-block: 9px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.preview-bar b { color: #fff; }
.page[hidden] { display: none !important; }
.closing-inner > .contours { position: absolute; inset: 0; z-index: 0; }
.hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---- Client review 27 Oct ---- */
/* H01 larger logo */
.site-header .wrap { min-height: 92px; }
.brand img { height: 72px; }
@media (max-width: 640px) { .brand img { height: 56px; } .site-header .wrap { min-height: 76px; } }
/* H04 quiet, static contours */
.contours { opacity: .13 !important; }
.hero > .contours path, .page-intro > .contours path { animation: none !important; }
.page-intro h1, .page-intro p { position: relative; }
/* H02/H03 horizontal slideshow, text below */
.hero-slides { background: var(--bg); padding-block: clamp(20px, 3vw, 36px) 0; }
.hero-slides .slideshow { max-width: 100%; }
.hero-slides .slides { aspect-ratio: 2 / 1; border-radius: var(--r-lg); background: var(--tint); box-shadow: 0 30px 60px -40px rgba(36,16,58,.55); }
@media (max-width: 640px) { .hero-slides .slides { aspect-ratio: 3 / 2; border-radius: var(--r-md); } }
.hero-slides .slide .media .ph img { object-fit: cover; }
.hero-slides .slide-controls { justify-content: center; gap: 18px; }
.hero-slides .slide-controls .dot { background: var(--line-strong); }
.hero-slides .slide-controls .dot[aria-current="true"] { background: var(--purple); }
.hero-slides .slide-controls button.pause { color: var(--heading); border-color: var(--line-strong); }
.hero-intro { background: var(--bg); }
.hero-intro .wrap { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero-intro h1 { max-width: 20ch; }
.hero-intro .lede { color: var(--muted); font-size: clamp(1.08rem, 1.4vw, 1.22rem); max-width: 60ch; }
.hero-intro .tagline { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--lime-ink); font-weight: 600; font-size: .95rem; }
.hero-intro .btn { margin-top: 6px; }
/* H06/A02 centred section headings */
.section-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { max-width: 24ch; }
.center-row { justify-content: center; }
/* H08 partner logos as individual tiles */
.partner-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.partner-mark { height: 104px; width: 100%; display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 10px; }
.partner-mark img { max-height: 84px; max-width: 100%; width: auto; object-fit: contain; }
.partner-card p { font-weight: 600; color: var(--heading); font-size: .98rem; }
/* S01/S02 focus area */
.focus-area { color: var(--ink); font-size: 1rem; }
.focus-area span { display: block; font-size: .8rem; font-weight: 600; color: var(--lime-ink); margin-bottom: 4px; }
.sol-card { gap: 14px; }
.sol-card h3 { min-height: 2.5em; }
.sol-detail { scroll-margin-top: 120px; }
.sol-detail aside { top: 124px; }
.project { scroll-margin-top: 120px; }
.project .ph img { object-fit: cover; }
/* I02-I05 categories */
.cat-block { margin-bottom: clamp(44px, 6vw, 72px); }
.cat-block > .cat-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 20px; }
.subcat { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.featured { margin-bottom: 0; }
.featured-img { display: block; }
.featured-title { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; }
.featured-title a { color: var(--heading); text-decoration: none; }
.featured-title a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.featured .body .btn { align-self: flex-start; }
.storymap .map-art { display: block; }
.storymap .btn { margin-top: auto; align-self: flex-start; }
.empty-state { color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 22px 24px; max-width: none; }
.featured-img { height: 100%; min-height: 300px; position: relative; }
.featured-img .ph { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; min-height: 0; border-radius: 0; }
.featured-img .ph img { object-fit: cover; }
@media (max-width: 860px) { .featured-img { min-height: 0; aspect-ratio: 16 / 9; } }
.mv + .stack { margin-top: clamp(24px, 4vw, 48px); }

.partner-card { padding: 22px; }
.partner-mark { height: 120px; }
.partner-mark img { max-height: 96px; }

/* 28 Oct: full-width slideshow, controls over the image */
.hero-slides { padding: 0; background: var(--bg); }
.hero-slides .slideshow { position: relative; max-width: none; }
.hero-slides .slides { aspect-ratio: auto; height: min(50vw, calc(100svh - 80px)); min-height: 280px; border-radius: 0; box-shadow: none; background: #F6F4F8; }
@media (max-width: 640px) { .hero-slides .slides { height: 66.667vw; min-height: 0; aspect-ratio: auto; border-radius: 0; } }
.hero-slides .slide-controls { position: static; transform: none; justify-content: center; gap: 16px; margin: 0; padding: 14px 20px 0; background: none; }
.hero-slides .slide-controls .dot { width: 28px; background: var(--line-strong); }
.hero-slides .slide-controls .dot[aria-current="true"] { background: var(--purple); }
.hero-slides .slide-controls button.pause { color: var(--heading); border-color: var(--line-strong); padding: 6px 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-slides .slide-controls .dot { background: #5C4C70; } :root:not([data-theme="light"]) .hero-slides .slide-controls .dot[aria-current="true"] { background: var(--lime); } }
:root[data-theme="dark"] .hero-slides .slide-controls .dot { background: #5C4C70; }
:root[data-theme="dark"] .hero-slides .slide-controls .dot[aria-current="true"] { background: var(--lime); }

/* 28 Oct: scroll-down cue; slideshow and its controls fit the first screen */
.hero-slides .slides { height: min(50vw, calc(100svh - 92px - 68px)); }
@media (max-width: 640px) { .hero-slides .slides { height: 66.667vw; } }
.scroll-cue { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--purple); box-shadow: 0 8px 18px -8px rgba(58, 29, 82, .7); text-decoration: none; animation: cue 2.2s ease-in-out infinite; }
.scroll-cue:hover, .scroll-cue:focus-visible { background: var(--lime); color: #1C1325; }
@keyframes cue { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(4px); } }
.hero-intro { scroll-margin-top: 92px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scroll-cue { background: var(--lime); color: #1C1325; } }
:root[data-theme="dark"] .scroll-cue { background: var(--lime); color: #1C1325; }
@media (max-width: 640px) { .scroll-cue { display: none; } }
/* 28 Oct: GeoSpatial link under the StoryMaps */
#storymaps { scroll-margin-top: 110px; }
.geo-link { margin-top: 22px; color: var(--muted); font-size: .98rem; }

/* 28 Oct (client A1): introduction beside the slideshow (left), above it on phones */
.hero-split .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 64px); padding-block: clamp(40px, 6vw, 84px); }
.hero-split h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.06; }
.hero-split .hero-copy { gap: 22px; }
.hero-split .slides { aspect-ratio: 3 / 2; border-radius: var(--r-lg); background: #F6F4F8; }
.hero-split .slide .media .ph img { object-fit: cover; }
.hero-split .slide-controls { justify-content: flex-start; gap: 16px; margin-top: 16px; }
.hero-split .scroll-cue { margin-left: auto; background: var(--lime); color: #1C1325; box-shadow: none; }
.hero-split .scroll-cue:hover, .hero-split .scroll-cue:focus-visible { background: #fff; }
#our-solutions { scroll-margin-top: 80px; }
@media (max-width: 900px) {
  .hero-split .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 40px; }
  .hero-split .slides { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) { .hero-split .slides { border-radius: var(--r-md); } .hero-split .scroll-cue { display: none; } }

/* 28 Oct (client): introduction on top, then the full-width slideshow, on desktop as on phones */
.hero-top .wrap { display: block; padding-block: clamp(40px, 5.5vw, 76px) clamp(36px, 4.5vw, 60px); }
.hero-top .hero-copy { align-items: center; text-align: center; gap: 20px; max-width: 900px; margin: 0 auto; }
.hero-top .tagline { justify-content: center; }
.hero-top h1 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.06; max-width: 20ch; }
.hero-top .lede { max-width: 62ch; }
.hero-top .btn-row { justify-content: center; }
@media (max-width: 640px) { .hero-top .hero-copy { align-items: flex-start; text-align: left; } .hero-top .tagline, .hero-top .btn-row { justify-content: flex-start; } }
/* 28 Oct (client): shorter intro band; slideshow card overlaps the band so the two read as one */
.hero-top { --overlap: clamp(70px, 9vw, 150px); }
.hero-top .wrap { padding-block: clamp(28px, 3.6vw, 52px) calc(clamp(24px, 3vw, 40px) + var(--overlap)); }
.hero-top .hero-copy { gap: 14px; }
.hero-top h1 { font-size: clamp(1.9rem, 3.3vw, 3rem); max-width: 24ch; }
.hero-top .lede { font-size: clamp(1rem, 1.15vw, 1.1rem); max-width: 70ch; }
.hero-top .btn-row { margin-top: 4px; }
.hero-slides { --g: clamp(16px, 2.6vw, 40px); position: relative; z-index: 2; margin-top: calc(-1 * clamp(70px, 9vw, 150px)); background: transparent; }
.hero-slides .slides { margin-inline: var(--g); height: min(calc((100vw - 2 * var(--g)) / 2), calc(100svh - 92px - 68px)); border-radius: clamp(14px, 1.6vw, 24px); box-shadow: 0 34px 70px -38px rgba(26, 12, 40, .65); }
@media (max-width: 640px) {
  .hero-top { --overlap: 56px; }
  .hero-slides { margin-top: -56px; }
  .hero-slides .slides { height: calc((100vw - 2 * var(--g)) * 2 / 3); }
}
/* 28 Oct (client): intro + whole slideshow + scroll button fit the first screen */
.hero-top { --overlap: clamp(56px, 6vw, 110px); }
.hero-top .wrap { padding-block: clamp(22px, 2.6vw, 40px) calc(clamp(18px, 2vw, 28px) + var(--overlap)); }
.hero-top .hero-copy { gap: 10px; max-width: 1120px; }
.hero-top .tagline { font-size: .9rem; }
.hero-top h1 { font-size: clamp(1.8rem, 2.75vw, 2.7rem); max-width: none; }
.hero-top .lede { font-size: clamp(.98rem, 1.05vw, 1.06rem); max-width: 86ch; line-height: 1.55; }
.hero-top .btn-row { margin-top: 6px; }
.hero-slides { margin-top: calc(-1 * clamp(56px, 6vw, 110px)); }
.hero-slides .slide-controls { padding-top: 12px; }
@media (max-width: 640px) {
  .hero-top { --overlap: 48px; }
  .hero-top .wrap { padding-block: 22px calc(20px + 48px); }
  .hero-top h1 { font-size: 1.75rem; }
  .hero-slides { margin-top: -48px; }
  .hero-slides .scroll-cue { display: inline-grid; width: 34px; height: 34px; }
}
/* 28 Oct (client): vertical bars between the three tagline words */
.hero-top .tagline { gap: 4px 0; }
.hero-top .tagline span + span::before { content: "|"; padding: 0 .7em; color: var(--lime); opacity: .75; }
@media (max-width: 640px) { .hero-top .tagline { font-size: .8rem; flex-wrap: nowrap; white-space: nowrap; } .hero-top .tagline span + span::before { padding: 0 .45em; } }
/* Short laptop windows: tighter header and intro so the whole slideshow still fits */
@media (min-width: 641px) and (max-height: 780px) {
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 52px; }
  .hero-top .wrap { padding-block: 14px calc(12px + var(--overlap)); }
  .hero-top .hero-copy { gap: 6px; }
  .hero-top .tagline { font-size: .84rem; }
  .hero-top h1 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
  .hero-top .lede { font-size: .95rem; line-height: 1.45; }
  .hero-top .btn-row { margin-top: 4px; }
  .hero-top .btn { padding-block: 10px; }
  .hero-slides .slide-controls { padding-top: 8px; }
}
:root { color-scheme: light; }
