/* AVIN Capital Risk — site styles.
   Composition follows the Hirael agency-landing template: pill navigation,
   shader-lit hero, numbered pill labels, rounded media, dark footer with
   a ghost wordmark, roll-text pill buttons. Palette is the AVIN navy. */

@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --surface: #f4f6f8;
  --canvas: #eef1f5;
  --ink: #0d1a2c;
  --ink-2: #3f4e60;
  --ink-3: #66758a;
  --line: #dde2e9;
  --line-strong: #c4ccd6;
  --accent: #0f4c75;
  --accent-hover: #0b3b5c;
  --accent-bright: #1f7fd1;
  --dark: #0a1524;
  --dark-2: #112038;
  --on-dark: #e8edf3;
  --on-dark-2: #9aa8ba;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Newsreader", "Times New Roman", Georgia, serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--line-strong) transparent; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 2px solid var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* ---------- Type scale ---------- */
.display { font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 500; }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -0.012em; font-weight: 600; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.body { color: var(--ink-2); max-width: 66ch; }
.muted { color: var(--ink-3); }

/* ---------- Pill label (numbered, as in the template) ---------- */
.tag { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(1.25rem, 2vw, 2rem); }
.tag-n {
  width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.tag-t { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 500; }
.dark .tag-n { background: #fff; color: var(--ink); }
.dark .tag-t { border-color: rgba(255,255,255,.2); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0;
  padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 500; transition: background .3s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn-ico {
  width: 32px; height: 32px; border-radius: 999px; background: #fff; color: var(--accent);
  display: grid; place-items: center;
}
.btn-ico svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .btn-ico svg { transform: rotate(-45deg); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-dark .btn-ico { color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9eef4; }
.btn-light .btn-ico { background: var(--accent); color: #fff; }
.roll { display: block; height: 20px; overflow: hidden; }
.roll > span { display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.roll > span > span { display: block; height: 20px; line-height: 20px; white-space: nowrap; }
.btn:hover .roll > span, .nav-links a:hover .roll > span { transform: translateY(-50%); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Navigation ---------- */
.hdr-bg { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.site-header { position: relative; z-index: 30; max-width: var(--max); margin-inline: auto; padding: 10px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-radius: 999px; padding: 5px;
  box-shadow: 0 1px 0 rgba(13,26,44,.04), 0 8px 24px -12px rgba(13,26,44,.18);
}
.brand { display: flex; align-items: center; gap: 10px; padding-right: 10px; }
.brand-mark { width: 40px; height: 40px; border-radius: 999px; background: var(--canvas); display: grid; place-items: center; }
.brand-mark svg { width: 24px; height: 26px; }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .08em; color: var(--ink); line-height: 1; }
.brand-sub { display: none; font-size: 11px; color: var(--ink-3); letter-spacing: .02em; line-height: 1; margin-top: 4px; }
.brand-txt { display: flex; flex-direction: column; }
.nav-left { display: flex; align-items: center; gap: 28px; }
.nav-links { display: none; gap: 26px; }
.nav-links a { font-size: 14px; color: var(--ink); transition: color .3s var(--ease); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-links a:hover { color: var(--ink-3); }
.nav-right { display: none; align-items: center; gap: 16px; }
.nav-right .btn { background: var(--ink); padding: 6px 6px 6px 20px; font-size: 13px; }
.nav-right .btn-ico { width: 28px; height: 28px; color: var(--ink); }
.menu-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.menu-btn svg { width: 18px; height: 18px; }

.sheet { position: fixed; inset: 0; z-index: 60; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(8,16,28,.6); }
.sheet-panel {
  position: absolute; inset: auto 12px 12px 12px; background: #fff; border-radius: 22px; padding: 24px;
  transform: translateY(100%); transition: transform .5s cubic-bezier(.32,.72,0,1);
}
.sheet.open .sheet-panel { transform: translateY(0); }
.sheet-panel a.sl { display: block; font-size: 28px; line-height: 38px; font-weight: 500; letter-spacing: -0.02em; }
.sheet-panel .btn { margin-top: 20px; width: 100%; justify-content: space-between; }

@media (min-width: 900px) {
  .nav-links, .nav-right { display: flex; }
  .menu-btn { display: none; }
  .brand-sub { display: block; }
  .brand-mark { width: 44px; height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100dvh, 980px); display: flex; flex-direction: column; background: var(--canvas); overflow: hidden; }
.hero-fx { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-fx canvas { width: 100%; height: 100%; }
.hero-glass {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.26) 0, rgba(255,255,255,.26) 1px, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 16px, rgba(15,76,117,.03) 16px, rgba(15,76,117,.03) 32px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.35) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.35) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-body { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 6.5rem; }
.hero-body .wrap { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { max-width: 20ch; }
.hero-sub { margin-top: clamp(1.1rem, 2vw, 1.75rem); max-width: 58ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--ink-2); }
.hero-actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 6px; padding: 9px 12px;
  box-shadow: 0 2px 8px rgba(13,26,44,.08); font-size: 13px; font-weight: 500;
}
.chip i { width: 8px; height: 8px; border-radius: 999px; background: var(--accent-bright); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section.alt { background: var(--surface); }
.section.dark { background: var(--dark); color: var(--on-dark); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec-head .h2 { max-width: 22ch; }

/* practices list */
.rows { border-top: 1px solid var(--line-strong); }
.row {
  display: grid; gap: 14px; padding-block: clamp(1.25rem, 2.2vw, 2rem);
  border-bottom: 1px solid var(--line-strong);
  transition: background .35s var(--ease), padding .35s var(--ease);
}
.row-n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.row .h3 { letter-spacing: -0.02em; }
.row-d { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 900px) {
  .row { grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) auto; align-items: baseline; gap: 32px; }
  .row:hover { background: linear-gradient(90deg, rgba(15,76,117,.045), transparent); padding-inline: 12px; }
}

/* about split */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.split-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--canvas); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 1.25rem; justify-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.pillars { margin-top: 1.5rem; display: grid; gap: 0; border-top: 1px solid var(--line-strong); width: 100%; }
.pillars li { padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }

/* geography */
.geo { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.geo li {
  font-size: clamp(2rem, 6.5vw, 5.5rem); letter-spacing: -0.04em; line-height: 1.05; font-weight: 500;
  padding-block: clamp(.7rem, 1.6vw, 1.4rem); border-bottom: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.58); transition: color .4s var(--ease), padding-left .5s var(--ease-out);
}
.geo li:hover { color: #fff; padding-left: 16px; }
.dark .body, .dark .lede { color: var(--on-dark-2); }

/* client profiles */
.profiles { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.profiles li { padding-block: 22px; border-bottom: 1px solid var(--line-strong); display: grid; gap: 6px; }
.profiles .h3 { font-size: 1.15rem; }
@media (min-width: 760px) {
  .profiles { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); }
}

/* case cards */
.cards { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { display: block; }
.card-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.045); }
.card-media .pill-ico {
  position: absolute; right: 16px; top: 16px; height: 36px; width: 36px; border-radius: 999px; background: #fff; color: var(--ink);
  display: flex; align-items: center; overflow: hidden; transition: width .35s var(--ease);
}
.card:hover .pill-ico { width: 156px; }
.pill-ico .ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; }
.pill-ico svg { width: 14px; height: 14px; transform: rotate(-45deg); transition: transform .35s var(--ease); }
.card:hover .pill-ico svg { transform: rotate(0); }
.pill-ico .tx { white-space: nowrap; font-size: 13px; font-weight: 500; opacity: 0; transition: opacity .3s var(--ease) .1s; }
.card:hover .pill-ico .tx { opacity: 1; }
.card-cap { margin-top: 16px; color: var(--ink-2); font-size: 14.5px; max-width: 54ch; }
.card-t { margin-top: 6px; font-size: 15px; font-weight: 600; }

/* insights list */
.posts { border-top: 1px solid var(--line-strong); }
.post { display: grid; gap: 8px; padding-block: clamp(1.25rem, 2.2vw, 1.9rem); border-bottom: 1px solid var(--line-strong); }
.post-meta { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post .h3 { transition: color .3s var(--ease); }
.post:hover .h3 { color: var(--accent); }
.post-body { display: grid; gap: 8px; }
.post-body .h3, .post-ex { display: block; }
.post-ex { color: var(--ink-2); max-width: 70ch; }
@media (min-width: 900px) {
  .post { grid-template-columns: 140px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; }
}

/* ---------- Page header (inner pages) ---------- */
.page-top { background: var(--canvas); padding-bottom: clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }
.page-top .wrap { padding-top: clamp(7rem, 12vw, 11rem); position: relative; z-index: 5; }
.page-top h1 { max-width: 22ch; }
.page-top .lede { margin-top: 1.25rem; }
.page-top .hero-fx { opacity: .65; }

/* philosophy */
.bio { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.bio-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--canvas); }
.bio-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bio-role { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
@media (min-width: 900px) { .bio { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .bio-img { position: sticky; top: 24px; } }
.statement { font-size: clamp(1.45rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; max-width: 28ch; text-wrap: balance; }
.method { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.method li { padding-block: 22px; border-bottom: 1px solid var(--line-strong); display: grid; gap: 6px; }
@media (min-width: 760px) {
  .method { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); }
}

/* case studies page */
.case { display: grid; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line-strong); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-head { display: grid; gap: 14px; align-content: start; }
.case-body { display: grid; gap: 1.1rem; max-width: 68ch; color: var(--ink-2); }
.case-img { border-radius: 18px; overflow: hidden; margin-top: 8px; aspect-ratio: 4 / 3; background: var(--dark); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .case { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .case-head { position: sticky; top: 24px; align-self: start; } }
.disclaimer { font-size: 13.5px; color: var(--ink-3); max-width: 70ch; border-top: 1px solid var(--line-strong); padding-top: 18px; }

/* article */
.article-head { background: var(--canvas); padding-block: clamp(6.5rem, 10vw, 9rem) clamp(2rem, 4vw, 3.5rem); }
.article-head h1 { max-width: 24ch; font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.03em; }
.article-meta { margin-top: 1.25rem; font-size: 14px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 1.75rem; }
.back svg { width: 15px; height: 15px; }
.prose { max-width: 70ch; margin-inline: auto; font-family: var(--serif); font-size: clamp(1.1rem, 1.25vw, 1.25rem); line-height: 1.7; color: #1b2a3d; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-family: var(--sans); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; margin: 2.2em 0 .7em; color: var(--ink); }
.prose h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin: 1.8em 0 .5em; color: var(--ink); }
.prose ul { margin: 1.1em 0; padding-left: 0; }
.prose li { position: relative; padding-left: 1.35em; margin-top: .45em; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 6px; height: 6px; border-radius: 999px; background: var(--accent-bright); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.cta-band { background: var(--dark); color: #fff; border-radius: 22px; padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1.25rem; justify-items: start; }
.cta-band p { color: var(--on-dark-2); max-width: 52ch; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #fff; }
.footer .wrap { padding-block: clamp(4rem, 8vw, 6rem) 2rem; }
.f-top { display: grid; gap: 2rem; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid rgba(255,255,255,.1); }
.f-top .display { max-width: 18ch; }
.f-top-r { display: grid; gap: 14px; justify-items: start; }
.f-mail { color: var(--on-dark-2); font-size: 14px; transition: color .3s var(--ease); }
.f-mail:hover { color: #fff; }
@media (min-width: 900px) { .f-top { grid-template-columns: 1fr auto; align-items: end; } .f-top-r { justify-items: end; } }
.f-grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: 1fr 1fr; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.f-brand { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; align-content: start; }
.f-brand .brand-mark { background: #fff; }
.f-brand p { color: var(--on-dark-2); font-size: 14px; max-width: 34ch; }
.f-brand .chip { background: transparent; box-shadow: none; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #cfd8e3; font-weight: 400; }
.f-col h3 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a9ab0; margin-bottom: 14px; }
.f-col li + li { margin-top: 10px; }
.f-col a { font-size: 14px; color: var(--on-dark-2); display: inline-flex; gap: 4px; align-items: center; transition: color .3s var(--ease); }
.f-col a:hover { color: #fff; }
@media (min-width: 900px) { .f-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .f-brand { grid-column: auto; } }
.ghost { overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; user-select: none; pointer-events: none; }
.ghost span { display: block; font-family: var(--serif); font-weight: 600; font-size: 27vw; line-height: .78; letter-spacing: .02em; white-space: nowrap; color: rgba(255,255,255,.06); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-top: 1.75rem; font-size: 13px; color: #8a9ab0; }
.f-bottom a:hover { color: #fff; }

/* ---------- Motion ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* WebGL renderer draws its own fluted glass */
.fx-gl .hero-glass { display: none; }
.hero-fx canvas { image-rendering: auto; }

/* Geographic scope: unrolled-globe dot map behind the list */
.geo-sec { position: relative; overflow: hidden; min-height: clamp(540px, 54vw, 800px); }
.geo-sec .geo-in { position: relative; z-index: 2; }
.gm { position: absolute; right: -3%; bottom: -2%; width: min(1560px, 125%); height: auto; z-index: 1; pointer-events: none; }
.gm path { fill: none; stroke-linecap: round; stroke-width: 4.2; transition: opacity .6s var(--ease), stroke .6s var(--ease); }
.gm .r-other { stroke: rgba(255,255,255,.14); }
.gm .r-eurasia, .gm .r-africa { stroke: #6db4ee; opacity: .75; }
.gm .r-middle, .gm .r-central { stroke: #a7d3f8; opacity: .95; }
.geo-sec[data-active] .gm path.r-eurasia, .geo-sec[data-active] .gm path.r-middle,
.geo-sec[data-active] .gm path.r-central, .geo-sec[data-active] .gm path.r-africa { opacity: .2; }
.geo-sec[data-active="eurasia"] .gm path.r-eurasia,
.geo-sec[data-active="middle"] .gm path.r-middle,
.geo-sec[data-active="africa"] .gm path.r-africa,
.geo-sec[data-active="central"] .gm path.r-central { opacity: 1; stroke: #d3ebff; }
.geo-sec::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,21,36,.9) 0%, rgba(10,21,36,.4) 32%, rgba(10,21,36,0) 58%); }
.geo li { cursor: default; outline-offset: 4px; }
.geo li:focus-visible { color: #fff; }
@media (max-width: 760px) {
  .geo-sec { min-height: 0; }
  .geo-sec::after { display: none; }
  .gm { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 2.5rem; display: block; }
  .geo-sec .geo-in { padding-bottom: 0; }
  .geo-sec { padding-bottom: 2.5rem; display: flex; flex-direction: column; }
  .geo-sec .gm { order: 2; }
}

/* shaders library renders its own grain */
.fx-lib .hero-grain { display: none; }
.fx-lib .hero-fx { opacity: 1; }
