/* Grydence Consulting & Advisors: marketing site
   Boardroom editorial. Gold on deep charcoal (dark) or deep bronze on warm ivory (light).
   Type: Newsreader (display/serif) + Hanken Grotesk (text/UI), self-hosted.
   Newsreader is subset to Latin and instanced to weights 350-400 at a fixed optical size
   (see docs/WEBSITE.md, Fonts), so serif text must stay within 350-400. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-normal.woff2") format("woff2");
  font-weight: 350 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-italic.woff2") format("woff2");
  font-weight: 350 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/HankenGrotesk-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Theme tokens ---------- */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161618;
  --bg-alt: #1e1d1b;
  --surface: #252320;
  --field: #161618;
  --text: #efe9df;
  --text-2: #b5ada1;
  --accent: #e0a458;          /* accent text and marks */
  --accent-strong: #ecc48e;   /* hover */
  --fill: #e0a458;            /* primary button fill */
  --on-fill: #161618;
  --rule: rgba(239, 233, 223, 0.12);
  --rule-accent: rgba(239, 233, 223, 0.12);
  --field-line: rgba(239, 233, 223, 0.45);
  --track: rgba(239, 233, 223, 0.10);
  --bar-from: #6f685e;
  --bar-to: #e0a458;
  --error: #f19a87;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --seal-filter: saturate(0.85) brightness(0.9);
  --seal-o: 0.5;
  --glow: rgba(224, 164, 88, 0.10);
  --masthead: rgba(22, 22, 24, 0.86);
  --scroll-thumb: #4a4239;
  --navy: rgba(46, 66, 104, 0.34);
  --halo-gold: rgba(224, 164, 88, 0.30);
  --halo-navy: rgba(52, 74, 116, 0.42);
  --ring-a: #ecc48e;
  --ring-b: #4d6488;
  --grad-text: linear-gradient(100deg, #f3d3a0 0%, #e0a458 45%, #c98a3c 75%, #ecc48e 100%);
  --seal-o2: 0.92;
  --tip-bg: #efe9df;
  --tip-text: #161618;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f4efe6;
  --bg-alt: #ebe4d6;
  --surface: #fbf8f2;
  --field: #fffdf9;
  --text: #26231f;
  --text-2: #5a5349;
  --accent: #7a4e17;
  --accent-strong: #5e3a0e;
  --fill: #d0913f;
  --on-fill: #161618;
  --rule: rgba(38, 35, 31, 0.15);
  --rule-accent: rgba(38, 35, 31, 0.15);
  --field-line: #8a8275;
  --track: rgba(38, 35, 31, 0.09);
  --bar-from: #b3a998;
  --bar-to: #7a4e17;
  --error: #a12f1f;
  --shadow: 0 30px 60px -32px rgba(60, 45, 25, 0.35);
  --seal-filter: saturate(0.85);
  --seal-o: 0.55;
  --glow: rgba(208, 145, 63, 0.14);
  --masthead: rgba(244, 239, 230, 0.88);
  --scroll-thumb: #c4b8a4;
  --navy: rgba(70, 92, 130, 0.16);
  --halo-gold: rgba(208, 145, 63, 0.34);
  --halo-navy: rgba(70, 92, 130, 0.26);
  --ring-a: #c88a3a;
  --ring-b: #4d6488;
  --grad-text: linear-gradient(100deg, #8f5d1f 0%, #6b4312 45%, #5e3a0e 70%, #8a5a1c 100%);
  --seal-o2: 1;
  --tip-bg: #26231f;
  --tip-text: #f4efe6;
}

:root {
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 9vw, 136px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html.nav-open { overflow: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--scroll-thumb) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 3px solid var(--bg); border-radius: 8px; }
input, textarea, select { caret-color: var(--accent); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--fill); color: var(--on-fill); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.alt { background: var(--bg-alt); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.h-small {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.lead { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 46px; padding: 0.7em 1.35em;
  font: 600 0.9375rem/1.2 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid var(--fill); border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.btn--lg { min-height: 54px; padding: 0.85em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--fill); color: var(--on-fill); }
.btn--gold:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--bg); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6); transform: translateY(-1px); }
[data-theme="light"] .btn--gold:hover { background: #e0a458; border-color: #e0a458; color: #161618; }
.btn--gold:active { transform: translateY(0); box-shadow: none; }
.btn--line { background: transparent; color: var(--text); border-color: var(--field-line); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }

.link-quiet { font-size: 0.9375rem; font-weight: 500; color: var(--text-2); text-decoration: none; }
.link-quiet:hover { color: var(--accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "\2192"; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--masthead);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.masthead.is-scrolled { border-bottom-color: var(--rule); }
.masthead__inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__seal { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule-accent), 0 6px 16px -8px rgba(0, 0, 0, 0.5); }
.brand__name {
  display: flex; flex-direction: column;
  font-family: var(--serif); font-size: 1.4rem; line-height: 1; letter-spacing: 0.01em; color: var(--text);
}
.brand__sub {
  font-family: var(--sans); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-2); margin-top: 5px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  font-size: 0.9375rem; font-weight: 500; color: var(--text-2); text-decoration: none;
  padding: 6px 0; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat;
  transition: color 0.2s, background-size 0.35s var(--ease-out);
}
.nav__list a:hover { color: var(--text); background-size: 100% 1px; }

