:root {
  color-scheme: dark light;
  --font-sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI Variable Text", "Segoe UI", Verdana, Tahoma, Arial, ui-sans-serif, system-ui, sans-serif;
  --measure: 64ch;
  --measure-narrow: 58ch;
  --max: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 78px;
  --focus: #ffd45d;
  --blue: #55a9ff;
  --blue-strong: #2f8fe8;
  --gold: #e8b23c;
  --gold-text: #f2c04c;
  --bg: #041322;
  --bg-2: #071a2d;
  --surface: #092139;
  --surface-soft: #0b2844;
  --text: #f7f8fa;
  --muted: #cad3dc;
  --border: #35506a;
  --shadow: 0 18px 52px rgb(0 0 0 / .28);
  --header-bg: rgb(4 19 34 / .91);
  --button-text: #071523;
}

html[data-theme="light"] {
  --focus: #133f69;
  --blue: #075d9f;
  --blue-strong: #084f87;
  --gold: #9a6500;
  --gold-text: #805400;
  --bg: #faf9f6;
  --bg-2: #f0f4f7;
  --surface: #ffffff;
  --surface-soft: #edf3f7;
  --text: #0b2238;
  --muted: #31495d;
  --border: #90a4b5;
  --shadow: 0 18px 48px rgb(20 49 72 / .12);
  --header-bg: rgb(250 249 246 / .93);
  --button-text: #ffffff;
}


/* Light theme: intentionally designed companion palette */
html[data-theme="light"] body {
  background: #fbfaf7;
}
html[data-theme="light"] .skip-link {
  color: #ffffff;
}
html[data-theme="light"] .site-header {
  border-bottom-color: rgb(82 111 134 / .28);
  box-shadow: 0 8px 30px rgb(31 68 97 / .055);
}
html[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 81% 31%, rgb(32 126 205 / .12), transparent 35%),
    radial-gradient(circle at 62% 72%, rgb(154 101 0 / .055), transparent 30%),
    linear-gradient(180deg, #fffefa 0%, #f4f7f8 100%);
}
html[data-theme="light"] .hero-mark {
  filter: drop-shadow(0 18px 30px rgb(21 69 107 / .11));
}
/* Light theme uses its own artwork; only the unused theme's image is hidden (and never fetched). */
html[data-theme="light"] .ribbon-img--dark,
html:not([data-theme="light"]) .ribbon-img--light { display: none; }
html[data-theme="light"] .hero-effects { opacity: .6; }
html[data-theme="light"] .hero-wordmark { text-shadow: 0 2px 16px rgb(255 255 255 / .9), 0 0 3px rgb(255 255 255 / .7); }
html[data-theme="light"] .split-feature {
  background: linear-gradient(180deg, #f1f5f7 0%, #eef3f5 100%);
}
html[data-theme="light"] .leaf-art img {
  filter: saturate(.96) brightness(.98) contrast(1.02);
  opacity: 1;
}
html[data-theme="light"] .principles {
  background: #fbfaf7;
}
html[data-theme="light"] .principle-card {
  border-color: #879dad;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 12px 30px rgb(31 68 97 / .075);
}
html[data-theme="light"] .our-work {
  background:
    radial-gradient(circle at 80% 34%, rgb(36 125 201 / .105), transparent 31%),
    radial-gradient(circle at 16% 85%, rgb(154 101 0 / .045), transparent 26%),
    #eef3f6;
}
html[data-theme="light"] .work-lanes {
  border-color: #879dad;
  background: rgb(255 255 255 / .88);
  box-shadow: 0 12px 30px rgb(31 68 97 / .055);
}
html[data-theme="light"] .work-lane + .work-lane { border-color: #9caebb; }
html[data-theme="light"] .commitment {
  background: linear-gradient(110deg, #fffdfa 0%, #f8f5eb 52%, #f7fafb 100%);
}
html[data-theme="light"] .statement-panel {
  background: #ffffff;
  box-shadow: 0 10px 26px rgb(31 68 97 / .055);
}
html[data-theme="light"] .site-footer {
  background: #0a2135;
  color: #f7f9fb;
  border-top-color: #314b62;
}
html[data-theme="light"] .site-footer .footer-brand small,
html[data-theme="light"] .site-footer nav a,
html[data-theme="light"] .site-footer .copyright {
  color: #cad4de;
}
html[data-theme="light"] .policy-main {
  background:
    radial-gradient(circle at 84% 8%, rgb(45 128 198 / .09), transparent 28%),
    #f7f8f7;
}
html[data-theme="light"] .policy-panel {
  background: #ffffff;
  box-shadow: 0 12px 34px rgb(31 68 97 / .06);
}
html[data-theme="light"] .policy-note {
  background: #edf4f8;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.66;
  letter-spacing: .008em;
  font-kerning: normal;
  font-variant-ligatures: none;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--focus);
  color: #06121d;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-h);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 58%, transparent);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .065em;
}
.brand picture, .brand img { width: 43px; height: 44px; object-fit: contain; }
.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 31px;
}
.site-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 620;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 11px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.display-controls { display: flex; align-items: center; gap: 2px; }
.theme-toggle, .motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 78px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: 999px;
}
.motion-toggle { min-width: 0; font-size: .8rem; }
.motion-state { min-width: 2em; }
.motion-toggle .toggle-knob { transform: translateX(18px); }
html[data-motion="off"] .motion-toggle .toggle-knob { transform: none; }
.sun { color: var(--gold); font-size: 1.28rem; line-height: 1; }
.toggle-track {
  position: relative;
  width: 43px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--blue) 60%, var(--border));
  border-radius: 999px;
  background: var(--surface-soft);
}
.toggle-knob {
  position: absolute;
  width: 17px; height: 17px;
  top: 2.5px; left: 3px;
  border-radius: 50%;
  background: var(--text);
  transition: transform .18s ease;
}
html[data-theme="light"] .toggle-knob { transform: translateX(18px); }

