@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("./fonts/dm-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("./fonts/dm-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #070707;
  --surface-raised: #0D0D0C;
  --fg: #F2F2EF;
  --fg-pure: #FFFFFF;
  --secondary: #C6C6C1;
  --muted: #8C8C88;
  --dim: #5C5C59;
  --faint: #343432;
  --line: #1E1E1D;
  --line-mid: #2E2E2B;
  --line-strong: #4A4A46;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  min-height: 100vh;
  min-width: 320px;
  background: var(--bg);
  color: var(--fg);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transform: translateY(-200%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--fg);
}

.brand-mark {
  width: 20px;
  height: 27px;
  flex: 0 0 auto;
  overflow: visible;
}

.brand-mark path {
  transform-origin: 29px 57px;
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}

.brand:hover .petal-left {
  transform: rotate(-2.5deg);
}

.brand:hover .petal-center {
  transform: translateY(-1px);
}

.brand:hover .petal-right {
  transform: rotate(2.5deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 240ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--fg);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(40px, 7.5svh, 104px) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding-bottom: clamp(36px, 6.5svh, 88px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 3svh, 28px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line-strong);
  flex: 0 0 auto;
}

h1 {
  font-weight: 700;
  font-size: clamp(44px, min(6.6vw, 12svh), 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 12.2ch;
  color: var(--fg);
}

.lede {
  margin-top: clamp(20px, 3.4svh, 34px);
  max-width: 52ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.56;
  color: var(--muted);
}

/* Hero architectural vector field */
.hero-schematic {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.hero-field {
  width: 100%;
  max-width: min(460px, 61svh);
  height: auto;
  display: block;
}

.hero-field * {
  vector-effect: non-scaling-stroke;
}

.hero-origin-ring {
  opacity: 0.55;
}

/* Hero bottom index strip */
.hero-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.hero-index-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 18px 0;
  border-right: 1px solid var(--line);
  transition: color 240ms var(--ease), padding-left 300ms var(--ease), background-color 240ms var(--ease);
}

.hero-index-item:not(:first-child) {
  padding-left: 24px;
}

.hero-index-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-index-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.idx-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}

.idx-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--secondary);
  transition: color 240ms var(--ease);
}

.idx-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
  transition: color 240ms var(--ease), transform 260ms var(--ease);
}

.hero-index-item:hover .idx-title {
  color: var(--fg);
}

.hero-index-item:hover .idx-meta {
  color: var(--fg);
  transform: translateY(1px);
}

/* Shared Section Layout */
.section-block {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-shell {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.section-rail {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.label-num {
  color: var(--muted);
}

.section-body {
  min-width: 0;
}

/* Work — Flagship PassControl Module */
.flagship {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
}

.flagship::before,
.flagship::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
}

.flagship::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--muted);
  border-left: 1px solid var(--muted);
}

.flagship::after {
  top: -1px;
  right: -1px;
  border-top: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
}

.flagship-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
}

.product-id {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-mark {
  width: 24px;
  height: 24px;
  color: var(--fg);
  flex: 0 0 auto;
}

.product-title-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.product-title-group h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

.release-tag {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 7px;
  border: 1px solid var(--line-mid);
  color: var(--secondary);
  letter-spacing: 0.04em;
}

.product-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.03em;
}

.flagship-body {
  padding: 36px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px 48px;
  align-items: start;
}

.motto {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--fg);
  margin-bottom: 18px;
}

.one-liner {
  font-size: 17px;
  line-height: 1.58;
  color: var(--secondary);
}

.flagship-detail p {
  font-size: 15px;
  line-height: 1.66;
  color: var(--muted);
}

.flagship-detail code,
.inline-code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--fg);
  background: var(--surface-raised);
  padding: 1px 6px;
  border: 1px solid var(--line);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--line-mid);
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.btn-solid {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  font-weight: 500;
}

.btn-solid:hover {
  background: var(--fg-pure);
  border-color: var(--fg-pure);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--surface-raised);
  border-color: var(--fg);
}

.btn-quiet {
  border-color: transparent;
  padding-inline: 8px;
  color: var(--muted);
}

.btn-quiet:hover {
  color: var(--fg);
}

.arrow {
  display: inline-block;
  font-family: var(--mono);
  transition: transform 260ms var(--ease);
}

a:hover .arrow {
  transform: translate(2px, -2px);
}

/* Mandate & checkMandate() Inspector */
.mandate-frame {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.pipeline-step {
  position: relative;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  transition: background-color 300ms var(--ease), opacity 300ms var(--ease);
}

.pipeline-step:last-child {
  border-right: 0;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.step-idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.step-dot {
  width: 5px;
  height: 5px;
  background: var(--fg);
  transition: background-color 300ms var(--ease), opacity 300ms var(--ease);
}

.step-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 6px;
  transition: color 300ms var(--ease);
}

.step-title code {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
}

.step-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 300ms var(--ease);
}

/* Halted receipt state when checkMandate() !== inside */
.mandate-frame[data-outcome="halted"] .pipeline-step[data-step="receipt"] {
  opacity: 0.42;
}

.mandate-frame[data-outcome="halted"] .pipeline-step[data-step="receipt"] .step-dot {
  background: var(--dim);
}

.mandate-frame[data-outcome="halted"] .pipeline-step[data-step="verify"] {
  background: var(--surface-raised);
}

.mandate-console {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 16px 32px;
}

.console-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.console-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  margin-right: 6px;
}

.state-pill {
  padding: 5px 11px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease);
}

.state-pill:hover {
  border-color: var(--line-strong);
  color: var(--fg);
}