.theme-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: transparent; color: var(--text); border: 1px solid var(--rule-accent); border-radius: 50%;
  cursor: pointer; transition: border-color 0.2s, color 0.2s, transform 0.4s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle .ico { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity 0.3s, transform 0.5s var(--ease-out); }
[data-theme="dark"] .theme-toggle .ico--sun, [data-theme="light"] .theme-toggle .ico--moon { opacity: 0; transform: rotate(-60deg) scale(0.6); }
.navtoggle { display: none; }

@media (max-width: 1180px) {
  .navtoggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--text);
    font: 600 0.875rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  }
  .navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after {
    display: block; width: 20px; height: 1.5px; background: var(--accent); position: relative;
    transition: transform 0.3s var(--ease-out), background-color 0.2s;
  }
  .navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; left: 0; }
  .navtoggle__bars::before { top: -6px; }
  .navtoggle__bars::after { top: 6px; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule-accent);
    padding: 8px var(--gutter) 28px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.45s var(--ease-out); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.5rem; color: var(--text);
    border-bottom: 1px solid var(--rule); background: none;
  }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
  .navtoggle__label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  --hero-pt: clamp(56px, 8vw, 120px);
  --facts-gap: clamp(48px, 6vw, 80px);
  --title-fs: clamp(3rem, 1.4rem + 6.4vw, 6rem);
  padding: var(--hero-pt) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(55% 75% at 82% 38%, var(--glow), transparent 70%),
    radial-gradient(50% 70% at 92% 35%, var(--navy), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg-alt)),
    var(--bg);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0 0.6 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; }
/* Emblem: anchored between the hero top and a fixed gap above the facts rule, then sized as a square
   from that box (container query units), so the whole seal is always visible and never touches the facts row. */