/* Common */
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.55;
  font-weight: 760;
  letter-spacing: .16em;
}
h1, h2, h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 6vw, 5.25rem); margin-bottom: 24px; max-width: 760px; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); margin-bottom: 20px; }
h3 { font-size: 1.28rem; margin-bottom: 13px; }
h1 span, h2 span { color: var(--gold-text); }
p {
  max-width: var(--measure);
  margin-top: 0;
  margin-bottom: 1.05em;
  text-wrap: pretty;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 12px 25px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
  background: var(--gold);
  color: var(--button-text);
  border: 2px solid var(--gold);
}
html[data-theme="dark"] .button-gold { color: #071523; }
.button-outline {
  border: 2px solid var(--gold);
  color: var(--text);
  background: transparent;
}
.button-outline:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); }

/* Hero */
.hero {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  background:
    radial-gradient(circle at 78% 32%, rgb(20 83 135 / .18), transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg-2) 82%, var(--bg)) 100%);
}
.hero-grid {
  position: relative;
  z-index: 3;
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .72fr);
  align-items: center;
  gap: 64px;
  padding-block: 72px 92px;
}
.hero-copy { padding-top: 6px; }
.hero .lede {
  margin: 0 0 28px;
  max-width: var(--measure-narrow);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.62;
}
.hero-mark {
  justify-self: center;
  width: min(100%, 318px);
  display: grid;
  justify-items: center;
  gap: 7px;
  filter: drop-shadow(0 18px 26px rgb(0 0 0 / .18));
}
.hero-mark picture, .hero-mark img { width: 100%; height: auto; }
/* Tighten the lockup: the artwork has built-in bottom padding, so pull the wordmark up in
   proportion to the mark's own width (about 25px at the 318px desktop size). */
