/* AXEL Consulting — site system
   Built to the tasteskill system (one grid, one spacing scale, one button pair, one card, one hairline,
   equal edges on a 1280 .wrap) and impeccable's craft floor. Palette from the client's logo:
   warm paper ground, near-black ink, the logo red as the one accent. */

:root {
  --p-bg: #f7f6f3; --p-surface: #eeece8; --p-ink: #16161a; --p-muted: #5d5d61;
  --p-accent: #d7141a; --p-accent-ink: #ffffff;
  --p-inv-bg: #141417; --p-inv-surface: #1f1f23; --p-inv-ink: #f4f3ef; --p-inv-muted: #a3a3a8;

  --bg: var(--p-bg); --surface: var(--p-surface); --ink: var(--p-ink); --muted: var(--p-muted);
  --accent: var(--p-accent); --action: var(--p-accent); --action-ink: var(--p-accent-ink);
  --line: color-mix(in oklab, var(--ink) 13%, transparent);
  --line-strong: color-mix(in oklab, var(--ink) 22%, transparent);

  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-text: "Schibsted Grotesk", system-ui, sans-serif;
  --display-tracking: -0.035em;

  /* spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  /* rhythm */
  --nav: 72px; --gut: 80px; --container: 1280px; --gutter: 24px;
  --padt: 120px; --padb: 96px;
  /* type */
  --t-h1: clamp(40px, 3.6vw + 20px, 76px);
  --t-h1-page: clamp(36px, 2.4vw + 22px, 60px);
  --t-h2: clamp(28px, 1.35vw + 19px, 44px);
  --t-h3: 22px;
  --t-lead: clamp(18px, .35vw + 15px, 21px);
  --t-card: 19px;
  --t-body: 17px;
  --t-small: 15px;
  --t-label: 13px;
  /* radius (soft) */
  --r-sm: 4px; --r-md: 8px; --r-lg: 8px; --r-btn: 4px;
  --btn-h: 44px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}
@media (max-width: 1023px) { :root { --gut: 40px; --padt: 96px; --padb: 72px; } }
@media (max-width: 639px)  { :root { --nav: 60px; --gut: 20px; --padt: 72px; --padb: 56px; --t-body: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: var(--t-body); line-height: 1.6;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: color-mix(in oklab, var(--accent) 22%, var(--bg)); color: var(--ink); }
html { scrollbar-color: color-mix(in oklab, var(--ink) 28%, var(--bg)) var(--bg); caret-color: var(--accent); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 450; letter-spacing: var(--display-tracking); text-wrap: balance; hyphens: manual; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gut), var(--container)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--gutter); }
.grid > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1024px) {
  .span-3 { --sp: 3; grid-column: span 3; } .span-4 { --sp: 4; grid-column: span 4; } .span-5 { --sp: 5; grid-column: span 5; } .span-6 { --sp: 6; grid-column: span 6; } .span-7 { --sp: 7; grid-column: span 7; } .span-8 { --sp: 8; grid-column: span 8; }
  .start-5 { grid-column: 5 / span var(--sp, 1); } .start-6 { grid-column: 6 / span var(--sp, 1); } .start-7 { grid-column: 7 / span var(--sp, 1); } .start-8 { grid-column: 8 / span var(--sp, 1); } .start-9 { grid-column: 9 / span var(--sp, 1); } .start-10 { grid-column: 10 / span var(--sp, 1); }
}
@media (min-width: 640px) and (max-width: 1023px) { .t-span-6 { grid-column: span 6; } }
.muted { color: var(--muted); }
.t-lead { font-size: var(--t-lead); line-height: 1.5; max-width: 60ch; }
.t-label { font-size: var(--t-label); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.measure { max-width: 66ch; }

/* ---------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding: 0 22px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn--primary { background: var(--action); color: var(--action-ink); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--xl { --btn-h: 56px; padding: 0 30px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.m-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.link { color: var(--ink); font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.on-dark { --bg: var(--p-inv-bg); --surface: var(--p-inv-surface); --ink: var(--p-inv-ink); --muted: var(--p-inv-muted);
  --line: color-mix(in oklab, var(--p-inv-ink) 14%, transparent); --line-strong: color-mix(in oklab, var(--p-inv-ink) 26%, transparent);
  background: var(--bg); color: var(--ink); }
.on-dark ::selection { background: color-mix(in oklab, var(--p-accent) 45%, #000); color: #fff; }

/* ---------------------------------------------------------------- header */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--top-space); background: linear-gradient(to bottom, transparent var(--tbs), var(--bg) 0); border-bottom: 1px solid var(--line); z-index: 50; }
.nav__bar { height: var(--nav); display: flex; align-items: center; gap: var(--s-6); }
.skip-link { position: absolute; left: var(--gut); top: 12px; transform: translateY(-200%); background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-sm); z-index: 60; text-decoration: none; }
.skip-link:focus-visible { transform: none; }
.nav__logo { display: flex; align-items: center; flex: none; height: 100%; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; align-items: stretch; height: 100%; gap: 2px; margin-left: auto; }
.nav__item { display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer; position: relative;
  transition: background-color 120ms var(--ease);
}
.nav__link .chev { width: 10px; height: 10px; transition: transform 200ms var(--ease); }
.nav__item.is-open .nav__link { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.nav__item.is-open .chev { transform: rotate(180deg); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -16px; height: 2px; background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); } }
.nav__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.nav__search {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: color-mix(in oklab, var(--ink) 3%, var(--bg)); color: var(--muted); cursor: pointer; font-size: 14px;
  transition: border-color 120ms var(--ease), color 120ms var(--ease);
}
.nav__search svg { width: 16px; height: 16px; }
.nav__search kbd { font: 500 12px/1 var(--font-text); padding: 4px 6px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .nav__search:hover { border-color: var(--line-strong); color: var(--ink); } }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: none; align-items: center; justify-content: center; cursor: pointer; }

/* mega panels */
.nav__menu {
  position: fixed; left: 0; right: 0; top: var(--top); background: var(--bg); border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--top)); overflow: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 120ms var(--ease), transform 120ms var(--ease), visibility 0s linear 120ms;
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s; }
.menu__inner { padding: var(--s-7) 0 var(--s-7); }
.menu__grid { display: grid; gap: var(--s-6) var(--gutter); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.menu__grid--wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: var(--s-7); }
.menu__grid--4 { grid-template-columns: 3fr 3fr 3fr 3fr; }
.menu-col h3 { font-family: var(--font-text); font-size: 15px; font-weight: 600; letter-spacing: -0.005em; margin-bottom: var(--s-3); }
.menu-col h3 a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.menu-col h3 a:hover { color: var(--accent); }
.menu-col ul { display: grid; gap: 2px; }
.menu-col li a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color 120ms var(--ease); }
.menu-col li a:hover, .menu-col li a:focus-visible { color: var(--ink); }
.menu__foot { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); }
.menu__foot p { font-size: 15px; color: var(--muted); max-width: 70ch; }
.menu-intro { grid-column: span 2; padding-right: var(--s-6); }
.menu-intro p { font-size: 15px; color: var(--muted); margin-top: var(--s-3); }
.menu-intro h3 { font-size: 22px; font-weight: 450; font-family: var(--font-display); letter-spacing: -0.02em; }
.menu-links { grid-column: span 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); align-content: start; }
.menu-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; font-weight: 500; }
.menu-links a .m-arrow { opacity: .4; transition: opacity 150ms var(--ease), transform 150ms var(--ease); }
.menu-links a:hover .m-arrow { opacity: 1; transform: translateX(3px); color: var(--accent); }
.nav-scrim { position: fixed; inset: var(--top) 0 0 0; background: color-mix(in oklab, var(--p-ink) 22%, transparent); opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease), visibility 0s linear 200ms; z-index: 40; }
.nav-scrim.is-on { opacity: 1; visibility: visible; transition: opacity 200ms var(--ease), visibility 0s; }
/* while the scrim and a closing panel fade out they stay visible for a moment: they must not catch the next click */
.nav-scrim:not(.is-on), .nav__item:not(.is-open) > .nav__menu { pointer-events: none; }