.hero__top { position: relative; }
.hero__emblem {
  position: absolute; z-index: -1; pointer-events: none;
  /* Left edge clears the widest headline line (about 7.1em of the title size). */
  left: calc(7.15 * var(--title-fs) + 28px);
  /* On wide screens the emblem may use the page margin outside the content column, stopping 40px from the edge. */
  right: calc(min(0px, (var(--wrap) + 2 * var(--gutter) - 100vw) / 2) - var(--gutter) + 40px);
  top: calc(-1 * var(--hero-pt) + 14px);
  bottom: calc(-1 * var(--facts-gap) + 28px);
  container-type: size;
  --d: min(100cqw, 100cqh);
  transform: translate3d(0, var(--py, 0px), 0);
}
.hero__disc, .hero__halo, .hero__ring {
  position: absolute; right: 0; top: 0; bottom: 0; margin: auto 0;
  width: var(--d); height: var(--d); border-radius: 50%;
}
.hero__disc {
  display: block;
  opacity: var(--seal-o2);
}
.hero__seal { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; filter: var(--seal-filter); }
.hero__halo {
  /* Glow that spills past the seal edge: gold close in, navy further out. The disc covers the centre. */
  background: radial-gradient(closest-side, var(--halo-gold) 0%, var(--halo-gold) 70%, var(--halo-navy) 84%, transparent 100%);
  transform: scale(1.3);
}
/* Thin conic ring just inside the seal edge: gold to navy and back. */
.hero__ring {
  background: conic-gradient(from 210deg, var(--ring-a), var(--ring-b) 25%, transparent 40%, var(--ring-a) 55%, var(--ring-b) 80%, var(--ring-a));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px), #000 100%, transparent 100%);
          mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px), #000 100%, transparent 100%);
  opacity: 0.85;
}
.hero__sheen {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 220, 0.85) 48%, transparent 60%) -160% 0 / 250% 100% no-repeat;
}
.hero__copy { position: relative; max-width: 54rem; }
.hero__title {
  font-family: var(--serif); font-weight: 350;
  font-size: var(--title-fs);
  line-height: 0.98; letter-spacing: -0.03em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > * { display: inline-block; }
.hero__title em { font-style: italic; font-weight: 350; color: var(--accent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title em {
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding: 0 0.1em 0.14em 0; margin-bottom: -0.14em;
  }
}
.hero__lede { max-width: 34rem; margin: clamp(24px, 3vw, 40px) 0 0; font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  position: relative;
  margin: var(--facts-gap) 0 0; display: grid; grid-template-columns: 0.8fr 1.6fr 1fr 0.8fr;
  border-top: 1px solid var(--rule-accent);
}
.hero__facts > div { padding: 18px 24px 0 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.hero__facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.hero__facts dd { margin: 0; font-size: 0.975rem; line-height: 1.45; }

@media (max-width: 900px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); }
  .hero__facts > div + div { padding-left: 0; border-left: 0; }
  .hero__facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  /* Small screens: the seal leaves the background and sits in the flow above the headline, whole and opaque. */
  .hero__emblem {
    position: relative; inset: auto; left: auto; right: auto; z-index: auto; container-type: normal; transform: none;
    --d: 100%;
    width: clamp(150px, 44vw, 188px); aspect-ratio: 1; margin: 0 0 30px;
  }
  .hero__disc { opacity: 1; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.55); }
  .hero__seal { filter: none; }
}
@media (max-width: 520px) {
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Short laptop screens (1366x768 and similar): tighten the hero so the facts row clears the fold. */
@media (min-width: 901px) and (max-height: 800px) {
  .hero { --hero-pt: 40px; --facts-gap: 32px; padding: 40px 0 32px; }
  .hero { --title-fs: clamp(3rem, 1rem + 5.6vw, 5rem); }
  .hero__lede { margin-top: 20px; font-size: 1.125rem; }
  .hero__actions { margin-top: 22px; }
  .hero__facts > div { padding-top: 14px; }
  .hero__emblem { top: calc(-1 * var(--hero-pt) + 14px); bottom: calc(-1 * var(--facts-gap) + 20px); }
}

/* The one authored moment: headline lines rise out of their masks, then the rest settles in. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > * { animation: rise 1.1s var(--ease-out) both; }
  .js .hero__title .line:nth-child(2) > * { animation-delay: 0.14s; }
  .js .hero__lede, .js .hero__actions, .js .hero__facts { animation: settle 1s var(--ease-out) both; }
  .js .hero__lede { animation-delay: 0.42s; }
  .js .hero__actions { animation-delay: 0.54s; }
  .js .hero__facts { animation-delay: 0.7s; }
  .js .hero__disc { animation: seal 2.4s var(--ease-out) both; }
  .js .hero__halo { animation: halo 2.8s var(--ease-out) both, breathe 9s ease-in-out 2.8s infinite alternate; }
  .js .hero__ring { animation: halo 2.4s var(--ease-out) 0.3s both, spin 48s linear infinite; }
  .js .hero__sheen { animation: sheen 7s var(--ease-out) 1.6s infinite; }
}
@keyframes halo { from { opacity: 0; } }
@keyframes breathe { from { transform: scale(1.3); } to { transform: scale(1.38); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes sheen { 0% { background-position: -160% 0; } 40%, 100% { background-position: 260% 0; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes seal { from { opacity: 0; transform: rotate(-14deg) scale(0.96); } to { opacity: var(--seal-o2); transform: none; } }

/* ---------- Founder ---------- */
.founder { padding: var(--section) 0; }
.founder__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 44rem); justify-content: space-between; gap: clamp(40px, 7vw, 112px); align-items: start; }
/* The source is 512x640, so cap the display width to keep retina upscaling small. */
.portrait { margin: 0; position: sticky; top: 112px; max-width: 340px; }
.portrait__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: #262d35;
  box-shadow: var(--shadow);
}
.portrait__frame::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(224, 164, 88, 0.5); pointer-events: none;
}
.portrait__img { width: 100%; height: 100%; object-fit: cover; }
.portrait__cap { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; font-size: 0.9375rem; color: var(--text-2); }
.portrait__name { font-family: var(--serif); font-size: 1.35rem; color: var(--text); }

.founder__text { max-width: 40rem; }
.founder__text .h2 { margin-bottom: 28px; }
.founder__text > p:not(.lead) { color: var(--text-2); }
.founder__text .h-small { margin: 40px 0 6px; }

/* Visual career timeline: each row carries a bar on a shared 1992 to 2027 axis. */
.career { --span: 35; }
.career li {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 4px 16px; padding: 14px 0 12px;
  border-bottom: 1px solid var(--rule); font-size: 0.975rem; line-height: 1.45;
}
.career strong { font-weight: 600; }
.career__yr { font-variant-numeric: tabular-nums lining-nums; color: var(--accent); font-weight: 600; font-size: 0.875rem; padding-top: 2px; white-space: nowrap; }
.career__bar { grid-column: 2; position: relative; height: 4px; background: var(--track); border-radius: 2px; margin-top: 6px; }
.career__bar i {
  position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--accent);
  left: calc(var(--s) / var(--span) * 100%); width: max(6px, calc((var(--e) - var(--s)) / var(--span) * 100%));
}
.career__axis {
  position: relative; height: 1.2em; margin: 8px 0 32px calc(7.5rem + 16px);
  font-size: 0.75rem; color: var(--text-2); font-variant-numeric: tabular-nums;
}
.career__axis span { position: absolute; top: 0; left: calc(var(--s) / 35 * 100%); }
.career__axis span:nth-child(2) { transform: translateX(-50%); }
.career__axis span:last-child { transform: translateX(-60%); }

@media (max-width: 860px) {
  .founder__grid { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 340px; }
}
@media (max-width: 480px) {
  .career li { grid-template-columns: 1fr; }
  .career__bar { grid-column: 1; }
  .career__axis { margin-left: 0; }
}

