/* AVILA® · Inmersivo (D44, D45, D47). Loaded after the core's base.css: it maps the --wl-* tokens to the brand in
   light (paper) and dark (black) and adds the components of the prototype AV-Proto-A2-Claro. No inline styles (CSP). */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("../fonts/montserrat-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

/* Fallbacks with Montserrat's metrics: the swap to the web font does not move the layout (CLS) */
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 112.8%; ascent-override: 85.8%; descent-override: 22.3%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Menlo"), local("Courier New"), local("DejaVu Sans Mono"); size-adjust: 100%; ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; }

/* ------------------------------------------------------------------ tokens: light «Claro» (default) */
:root {
  --bg: #f6f4ef; --bg-rgb: 246, 244, 239; --surface: #ffffff;
  --ink: #0c1a24; --ink-2: #2c3d4a; --mute: #55656f;
  --line: rgba(12, 40, 60, .12); --line-2: rgba(12, 40, 60, .22);
  --acc-b: #006699; --acc-b-2: #004f77; --acc-o: #a35200; --acc-o-lg: #cc6a00;
  --chip-b: #00557f; --chip-b-bd: rgba(0, 102, 153, .35); --chip-o: #8f4800; --chip-o-bd: rgba(224, 122, 0, .5);
  --glow-o: none; --glow-b: none; --txt-shadow: 0 1px 16px rgba(var(--bg-rgb), .95), 0 0 2px rgba(var(--bg-rgb), .9);
  --hdr-bg: rgba(246, 244, 239, .86); --input-bg: #ffffff; --panel: #ffffff;
  --tint-1: linear-gradient(180deg, rgba(0, 102, 153, .045), rgba(0, 102, 153, .02));
  --body-grad: radial-gradient(90% 60% at 85% -10%, rgba(0, 102, 153, .10) 0%, rgba(0, 102, 153, 0) 60%), radial-gradient(70% 50% at -10% 105%, rgba(255, 153, 0, .08) 0%, rgba(255, 153, 0, 0) 60%);
  --vignette: radial-gradient(140% 110% at 50% 45%, rgba(246, 244, 239, 0) 62%, rgba(236, 232, 222, .55) 100%);
  --leader-bg: linear-gradient(160deg, rgba(0, 102, 153, .07), #ffffff 55%); --leader-ring: rgba(224, 122, 0, .30);
  --lang-on-bg: #0c1a24; --lang-on-fg: #ffffff;
  --btn-shadow: 0 10px 30px -14px rgba(204, 106, 0, .55); --ghost-hover: 0 8px 24px -14px rgba(0, 102, 153, .45);
  --sel-bg: #006699; --sel-fg: #fff; --dot-glow: none; --error: #b3122b;
  --blue: #006699; --orange: #ff9900;
  --sans: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1320px; --gutter: clamp(16px, 4vw, 48px); --hdr: 72px;
  /* the core's tokens, so every base template follows the brand */
  --wl-bg: var(--bg); --wl-surface: var(--surface); --wl-text: var(--ink); --wl-muted: var(--mute); --wl-line: var(--line-2);
  --wl-accent: var(--acc-b); --wl-accent-fg: #ffffff; --wl-contrast-bg: #0c1a24; --wl-contrast-text: #eaf0f5;
  --wl-radius: 14px; --wl-max: var(--wrap); --wl-narrow: 820px; --wl-font: var(--sans);
  color-scheme: light;
}
/* ------------------------------------------------------------------ tokens: dark «Inmersivo» (system or switch) */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) {
    --bg: #04070b; --bg-rgb: 4, 7, 11; --surface: #08121b;
    --ink: #eaf0f5; --ink-2: #c3cfd9; --mute: #93a5b3;
    --line: rgba(150, 190, 215, .16); --line-2: rgba(150, 190, 215, .28);
    --acc-b: #45b4ea; --acc-b-2: #9fdcff; --acc-o: #ff9900; --acc-o-lg: #ff9900;
    --chip-b: #9fdcff; --chip-b-bd: rgba(69, 180, 234, .45); --chip-o: #ffd08a; --chip-o-bd: rgba(255, 153, 0, .45);
    --glow-o: 0 0 42px rgba(255, 153, 0, .45); --glow-b: 0 0 40px rgba(69, 180, 234, .35); --txt-shadow: 0 1px 22px rgba(4, 7, 11, .9);
    --hdr-bg: rgba(4, 7, 11, .82); --input-bg: rgba(4, 7, 11, .65); --panel: rgba(8, 18, 27, .72);
    --tint-1: linear-gradient(180deg, rgba(0, 102, 153, .10), rgba(4, 7, 11, 0));
    --body-grad: radial-gradient(120% 70% at 75% -10%, #0a2a40 0%, rgba(4, 7, 11, 0) 55%), radial-gradient(80% 50% at 0% 110%, #071a28 0%, rgba(4, 7, 11, 0) 60%);
    --vignette: radial-gradient(130% 100% at 50% 50%, rgba(4, 7, 11, 0) 55%, rgba(4, 7, 11, .75) 100%);
    --leader-bg: linear-gradient(160deg, rgba(0, 102, 153, .16), rgba(4, 7, 11, .6) 55%); --leader-ring: rgba(255, 153, 0, .25);
    --lang-on-bg: #eaf0f5; --lang-on-fg: #04070b;
    --btn-shadow: 0 10px 40px -12px rgba(255, 153, 0, .38); --ghost-hover: 0 0 30px -8px rgba(0, 140, 210, .45);
    --sel-bg: #ff9900; --sel-fg: #04070b; --dot-glow: 0 0 12px currentColor; --error: #ff7a8c;
    --wl-accent-fg: #04070b; --wl-contrast-bg: #eaf0f5; --wl-contrast-text: #04070b;
    color-scheme: dark;
  }
}
:root[data-mode="dark"] {
  --bg: #04070b; --bg-rgb: 4, 7, 11; --surface: #08121b;
  --ink: #eaf0f5; --ink-2: #c3cfd9; --mute: #93a5b3;
  --line: rgba(150, 190, 215, .16); --line-2: rgba(150, 190, 215, .28);
  --acc-b: #45b4ea; --acc-b-2: #9fdcff; --acc-o: #ff9900; --acc-o-lg: #ff9900;
  --chip-b: #9fdcff; --chip-b-bd: rgba(69, 180, 234, .45); --chip-o: #ffd08a; --chip-o-bd: rgba(255, 153, 0, .45);
  --glow-o: 0 0 42px rgba(255, 153, 0, .45); --glow-b: 0 0 40px rgba(69, 180, 234, .35); --txt-shadow: 0 1px 22px rgba(4, 7, 11, .9);
  --hdr-bg: rgba(4, 7, 11, .82); --input-bg: rgba(4, 7, 11, .65); --panel: rgba(8, 18, 27, .72);
  --tint-1: linear-gradient(180deg, rgba(0, 102, 153, .10), rgba(4, 7, 11, 0));
  --body-grad: radial-gradient(120% 70% at 75% -10%, #0a2a40 0%, rgba(4, 7, 11, 0) 55%), radial-gradient(80% 50% at 0% 110%, #071a28 0%, rgba(4, 7, 11, 0) 60%);
  --vignette: radial-gradient(130% 100% at 50% 50%, rgba(4, 7, 11, 0) 55%, rgba(4, 7, 11, .75) 100%);
  --leader-bg: linear-gradient(160deg, rgba(0, 102, 153, .16), rgba(4, 7, 11, .6) 55%); --leader-ring: rgba(255, 153, 0, .25);
  --lang-on-bg: #eaf0f5; --lang-on-fg: #04070b;
  --btn-shadow: 0 10px 40px -12px rgba(255, 153, 0, .38); --ghost-hover: 0 0 30px -8px rgba(0, 140, 210, .45);
  --sel-bg: #ff9900; --sel-fg: #04070b; --dot-glow: 0 0 12px currentColor; --error: #ff7a8c;
  --wl-accent-fg: #04070b; --wl-contrast-bg: #eaf0f5; --wl-contrast-text: #04070b;
  color-scheme: dark;
}
:root[data-mode="light"] { color-scheme: light; }

/* Block backgrounds (D47): paper is the page; white highlights a block (an elevated surface in dark); ink is dark in both */
.wl-bg-white { --bg: #ffffff; --bg-rgb: 255, 255, 255; --line: rgba(10, 36, 56, .11); --line-2: rgba(10, 36, 56, .2); --wl-bg: #ffffff; background: #ffffff; }
:root[data-mode="dark"] .wl-bg-white { --bg: #0b1824; --bg-rgb: 11, 24, 36; --line: rgba(150, 190, 215, .18); --line-2: rgba(150, 190, 215, .3); --wl-bg: #0b1824; background: #0b1824; }
@media (prefers-color-scheme: dark) { :root:not([data-mode="light"]) .wl-bg-white { --bg: #0b1824; --bg-rgb: 11, 24, 36; --wl-bg: #0b1824; background: #0b1824; } }
.wl-bg-ink, footer.av-footer {
  --bg: #071722; --bg-rgb: 7, 23, 34; --surface: #0b1d2a; --ink: #eaf0f5; --ink-2: #c3cfd9; --mute: #9aabb8;
  --line: rgba(150, 190, 215, .16); --line-2: rgba(150, 190, 215, .28); --acc-b: #5cc0f0; --acc-o: #ffb547; --acc-o-lg: #ffb547;
  --chip-b: #9fdcff; --chip-o: #ffd08a; --input-bg: rgba(4, 7, 11, .5); --lang-on-bg: #eaf0f5; --lang-on-fg: #04070b;
  --wl-bg: var(--bg); --wl-text: var(--ink); --wl-muted: var(--mute); --wl-line: var(--line-2); --wl-accent: var(--acc-b); --wl-accent-fg: #04070b;
  --txt-shadow: none; color: var(--ink); background: linear-gradient(180deg, #071722, #03080d 80%); color-scheme: dark;
}
.wl-bg-paper { background: transparent; }

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.wl { background-color: var(--bg); background-image: var(--body-grad); background-attachment: fixed; color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; }
::selection { background: var(--sel-bg); color: var(--sel-fg); }
a { color: var(--acc-b); }
:focus-visible { outline: 2px solid var(--acc-o-lg); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { letter-spacing: -.03em; font-weight: 700; }
.wl-container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wl-narrow { width: 100%; max-width: calc(var(--wl-narrow) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wl-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #1a0e00; padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.wl-skip:focus { top: 12px; left: 12px; }
.av-mono, .wl-eyebrow { font-family: var(--mono); letter-spacing: .02em; }
.wl-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 500; color: var(--mute); }
.wl-lead { color: var(--ink-2); font-size: clamp(17px, 1.45vw, 20px); }
.wl-meta { color: var(--mute); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main, footer, .av-header, .wl-ann-bar { position: relative; z-index: 2; }

/* buttons: the core's .wl-button looks like the brand's */
.wl-button, .av-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 13px 22px; min-height: 46px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; background: var(--orange); color: #1a0e00; box-shadow: var(--btn-shadow); font-family: var(--sans); }
.wl-button:hover, .av-btn:hover { filter: none; box-shadow: 0 0 0 6px rgba(255, 153, 0, .16), var(--btn-shadow); transform: translateY(-1px); }
.wl-button-ghost, .av-btn-ghost { background: rgba(var(--bg-rgb), .4); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.wl-button-ghost:hover, .av-btn-ghost:hover { border-color: var(--acc-b); box-shadow: var(--ghost-hover); }
.av-btn-sm { padding: 9px 16px; min-height: 40px; font-size: 14px; }
.av-btn svg { transition: transform .25s; }
.av-btn:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ particles layer */
#av-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
#av-fx.on { opacity: 1; }
.av-vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--vignette); }
.av-static { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
[data-anchor] { position: relative; }

/* ------------------------------------------------------------------ announcement bar (M16) */
.wl-ann-bar { background: linear-gradient(90deg, rgba(255, 153, 0, .14), rgba(0, 102, 153, .12)); color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 14px; }
.wl-ann-bar .wl-ann-row { min-height: 44px; padding-block: 8px; }
.wl-ann-bar .wl-ann-row::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; animation: av-pulse 2s infinite; }
.wl-ann-bar p { flex: 1; }
.wl-ann-bar strong { color: var(--ink); font-weight: 600; }
.wl-ann-bar a { color: var(--acc-o); font-weight: 700; text-decoration: none; white-space: nowrap; }
.wl-ann-close { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-2) !important; border-radius: 50%; font-size: 1.1rem; color: var(--ink-2); }
.wl-ann-modal { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.wl-ann-inline { border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(255, 153, 0, .10), rgba(0, 102, 153, .07)); border-radius: 20px; }
@keyframes av-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 153, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); } }

/* ------------------------------------------------------------------ header */
.av-header { position: sticky; top: 0; z-index: 40; height: var(--hdr); transition: background .35s ease, border-color .35s ease; border-bottom: 1px solid transparent; }
.av-header.scrolled, .av-header.solid { background: var(--hdr-bg); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); border-color: var(--line); }
.av-header .wl-container { height: 100%; display: flex; align-items: center; gap: 24px; }
.av-brand { display: flex; align-items: center; flex: none; }
.av-brand img, .av-brand picture { height: 26px; width: auto; }
.av-logo-dark { display: none !important; }
:root[data-mode="dark"] .av-logo-light { display: none !important; }
:root[data-mode="dark"] .av-logo-dark { display: block !important; }
@media (prefers-color-scheme: dark) { :root:not([data-mode="light"]) .av-logo-light { display: none !important; } :root:not([data-mode="light"]) .av-logo-dark { display: block !important; } }
.av-nav { margin-left: auto; }
.av-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.av-nav a { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 8px 11px; border-radius: 6px; position: relative; display: block; }
.av-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.av-nav a:hover, .av-nav a[aria-current] { color: var(--ink); }
.av-nav a:hover::after, .av-nav a[aria-current]::after { transform: scaleX(1); }
.av-nav li { position: relative; }
.av-nav li > ul { display: none; position: absolute; top: 100%; left: 0; list-style: none; margin: 0; padding: 8px; min-width: 220px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 40px -24px rgba(0, 30, 50, .4); }
.av-nav li:hover > ul, .av-nav li:focus-within > ul { display: block; }
.av-tools { display: flex; align-items: center; gap: 12px; }
.av-support { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.av-support:hover { color: var(--acc-b); }
.av-lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; font-family: var(--mono); font-size: 12px; list-style: none; margin: 0; }
.av-lang a { text-decoration: none; padding: 4px 9px; border-radius: 999px; color: var(--mute); display: block; }
.av-lang a[aria-current="true"] { background: var(--lang-on-bg); color: var(--lang-on-fg); font-weight: 500; }
.av-lang a:not([aria-current]):hover { color: var(--ink); }
.av-modes { display: flex; align-items: center; gap: 3px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.av-modes button { width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; background: transparent; position: relative; }
.av-modes button i { width: 14px; height: 14px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(12, 40, 60, .28); transition: transform .2s; }
.av-modes [data-mode-set="light"] i { background: linear-gradient(135deg, #f6f4ef 50%, #e9e3d6 50%); }
.av-modes [data-mode-set="dark"] i { background: #0b1620; box-shadow: inset 0 0 0 1px rgba(150, 190, 215, .4); }
.av-modes [data-mode-set="system"] i { background: linear-gradient(135deg, #f6f4ef 50%, #0b1620 50%); }
.av-modes button[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--acc-o-lg); }
.av-modes button:hover i { transform: scale(1.15); }
.av-modes .tip { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; background: var(--ink); color: var(--bg); padding: 3px 7px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.av-modes button:hover .tip, .av-modes button:focus-visible .tip { opacity: 1; }
.av-modes-full { display: flex; gap: 6px; flex-wrap: wrap; }
.av-modes-full button { font: 600 13px var(--sans); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--ink-2); min-height: 40px; }
.av-modes-full button[aria-pressed="true"] { background: var(--lang-on-bg); color: var(--lang-on-fg); border-color: transparent; }
html:not([data-mode]) .av-modes, html:not([data-mode]) .av-mtheme { display: none; }
.av-menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-items: center; }
.av-menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.av-menu-btn span::before, .av-menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.av-menu-btn span::before { top: -6px; } .av-menu-btn span::after { top: 6px; }
.av-menu-btn[aria-expanded="true"] span { background: transparent; }
.av-menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.av-menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.av-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--orange)); }
.av-mnav { position: fixed; inset: 0; z-index: 60; background: rgba(var(--bg-rgb), .98); display: flex; flex-direction: column; padding: 20px var(--gutter) 32px; overflow-y: auto; }
.av-mnav[hidden] { display: none; }
.av-mnav .top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.av-mnav .top .av-menu-btn { display: grid; }
.av-mnav ul { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.av-mnav li a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(24px, 7vw, 38px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.av-mnav li a span { font-family: var(--mono); font-size: 12px; color: var(--mute); font-weight: 400; letter-spacing: .06em; }
.av-mnav li li a { font-size: clamp(18px, 5vw, 24px); padding-left: 16px; }
.av-mnav .av-mtheme { margin-top: 24px; }
.av-mnav .av-mtheme p { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.av-mnav .mfoot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ------------------------------------------------------------------ sections and labels */
.wl-block { padding: 0; }
.av-sec { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.wl-block > .wl-container, .wl-block > .wl-narrow, .wl-block > figure, .wl-block > aside { padding-block: clamp(56px, 7vw, 104px); }
.av-label { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--mute); margin: 0 0 22px; }
.av-label b { color: var(--acc-o); font-weight: 500; }
.av-label::after { content: ""; height: 1px; width: 56px; background: var(--line-2); }
.av-h { font-size: clamp(34px, 5.4vw, 76px); line-height: 1; letter-spacing: -.035em; font-weight: 700; margin: 0; max-width: 16ch; }
.av-h em, .av-h strong { font-style: normal; color: var(--acc-o-lg); font-weight: 700; }
.av-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; margin: 24px 0 0; }
.av-shadow { text-shadow: var(--txt-shadow); }
.av-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.av-head .av-lead { margin: 0; }
/* reveal: only with JavaScript (mode.js marks <html data-mode> before the first paint); the hero never fades (LCP) */
html[data-mode] .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
html[data-mode] .rv.in { opacity: 1; transform: none; }
.av-rise { animation: av-rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.av-rise.d1 { animation-delay: .08s; } .av-rise.d2 { animation-delay: .16s; } .av-rise.d3 { animation-delay: .24s; }
@keyframes av-rise { from { transform: translateY(18px); } to { transform: none; } }
body.av-locked { overflow: hidden; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

/* ------------------------------------------------------------------ hero */
.av-hero { min-height: clamp(600px, calc(100svh - var(--hdr) - 44px), 980px); display: flex; flex-direction: column; justify-content: center; padding-block: 40px 28px; overflow: hidden; }
.av-hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; flex: 1; }
.av-hero-copy { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; }
.av-hero-visual { grid-column: 6 / span 7; grid-row: 1; aspect-ratio: 1; width: 100%; max-height: min(74vh, 700px); justify-self: end; position: relative; }
.av-hero-visual img, .av-hero-visual video { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.av-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-2); margin: 0 0 26px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(var(--bg-rgb), .6); }
.av-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(255, 153, 0, .18); }
.av-hero h1 { font-size: clamp(48px, 7.6vw, 124px); line-height: .92; letter-spacing: -.045em; font-weight: 700; margin: 0; max-width: 11ch; }
.av-hero h1 em { font-style: normal; color: var(--acc-o-lg); text-shadow: var(--glow-o); }
.av-tagline { font-family: var(--mono); font-size: clamp(15px, 1.4vw, 19px); color: var(--acc-b); margin: 26px 0 0; display: flex; align-items: center; gap: 12px; }
.av-tagline::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.av-hero-lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 44ch; margin: 22px 0 0; }
.av-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.av-hud { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--mute); margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.av-hud .c { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.av-hud .c .line { width: 1px; height: 28px; background: linear-gradient(var(--orange), transparent); animation: av-drop 2.2s infinite; }
.av-hud .r { text-align: right; }
@keyframes av-drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* page heads (pages, archives, posts) */
.av-page-head { padding-block: clamp(56px, 8vw, 120px) clamp(24px, 4vw, 48px); position: relative; }
.av-page-head h1 { font-size: clamp(40px, 6vw, 92px); line-height: .95; letter-spacing: -.04em; margin: 0; max-width: 18ch; }
.av-page-head .wl-lead { margin-top: 22px; }
.av-crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0 0 18px; }
.av-crumbs a { color: inherit; text-decoration: none; }
.av-crumbs a:hover { color: var(--acc-b); }

/* ------------------------------------------------------------------ manifesto */
.av-manifesto { position: relative; padding-block: clamp(90px, 11vw, 160px) clamp(110px, 13vw, 190px); overflow: hidden; }
.av-field { position: absolute; inset: 0; pointer-events: none; }
.av-manifesto-text { font-size: clamp(28px, 4.2vw, 62px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; margin: 0; max-width: 22ch; }
.av-manifesto-text p { margin: 0; }
.av-manifesto-text strong { color: var(--acc-o-lg); font-weight: 700; }
.av-manifesto-text em { font-style: normal; color: var(--acc-b); font-weight: 700; }
.av-manifesto-text .w { transition: opacity .25s linear; }
.av-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line-2); max-width: 980px; }
.av-stats div { padding: 22px 22px 0 0; }
.av-stats dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--mute); }
.av-stats dd { margin: 8px 0 0; font-size: clamp(30px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.av-stats dd small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-top: 8px; line-height: 1.4; }

/* ------------------------------------------------------------------ services in orbit */
.av-services { background: var(--tint-1); }
.av-orbit { display: grid; grid-template-columns: 1fr minmax(0, 1.35fr) 1fr; gap: clamp(16px, 2vw, 32px); align-items: center; }
.av-orbit-slot { position: relative; aspect-ratio: 1 / .82; width: 100%; }
@media (min-width: 1181px) { .av-orbit { align-items: start; } .av-orbit-center { position: sticky; top: calc(var(--hdr) + 48px); } }
.av-orbit-legend { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.av-orbit-legend span { display: inline-flex; align-items: center; gap: 8px; }
.av-orbit-legend span::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--blue); box-shadow: var(--dot-glow); }
.av-orbit-legend span.o2::before { background: var(--orange); }
.av-orbit-legend span.o3::before { background: var(--ink); }
.av-orbit-legend span.k::before { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.av-group { --g: var(--acc-b); --gbar: var(--blue); }
.av-group.g2 { --g: var(--acc-o); --gbar: var(--orange); }
.av-group.g3 { --g: var(--ink-2); --gbar: var(--ink); }
.av-orbit-right { display: grid; gap: 40px; align-content: start; }
.av-orbit-3 .av-orbit-right .av-group-head { min-height: 0; }
.av-group-head { padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); }
@media (min-width: 1181px) { .av-group-head { min-height: 190px; } }
.av-group-head .k { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--g); display: flex; align-items: center; gap: 10px; font-weight: 500; }
.av-group-head .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gbar); box-shadow: var(--dot-glow); }
.av-group-head h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.02em; margin: 10px 0 8px; }
.av-group-head p { margin: 0; font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.av-svc-list { list-style: none; margin: 0; padding: 0; }
.av-svc { display: grid; grid-template-columns: 34px 1fr 18px; gap: 4px 10px; padding: 14px 10px 14px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.av-svc::before { content: ""; position: absolute; left: -12px; top: 14px; bottom: 14px; width: 2px; background: var(--gbar); transform: scaleY(0); transition: transform .3s; }
.av-svc .n { font-family: var(--mono); font-size: 12px; color: var(--mute); padding-top: 3px; transition: color .3s; }
.av-svc .t { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.av-svc .d { grid-column: 2; font-size: 14px; color: var(--mute); line-height: 1.45; }
.av-svc .a { grid-row: 1; grid-column: 3; opacity: 0; transform: translateX(-6px); transition: .3s; color: var(--g); padding-top: 3px; }
.av-svc:hover, .av-svc:focus-visible, .av-svc.hl { background: linear-gradient(90deg, rgba(0, 102, 153, .05), transparent); }
.g2 .av-svc:hover, .g2 .av-svc:focus-visible, .g2 .av-svc.hl { background: linear-gradient(90deg, rgba(255, 153, 0, .07), transparent); }
.g3 .av-svc:hover, .g3 .av-svc:focus-visible, .g3 .av-svc.hl { background: linear-gradient(90deg, rgba(12, 26, 36, .06), transparent); }
.av-svc:hover::before, .av-svc:focus-visible::before, .av-svc.hl::before { transform: scaleY(1); }
.av-svc:hover .n, .av-svc:focus-visible .n, .av-svc.hl .n { color: var(--g); }
.av-svc:hover .a, .av-svc:focus-visible .a, .av-svc.hl .a { opacity: 1; transform: none; }
.av-svc:focus-visible { outline-offset: -2px; }

/* ------------------------------------------------------------------ cases as a structure */
.av-cases { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.av-cases-aside { position: sticky; top: calc(var(--hdr) + 32px); }
.av-lattice { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; margin-top: 28px; }
.av-note { font-size: 13.5px; color: var(--mute); margin-top: 18px; max-width: 42ch; }
.av-case { padding: 30px 0 34px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; }
.av-case:last-child { border-bottom: 1px solid var(--line-2); }
.av-case-top { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.av-case-top .idx { color: var(--acc-o); font-weight: 500; }
.av-case h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1; letter-spacing: -.035em; margin: 14px 0 18px; }
.av-case h3 a { color: var(--ink); text-decoration: none; }
.av-case h3 a:hover { color: var(--acc-b); }
.av-case p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.av-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 0; list-style: none; }
.av-chip { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--chip-b-bd); color: var(--chip-b); background: rgba(var(--bg-rgb), .5); }
.av-chip.o { border-color: var(--chip-o-bd); color: var(--chip-o); }
.av-metric { grid-column: 2; grid-row: 2 / span 2; align-self: end; text-align: right; min-width: 170px; }
.av-metric .v { font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: .9; color: var(--acc-o-lg); text-shadow: var(--glow-o); }
.av-metric .l { font-size: 13px; color: var(--mute); margin-top: 8px; max-width: 20ch; margin-left: auto; line-height: 1.4; }
.av-more { margin-top: 28px; }

/* ------------------------------------------------------------------ spotlight testimonial */
.av-quote { padding-block: clamp(90px, 12vw, 170px); overflow: hidden; }
.av-quote figure { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 48px); max-width: 1180px; }
.av-qmark { font-size: clamp(90px, 13vw, 200px); line-height: .7; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--acc-o-lg); }
.av-quote blockquote { margin: 0; font-size: clamp(26px, 3.5vw, 52px); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.av-quote blockquote p { margin: 0; }
.av-quote figcaption { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.av-quote figcaption .who { font-weight: 600; color: var(--ink); }
.av-quote figcaption .sep { width: 28px; height: 1px; background: var(--line-2); }

/* ------------------------------------------------------------------ about, leader and helix timeline */
.av-about { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.av-about-text .wl-prose { color: var(--ink-2); font-size: clamp(16.5px, 1.3vw, 19px); max-width: 58ch; margin-top: 28px; }
.av-about-text strong { color: var(--ink); }
.av-leader { border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; background: var(--leader-bg); position: relative; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 40, 70, .35); }
.av-leader::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid var(--leader-ring); box-shadow: 0 0 0 30px rgba(255, 153, 0, .04), 0 0 0 60px rgba(0, 102, 153, .05); }
.av-leader + .av-leader { margin-top: 20px; }
.av-leader .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 0 0 20px; }
.av-leader-row { display: flex; gap: 20px; align-items: center; }
.av-avatar, .av-avatar img { flex: none; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }
.av-avatar { background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 7px var(--bg), 0 0 0 8.5px rgba(224, 122, 0, .7), 0 12px 30px -10px rgba(224, 122, 0, .35); }
.av-leader h3 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.av-leader h3 a { color: var(--ink); text-decoration: none; }
.av-leader .role { margin: 6px 0 0; color: var(--acc-o); font-weight: 600; font-size: 15px; }
.av-leader .bio { color: var(--ink-2); font-size: 15px; margin: 22px 0; position: relative; z-index: 1; }
.av-pill { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; position: relative; z-index: 1; background: rgba(var(--bg-rgb), .5); color: var(--ink); margin: 0 8px 8px 0; }
.av-pill:hover { border-color: var(--acc-b); color: var(--acc-b-2); }
.av-timeline-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.av-timeline-head h2 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.03em; }
.av-helix { position: relative; height: clamp(110px, 14vw, 200px); margin-top: 18px; }
.av-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.av-tl li { position: relative; padding: 22px 18px 24px 0; border-top: 1px solid var(--line-2); }
.av-tl li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--blue); box-shadow: var(--dot-glow); }
.av-tl li:nth-child(-n+2)::before { border-color: var(--orange); background: var(--orange); }
.av-tl .y { font-family: var(--mono); font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.av-tl li:nth-child(-n+2) .y { color: var(--acc-o-lg); }
.av-tl h3 { margin: 12px 0 6px; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.25; }
.av-tl p { margin: 0 0 10px; font-size: 14px; color: var(--mute); line-height: 1.5; }

/* ------------------------------------------------------------------ blog list */
.av-blog-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.av-posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.av-post a { display: grid; grid-template-columns: 84px minmax(0, 1fr) 220px 28px; gap: 18px; align-items: center; padding: 28px 6px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; isolation: isolate; }
.av-post a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 153, 0, .12), rgba(0, 102, 153, .06) 60%, transparent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.av-post a:hover::before, .av-post a:focus-visible::before { transform: scaleX(1); }
.av-post .i { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.av-post .cat { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--acc-b); font-weight: 500; }
.av-post h3 { margin: 8px 0 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.av-post .meta { font-size: 13.5px; color: var(--mute); text-align: right; }
.av-post .arr { color: var(--acc-o); transition: transform .3s; }
.av-post a:hover .arr { transform: translate(4px, -4px); }

/* ------------------------------------------------------------------ contact and forms */
.av-contact { padding-block: clamp(80px, 10vw, 140px) clamp(72px, 9vw, 120px); }
.av-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.av-mark-slot { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; }
.av-contact .av-h { font-size: clamp(40px, 5.2vw, 80px); max-width: 12ch; }
.av-help { margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.av-help a { color: var(--acc-b); font-weight: 600; }
.wl-form { max-width: none; gap: 14px; margin-top: 32px; grid-template-columns: 1fr 1fr; }
.wl-form > * { grid-column: 1 / -1; }
.wl-form > .wl-field:not(:has(textarea)):not(:has(.wl-check)):not([data-field="consent"]) { grid-column: auto; }
.wl-field label:not(.wl-check) { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); font-weight: 500; }
.wl-field input:not([type="checkbox"]), .wl-field select, .wl-field textarea { font: 16px var(--sans); color: var(--ink); background: var(--input-bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; min-height: 48px; transition: border-color .25s, box-shadow .25s; }
.wl-field textarea { min-height: 110px; resize: vertical; }
.wl-field input:focus, .wl-field select:focus, .wl-field textarea:focus { outline: none; border-color: var(--acc-o-lg); box-shadow: 0 0 0 4px rgba(255, 153, 0, .18); }
.wl-field [aria-invalid="true"] { border-color: var(--error); }
.wl-error, .wl-form-status.is-error { color: var(--error); }
.wl-help { color: var(--mute); }
.wl-form-done { background: var(--panel); border: 1px solid var(--line-2); }
@media (max-width: 640px) { .wl-form { grid-template-columns: 1fr; } .wl-form > .wl-field { grid-column: 1 / -1 !important; } }

/* ------------------------------------------------------------------ core blocks and modules, on brand */
.wl-block h2:not(.av-h) { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.035em; }
.wl-card { background: var(--panel); border-color: var(--line-2); border-radius: 18px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.wl-card:hover { transform: translateY(-3px); border-color: var(--acc-b); box-shadow: 0 24px 50px -32px rgba(0, 40, 70, .45); }
.wl-card-body h3 a { color: var(--ink); }
.wl-card-body h3 a:hover { color: var(--acc-b); }
.wl-cta { background: linear-gradient(120deg, rgba(255, 153, 0, .12), rgba(0, 102, 153, .08)); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(28px, 4vw, 56px); }
.wl-cta h2 { font-size: clamp(28px, 3.6vw, 52px); margin: 0; }
.wl-stats dd { font-weight: 700; letter-spacing: -.03em; }
.wl-stats dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; }
.wl-faq details { border-color: var(--line-2); }
.wl-faq summary { font-weight: 600; letter-spacing: -.01em; }
.wl-prose { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); }
.wl-prose h2, .wl-prose h3 { color: var(--ink); margin-top: 1.6em; }
.wl-prose h2, .wl-block .wl-prose h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; margin-bottom: .5em; }
.wl-prose h3, .wl-block .wl-prose h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.3; margin-bottom: .4em; letter-spacing: -.015em; }
.wl-prose h4 { font-size: 18px; line-height: 1.35; }
.wl-prose blockquote { border-left-color: var(--orange); }
.wl-prose a { color: var(--acc-b); }
.wl-prose code { font-family: var(--mono); font-size: .9em; background: var(--surface); padding: 1px 6px; border-radius: 6px; }
.wl-timeline { border-left-color: var(--line-2); }
.wl-timeline li::before { background: var(--orange); }
.wl-timeline time { font-family: var(--mono); color: var(--acc-o-lg); }
.wl-tags li { font-family: var(--mono); font-size: 12px; }
.wl-author-box { background: var(--panel); border: 1px solid var(--line-2); }
.wl-member-photo, .wl-member-photo img { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 6px var(--bg), 0 0 0 7.5px rgba(224, 122, 0, .6); }
.wl-brand-preview { background: var(--surface); border-radius: 14px; }
.wl-swatch { border-radius: 14px; }
.wl-pager a { font-weight: 600; }
.wl-cookies { background: var(--panel); border-color: var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ------------------------------------------------------------------ footer (always a deep navy anchor) */
.av-footer { padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.av-footer a { color: var(--ink-2); }
.av-fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.av-fbrand img { height: 28px; width: auto; }
.av-fbrand p { color: var(--mute); font-size: 14.5px; max-width: 34ch; margin: 20px 0 0; }
.av-fbrand .tl2 { font-family: var(--mono); color: var(--acc-b); font-size: 14px; margin-top: 14px; }
.av-fcol h2 { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--mute); font-weight: 500; margin: 6px 0 16px; }
.av-fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.av-fcol a { text-decoration: none; font-size: 15px; display: inline-block; padding: 4px 0; min-height: 28px; }
.av-fcol a:hover { color: var(--acc-o); }
.av-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; list-style: none; padding: 0; }
.av-social a { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 600; transition: .25s; }
.av-social a:hover { border-color: var(--orange); color: var(--orange); }
.av-social svg { width: 17px; height: 17px; fill: currentColor; }
.av-fbottom { margin-top: 56px; padding-block: 22px 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mute); }
.av-giant { font-weight: 800; letter-spacing: -.06em; line-height: .8; font-size: clamp(50px, 14vw, 210px); color: transparent; -webkit-text-stroke: 1px rgba(150, 190, 215, .16); margin: 48px 0 -.12em; -webkit-user-select: none; user-select: none; white-space: nowrap; overflow: hidden; }