@media (max-width: 1180px) {
  .nav__search span:not(.sr-only), .nav__search kbd { display: none; }
  .nav__search { width: 40px; justify-content: center; padding: 0; }
  .nav__link { padding: 0 9px; font-size: 14.5px; }
}
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 639px) { .nav__actions .btn { display: none; } .nav__logo img { height: 36px; } }

/* mobile sheet */
.sheet { position: fixed; inset: var(--top) 0 0 0; background: var(--bg); z-index: 45; overflow: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 0s linear 160ms; }
.sheet.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s; }
.sheet .wrap { padding: var(--s-4) 0 var(--s-8); }
.sheet__row, .sheet details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; text-decoration: none; cursor: pointer; list-style: none; }
.sheet details > summary::-webkit-details-marker { display: none; }
.sheet details > summary svg { width: 12px; height: 12px; transition: transform 200ms var(--ease); }
.sheet details[open] > summary svg { transform: rotate(180deg); }
.sheet__sub { padding: var(--s-2) 0 var(--s-4); border-bottom: 1px solid var(--line); }
.sheet__sub a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 16px; }
.sheet__sub a.sheet__group { color: var(--ink); font-weight: 600; margin-top: var(--s-2); }
.sheet .btn { width: 100%; margin-top: var(--s-6); }

/* ---------------------------------------------------------------- page frame */
main { padding-top: var(--top-space); min-height: 100vh; }
main:focus { outline: none; }
.view { animation: view-in 320ms var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
.section { padding: var(--padt) 0 var(--padb); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); max-width: 900px; }
.section-head h2 { font-size: var(--t-h2); line-height: 1.08; }
.section-head p { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); max-width: none; }
@media (max-width: 639px) { .section-head { margin-bottom: var(--s-6); } .section-head--split { flex-direction: column; align-items: start; } }

/* ---------------------------------------------------------------- home hero */
.hero { min-height: calc(100svh - var(--top-space)); display: flex; padding: var(--s-7) 0 var(--s-8); }
.hero > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: stretch; }
.hero-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; justify-content: center; padding-right: var(--s-6); }
.hero h1 { font-size: var(--t-h1); line-height: .98; letter-spacing: -0.045em; font-weight: 450; }
.hero h1 .accent-dot { color: var(--accent); }
.hero .t-lead { margin-top: var(--s-5); max-width: 40ch; color: var(--ink); }
.hero .btn-row { margin-top: var(--s-6); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: auto 0 0; padding-top: var(--s-7); }
.hero-facts > div { border-top: 1px solid var(--line-strong); padding-top: var(--s-3); }
.hero-facts dt { font-size: var(--t-label); color: var(--muted); font-weight: 500; }
.hero-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-copy .hero-main { margin-block: auto; }
.hero-visual { grid-column: 7 / span 6; position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; }
@media (max-width: 1023px) {
  .hero { min-height: 0; padding: var(--s-7) 0; }
  .hero-copy { grid-column: 1 / -1; padding-right: 0; }
  .hero-copy .hero-main { margin-top: 0; }
  .hero-visual { grid-column: 1 / -1; margin-top: var(--s-7); min-height: 520px; }
}
@media (max-width: 639px) {
  .hero-facts { gap: var(--s-3); }
  .hero-facts dd { font-size: 26px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 0; margin-top: var(--s-6); }
}