.hero-mark { container-type: inline-size; }
.hero-wordmark { margin-top: -8cqw; }
@media (min-width: 821px) {
  /* Desktop: lift the mark so the diamond meets the cap-height of "Technology" (below the eyebrow),
     and pull it left so it counterweights the headline over the calmer part of the ribbon. */
  .hero-grid { align-content: center; }
  .hero-mark {
    align-self: start;
    margin-top: 42px;
    margin-right: clamp(0px, 14vw - 90px, 130px);
  }
}
.hero-wordmark {
  font-size: clamp(1.25rem, 2.7vw, 2rem);
  font-weight: 850;
  letter-spacing: .105em;
  text-shadow: 0 2px 16px rgb(2 10 22 / .85), 0 0 3px rgb(2 10 22 / .6);
}
.hero-ribbon {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Raster ribbon: the artwork carries the richness; CSS only frames and fades it.
   The image is opaque navy, so its edges dissolve into the hero background. */
.ribbon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 50%;
  transform-origin: 60% 55%;
  will-change: transform;
  animation: ribbon-drift 26s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 22%, #000 52%), linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, transparent 22%, #000 52%), linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}
.hero-ribbon picture { display: contents; }
@media (min-width: 821px) {
  /* Desktop: anchored low-right so the sweep dominates the right side and the copy stays clear. */
  .ribbon-img {
    inset: auto -9% -3% auto;
    width: 90%;
    height: auto;
    aspect-ratio: 12 / 5;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 28%, #000 58%), linear-gradient(180deg, transparent 0, #000 20%, #000 82%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, transparent 28%, #000 58%), linear-gradient(180deg, transparent 0, #000 20%, #000 82%, transparent 100%);
  }
}
.hero-effects {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Soft luminosity layer: opacity-only breathing, so it stays on the compositor. */
.ribbon-glow {
  --glow-max: .6;
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .32;
  background:
    radial-gradient(ellipse 30% 38% at 78% 60%, rgb(255 201 92 / .3), transparent 70%),
    radial-gradient(ellipse 38% 44% at 68% 70%, rgb(66 146 255 / .24), transparent 72%);
  animation: ribbon-breathe 12s ease-in-out infinite;
}
html[data-theme="light"] .ribbon-glow { --glow-max: .32; mix-blend-mode: normal; }
.mote { fill: url(#goldSpark); opacity: 0; animation: mote-travel 17s ease-in-out infinite; }
.mote.m2 { animation-duration: 21s; animation-delay: -6s; }
.mote.m3 { animation-duration: 19s; animation-delay: -11s; }
.mote.m4 { animation-duration: 24s; animation-delay: -15s; }
.mote.m5 { animation-duration: 23s; animation-delay: -3s; }
.ambient { fill: url(#goldSpark); }
.ambient.glint { fill: #ffe9a8; }
.ambient { opacity: .42; animation: soft-twinkle 8s ease-in-out infinite; }
.ambient.a2, .ambient.a5 { animation-delay: -2.1s; }
.ambient.a3, .ambient.a7 { animation-delay: -4.4s; }
.ambient.a4, .ambient.a8 { animation-delay: -5.6s; }
@keyframes ribbon-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.01); }
  30% { transform: translate3d(-.9%, .55%, 0) scale(1.025); }
  65% { transform: translate3d(.7%, -.5%, 0) scale(1.014); }
}
@keyframes ribbon-breathe { 0%, 100% { opacity: .2; } 50% { opacity: var(--glow-max); } }
@keyframes mote-travel {
  0% { opacity: 0; transform: translate(0, 0); }
  18% { opacity: .85; }
  70% { opacity: .6; }
  100% { opacity: 0; transform: translate(230px, -120px); }
}
@keyframes soft-twinkle { 0%,100% { opacity:.2 } 50% { opacity:.7 } }

/* Why */
.split-feature {
  overflow-x: clip;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  background: var(--bg-2);
}
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, .74fr);
  gap: 56px;
  align-items: stretch;
  min-height: 325px;
}
.section-copy { padding: 54px 0 48px; align-self: center; }
.section-copy p { color: var(--muted); font-size: 1.06rem; max-width: var(--measure-narrow); }
.section-copy p + p { margin-top: 1.15rem; }
.section-copy .founder-note { color: var(--text); font-weight: 650; max-width: 56ch; margin-top: 1.45rem; }
.leaf-art {
  min-height: 325px;
  margin-right: min(calc((100vw - var(--max)) / -2), -24px);
  overflow: hidden;
  position: relative;
}
.leaf-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, var(--bg-2), transparent);
  pointer-events: none;
}
.leaf-art picture, .leaf-art img { width: 100%; height: 100%; }
.leaf-art img { object-fit: cover; object-position: 62% center; }