/* ---------- Practice ---------- */
.practice { padding: 0 0 var(--section); }
.practice__inner { padding-top: calc(var(--section) * 0.4); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--solo { grid-template-columns: 1fr; }
.section-head__aside { margin: 0; color: var(--text-2); font-size: 1rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.practice__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); }
.svc { padding: 28px 0 36px; border-top: 1px solid var(--rule); position: relative; }
.svc::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent);
  transition: width 0.6s var(--ease-out);
}
.svc:hover::before { width: 100%; }
.svc__ico { width: 34px; height: 34px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.svc__title { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc__body { margin: 0; color: var(--text-2); font-size: 1rem; max-width: 30rem; }
@media (max-width: 960px) { .practice__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .practice__list { grid-template-columns: 1fr; } .svc { padding: 22px 0 26px; } }

/* ---------- Track record ---------- */
.record { padding: var(--section) 0; background: linear-gradient(180deg, var(--glow), transparent 30%), var(--bg); }
.shifts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--accent); padding-top: 28px; }
.shift p { margin: 0; }
.shift__what { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem); line-height: 1.3; }
.shift__fig { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 18px !important; font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
.shift__from { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); color: var(--text-2); }
.shift__to { font-size: clamp(2.8rem, 1.8rem + 3vw, 4.4rem); color: var(--accent); letter-spacing: -0.02em; }
.shift__arrow { width: 28px; height: 1px; background: var(--text-2); position: relative; align-self: center; }
.shift__arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--text-2); border-right: 1px solid var(--text-2); transform: rotate(45deg); transform-origin: center; }
.shift__bars { display: grid; gap: 6px; margin-bottom: 16px; }
.shift__bars .b { display: block; height: 8px; border-radius: 1px; background: var(--track); position: relative; overflow: hidden; }
.shift__bars .b::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: 1px; }
.shift__bars .b--from::after { width: var(--from); background: var(--bar-from); }
.shift__bars .b--to::after { width: var(--to); background: var(--bar-to); }
.shift__ctx { font-size: 0.9375rem; color: var(--text-2); line-height: 1.5; }
@media (max-width: 860px) { .shifts { grid-template-columns: 1fr; } .shift + .shift { border-top: 1px solid var(--rule); padding-top: 28px; } }