/* hero entrance (once per page view) */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .w { display: inline-block; transform: translateY(.42em); opacity: 0; filter: blur(4px);
    animation: word-in 700ms var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 60ms); }
  [data-enter] .enter-after { opacity: 0; transform: translateY(10px); animation: fade-up 600ms var(--ease) forwards; animation-delay: var(--d, 300ms); }
  [data-enter] .enter-media { opacity: 0; transform: scale(.985); animation: media-in 900ms var(--ease) forwards; animation-delay: 120ms; }
}
@keyframes word-in { to { transform: none; opacity: 1; filter: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes media-in { to { opacity: 1; transform: none; } }

/* hub visual */
.hub { position: absolute; inset: 0; background: var(--p-inv-bg); color: var(--p-inv-ink); display: flex; flex-direction: column; }
.hub__stage { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) 128px minmax(0,1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 16px 28px; padding: 40px 28px 28px; align-items: center; }
.hub__node[data-k="0"] { grid-area: 1 / 1; } .hub__node[data-k="1"] { grid-area: 2 / 1; } .hub__node[data-k="2"] { grid-area: 3 / 1; }
.hub__node[data-k="3"] { grid-area: 1 / 3; justify-self: end; } .hub__node[data-k="4"] { grid-area: 2 / 3; justify-self: end; } .hub__node[data-k="5"] { grid-area: 3 / 3; justify-self: end; }
.hub__node[data-k="0"], .hub__node[data-k="1"], .hub__node[data-k="2"] { justify-self: start; }
.hub svg.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines .ln { fill: none; stroke: color-mix(in oklab, var(--p-inv-ink) 18%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke 240ms var(--ease); }
.hub__lines .ln.is-on { stroke: color-mix(in oklab, var(--p-accent) 85%, #fff 0%); }
.hub__lines .pulse { fill: none; stroke: var(--p-accent); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.06 1; pathLength: 1; animation: pulse-run 3.2s linear infinite; opacity: .9; }
.hub.is-paused .pulse, .hub.is-paused .hub__core::before { animation-play-state: paused; }
@keyframes pulse-run { from { stroke-dashoffset: 1.06; } to { stroke-dashoffset: 0; } }
.hub__core { position: relative; grid-area: 2 / 2; justify-self: center; width: 120px; height: 120px; border-radius: 8px; z-index: 1; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.hub__core img { width: 92px; height: auto; }
.hub__core::before { content: ""; position: absolute; inset: -14px; border-radius: 12px; border: 1px solid color-mix(in oklab, var(--p-accent) 60%, transparent); animation: core-breathe 3.2s var(--ease-io) infinite; }
@keyframes core-breathe { 0%, 100% { opacity: .15; scale: .96; } 50% { opacity: .9; scale: 1; } }
.hub__node {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 11px 16px; border-radius: var(--r-md); background: var(--p-inv-surface); border: 1px solid color-mix(in oklab, var(--p-inv-ink) 14%, transparent);
  color: var(--p-inv-ink); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.25;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 150ms var(--ease);
}
.hub__node i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in oklab, var(--p-inv-ink) 40%, transparent); flex: none; transition: background-color 150ms var(--ease); }
.hub__node.is-on { background: #fff; color: var(--p-ink); border-color: #fff; }
.hub__node.is-on i { background: var(--p-accent); }
.hub__node:active { transform: scale(.97); }
.hub__card { margin: 0 var(--s-5) var(--s-5); padding: var(--s-5); border-radius: var(--r-md); background: var(--p-inv-surface); border: 1px solid color-mix(in oklab, var(--p-inv-ink) 12%, transparent); min-height: 150px; display: grid; gap: 8px; align-content: start; }
.hub__card h3 { font-family: var(--font-text); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.hub__card p { font-size: 15.5px; line-height: 1.55; color: var(--p-inv-muted); }
.hub__card p strong { color: var(--p-inv-ink); font-weight: 500; }
.hub__card .link { color: #fff; margin-top: 4px; font-size: 15px; }
.hub__card[data-swap] > * { animation: swap-in 260ms var(--ease) both; }
@keyframes swap-in { from { opacity: 0; transform: translateY(4px); } }
.hub__pause { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--p-inv-ink) 18%, transparent); background: transparent; color: var(--p-inv-muted); display: grid; place-items: center; cursor: pointer; z-index: 2; transition: color 120ms var(--ease), border-color 120ms var(--ease); }
.hub__pause:hover { color: #fff; border-color: color-mix(in oklab, var(--p-inv-ink) 40%, transparent); }
.hub__pause svg { width: 12px; height: 12px; }
@media (max-width: 639px) {
  .hub__stage { grid-template-columns: 1fr 1fr; grid-template-rows: auto; padding: 28px 14px 18px; gap: 10px; }
  .hub__core { grid-area: 1 / 1 / 2 / 3; width: 88px; height: 88px; border-radius: 8px; margin-bottom: 26px; }
  .hub__core img { width: 66px; }
  .hub__node[data-k] { grid-area: auto; justify-self: stretch; font-size: 13px; padding: 9px 11px; gap: 8px; }
  .hub__card { margin: 0 12px 12px; padding: 18px; min-height: 0; }
  .hub { position: relative; inset: auto; }
  .hub__stage { flex: none; }
}

/* ---------------------------------------------------------------- platform marquee */
.platforms { padding: var(--s-8) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.platforms__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); margin-bottom: var(--s-6); }
.platforms__head p { font-size: 17px; color: var(--muted); max-width: 70ch; }
.marquee { position: relative; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: var(--s-3); width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.chip:hover { border-color: var(--ink); background: #fff; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; display: grid; place-items: center; cursor: pointer; flex: none; color: var(--ink); }
.icon-btn svg { width: 12px; height: 12px; }

/* ---------------------------------------------------------------- statement moment */
.statement { padding: var(--s-10) 0; }
.statement p { font-family: var(--font-display); font-size: clamp(30px, 2.6vw + 16px, 58px); line-height: 1.12; letter-spacing: -0.035em; max-width: 22ch; font-weight: 450; }
.statement p.statement__wide { max-width: 26ch; }
.statement .sw { color: color-mix(in oklab, var(--ink) 22%, var(--bg)); transition: color 300ms var(--ease); }
.statement .sw.is-lit { color: var(--ink); }
.statement .sw.is-lit.is-key { color: var(--accent); }
.statement__foot { margin-top: var(--s-7); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.statement__foot p { grid-column: 6 / span 6; font-family: var(--font-text); font-size: var(--t-lead); line-height: 1.55; letter-spacing: 0; max-width: 56ch; color: var(--muted); }
@media (max-width: 1023px) { .statement__foot p { grid-column: 1 / -1; } .statement { padding: var(--s-9) 0; } }
@media (prefers-reduced-motion: reduce) { .statement .sw { color: var(--ink); } }

/* ---------------------------------------------------------------- peek list (six ways) */
.peek { align-items: stretch; }
.peek__rows { grid-column: 1 / span 6; border-top: 1px solid var(--line); }
.peek__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); cursor: pointer; text-decoration: none; position: relative; }
.peek__row h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; transition: color 150ms var(--ease); }
.peek__row p { grid-column: 1 / -1; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 56ch; display: none; }
.peek__row .m-arrow { align-self: center; width: 16px; height: 16px; opacity: .35; transition: opacity 150ms var(--ease), transform 200ms var(--ease); }
.peek__row.is-on h3 { color: var(--accent); }
.peek__row.is-on p { display: block; animation: swap-in 260ms var(--ease) both; }
.peek__row.is-on .m-arrow { opacity: 1; transform: translateX(4px); color: var(--accent); }
.peek__panel { grid-column: 8 / span 5; border-radius: var(--r-lg); background: var(--surface); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); min-height: 100%; }
.peek__panel h3 { font-size: 15px; font-family: var(--font-text); font-weight: 600; letter-spacing: 0; color: var(--muted); }
.peek__panel ul { display: grid; gap: 0; }
.peek__panel li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; font-weight: 500; transition: color 120ms var(--ease), padding 200ms var(--ease); }
.peek__panel li a:hover { color: var(--accent); padding-left: 4px; }
.peek__panel li a .m-arrow { opacity: .35; }
.peek__panel[data-swap] ul li { animation: swap-in 300ms var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms); }
@media (max-width: 1023px) { .peek__rows, .peek__panel { grid-column: 1 / -1; } .peek__panel { display: none; } .peek__row p { display: block; } .peek__row h3 { font-size: 21px; } }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; min-height: 100%; }
.card h3 { font-family: var(--font-text); font-size: var(--t-card); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; padding-right: 28px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card .card__go { position: absolute; right: var(--s-5); top: calc(var(--s-5) + 4px); width: 14px; height: 14px; color: var(--muted); transition: transform 200ms var(--ease), color 150ms var(--ease); }
a.card:hover .card__go { transform: translateX(3px); color: var(--accent); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: var(--s-3); }
.card__tags span { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.card--area { padding: var(--s-6); gap: var(--s-4); }
.card--area h3 { font-size: 22px; font-family: var(--font-display); font-weight: 450; letter-spacing: -0.02em; }
.on-dark .card { background: var(--surface); }

/* ---------------------------------------------------------------- process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: var(--s-4); display: grid; gap: var(--s-2); align-content: start; }
.step:first-child { border-top-color: var(--accent); }
.step h3 { font-family: var(--font-text); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 16px; color: var(--muted); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); } }
@media (max-width: 639px) { .steps { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-top: var(--s-8); }
.two-col > div { grid-column: span 6; display: grid; gap: var(--s-3); align-content: start; }
.two-col h3 { font-size: 24px; letter-spacing: -0.02em; }
.two-col p { color: var(--muted); max-width: 54ch; }
@media (max-width: 1023px) { .two-col > div { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- inner pages */
.page-head { padding: var(--s-8) 0 var(--s-8); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: var(--s-6); }
.crumbs a { text-decoration: none; color: var(--muted); transition: color 120ms var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 10px; height: 10px; opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }
.page-head h1 { font-size: var(--t-h1-page); line-height: 1.02; letter-spacing: -0.04em; max-width: 20ch; }
.page-head h1 .muted { display: block; color: var(--muted); }
.page-head .grid { align-items: end; }
.page-head .t-lead { margin-top: var(--s-6); max-width: 58ch; }
.page-head__side { display: grid; gap: var(--s-3); justify-items: start; }
@media (min-width: 1024px) { .page-head__side { justify-items: end; } }
.page-head__lead { margin-top: var(--s-6); display: grid; gap: var(--s-4); max-width: 64ch; }
.page-head__lead p { font-size: var(--t-lead); line-height: 1.55; }
.page-head__lead p + p { font-size: var(--t-body); color: var(--muted); }

.prose-rows { padding: var(--s-8) 0 var(--s-4); }
.prose-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4) var(--gutter); padding: var(--s-6) 0 var(--s-7); border-top: 1px solid var(--line); }
.prose-row:first-child { border-top: 0; padding-top: 0; }
.prose-row h2 { grid-column: 1 / span 4; font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; }
.prose-row .prose { grid-column: 6 / span 7; }
@media (max-width: 1023px) { .prose-row h2, .prose-row .prose { grid-column: 1 / -1; } }
.prose { display: grid; gap: var(--s-4); }
.prose p { max-width: 68ch; line-height: 1.7; }
.prose strong { font-weight: 600; }
.prose .cards { margin-top: var(--s-3); }
.list-plain { display: grid; gap: 0; border-top: 1px solid var(--line); }
.list-plain li { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.list-plain li strong { font-weight: 600; }
.list-plain li span { color: var(--muted); }

.related { padding: var(--s-8) 0 var(--s-8); background: var(--surface); }
.related .card { background: var(--bg); }
.closing-band { padding: var(--s-8) 0; }
.cta-panel { border-radius: var(--r-lg); padding: clamp(32px, 4vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--gutter); align-items: end; overflow: hidden; position: relative; }
.cta-panel h2 { grid-column: 1 / span 8; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.03em; }
.cta-panel p { grid-column: 1 / span 7; color: var(--muted); font-size: var(--t-lead); line-height: 1.5; }
.cta-panel .btn-row { grid-column: 9 / span 4; justify-content: flex-end; grid-row: 1 / span 2; align-self: end; }
.cta-panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: url("../img/mark-red.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
@media (max-width: 1023px) { .cta-panel h2, .cta-panel p, .cta-panel .btn-row { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: var(--s-6) 0 var(--s-8); }
.pager a { display: grid; gap: 4px; padding: var(--s-5) 0; border-top: 1px solid var(--line-strong); text-decoration: none; }
.pager a span { font-size: var(--t-label); color: var(--muted); font-weight: 500; }
.pager a strong { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; transition: color 120ms var(--ease); }
.pager a:hover strong { color: var(--accent); }
.pager a.pager__next { text-align: right; grid-column: 2; }

.pending { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-2); max-width: 760px; background: repeating-linear-gradient(-45deg, transparent 0 12px, color-mix(in oklab, var(--ink) 2.5%, transparent) 12px 13px); }
.pending h2, .pending h3 { font-family: var(--font-text); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.pending p { color: var(--muted); font-size: 16px; }
.pending--slot { max-width: none; min-height: 220px; align-content: center; justify-items: center; text-align: center; }

/* section jump tabs on long top pages */
.subnav { position: relative; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.subnav a { flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); border: 1px solid var(--line); transition: color 120ms var(--ease), border-color 120ms var(--ease), background-color 120ms var(--ease); }
.subnav a:hover { color: var(--ink); border-color: var(--line-strong); }
.subnav a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* filter on category pages */
.filter { display: flex; gap: var(--s-3); align-items: center; margin-bottom: var(--s-6); flex-wrap: wrap; }
.filter input { height: 44px; width: min(360px, 100%); border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; padding: 0 14px 0 40px; font: inherit; font-size: 16px; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5d61' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: 13px center; }
.filter input:focus { outline: 2px solid var(--action); outline-offset: 0; border-color: transparent; }
.filter output { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: var(--s-5); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 639px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field :is(input, select, textarea) { width: 100%; min-height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2316161a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px; background-position: right 14px center; padding-right: 40px; }
.field :is(input, select, textarea):focus { outline: 2px solid var(--action); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--accent); }
.field__error { font-size: 14px; color: #b0101a; }
.form__status { font-size: 15px; min-height: 1.5em; }
.form__status.is-warn { color: var(--ink); background: var(--surface); padding: 12px 14px; border-radius: var(--r-sm); }

/* ---------------------------------------------------------------- search dialog */
.search { position: fixed; inset: 0; z-index: 80; display: none; }
.search.is-open { display: block; }
.search__scrim { position: absolute; inset: 0; background: color-mix(in oklab, var(--p-ink) 40%, transparent); }
.search__box { position: relative; margin: 12vh auto 0; width: min(680px, calc(100% - 32px)); background: var(--bg); border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45), 0 0 0 1px var(--line); overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.search__field svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search__field input { flex: 1; height: 60px; border: 0; background: none; font: inherit; font-size: 18px; color: var(--ink); outline: none; }
.search__field kbd { font: 500 12px/1 var(--font-text); padding: 4px 6px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--muted); }
.search__list { max-height: min(60vh, 520px); overflow: auto; padding: 8px; }
.search__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; }
.search__list a strong { font-weight: 500; font-size: 16px; }
.search__list a span { grid-column: 1; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search__list a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 13px; color: var(--muted); }
.search__list a[aria-selected="true"] { background: var(--surface); }
.search__list a[aria-selected="true"] strong { color: var(--accent); }
.search__empty { padding: 24px 12px; color: var(--muted); }
.search__foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.footer { padding: var(--s-9) 0 var(--s-6); }
.footer__close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--gutter); padding-bottom: var(--s-9); border-bottom: 1px solid var(--line); align-items: end; }
.footer__close h2 { grid-column: 1 / span 8; font-size: clamp(36px, 3vw + 18px, 72px); line-height: 1.02; letter-spacing: -0.045em; }
.footer__close p { grid-column: 1 / span 6; color: var(--muted); font-size: var(--t-lead); line-height: 1.5; }
.footer__close .btn-row { grid-column: 9 / span 4; grid-row: 1 / span 2; justify-content: flex-end; }
@media (max-width: 1023px) { .footer__close > * { grid-column: 1 / -1 !important; grid-row: auto !important; justify-content: flex-start !important; } }
.footer__links { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); padding: var(--s-8) 0 var(--s-8); }
.footer__brand { grid-column: span 4; display: grid; gap: var(--s-4); align-content: start; }
.footer__brand img { width: 168px; height: auto; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer__col { grid-column: span 2; }
.footer__col h3 { font-family: var(--font-text); font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: var(--s-4); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color 120ms var(--ease); }
.footer__col a:hover { color: var(--ink); }
@media (max-width: 1023px) { .footer__brand { grid-column: 1 / -1; } .footer__col { grid-column: span 3; } }
@media (max-width: 639px) { .footer__col { grid-column: span 6; } }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover { color: var(--ink); }
.footer__word { margin-top: var(--s-7); }
.footer__word img { width: 100%; height: auto; opacity: .08; filter: grayscale(1) brightness(3); }

@media (prefers-reduced-motion: reduce) {
  .view, .hub__lines .pulse, .hub__core::before, .marquee__track { animation: none !important; }
  .nav__menu, .sheet { transition: none !important; }
}

/* ================================================================ human-centric reading and interaction layer
   (emil-design-eng / find-animation-opportunities: motion only where it gives feedback, keeps place, or bridges a change;
    ease-out cubic-bezier(.23,1,.32,1), UI under 300ms, transform and opacity only, reduced motion respected) */
.i16 { width: 16px; height: 16px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: var(--s-5); font-size: 14px; color: var(--muted); }
.page-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin-right: 20px; vertical-align: middle; }
.page-meta a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.head-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.btn:active { transform: scale(.97); }

/* reading layout: a rail that keeps your place, an article set for reading */
.read { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: var(--s-8) 0 var(--s-6); }
.rail { grid-column: 1 / span 3; }
.article { grid-column: 5 / span 8; display: grid; gap: var(--s-8); }
.read--solo .article { grid-column: 1 / span 9; }
.rail__in { position: sticky; top: calc(var(--top) + 32px); display: grid; gap: var(--s-4); }
.rail__label { font-size: var(--t-label); font-weight: 600; color: var(--muted); }
.rail__list { position: relative; display: grid; gap: 2px; padding-left: 18px; --prog: 0; }
.rail__list::before, .rail__list::after { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--line); }
.rail__list::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--prog)); transition: transform 120ms linear; }
.rail__list a { position: relative; display: block; padding: 7px 0; font-size: 15px; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color 150ms var(--ease); }
.rail__list a:hover { color: var(--ink); }
.rail__dot { position: absolute; left: -19px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); z-index: 1; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease); }
.rail__list a.is-done .rail__dot { background: var(--accent); border-color: var(--accent); }
.rail__list a[aria-current] { color: var(--ink); font-weight: 500; }
.rail__list a[aria-current] .rail__dot { border-color: var(--accent); transform: scale(1.2); }
.rail__ask { margin-top: var(--s-4); padding: var(--s-5); border-radius: var(--r-md); background: var(--surface); display: grid; gap: var(--s-3); }
.rail__ask p { font-size: 15px; line-height: 1.5; }
@media (max-width: 1023px) { .rail { display: none; } .article, .read--solo .article { grid-column: 1 / -1; } }