/* Principles */
.principles { padding: 68px 0 74px; }
.principles h2 { margin-bottom: 28px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.principle-card {
  min-width: 0;
  padding: 26px 22px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, transparent), var(--surface));
  box-shadow: 0 10px 30px rgb(0 0 0 / .08);
}
.principle-card p { margin-bottom: 0; color: var(--muted); font-size: .98rem; line-height: 1.64; }
.icon-ring {
  width: 58px; height: 58px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 8%, transparent);
}
.icon-ring.gold-ring { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.icon-ring svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-ring.gold-ring svg { stroke: var(--gold); }

/* Work */
.our-work {
  padding: 68px 0;
  background:
    radial-gradient(circle at 78% 40%, rgb(43 122 191 / .16), transparent 27%),
    var(--bg-2);
  border-block: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .54fr);
  gap: 80px;
  align-items: end;
}
.work-grid > div > p:not(.eyebrow) { color: var(--muted); }
.status-note {
  justify-self: end;
  align-self: end;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: .96rem;
}
.status-rule { display: block; width: 48px; height: 3px; margin-bottom: 14px; background: var(--gold); }

/* Commitment */
.commitment { padding: 56px 0; }
.commitment-grid {
  display: grid;
  grid-template-columns: 110px minmax(0,1fr) auto;
  gap: 30px;
  align-items: center;
}
.commitment-grid p:last-child { margin-bottom: 0; color: var(--muted); max-width: 60ch; line-height: 1.66; }
.commitment-icon {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  color: var(--gold);
}
.commitment-icon svg { width: 88px; height: 88px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.commitment h2 { margin-bottom: 10px; }

.statement { padding-block: 0 72px; }
.statement-panel {
  padding: 30px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.statement-panel h2 { font-size: 1.6rem; margin-bottom: 12px; }
.statement-panel p { color: var(--muted); }
.statement-panel p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 35px 0;
  background: color-mix(in srgb, var(--bg) 92%, #000);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 40px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand picture, .footer-brand img { width: 44px; height: auto; }
.footer-brand strong { display:block; letter-spacing:.08em; }
.footer-brand small { display:block; color:var(--muted); line-height:1.3; font-size:.72rem; }
.site-footer nav { display:flex; flex-wrap:wrap; gap:10px 22px; justify-content:flex-end; }
.site-footer nav a { color:var(--muted); text-decoration:none; font-size:.86rem; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { grid-column: 1 / -1; margin:0; max-width:none; color:var(--muted); font-size:.78rem; text-align:right; }

@media (max-width: 1020px) {
  .nav-wrap { gap: 16px; }
  .site-nav { gap: 19px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .commitment-grid { grid-template-columns: 86px minmax(0,1fr); }
  .commitment-grid .button { grid-column: 2; justify-self:start; }
}

@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .shell { width: min(calc(100% - 34px), var(--max)); }
  .nav-wrap { grid-template-columns: auto 1fr auto auto; }
  .menu-toggle { display: inline-block; justify-self:end; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 17px;
    right: 17px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display:flex; }
  .site-nav a { padding: 12px 14px; border-radius:8px; }
  .site-nav a::after { display:none; }
  .site-nav a:hover { background:var(--surface-soft); }
  .theme-toggle { min-width:auto; }
  .hero, .hero-grid { min-height: 720px; }
  .hero-grid {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 28px;
    padding-block: 60px 68px;
  }
  .hero-copy { max-width: 700px; }
  .hero-mark {
    width: min(58vw, 330px);
    justify-self: end;
    margin-right: 4vw;
  }
  /* Tablet: the sweep fills the lower hero, behind the copy-free area and the mark. */
  .hero-ribbon { inset: 44% 0 0 0; }
  .ribbon-glow { background: radial-gradient(ellipse 50% 40% at 62% 58%, rgb(255 201 92 / .3), transparent 70%), radial-gradient(ellipse 60% 46% at 45% 66%, rgb(66 146 255 / .24), transparent 72%); }
  .ribbon-img { object-position: 74% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 90%, transparent 100%); }
  .split-grid { grid-template-columns:1fr; gap:0; }
  .section-copy { padding-bottom:32px; }
  .leaf-art {
    min-height: 270px;
    margin-inline: -17px;
  }
  .leaf-art::before { width:0; }
}

@media (max-width: 600px) {
  body { font-size:17px; line-height:1.68; letter-spacing:.01em; }
  .brand span { font-size:.9rem; }
  .brand picture, .brand img { width:38px; height:39px; }
  .sun { display:none; }
  .hero, .hero-grid { min-height: 690px; }
  .hero-grid { padding-block: 47px 60px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); line-height:1.05; }
  h2 { font-size: clamp(2rem, 9vw, 2.55rem); }
  .hero .lede { font-size:1.04rem; }
  .hero-mark { width:min(50vw,225px); margin-right:5vw; }
  .hero-wordmark { font-size:1.17rem; }
  .hero-ribbon { inset: 50% 0 0 0; }
  .ribbon-img { object-position: 88% 50%; }
  .ambient.x { display: none; }
  .card-grid { grid-template-columns:1fr; }
  .principle-card { padding:24px; }
  .commitment-grid { grid-template-columns:1fr; gap:16px; }
  .commitment-icon { width:68px; height:68px; }
  .commitment-icon svg { width:64px; height:64px; }
  .commitment-grid .button { grid-column:1; }
  .statement-panel { padding:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .site-footer nav { justify-content:flex-start; }
  .copyright { text-align:left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html:not([data-motion="on"]) .ribbon-img,
  html:not([data-motion="on"]) .ribbon-glow,
  html:not([data-motion="on"]) .mote { animation: none; }
  html:not([data-motion="on"]) .mote-sparkles { display:none; }
  html:not([data-motion="on"]) .ambient { opacity:.48 !important; }
}

@media (prefers-contrast: more) {
  :root { --border:#7b95aa; --muted:#ecf2f6; }
  html[data-theme="light"] { --border:#41596c; --muted:#1f3649; }
  .principle-card, .statement-panel { border-width:2px; }
}


/* Policy pages */
.policy-main {
  min-height: calc(100vh - var(--header-h));
  padding: 74px 0 86px;
  background:
    radial-gradient(circle at 84% 8%, rgb(45 128 198 / .14), transparent 28%),
    var(--bg);
}
.policy-hero { margin-bottom: 42px; }
.policy-hero h1 { max-width: 820px; margin-bottom: 18px; }
.policy-hero .lede { max-width: var(--measure); color: var(--muted); font-size: 1.12rem; line-height: 1.66; }
.policy-updated { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 34px;
  align-items: start;
}
.policy-panel {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.policy-panel section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid color-mix(in srgb, var(--border) 58%, transparent);
}
.policy-panel h2, .policy-note h2 { font-size: 1.45rem; margin-bottom: 10px; }
.policy-panel p, .policy-note p { margin: 0; color: var(--muted); max-width: var(--measure); line-height: 1.68; }
.policy-note {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, var(--blue) 12%);
}
.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 20px;
  color: var(--gold-text);
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .policy-main { padding: 52px 0 68px; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-note { position: static; }
}

/* Our Work: broad areas without revealing projects */
.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
  margin-bottom: 38px;
}
.work-intro h2 { margin-bottom: 0; }
.work-intro > p { margin: 0; color: var(--muted); max-width: 56ch; line-height: 1.66; }
.work-lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}
.work-lane {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
}
.work-lane + .work-lane { border-left: 1px solid var(--border); }
.work-lane-mark {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-text);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .14em;
}
.work-lane h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.work-lane p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.66;
}
.work-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
}
.work-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.work-note .status-rule { flex: 0 0 auto; margin: 0; }