.honours { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.honour { display: flex; flex-direction: column; gap: 10px; padding: 4px 24px 4px 0; }
.honour + .honour { padding-left: 24px; border-left: 1px solid var(--rule-accent); }
.honour__fig { font-family: var(--serif); font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.2rem); line-height: 1; letter-spacing: -0.015em; }
.honour__label { font-size: 0.975rem; line-height: 1.45; color: var(--text-2); }
.pips { display: flex; gap: 5px; }
.pips i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@media (max-width: 960px) {
  .honours { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .honour:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .honours { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .honour, .honour + .honour { padding: 20px 12px 20px 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Awards: four cards with a laurel mark, gold wash on hover. */
.awards { margin-top: clamp(56px, 7vw, 96px); }
.awards__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 20px; }
.awards__head .h-small { margin: 0; }
.awards__note { margin: 0; font-size: 0.9375rem; color: var(--text-2); }
.awards__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.award {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.award::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(140deg, var(--halo-gold), transparent 60%);
}
.award:hover { border-color: var(--rule-accent); box-shadow: var(--shadow); }
.award:hover::before { opacity: 0.55; }
.award > * { position: relative; }
.award__ico { width: 44px; height: 44px; margin-bottom: 8px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.award__name { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; color: var(--text); }
.award__by { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--text-2); }
.award__yr { margin: auto 0 0; padding-top: 10px; font-size: 0.875rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums lining-nums; }
.award__name .nw { white-space: nowrap; }
.awards__talk { margin: 24px 0 0; font-size: 0.9375rem; color: var(--text-2); }
@media (max-width: 960px) { .awards__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .awards__list { grid-template-columns: 1fr; gap: 12px; }
  .award { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; row-gap: 4px; padding: 18px; }
  .award__ico { grid-row: 1 / span 3; align-self: start; width: 40px; height: 40px; margin: 2px 0 0; }
  .award__yr { margin: 0; padding-top: 4px; }
}
.shift--single .shift__bars { margin-bottom: 30px; }
.career__note { display: inline-block; margin-left: 4px; padding: 0 7px; border: 1px solid var(--rule-accent); border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* ---------- Market Intelligence ---------- */
.intel { padding: var(--section) 0; border-top: 1px solid var(--rule-accent); }
.intel__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intel__text .h2 { margin-bottom: 22px; }
.intel__text .lead { color: var(--text-2); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 8px; }
.feats li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.45; }
.feats li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border: 1.5px solid var(--accent); transform: rotate(45deg); }
.intel__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 960px) { .intel__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }

/* Illustrative dashboard preview, pure HTML/CSS/SVG. */
.mock { margin: 0; background: var(--surface); border: 1px solid var(--rule-accent); box-shadow: var(--shadow); padding: 0 0 18px; }
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.mock__title { font-size: 0.875rem; font-weight: 600; }
@media (max-width: 480px) { .mock__bar { padding: 12px 14px; } }
.mock__tag { margin-left: auto; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--rule-accent); padding: 3px 8px; border-radius: 2px; }
.mock__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 18px 0; }
.mock__tabs { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg); position: relative; }
.mock__tabs button {
  position: relative; z-index: 1; min-width: 48px; min-height: 34px; padding: 4px 12px; border: 0; border-radius: 2px;
  background: transparent; color: var(--text-2); font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.04em; cursor: pointer;
  transition: color 0.25s, background-color 0.3s var(--ease-out);
}
.mock__tabs button:hover { color: var(--text); }
.mock__tabs button[aria-selected="true"] { background: var(--fill); color: var(--on-fill); }
.mock__kpis { display: flex; gap: 22px; margin: 0; }
.mock__kpis div { display: flex; flex-direction: column; }
.mock__kpis dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.mock__kpis dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; }
.mock__kpis [data-kpi="yoy"] { color: var(--accent); }
.mock__plot {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  height: 170px; margin: 16px 18px 0;
}
.mock__grid, .mock__lsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mock__grid path { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.mcol { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; cursor: pointer; outline-offset: 0; border-radius: 2px; }
.mcol::before { content: ""; position: absolute; inset: 0 1px; border-radius: 2px; background: var(--track); opacity: 0; transition: opacity 0.2s; }
.mcol:hover::before, .mcol:focus-visible::before, .mcol.is-tip::before { opacity: 1; }
.mcol i {
  position: relative; display: block; width: 30%; max-width: 12px; height: 100%; border-radius: 1px 1px 0 0;
  transform-origin: 50% 100%; transform: scaleY(var(--h));
  transition: transform 0.8s var(--ease-out), opacity 0.2s;
}
.mcol__p { --h: var(--p); background: var(--bar-from); opacity: 0.55; }
.mcol__c { --h: var(--c); background: var(--bar-to); }
.mcol:hover .mcol__c, .mcol:focus-visible .mcol__c, .mcol.is-tip .mcol__c { background: var(--accent-strong); }
.mock__line { fill: none; stroke: var(--text); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; opacity: 0.75; }
.mock__months {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin: 6px 18px 0;
  border-top: 1px solid var(--rule); padding-top: 4px;
  font-size: 0.6875rem; line-height: 1; color: var(--text-2); text-align: center; font-variant-numeric: tabular-nums;
}
.mock__legend { display: flex; gap: 18px; padding: 10px 18px 0; font-size: 0.8125rem; color: var(--text-2); }
.mock__legend .k::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.k--prev::before { background: var(--bar-from); opacity: 0.55; }
.k--cur::before { background: var(--bar-to); }
.mock__rows { display: grid; gap: 8px; padding: 16px 18px 0; margin-top: 14px; border-top: 1px solid var(--rule); }
.mock__rows div { display: grid; grid-template-columns: 5rem 1fr; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--text-2); }
.mock__rows b { display: block; height: 8px; width: 100%; background: var(--accent); opacity: 0.8; border-radius: 1px; transform-origin: 0 50%; transform: scaleX(calc(var(--w) / 100%)); transition: transform 0.9s var(--ease-out); }
.mock__cap { padding: 14px 18px 0; font-size: 0.8125rem; color: var(--text-2); }

/* ---------- Product lines: A Market Intelligence, B Demand Forecasting ---------- */
.pline {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(40px, 5vw, 80px); align-items: center;
  padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 84px;
}
.pline--flip { grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); }
.pline--flip .pline__text { order: 2; }
.pline__text { position: relative; }
.pline__letter {
  margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 2.6rem + 2.6vw, 5rem);
  line-height: 0.9; color: var(--accent); letter-spacing: -0.02em;
}
.pline__name { font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; text-wrap: balance; }
.pline__lede { margin: 0 0 24px; color: var(--text-2); font-size: 1.0625rem; max-width: 34rem; text-wrap: pretty; }
.pline__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pline .feats { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 1181px) { .pline .feats { grid-template-columns: 1fr 1fr; gap: 10px 24px; } }