.article__sec { display: grid; gap: var(--s-4); scroll-margin-top: calc(var(--top) + 24px); }
.article__sec h2 { font-size: clamp(24px, 1vw + 18px, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.article__sec h2:focus { outline: none; }
.article .prose p { font-size: 18px; line-height: 1.75; max-width: 66ch; }
@media (max-width: 639px) { .article .prose p { font-size: 17px; } .article { gap: var(--s-7); } }
.article .list-plain li { font-size: 17px; }

/* quotes from the document, each linked to where it is said */
.says { display: grid; gap: var(--s-3); }
.says li { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--surface); display: grid; gap: 6px; }
.says li p { font-size: 16px; line-height: 1.55; }
.says--full li p { font-size: 18px; line-height: 1.65; }
.says li a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; justify-self: start; }
.says li a:hover { color: var(--accent); }

/* industries explorer (vertical tabs) */
.ind { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.ind__tabs { grid-column: 1 / span 4; position: relative; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.ind__tabs button { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; min-height: 56px; padding: 12px 16px 12px 20px; border: 0; background: none; cursor: pointer; font-size: 17px; font-weight: 500; color: var(--muted); transition: color 150ms var(--ease); }
.ind__tabs button:hover { color: var(--ink); }
.ind__tabs button[aria-selected="true"] { color: var(--ink); }
.ind__tabs button em { font-style: normal; font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: var(--r-sm); background: color-mix(in oklab, var(--accent) 10%, transparent); color: #a50f15; white-space: nowrap; }
.ind__tabs button:focus-visible { outline-offset: -2px; }
.ind__ind { position: absolute; left: -1px; top: 0; width: 3px; height: 56px; background: var(--accent); border-radius: 2px; transition: transform 240ms var(--ease-io), height 240ms var(--ease-io); }
.ind__ind::after { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; width: calc(var(--ind-w, 100%)); }
.ind__ind.is-jump { transition: none; }
.ind__panel { grid-column: 6 / span 7; padding: var(--s-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: var(--s-5); min-height: 100%; }
.ind__panel:focus-visible { outline-offset: 4px; }
.ind__lead { font-family: var(--font-display); font-size: clamp(20px, .6vw + 16px, 26px); line-height: 1.35; letter-spacing: -0.015em; }
.ind__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ind__empty { display: grid; gap: var(--s-3); align-content: start; }
.ind__empty h3 { font-size: 26px; letter-spacing: -0.02em; }
.ind__empty p { color: var(--muted); max-width: 52ch; }
.chip--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.is-swap > * { animation: swap-in 240ms var(--ease) both; }
.is-swap > *:nth-child(2) { animation-delay: 40ms; } .is-swap > *:nth-child(3) { animation-delay: 80ms; } .is-swap > *:nth-child(4) { animation-delay: 120ms; }
@media (max-width: 1023px) {
  .ind__tabs { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .ind__tabs button { flex: none; padding: 12px 16px; min-height: 48px; font-size: 15px; }
  .ind__tabs button em { display: none; }
  .ind__ind { top: auto; bottom: -1px; left: 0; height: 3px !important; width: 0; transition: transform 240ms var(--ease-io), width 240ms var(--ease-io); }
  .ind__panel { grid-column: 1 / -1; padding: var(--s-5); }
}

/* capability tabs (horizontal) */
.cap__ask { color: var(--muted); margin-bottom: var(--s-4); }
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: var(--r-md); background: var(--surface); margin-bottom: var(--s-6); }
.tabs button { position: relative; z-index: 1; flex: none; display: inline-flex; gap: 8px; align-items: center; height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--muted); transition: color 150ms var(--ease); white-space: nowrap; }
.tabs button em { font-style: normal; font-size: 12px; color: var(--muted); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs__ind { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: var(--r-sm); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 0 0 1px var(--line); transition: transform 240ms var(--ease-io), width 240ms var(--ease-io); }
.tabs__ind.is-jump { transition: none; }
.cap__panel { display: grid; gap: var(--s-6); }
.cap__panel:focus-visible { outline-offset: 8px; }
.cap__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); }
.cap__head h2 { font-size: var(--t-h2); line-height: 1.1; }
.cap__head p { margin-top: var(--s-3); color: var(--muted); font-size: var(--t-lead); max-width: 60ch; }
@media (max-width: 639px) { .cap__head { flex-direction: column; align-items: start; } }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards--3 { grid-template-columns: 1fr; } }
.stagger > .card { animation: swap-in 280ms var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.card.is-in { animation: swap-in 240ms var(--ease) both; animation-delay: calc(min(var(--i, 0), 8) * 30ms); }
.filter__empty { padding: var(--s-6); border-radius: var(--r-lg); border: 1px dashed var(--line-strong); color: var(--muted); }
.filter__empty a { color: var(--ink); }

/* toast: enters and leaves by the same edge */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: min(560px, calc(100% - 32px)); padding: 12px 18px; border-radius: var(--r-md); background: var(--p-ink); color: #fff; font-size: 15px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
  transform: translate(-50%, calc(100% + 32px)); opacity: 0; transition: transform 220ms var(--ease), opacity 220ms var(--ease); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .stagger > .card, .card.is-in, .is-swap > * { animation: none !important; }
  .tabs__ind, .ind__ind, .rail__list::after, .toast { transition: none !important; }
}

/* ================================================================ hero (hx): dark, live, interactive */
.hx { position: relative; overflow: hidden; min-height: calc(100svh - var(--top-space)); display: flex; align-items: center; padding: var(--s-8) 0; isolation: isolate; }
.hx__field { position: absolute; inset: 0; z-index: -2; }
.hx__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 400ms var(--ease);
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(215, 20, 26, .16), transparent 60%); }
.hx.is-ptr .hx__glow { opacity: 1; }
.hx::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1; background: linear-gradient(transparent, var(--p-inv-bg)); pointer-events: none; }
.hx__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; width: min(100% - 2 * var(--gut), var(--container)); }
.hx__copy { grid-column: 1 / span 6; display: grid; gap: var(--s-5); }
.hx h1 { font-size: clamp(48px, 5.2vw + 12px, 104px); line-height: .94; letter-spacing: -0.05em; font-weight: 450; color: #fff; }
.hx h1 .accent-dot { color: var(--p-accent); }
.hx .t-lead { color: color-mix(in oklab, var(--p-inv-ink) 78%, transparent); max-width: 44ch; }
.hx__ask { position: relative; z-index: 3; margin-top: var(--s-3); max-width: 560px; }
.hx__combo { position: relative; }
.hx__label { display: block; font-size: 14px; font-weight: 500; color: var(--p-inv-muted); margin-bottom: 8px; }
.hx__field-row { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-radius: var(--r-md); background: color-mix(in oklab, var(--p-inv-surface) 88%, transparent); border: 1px solid color-mix(in oklab, var(--p-inv-ink) 16%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.hx__field-row:focus-within { border-color: color-mix(in oklab, var(--p-accent) 70%, transparent); box-shadow: 0 0 0 4px rgba(215, 20, 26, .18); }
.hx__field-row svg { width: 20px; height: 20px; color: var(--p-inv-muted); flex: none; }
.hx__field-row input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: inherit; font-size: 18px; color: #fff; caret-color: var(--p-accent); }
.hx__field-row input::placeholder { color: color-mix(in oklab, var(--p-inv-ink) 42%, transparent); }
.hx__caret { display: none; }
.hx__results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5; padding: 6px; border-radius: var(--r-md); background: #1b1b1f; border: 1px solid color-mix(in oklab, var(--p-inv-ink) 14%, transparent); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.hx__results a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--p-inv-ink); }
.hx__results a strong { font-weight: 500; font-size: 16px; }
.hx__results a span { font-size: 13px; color: var(--p-inv-muted); white-space: nowrap; }
.hx__results a[aria-selected="true"], .hx__results a:hover { background: color-mix(in oklab, var(--p-inv-ink) 8%, transparent); }
.hx__results a[aria-selected="true"] strong { color: #ff5a50; }
.hx__none { padding: 12px; color: var(--p-inv-muted); font-size: 15px; }
.hx__none a { color: #fff; }
.hx .btn-row { margin-top: var(--s-3); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); }

.hx__map { grid-column: 7 / span 6; position: relative; height: min(600px, 68svh); }
.hx__core { position: absolute; left: 50%; top: 50%; width: 148px; height: 148px; translate: -50% -50%; border-radius: 8px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #2a2a30, #121215); border: 1px solid color-mix(in oklab, var(--p-inv-ink) 14%, transparent); box-shadow: 0 30px 80px -20px rgba(215, 20, 26, .45), inset 0 1px 0 rgba(255,255,255,.06); }
.hx__core img { width: 104px; height: auto; }
.hx__core::before { content: ""; position: absolute; inset: -18px; border-radius: 12px; border: 1px solid rgba(215, 20, 26, .5); animation: core-breathe 3.2s var(--ease-io) infinite; }
.hx__node { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 10px; max-width: 220px; padding: 12px 16px; border-radius: var(--r-md);
  background: color-mix(in oklab, var(--p-inv-surface) 85%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklab, var(--p-inv-ink) 14%, transparent); color: var(--p-inv-ink); font-size: 14.5px; font-weight: 500; line-height: 1.25; text-decoration: none;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease); }
.hx__node:hover { transform: translateY(-2px); }
.hx__node:active { transform: scale(.97); }
.hx__node.is-on { background: #fff; color: var(--p-ink); border-color: #fff; }
.hx__ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in oklab, var(--p-inv-ink) 40%, transparent); flex: none; }
.hx__node.is-on .hx__ping { background: var(--p-accent); }
.hx__node.is-on .hx__ping::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--p-accent); animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.hx__node[data-k="0"] { left: 22%; top: 10%; } .hx__node[data-k="1"] { left: 82%; top: 16%; }
.hx__node[data-k="2"] { left: 10%; top: 50%; } .hx__node[data-k="3"] { left: 90%; top: 52%; }
.hx__node[data-k="4"] { left: 24%; top: 88%; } .hx__node[data-k="5"] { left: 78%; top: 86%; }
.hx__node[data-k="2"] { translate: 0 -50%; left: 0; } .hx__node[data-k="3"] { translate: -100% -50%; left: 100%; }
.hx__pause { position: absolute; right: var(--gut); bottom: 24px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--p-inv-ink) 20%, transparent); background: transparent; color: var(--p-inv-muted); display: grid; place-items: center; cursor: pointer; }
.hx__pause:hover { color: #fff; }
.hx__pause svg { width: 12px; height: 12px; }
@media (max-width: 1023px) {
  .hx { min-height: 0; padding: var(--s-8) 0 var(--s-9); }
  .hx__copy { grid-column: 1 / -1; }
  .hx__map { grid-column: 1 / -1; height: auto; margin-top: var(--s-7); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hx__core { display: none; }
  .hx__node[data-k] { position: relative; left: auto; top: auto; translate: none; max-width: none; }
}
@media (max-width: 639px) { .hx .btn-row .btn { flex: 1 1 100%; } .hx__field-row input { font-size: 16px; } .hx__node[data-k] { font-size: 13.5px; padding: 11px 12px; } }
@media (prefers-reduced-motion: reduce) { .hx__core::before, .hx__ping::after { animation: none !important; } }

/* header: search as an icon */
.nav__search { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.nav__search svg { width: 18px; height: 18px; }

/* vertical dropdowns for About Us, Industries, Insights & Resources */
.nav__item { position: relative; }
.nav__menu--drop { position: absolute; left: 0; right: auto; top: calc(100% + 1px); width: 300px; max-height: none; border: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md); padding: 10px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.25); }
.drop__list { display: grid; }
.drop__list a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color 120ms var(--ease), background-color 120ms var(--ease); }
.drop__list a:hover, .drop__list a:focus-visible { color: var(--ink); background: color-mix(in oklab, var(--ink) 5%, transparent); }
.drop__all { display: block; margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; }
.drop__all:hover { color: var(--accent); }
.crumbs__sep { opacity: .45; margin: 0 2px; }