/* ------------------------------------------------------------------ section rail */
.av-rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: none; }
.av-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.av-rail a { min-height: 24px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.av-rail a span { opacity: 0; transform: translateX(6px); transition: .25s; background: rgba(var(--bg-rgb), .9); padding: 3px 6px; border-radius: 3px; }
.av-rail a i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--mute); transition: .25s; }
.av-rail a:hover span, .av-rail a:focus-visible span, .av-rail a.on span { opacity: 1; transform: none; }
.av-rail a.on { color: var(--ink); }
.av-rail a.on i { background: var(--orange); border-color: var(--orange); transform: scale(1.3); }
@media (min-width: 1280px) { .av-rail { display: block; } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .av-nav, .av-tools .av-support, .av-tools .av-btn { display: none; }
  .av-menu-btn { display: grid; }
  .av-tools { margin-left: auto; }
  .av-orbit { grid-template-columns: 1fr 1fr; }
  .av-orbit-center { grid-column: 1 / -1; grid-row: 1; max-width: 620px; width: 100%; justify-self: center; }
}
@media (max-width: 960px) {
  .av-hero-copy { grid-column: 1 / -1; grid-row: 2; }
  .av-hero-visual { grid-column: 1 / -1; grid-row: 1; width: min(70vw, 420px); justify-self: center; margin-bottom: 6px; }
  .av-hero { justify-content: flex-start; padding-top: 12px; min-height: 0; }
  .av-head, .av-cases, .av-about, .av-contact-grid { grid-template-columns: 1fr; }
  .av-cases-aside { position: relative; top: 0; }
  .av-lattice { max-width: 340px; margin-inline: auto; }
  .av-mark-slot { max-width: 380px; margin-inline: auto; }
  .av-fgrid { grid-template-columns: 1fr 1fr; }
  .av-fbrand { grid-column: 1 / -1; }
  .av-post a { grid-template-columns: 52px minmax(0, 1fr) 24px; }
  .av-post .meta { grid-column: 2; grid-row: 2; text-align: left; }
  .av-post .arr { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) {
  body.wl { font-size: 16px; }
  .av-eyebrow { letter-spacing: .1em; font-size: 11.5px; }
  .av-tools .av-lang, .av-tools .av-modes { display: none; }
  .av-hud { grid-template-columns: 1fr auto; font-size: 10.5px; }
  .av-hud .c { display: none; }
  .av-stats { grid-template-columns: 1fr; }
  .av-stats div { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .av-orbit { grid-template-columns: 1fr; }
  .av-case { grid-template-columns: 1fr; }
  .av-metric { grid-column: 1; grid-row: auto; text-align: left; margin-top: 16px; }
  .av-metric .l { margin-left: 0; }
  .av-quote figure { grid-template-columns: 1fr; }
  .av-qmark { font-size: 96px; }
  .av-tl { grid-template-columns: 1fr; }
  .av-tl li { border-top: 0; border-left: 1px solid var(--line-2); padding: 0 0 22px 22px; }
  .av-tl li::before { top: 4px; left: -5px; }
  .av-leader-row { align-items: flex-start; }
  .av-avatar, .av-avatar img { width: 84px; height: 84px; }
  .av-fgrid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}
@media (max-width: 400px) { .av-hero h1 { font-size: 44px; } .av-btn, .wl-button { padding: 12px 18px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html[data-mode] .rv { opacity: 1; transform: none; }
  .av-rise { animation: none; }
}
@media print {
  #av-fx, .av-vignette, .av-rail, .av-header, .av-mnav, .wl-cookies { display: none !important; }
  body.wl { background: #fff; color: #000; }
}

/* ------------------------------------------------------------------ base templates (pages, archives, modules) */
.wl-section { padding-block: clamp(48px, 7vw, 104px); position: relative; }
.wl-page-head { padding-block: clamp(56px, 8vw, 120px) clamp(16px, 3vw, 40px); }
.wl-page-head h1, .wl-empty h1 { font-size: clamp(40px, 6vw, 92px); line-height: .95; letter-spacing: -.04em; max-width: 18ch; margin: 0; }
.wl-page-head .wl-eyebrow { margin-bottom: 18px; }
.wl-page-head .wl-lead { margin-top: 22px; }
.wl-page-head + .wl-block, .wl-page-head + .wl-section { padding-top: 0; }
.wl-empty { text-align: left; }
.wl-empty .wl-lead { margin: 22px 0 0; }
.wl-group-title { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--acc-o); font-weight: 500; }
.wl-hero h1 { font-size: clamp(44px, 6.6vw, 104px); line-height: .95; letter-spacing: -.045em; }
.av-list-head + .wl-container > h2:empty { display: none; }
.av-list-head h2 { margin-bottom: 0; }
.wl-block h2 em, .wl-block h2 strong { font-style: normal; color: var(--acc-o-lg); font-weight: inherit; }
.av-list-intro { max-width: 70ch; margin-top: 18px; }
.wl-block > .av-list-head { padding-bottom: 0; }
.wl-block > .av-list-head + .wl-container { padding-top: clamp(28px, 3vw, 44px); }