/* Forecast fan chart (real model output, axis values withheld) */
.fan { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding-bottom: 16px; box-shadow: var(--shadow); }
.fan__plot { position: relative; margin: 18px 18px 0; aspect-ratio: 720 / 260; }
.fan__plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fan__grid { stroke: var(--rule); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.fan__band { fill: var(--accent); opacity: 0.16; stroke: none; }
.fan__act { fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fan__med { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.fan__now { stroke: var(--text-2); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.7; vector-effect: non-scaling-stroke; }
.fan__nowlbl { position: absolute; top: -2px; left: 65.4%; padding-left: 8px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.fan__axis { position: relative; height: 1.2em; margin: 8px 18px 0; font-size: 0.75rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.fan__axis span { position: absolute; left: calc(var(--x) * 1%); translate: -50% 0; white-space: nowrap; }
.fan__axis span:first-child { translate: 0 0; }
.fan__axis span:last-child { translate: -100% 0; }
@media (max-width: 520px) { .fan__axis span:nth-child(2) { display: none; } }
.fan__legend { padding: 0 18px; margin-top: 12px; }
.mock__legend .k--act::before { background: var(--text-2); height: 2px; vertical-align: 3px; }
.mock__legend .k--med::before { background: var(--accent); height: 2px; vertical-align: 3px; }
.mock__legend .k--band::before { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.motion .fan:not(.is-in) .fan__act { clip-path: inset(0 100% 0 0); }
.motion .fan:not(.is-in) .fan__med, .motion .fan:not(.is-in) .fan__band { opacity: 0; }
.fan__act { transition: clip-path 1.4s var(--ease-out); clip-path: inset(0 0 0 0); }
.fan__med { transition: opacity 0.6s 1.1s; }
.fan__band { transition: opacity 0.8s 1.3s; }
@media (prefers-reduced-motion: reduce) { .fan__act, .fan__med, .fan__band { transition: none; } }

/* Category coverage, shared by both products */
.cover { padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); }
.cover__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(24px, 3vw, 36px); }
.cover__title { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.85rem); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.cover__aside { margin: 0; color: var(--text-2); font-size: 1rem; }

@media (max-width: 900px) {
  .pline, .pline--flip { grid-template-columns: 1fr; gap: 36px; }
  .pline--flip .pline__text { order: 0; }
  .cover__head { grid-template-columns: 1fr; }
}

/* ---------- Products: one per vehicle category, plus the all-category bundle ---------- */
.products { padding: var(--section) 0; border-top: 1px solid var(--rule-accent); }
.approach { border-top: 1px solid var(--rule); }
.mix { margin: 0 0 clamp(36px, 4vw, 56px); }
.mix__bar { display: flex; gap: 3px; height: 14px; }
.mix__seg {
  flex: var(--w) 1 0; min-width: 6px; border-radius: 2px; background: var(--accent); opacity: 0.9;
  transform-origin: 0 50%; transition: opacity 0.2s, transform 0.9s var(--ease-out), box-shadow 0.25s;
}
.mix__seg:nth-child(2) { opacity: 0.72; }
.mix__seg:nth-child(3) { opacity: 0.58; }
.mix__seg:nth-child(4) { opacity: 0.46; }
.mix__seg:nth-child(5) { opacity: 0.36; }
.mix__seg:nth-child(6) { background: var(--text-2); opacity: 0.6; }
.mix__seg:hover, .mix__seg:focus-visible, .mix__seg.is-tip { opacity: 1; box-shadow: 0 0 0 2px var(--rule-accent); }
.mix__cap { margin-top: 10px; font-size: 0.8125rem; color: var(--text-2); }
.motion .mix:not(.is-in) .mix__seg { transform: scaleX(0); }
.motion .mix .mix__seg { transition-delay: calc(var(--i, 0) * 70ms); }

.prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prod {
  position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, translate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.prod::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(140deg, var(--halo-gold), transparent 60%);
}
.prod:hover, .prod:focus-visible, .prod:target, .prod.is-hot { border-color: color-mix(in srgb, var(--text-2) 55%, transparent); box-shadow: var(--shadow); translate: 0 -4px; }
.prod:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.prod__ico { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.prod:hover .prod__ico, .prod:focus-visible .prod__ico, .prod.is-hot .prod__ico { transform: translateX(4px) scale(1.06); }
.prod__share { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 0.875rem; color: var(--text-2); transition: max-height 0.35s, opacity 0.3s, margin 0.35s; }
.prod__share b { color: var(--text); font-weight: 600; }
.prod:hover .prod__share, .prod:focus-visible .prod__share, .prod:target .prod__share, .prod.is-hot .prod__share { max-height: 2.5em; opacity: 1; margin-top: 6px; }
@media (hover: none) { .prod__share { max-height: none; opacity: 1; margin-top: 6px; } }
@media (prefers-reduced-motion: reduce) { .prod, .prod__ico { transition: none; } .prod:hover, .prod.is-hot { translate: none; } }
.prod:hover::after, .prod:focus-visible::after, .prod:target::after, .prod.is-hot::after { opacity: 0.45; }
.prod > * { position: relative; z-index: 1; }
.prod__ico { width: 40px; height: 40px; margin-bottom: 14px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.prod__name { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.55rem); line-height: 1.2; letter-spacing: -0.01em; }
.prod__fig { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem); line-height: 1; letter-spacing: -0.015em; color: var(--accent); }
.prod__unit { margin: 6px 0 0; font-size: 0.875rem; color: var(--text-2); }
.prod__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.prod__subs li { padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.8125rem; line-height: 1.5; color: var(--text-2); }
.prod__tag { align-self: flex-start; margin-top: 16px; padding: 3px 8px; border: 1px solid var(--rule-accent); border-radius: 2px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.prod--bundle {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; align-items: center;
  border-color: var(--rule-accent); background: linear-gradient(120deg, var(--glow), transparent 55%), var(--surface);
}
.prod--bundle .prod__ico { grid-row: 1 / span 2; margin: 0; width: 48px; height: 48px; }
.prod--bundle .prod__main { grid-row: 1 / span 2; }
.prod--bundle .prod__body { margin: 6px 0 0; color: var(--text-2); font-size: 1rem; max-width: 34rem; }
.prod--bundle .prod__fig { margin: 0; text-align: right; }
.prod--bundle .prod__unit { text-align: right; }
@media (max-width: 960px) { .prods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .prods { grid-template-columns: 1fr; }
  .prod--bundle { grid-template-columns: 48px 1fr; row-gap: 4px; }
  .prod--bundle .prod__ico { grid-row: auto; }
  .prod--bundle .prod__main { grid-row: auto; }
  .prod--bundle .prod__fig, .prod--bundle .prod__unit { grid-column: 1 / -1; text-align: left; }
  .prod--bundle .prod__fig { margin-top: 14px; }
}

/* ---------- Approach ---------- */
.approach { padding: var(--section) 0; }
.approach__title { max-width: 20ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: var(--rule-accent); }
.step { position: relative; }
.step__node {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent); color: var(--accent); margin-bottom: 22px;
}
.step__node .ico { width: 24px; height: 24px; }
.step__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); line-height: 1.15; color: var(--accent); margin-bottom: 10px; }
.step p { margin: 0; color: var(--text-2); max-width: 22rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .step__node { grid-row: span 2; margin: 0; }
}
.wide-photo { margin: clamp(56px, 7vw, 96px) 0 0; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 961px) { .contact__intro { position: sticky; top: 112px; } }
.contact__who { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.contact__who picture { flex: none; }
.contact__who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--accent); }
.contact__who p { margin: 0; color: var(--text-2); max-width: 26rem; }
.channels { margin-top: 36px; border-top: 1px solid var(--rule-accent); }
.channels li { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.channels__k { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.channels__v { font-size: 1.0625rem; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
a.channels__v { background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat; transition: background-size 0.35s var(--ease-out), color 0.2s; }
a.channels__v:hover { color: var(--accent); background-size: 100% 1px; }
.channels__v--ico { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 480px) { .channels li { grid-template-columns: 1fr; gap: 4px; } }

.enquiry {
  background: var(--surface); padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow); border: 1px solid var(--rule); border-top: 1px solid var(--accent);
}
.enquiry__title { font-family: var(--serif); font-size: 1.75rem; line-height: 1.3; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: 0.875rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 2px;
  padding: 12px 14px; min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e0a458' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
[data-theme="light"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a4e17' stroke-width='1.5'/%3E%3C/svg%3E");
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--text-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--rule-accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.enquiry__error { margin: 0 0 14px; font-size: 0.9375rem; font-weight: 600; color: var(--error); }
.enquiry__hint { margin: 14px 0 0; font-size: 0.875rem; color: var(--text-2); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer (brand, compact nav, legal only; contact details live in #contact) ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--rule-accent); padding: 40px 0 28px; color: var(--text-2); font-size: 0.9375rem; }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer__name { font-family: var(--serif); font-size: 1.2rem; color: var(--text); margin: 0 0 2px; }
.footer__tag { font-family: var(--serif); font-style: italic; color: var(--accent); margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.8125rem;
}
.footer__base p { margin: 0; }

/* ---------- Privacy / prose page ---------- */
.prose-page { padding: clamp(64px, 9vw, 128px) 0; }
.prose { max-width: 38rem; }
.prose p { max-width: 68ch; }
.prose h1 { font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; margin: 44px 0 12px; }
.prose a { color: var(--accent); }
.prose .meta { color: var(--text-2); font-size: 0.9375rem; }

/* ---------- Numbers, tooltips, interactive charts ---------- */
[data-count] { font-variant-numeric: tabular-nums lining-nums; }
.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; }
.tip {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  max-width: min(260px, calc(100vw - 24px)); padding: 9px 12px; border-radius: 3px;
  background: var(--tip-bg); color: var(--tip-text); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
  font: 500 0.8125rem/1.45 var(--sans); font-variant-numeric: tabular-nums;
  opacity: 0; transform: translate3d(var(--tx, 0), calc(var(--ty, 0px) + 4px), 0);
  transition: opacity 0.18s, transform 0.25s var(--ease-out);
}
.tip.is-on { opacity: 1; transform: translate3d(var(--tx, 0), var(--ty, 0px), 0); }
.tip b { display: block; font-weight: 700; margin-bottom: 1px; }
.tip span { display: block; }
.tip .tip__d { color: inherit; font-weight: 700; }
.tip::after {
  content: ""; position: absolute; left: var(--ax, 50%); width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg);
  top: calc(100% - 4px);
}
.tip.is-below::after { top: -4px; }

.shift__bars { cursor: help; border-radius: 2px; outline-offset: 4px; }
.shift__bars .b::after { transform-origin: 0 50%; transition: transform 1.2s var(--ease-out), filter 0.2s; }
.shift__bars .b--to::after { transition-delay: 0.15s; }
.shift__bars:hover .b::after, .shift__bars:focus-visible .b::after, .shift__bars.is-tip .b::after { filter: brightness(1.15); }

.career li[data-tip] { cursor: help; transition: background-color 0.25s; outline-offset: -2px; }
.career li[data-tip]:hover, .career li[data-tip]:focus-visible, .career li.is-tip { background: linear-gradient(90deg, var(--track), transparent 85%); }
.career__bar i { transform-origin: 0 50%; transition: transform 1.1s var(--ease-out), box-shadow 0.25s; }
.career li:hover .career__bar i, .career li:focus-visible .career__bar i, .career li.is-tip .career__bar i { box-shadow: 0 0 0 2px var(--rule-accent), 0 0 14px var(--halo-gold); }

.steps::before { transform-origin: 0 50%; transition: transform 1.4s var(--ease-out) 0.2s; }
@media (max-width: 860px) { .steps::before { transform-origin: 50% 0; } }
.pips i { transition: opacity 0.35s, transform 0.5s var(--ease-out); transition-delay: calc(var(--n, 0) * 110ms + 0.2s); }

/* Scroll reveals, only when JS runs and motion is allowed (html.motion). Transform and opacity only. */
.motion .rv { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.motion .rv:not(.is-in) { opacity: 0; transform: translate3d(0, 28px, 0); }
.motion .shift:not(.is-in) .b::after { transform: scaleX(0); }
.motion .career:not(.is-in) .career__bar i { transform: scaleX(0); }
.motion .career li:nth-child(2) .career__bar i { transition-delay: 0.1s; }
.motion .career li:nth-child(3) .career__bar i { transition-delay: 0.2s; }
.motion .career li:nth-child(4) .career__bar i { transition-delay: 0.3s; }
.motion .career li:nth-child(5) .career__bar i { transition-delay: 0.4s; }
.motion .career li:nth-child(6) .career__bar i { transition-delay: 0.5s; }
.motion .steps:not(.is-in)::before { transform: scaleX(0); }
@media (max-width: 860px) { .motion .steps:not(.is-in)::before { transform: scaleY(0); } }
.motion .honour:not(.is-in) .pips i { opacity: 0.18; transform: scale(0.6); }
.motion .mock:not(.is-in) .mcol i { transform: scaleY(0); }
.motion .mock .mcol i { transition-delay: calc(var(--i) * 45ms); }
.motion .mock.is-ready .mcol i { transition-delay: 0s; }
.motion .mock:not(.is-in) .mock__rows b { transform: scaleX(0); }
.motion .mock .mock__lsvg { clip-path: inset(-10px -10px -10px -10px); transition: clip-path 1.6s var(--ease-out) 0.4s; }
.motion .mock:not(.is-in) .mock__lsvg { clip-path: inset(-10px 100% -10px -10px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- No gold lines: every rule, bar and track is neutral at rest; gold appears only on hover/focus ---------- */
.hero__ring { display: none; }
.shifts { border-top-color: var(--rule); }
.enquiry { border-top-color: var(--rule); }
.contact__who img { border-color: var(--rule); }
.career__bar i { background: color-mix(in srgb, var(--text-2) 45%, transparent); transition: transform 1.1s var(--ease-out), background-color 0.25s, box-shadow 0.25s; }
.career li:hover .career__bar i, .career li:focus-visible .career__bar i, .career li.is-tip .career__bar i { background: var(--accent); box-shadow: 0 0 12px var(--halo-gold); }
.career li[data-tip]:hover, .career li[data-tip]:focus-visible, .career li.is-tip { background: linear-gradient(90deg, var(--track), transparent 85%); }
.shift__bars .b--to::after { background: color-mix(in srgb, var(--text-2) 70%, transparent); transition: transform 1.2s var(--ease-out), background-color 0.25s; }
.shift:hover .shift__bars .b--to::after, .shift__bars:hover .b--to::after, .shift__bars:focus-visible .b--to::after { background: var(--bar-to); }
.mix__seg { background: color-mix(in srgb, var(--text-2) 60%, transparent); }
.mix__seg:hover, .mix__seg:focus-visible, .mix__seg.is-hot { background: var(--accent); opacity: 1; }
.mock__rows b { background: color-mix(in srgb, var(--text-2) 60%, transparent); transition: transform 0.9s var(--ease-out), background-color 0.25s; }
.mock__rows div:hover b { background: var(--accent); }
.svc::before { display: none; }
.svc { transition: translate 0.3s var(--ease-out); }
.svc:hover { translate: 0 -3px; }
.svc:hover .svc__title { color: var(--accent); }
.prod::before { display: none !important; }
@media (prefers-reduced-motion: reduce) { .svc:hover { translate: none; } }
.portrait__frame::after { border-color: transparent !important; }
.link-arrow { border-bottom-color: transparent !important; }
.link-arrow:hover, .link-arrow:focus-visible { color: var(--accent); }
.step__node { border-color: var(--rule) !important; color: var(--text-2); transition: border-color 0.25s, color 0.25s, transform 0.3s var(--ease-out); }
.step:hover .step__node, .step:focus-within .step__node { border-color: var(--accent) !important; color: var(--accent); transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .step:hover .step__node { transform: none; } }