/* ================================================================ About Us and Industries (About_Us.docx) */
.split-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5) var(--gutter); }
.split-text > h2 { grid-column: 1 / span 5; font-size: var(--t-h2); line-height: 1.1; }
.split-text > .prose { grid-column: 7 / span 6; }
.split-text--solo > .prose { grid-column: 1 / span 8; }
.split-text .prose p { font-size: 18px; line-height: 1.75; }
@media (max-width: 1023px) { .split-text > h2, .split-text > .prose, .split-text--solo > .prose { grid-column: 1 / -1; } }
.inlink { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--accent) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 120ms var(--ease), text-decoration-color 120ms var(--ease); }
.inlink:hover { color: var(--accent); text-decoration-color: var(--accent); }
.facts { margin: 0 0 var(--s-7); padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: 4px; }
.facts dt { font-size: var(--t-label); font-weight: 600; color: var(--accent); }
.facts dd { margin: 0; font-family: var(--font-display); font-size: clamp(20px, .8vw + 15px, 28px); line-height: 1.3; letter-spacing: -0.015em; max-width: 50ch; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }

  transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }

/* stepper: five stages, one shown at a time on wide screens, all open on a phone */
.stepper { --sp: 0; display: grid; gap: var(--s-6); }
.stepper__rail { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gutter); }
.stepper__rail::before, .stepper__rail::after { content: ""; position: absolute; left: 9px; right: calc(20% - 9px + var(--gutter) * .2); top: 9px; height: 2px; background: var(--line-strong); }
.stepper__rail::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--sp)); transition: transform 320ms var(--ease-io); }
.stepper__rail button { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; text-align: left; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); }
.stepper__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease); }
.stepper__name { font-size: 17px; font-weight: 500; line-height: 1.3; transition: color 150ms var(--ease); }
.stepper__rail button:hover .stepper__name { color: var(--ink); }
.stepper__rail button.is-done .stepper__dot { background: var(--accent); border-color: var(--accent); }
.stepper__rail button[aria-selected="true"] .stepper__dot { border-color: var(--accent); background: var(--bg); transform: scale(1.25); box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 16%, transparent); }
.stepper__rail button[aria-selected="true"] .stepper__name { color: var(--ink); }
.stepper__panel { padding: var(--s-7); border-radius: var(--r-lg); background: var(--surface); min-height: 200px; display: grid; gap: var(--s-3); align-content: start; }
.stepper__panel h3 { font-size: clamp(26px, 1.2vw + 18px, 38px); line-height: 1.1; letter-spacing: -0.03em; }
.stepper__panel p { font-size: 19px; line-height: 1.65; max-width: 62ch; }
.stepper__nav { display: flex; gap: var(--s-3); }
.stepper__nav .btn[disabled] { opacity: .4; cursor: default; }
.stepper__all { display: none; }
.on-dark .stepper__dot { background: var(--p-inv-bg); }
.on-dark .stepper__panel { background: var(--p-inv-surface); }
@media (max-width: 1023px) {
  .stepper__rail, .stepper__panel, .stepper__nav { display: none; }
  .stepper__all { display: grid; gap: 0; border-left: 2px solid var(--accent); margin-left: 8px; }
  .stepper__all li { padding: 0 0 var(--s-6) var(--s-5); position: relative; display: grid; gap: 6px; }
  .stepper__all li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
  .on-dark .stepper__all li::before { background: var(--p-inv-bg); }
  .stepper__all h3 { font-size: 21px; letter-spacing: -0.015em; }
  .stepper__all p { color: var(--muted); }
}