.state-pill[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

html:not(.js) .state-pill {
  cursor: default;
  pointer-events: none;
}

.console-readout {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--secondary);
}

/* PassControl 3 Sub-cards (/hijack, /proofs, Stamp) */
.subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.subcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
  background: var(--surface);
  transition: background-color 260ms var(--ease);
  min-width: 0;
}

.subcard:last-child {
  border-right: 0;
}

.subcard:hover {
  background: var(--surface-raised);
}

.subcard-tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.subcard h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 8px;
}

.subcard p {
  font-size: 14px;
  line-height: 1.58;
  color: var(--muted);
}

.subcard-go {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  transition: color 240ms var(--ease);
  overflow-wrap: anywhere;
}

.subcard:hover .subcard-go {
  color: var(--fg);
}

/* Secondary Work Row — Peras */
.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: baseline;
  margin-top: 28px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 260ms var(--ease), background-color 260ms var(--ease);
}

.work-row:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.work-row-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.work-row h2 {
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.work-row p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch;
  transition: color 240ms var(--ease);
}

.work-row:hover p {
  color: var(--secondary);
}

.go {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  white-space: nowrap;
  transition: color 240ms var(--ease);
}

.work-row:hover .go {
  color: var(--fg);
}

/* Principles Matrix */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle-cell {
  padding: 34px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
  transition: background-color 280ms var(--ease);
}

.principle-cell:hover {
  background: var(--surface);
}

.principle-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-bottom: 18px;
}

.principle-cell h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--fg);
}

.principle-cell p {
  font-size: 15.5px;
  line-height: 1.64;
  color: var(--muted);
  max-width: 46ch;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px 56px;
  align-items: end;
}

.contact-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 22px;
}

.contact-mail {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
  border-bottom: 1px solid var(--line-mid);
  transition: border-color 280ms var(--ease);
}

.contact-mail:hover {
  border-color: var(--fg);
}

.contact-mail .arrow {
  font-size: 0.58em;
  color: var(--muted);
}

.contact-mail:hover .arrow {
  color: var(--fg);
}

.company-ledger {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  display: grid;
  gap: 14px;
}

.ledger-item dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}

.ledger-item dd {
  font-size: 14px;
  color: var(--secondary);
}

.ledger-item a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  transition: color 220ms var(--ease);
}

.ledger-item a:hover {
  color: var(--fg);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

/* Progressive-enhancement Motion (only when JS active & motion permitted) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes petalLeftIn {
    from {
      opacity: 0;
      transform: rotate(9deg) scale(0.9);
    }
    to {
      opacity: 1;
      transform: rotate(0deg) scale(1);
    }
  }

  @keyframes petalCenterIn {
    from {
      opacity: 0;
      transform: translateY(5px) scale(0.92);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes petalRightIn {
    from {
      opacity: 0;
      transform: rotate(-9deg) scale(0.9);
    }
    to {
      opacity: 1;
      transform: rotate(0deg) scale(1);
    }
  }

  @keyframes locusDraw {
    from {
      stroke-dashoffset: 503;
    }
    to {
      stroke-dashoffset: 0;
    }
  }

  @keyframes fieldFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes locusPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.85; }
  }

  .hero-origin-ring {
    animation: locusPulse 5.6s ease-in-out infinite;
  }

  html.js .petal-center {
    animation: petalCenterIn 1000ms var(--ease) 40ms backwards;
  }

  html.js .petal-left {
    animation: petalLeftIn 1150ms var(--ease) 160ms backwards;
  }

  html.js .petal-right {
    animation: petalRightIn 1150ms var(--ease) 240ms backwards;
  }

  html.js .hero-field {
    animation: fieldFadeIn 1200ms var(--ease) 120ms backwards;
  }

  html.js .hero-locus {
    stroke-dasharray: 503;
    animation: locusDraw 1700ms var(--ease) 220ms backwards;
  }

  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 820ms var(--ease), transform 820ms var(--ease);
    transition-delay: var(--delay, 0ms);
  }

  html.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .section-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-rail {
    position: static;
  }

  .flagship-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-step:nth-child(2) {
    border-right: 0;
  }

  .pipeline-step:nth-child(1),
  .pipeline-step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .wrap {
    padding: 0 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-schematic {
    justify-content: flex-start;
  }

  .hero-field {
    max-width: 380px;
  }

  .hero-index {
    grid-template-columns: 1fr;
  }

  .hero-index-item,
  .hero-index-item:not(:first-child),
  .hero-index-item:last-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-index-item:last-child {
    border-bottom: 0;
  }

  .subgrid {
    grid-template-columns: 1fr;
  }

  .subcard {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .subcard:last-child {
    border-bottom: 0;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
  }

  .company-ledger {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .wrap {
    padding: 0 20px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 9px;
    font-size: 16px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-field {
    max-width: 280px;
  }

  h1 {
    font-size: clamp(40px, 11.4vw, 56px);
  }

  .flagship-head {
    padding: 18px 20px;
  }

  .flagship-body {
    padding: 24px 20px;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline-step,
  .pipeline-step:nth-child(2) {
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pipeline-step:last-child {
    border-bottom: 0;
  }

  .mandate-console {
    padding: 16px 20px;
  }

  .subcard {
    padding: 22px 20px;
  }

  .work-row {
    padding: 22px 20px;
  }

  .principle-cell {
    padding: 26px 22px;
  }

  .company-ledger {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Pointer effect: grid light (drawn by site.js, mouse only, off under reduced motion) */
.cursor-fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}