@media (max-width: 920px) {
  .work-intro { grid-template-columns: 1fr; gap: 20px; }
  .work-lanes { grid-template-columns: repeat(2, 1fr); }
  .work-lane:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .work-lane:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .work-lanes { grid-template-columns: 1fr; }
  .work-lane + .work-lane { border-left: 0; border-top: 1px solid var(--border); }
  .work-footer { align-items: flex-start; flex-direction: column; }
  .work-note { align-items: flex-start; }
  .work-note .status-rule { margin-top: .55em; }
}

/* Standards-based interaction safeguards */
.brand,
.site-nav a,
.site-footer nav a,
.text-link {
  min-height: 44px;
  align-items: center;
}
.brand,
.site-nav a,
.site-footer nav a,
.text-link { display: inline-flex; }

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
}

/* Hidden unless JavaScript is available; no dead controls in no-script mode. */
.theme-toggle { display: none; min-height: 44px; }
.js .theme-toggle { display: inline-flex; }

/* Make anchor targets clear the sticky header when navigated by link or keyboard. */
main :where(section[id], h1[id], h2[id], h3[id]) { scroll-margin-top: calc(var(--header-h) + 18px); }

@media (max-width: 820px) {
  /* No-script fallback: primary links remain directly available in the header flow. */
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    grid-column: 1 / -1;
    display: flex;
    width: 100%;
    box-shadow: none;
  }
  .js .menu-toggle { display: inline-block; }
  .js .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 17px;
    right: 17px;
    width: auto;
    display: none;
    box-shadow: var(--shadow);
  }
  .js .site-nav[data-open="true"] { display: flex; }
  .theme-toggle { min-width: 44px; }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
    outline-offset: 4px;
  }
  .site-header,
  .principle-card,
  .work-lanes,
  .statement-panel,
  .policy-panel,
  .policy-note,
  .button,
  .menu-toggle,
  .toggle-track {
    border-color: CanvasText;
  }
  .icon-ring,
  .icon-ring svg,
  .commitment-icon,
  .commitment-icon svg {
    color: CanvasText;
    stroke: currentColor;
    border-color: currentColor;
  }
  .site-nav a::after,
  .status-rule { background: CanvasText; }
}

/* Motion can be stopped independently of the system preference. */
html[data-motion="off"] .ribbon-img,
html[data-motion="off"] .ribbon-glow,
html[data-motion="off"] .mote,
html[data-motion="off"] .ambient { animation: none; }
html[data-motion="off"] .mote-sparkles { display: none; }
.motion-toggle { display: none; min-height: 44px; }
.js .motion-toggle { display: inline-flex; }
html[data-theme="light"] .site-footer :focus-visible { outline-color: #ffd45d; }
@media (max-width: 600px) {
  :root { --header-h: 114px; }
  .nav-wrap { grid-template-columns: 1fr auto; gap: 0 8px; }
  .display-controls { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (min-width: 821px) and (max-width: 1020px) {
  :root { --header-h: 122px; }
  .nav-wrap { grid-template-columns: auto 1fr; gap: 0 16px; }
  .display-controls { grid-column: 1 / -1; justify-content: flex-end; }
}