/* industries explorer panel */
.ind__title { font-size: clamp(24px, 1vw + 18px, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.ind__sub { font-size: var(--t-label); font-weight: 600; color: var(--muted); margin-top: var(--s-2); }
.ind__checks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ind__checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.ind__checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 12%, transparent); }
.ind__checks li::after { content: ""; position: absolute; left: 7px; top: 19px; width: 4px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ind__panel .btn { justify-self: start; margin-top: var(--s-2); }

/* sector challenges */
.ch { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.ch__tabs { grid-column: 1 / span 5; position: relative; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.ch__tabs button { position: relative; z-index: 1; text-align: left; min-height: 64px; padding: 14px 16px 14px 22px; border: 0; background: none; cursor: pointer; font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--muted); transition: color 150ms var(--ease); }
.ch__tabs button:hover, .ch__tabs button[aria-selected="true"] { color: var(--ink); }
.ch__tabs .ind__ind { height: 64px; }
.ch__panel { grid-column: 7 / span 6; padding: var(--s-7); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: var(--s-4); min-height: 280px; align-content: start; }
.ch__title { font-size: clamp(24px, 1vw + 18px, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.ch__text { font-size: 19px; line-height: 1.7; }
.ch__rel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.ch__rel > span { font-size: var(--t-label); font-weight: 600; color: var(--muted); margin-right: 4px; }
.ch__all { display: none; }
@media (max-width: 1023px) {
  .ch { display: none; }
  .ch__all { display: grid; gap: var(--s-4); }
  .ch__all li { padding: var(--s-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: var(--s-3); }
  .ch__all .ch__text { font-size: 17px; }
}
.ch__all li, .ch__all li > * { min-width: 0; }
.chip--sm { white-space: normal; height: auto; min-height: 36px; padding: 6px 14px; line-height: 1.3; text-align: left; }

/* ================================================================ Windows Fluent surfaces
   Fluent 2 / Windows 11: 4px controls, 8px cards, flyouts and dialogs; a hairline stroke with a slightly
   heavier bottom edge on controls; layered elevation shadows; acrylic on flyouts and over the hero. */
:root {
  --fl-stroke: rgba(0, 0, 0, .0578); --fl-stroke-strong: rgba(0, 0, 0, .1622);
  --fl-card: rgba(255, 255, 255, .78);
  --fl-sh2: 0 0 2px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.14);
  --fl-sh4: 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.14);
  --fl-sh8: 0 0 2px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.14);
  --fl-sh16: 0 0 2px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.14);
  --fl-sh28: 0 0 8px rgba(0,0,0,.12), 0 14px 28px rgba(0,0,0,.14);
  --fl-sh64: 0 0 8px rgba(0,0,0,.12), 0 32px 64px rgba(0,0,0,.14);
}
/* controls: buttons, inputs, chips, tabs */
.btn { border-radius: 4px; }
.btn--primary { border: 1px solid rgba(255,255,255,.08); border-bottom-color: rgba(0,0,0,.4); box-shadow: var(--fl-sh2); }
.btn--secondary { background: rgba(255,255,255,.7); border: 1px solid var(--fl-stroke); border-bottom-color: var(--fl-stroke-strong); box-shadow: none; }
.btn--secondary:hover { background: rgba(249,249,249,.5); }
.on-dark .btn--secondary, .btn--ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-top-color: rgba(255,255,255,.14); color: #fff; }
.on-dark .btn--secondary:hover, .btn--ghost:hover { background: rgba(255,255,255,.1); }
.chip, .chip--sm, .subnav a, .card__tags span { border-radius: 4px; border: 1px solid var(--fl-stroke); border-bottom-color: var(--fl-stroke-strong); background: rgba(255,255,255,.7); }
.subnav a[aria-current="true"] { background: var(--ink); border-color: var(--ink); }
.nav__search, .nav__toggle, .icon-btn, .hub__pause, .hx__pause { border-radius: 4px; border: 1px solid var(--fl-stroke); border-bottom-color: var(--fl-stroke-strong); background: rgba(255,255,255,.7); }
.hx__pause, .hub__pause { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.field :is(input, select, textarea), .filter input { border-radius: 4px; border: 1px solid var(--fl-stroke); border-bottom: 1px solid rgba(0,0,0,.4458); background-color: rgba(255,255,255,.7); }
.field :is(input, select, textarea):focus, .filter input:focus { outline: none; border-bottom: 2px solid var(--action); background-color: #fff; }
.hx__field-row { border-radius: 4px; border: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.55); background: rgba(44,44,48,.62); backdrop-filter: blur(30px) saturate(125%); -webkit-backdrop-filter: blur(30px) saturate(125%); }
.hx__field-row:focus-within { box-shadow: none; border-color: rgba(255,255,255,.08); border-bottom: 2px solid var(--p-accent); }
.tabs { border-radius: 8px; background: rgba(0,0,0,.035); border: 1px solid var(--fl-stroke); }
.tabs button { border-radius: 4px; }
.tabs__ind { border-radius: 4px; background: #fff; box-shadow: var(--fl-sh2); }
.tabs__ind::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--action); }
/* cards and panels: 8px, a hairline stroke, rest at shadow2, hover to shadow8 */
.card, .reason, .ind__panel, .ch__panel, .ch__all li, .hub__card, .peek__panel, .stepper__panel, .facts, .rail__ask, .says li, .pending, .filter__empty { border-radius: 8px; }
.card, .reason, .ind__panel, .ch__panel, .ch__all li { background: var(--fl-card); border: 1px solid var(--fl-stroke); box-shadow: var(--fl-sh2); }
.on-dark .card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 2px rgba(0,0,0,.24), 0 1px 2px rgba(0,0,0,.28); }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .card:not(.card--open, .card--plan, .m-nolift):hover, .reason:hover { box-shadow: var(--fl-sh8); border-color: var(--fl-stroke); }
  .on-dark .card:hover { background: rgba(255,255,255,.08); }
}
.cta-panel, .hero-visual, .hub { border-radius: 8px; }
.cta-panel { box-shadow: var(--fl-sh16); border: 1px solid rgba(255,255,255,.06); }
.related .card { background: rgba(255,255,255,.85); }
/* flyouts and dialogs: acrylic and deep elevation */
.nav__menu--drop { border-radius: 8px; margin-top: 4px; background: rgba(252,252,252,.96); backdrop-filter: blur(30px) saturate(125%); -webkit-backdrop-filter: blur(30px) saturate(125%); border: 1px solid rgba(0,0,0,.08); box-shadow: var(--fl-sh16); }
.drop__list a { border-radius: 4px; position: relative; }
.drop__list a:hover::before { content: ""; position: absolute; left: 0; top: 50%; height: 16px; margin-top: -8px; width: 3px; border-radius: 2px; background: var(--action); }
.nav__menu:not(.nav__menu--drop) { background: rgba(249,249,249,.97); backdrop-filter: blur(30px) saturate(125%); -webkit-backdrop-filter: blur(30px) saturate(125%); box-shadow: var(--fl-sh16); }
.search__box { border-radius: 8px; background: rgba(252,252,252,.92); backdrop-filter: blur(30px) saturate(125%); -webkit-backdrop-filter: blur(30px) saturate(125%); box-shadow: var(--fl-sh64); border: 1px solid rgba(0,0,0,.08); }
.search__list a { border-radius: 4px; position: relative; }
.search__list a[aria-selected="true"]::before, .hx__results a[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 50%; height: 16px; margin-top: -8px; width: 3px; border-radius: 2px; background: var(--action); }
.hx__results { border-radius: 8px; background: rgba(32,32,36,.82); backdrop-filter: blur(30px) saturate(125%); -webkit-backdrop-filter: blur(30px) saturate(125%); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--fl-sh28); }
.hx__results a { border-radius: 4px; position: relative; }
.toast { border-radius: 8px; box-shadow: var(--fl-sh28); }
/* the hero's map: acrylic tiles */
.hx__node { border-radius: 8px; background: rgba(44,44,48,.55); backdrop-filter: blur(30px) saturate(125%); -webkit-backdrop-filter: blur(30px) saturate(125%); border: 1px solid rgba(255,255,255,.08); border-top-color: rgba(255,255,255,.14); }
.hx__node.is-on { background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.96); box-shadow: var(--fl-sh16); }
.hx__core { border-radius: 12px; }
.hx__core::before { border-radius: 16px; }
/* list hovers: the Fluent selection pill */
.ind__tabs button, .ch__tabs button { border-radius: 4px; }
.ind__tabs button:hover, .ch__tabs button:hover { background: rgba(0,0,0,.035); }
@media (max-width: 1023px) { .ind__tabs button:hover { background: none; } }

/* ================================================================ standard blocks
   One block size across the site: every card is a 4-column block (3 across on desktop, 2 on tablet, 1 on a phone,
   2 across inside the 8-column reading column), every row is as tall as its tallest block, one padding, one type scale.
   Buttons 44px, chips 36px, tabs 44px; sections share one top and bottom rhythm. */
:root { --blk-min: 188px; --blk-pad: 24px; --padt: 96px; --padb: 96px; }
@media (max-width: 1023px) { :root { --padt: 80px; --padb: 80px; } }
@media (max-width: 639px) { :root { --padt: 64px; --padb: 64px; --blk-min: 0px; } }
.cards, .cards--2, .cards--3, .cards--4, .reasons {
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gutter);
}
.article .cards, .article .cards--2, .prose .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .cards, .cards--2, .cards--3, .cards--4, .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cards, .cards--2, .cards--3, .cards--4, .reasons, .article .cards, .prose .cards { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.card, .card--area, .reason, .reason--wide {
  min-height: var(--blk-min); padding: var(--blk-pad); gap: 10px; align-content: start; justify-content: flex-start;
}
.card h3, .card--area h3, .reason h3, .reason--wide h3 { font-family: var(--font-text); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; padding-right: 0; }
.card p, .reason p, .reason--wide p { font-size: 16px; line-height: 1.55; }
.card[hidden] { display: none; }
/* panels: one height per kind, so switching tabs or steps never makes the page jump */
.ind__panel { min-height: 520px; padding: 32px; }
.ch__panel { min-height: 340px; padding: 32px; }
.stepper__panel { min-height: 240px; padding: 32px; }
.cap__panel { min-height: 560px; align-content: start; }
@media (max-width: 1023px) { .ind__panel, .ch__panel, .stepper__panel, .cap__panel { min-height: 0; } }
/* controls: one size each */
.btn, .btn--xl { --btn-h: 44px; height: 44px; padding: 0 20px; font-size: 16px; }
.chip { height: 36px; padding: 0 14px; font-size: 14px; }
.chip--sm { min-height: 36px; }
.tabs button, .ind__tabs button, .ch__tabs button { min-height: 44px; }
.ind__tabs button { min-height: 52px; }
.ch__tabs button { min-height: 60px; }
.ch__tabs .ind__ind { height: 60px; }
.subnav a { height: 36px; }
/* section heads: one gap to their content */
.section-head { margin-bottom: 40px; }
.section-head--split { margin-bottom: 40px; }
.cta-panel { padding: 48px; }
@media (max-width: 639px) { .cta-panel { padding: 28px; } .ind__panel, .ch__panel, .stepper__panel { padding: 24px; } }

/* menu items: the hover is the letters turning red, nothing behind them */
.menu-col h3 a, .menu-col li a, .drop__list a, .drop__all, .sheet__sub a, .sheet__row { transition: color 120ms var(--ease); }
.menu-col h3 a:hover, .menu-col li a:hover, .drop__list a:hover, .drop__all:hover, .sheet__sub a:hover, .sheet__row:hover,
.menu-col h3 a:focus-visible, .menu-col li a:focus-visible, .drop__list a:focus-visible, .drop__all:focus-visible { color: var(--accent); background: none; }
.drop__list a:hover::before { content: none; }
/* About Us section tabs sit directly under the header, so they never move between pages */
.subnav { background: var(--bg); }
.page-head--tabbed { padding-top: var(--s-7); }

/* ================================================================ hero depth (Figma 3D-transforms and motion skills, applied in code)
   perspective lives on the container (.hx__map), the turn on an unfilled preserve-3d wrapper (.hx__stage), depth on the
   children (translateZ), never perspective and transform on the same layer. Parallax comes from the depth gaps: the mark
   sits forward, the tiles at different depths, the plate behind them. One entrance timeline; reduced motion gets the
   finished state at once. */
.hx__map { perspective: 1400px; perspective-origin: 50% 45%; }
.hx__stage { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.hx__plate { position: absolute; inset: 6% 4%; border-radius: 8px; transform: translateZ(-80px);
  background: radial-gradient(60% 60% at 50% 50%, rgba(215,20,26,.10), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 48px);
  border: 1px solid rgba(255,255,255,.05); pointer-events: none; }
.hx__core { transform: translateZ(70px); }
.hx__node { --z: 40px; --lift: 0px; transform: translateZ(var(--z)) translateY(var(--lift)); background: rgba(36,36,40,.88); transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.hx__node[data-k="0"] { --z: 110px; } .hx__node[data-k="1"] { --z: 40px; } .hx__node[data-k="2"] { --z: 80px; }
.hx__node[data-k="3"] { --z: 120px; } .hx__node[data-k="4"] { --z: 30px; } .hx__node[data-k="5"] { --z: 90px; }
.hx__node:hover { transform: translateZ(calc(var(--z) + 30px)); box-shadow: 0 0 8px rgba(0,0,0,.3), 0 18px 36px rgba(0,0,0,.45); }
.hx__node.is-on { box-shadow: 0 0 8px rgba(0,0,0,.2), 0 14px 28px rgba(0,0,0,.4), 0 0 0 4px rgba(215,20,26,.18); }
/* entrance: the mark settles first, the tiles follow in order once their line has reached them */
@media (prefers-reduced-motion: no-preference) {
  .hx.is-intro .hx__core { animation: hx-core-in 700ms cubic-bezier(.23,1,.32,1) both; }
  .hx.is-intro .hx__node { animation: hx-node-in 520ms cubic-bezier(.23,1,.32,1) both; animation-delay: calc(700ms + var(--k) * 70ms); }
  .hx.is-intro .hx__plate { animation: hx-plate-in 900ms cubic-bezier(.23,1,.32,1) both; }
}
@keyframes hx-core-in { from { opacity: 0; transform: translateZ(0) scale(.86); } to { opacity: 1; transform: translateZ(70px) scale(1); } }
@keyframes hx-node-in { from { opacity: 0; transform: translateZ(0) scale(.94); filter: blur(4px); } to { opacity: 1; transform: translateZ(var(--z)) scale(1); filter: blur(0); } }
@keyframes hx-plate-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1023px) {
  .hx__map { perspective: none; }
  .hx__stage { position: static; display: contents; transform: none !important; }
  .hx__plate { display: none; }
  .hx__node[data-k] { transform: none; }
  .hx__node:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hx__stage { transform: none !important; } }
