:root {
  --red: #d80000;
  --red-dark: #a90000;
  --ink: #050505;
  --graphite: #242424;
  --muted: #60636b;
  --line: #dddddf;
  --line-soft: #eeeeef;
  --surface: #ffffff;
  --soft: #f8f8f8;
  --footer: #030303;
  --max: 1400px;
  --header-h: 84px;
  --side: clamp(24px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  margin: 0;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(216, 0, 0, 0.28);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr auto;
  height: var(--header-h);
  left: 0;
  padding: 0 var(--side);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.wordmark {
  align-items: center;
  display: inline-flex;
  line-height: 1;
  min-width: 150px;
}

.wordmark img {
  height: 65px;
  object-fit: contain;
  width: 150px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  justify-content: center;
}

.desktop-nav a,
.mobile-panel a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--red);
}

.header-cta,
.button {
  align-items: center;
  border-radius: 3px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 14px;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-cta,
.button--primary {
  background: var(--red);
  color: #ffffff;
}

.header-cta:hover,
.button--primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.button--secondary {
  background: #ffffff;
  border: 1px solid #9b9b9f;
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.header-cta .line-icon,
.button .line-icon,
.text-link .line-icon {
  height: 18px;
  width: 18px;
}

.menu-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  display: none;
  height: 44px;
  justify-content: center;
  justify-self: end;
  padding: 0;
  position: relative;
  width: 44px;
}

.menu-toggle span {
  background: #ffffff;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 160ms ease;
  width: 18px;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-panel {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  display: none;
  left: 0;
  padding: 20px var(--side) 28px;
  position: fixed;
  top: var(--header-h);
  width: 100%;
  z-index: 25;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  gap: 2px;
}

.mobile-panel a {
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  min-height: 54px;
}

.mobile-panel .button {
  border-bottom: 0;
  color: #ffffff;
  margin-top: 18px;
}

.hero-layout,
.section,
.footer-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: var(--side);
  padding-right: var(--side);
}

.hero-copy,
.hero-asset,
.section > *,
.footer-inner > * {
  min-width: 0;
}

.hero-layout {
  align-items: start;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  min-height: calc(100svh - var(--header-h));
  padding-bottom: clamp(44px, 6vw, 80px);
  padding-top: clamp(44px, 6vw, 76px);
  position: relative;
}

.subpage-hero {
  min-height: 620px;
}

.section {
  padding-bottom: clamp(72px, 9vw, 122px);
  padding-top: clamp(72px, 9vw, 122px);
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0 0 28px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 30px;
  max-width: 680px;
}

h1 span {
  display: block;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

h2 {
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 0;
}

h3 {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.hero-body {
  color: #24262a;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.64;
  max-width: 560px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 690px;
}

.metric {
  border-right: 1px solid var(--line);
  padding: 0 32px;
}

.metric:first-child {
  padding-left: 0;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.metric strong {
  color: var(--ink);
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.hero-asset {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  padding-top: clamp(20px, 5vw, 58px);
}

.hero-asset--market img {
  max-width: min(660px, 100%);
  mix-blend-mode: multiply;
  width: min(660px, 100%);
}

.hero-asset--photo {
  border: 1px solid var(--line);
}

.hero-asset--photo img {
  height: 390px;
  object-fit: cover;
  width: 100%;
}

.scroll-cue {
  align-items: center;
  bottom: -1px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  font-size: 10px;
  font-weight: 900;
  gap: 18px;
  left: 50%;
  letter-spacing: 0.12em;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  background: var(--red);
  display: block;
  height: 8px;
  position: relative;
  width: 8px;
}

.scroll-cue i::before {
  background: var(--line);
  bottom: 8px;
  content: "";
  height: 42px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 1px;
}

.two-col-heading {
  align-items: start;
  display: grid;
  gap: clamp(28px, 7vw, 112px);
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.86fr);
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-intro p {
  margin-bottom: 0;
  max-width: 560px;
}

.section-intro--compact {
  max-width: 380px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-strip--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  border-right: 1px solid var(--line);
  min-height: 230px;
  padding: 0 clamp(26px, 3vw, 54px) 0 0;
}

.feature-card + .feature-card {
  padding-left: clamp(26px, 3vw, 54px);
}

.feature-card .line-icon,
.market-card .line-icon,
.role-card .line-icon,
.contact-card .line-icon,
.contact-band__icon .line-icon {
  color: var(--red);
  height: 38px;
  margin-bottom: 34px;
  width: 38px;
}

.feature-card p,
.market-card p,
.role-card p {
  color: #33363c;
  font-size: 15px;
  line-height: 1.62;
  margin-bottom: 0;
}

.market-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-card {
  border: 1px solid var(--line);
  min-height: 238px;
  padding: 34px 28px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.market-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.market-card .line-icon {
  margin-bottom: 42px;
}

.people-preview {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.people-preview__copy {
  border-bottom: 1px solid var(--line);
  padding-bottom: 48px;
}

.wide-photo {
  border: 1px solid var(--line);
  height: clamp(260px, 28vw, 380px);
  object-fit: cover;
  width: 100%;
}

.text-link {
  align-items: center;
  color: var(--red);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 12px;
  margin-top: 22px;
}

.text-link:hover {
  color: var(--red-dark);
}

.join-section {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 90px);
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
}

.role-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 42px 34px 34px;
}

.role-card--with-photo {
  overflow: hidden;
  padding: 0 0 34px;
}

.role-card__photo {
  aspect-ratio: 4 / 5;
  background: #f1f1f1;
  border-bottom: 1px solid var(--line);
  display: block;
  margin-bottom: 28px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.role-card--with-photo h3,
.role-card--with-photo p,
.role-card--with-photo .text-link {
  margin-left: 34px;
  margin-right: 34px;
}

.role-card .line-icon {
  height: 36px;
  margin-bottom: 38px;
  width: 36px;
}

.role-card .text-link {
  margin-top: auto;
}

.contact-band {
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr;
  margin-bottom: clamp(72px, 9vw, 112px);
  margin-top: 0;
  padding-bottom: 40px;
  padding-top: 40px;
}

.contact-band .section-label {
  margin-bottom: 10px;
}

.contact-band h2 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 640px;
}

.contact-band__icon {
  align-items: center;
  background: rgba(216, 0, 0, 0.08);
  border-radius: 999px;
  display: flex;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.contact-band__icon .line-icon {
  margin: 0;
}

.market-list-panel {
  border-top: 1px solid var(--line);
}

.market-accordion {
  border-bottom: 1px solid var(--line);
}

.market-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 900;
  justify-content: space-between;
  min-height: 106px;
  padding: 0;
  text-align: left;
  width: 100%;
}

.market-toggle strong {
  color: var(--red);
  display: inline-flex;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  justify-content: center;
  line-height: 1;
  min-width: 42px;
}

.market-toggle:hover strong,
.market-toggle[aria-expanded="true"] strong {
  color: var(--red-dark);
}

.market-detail {
  max-width: 760px;
  padding: 0 72px 38px 0;
}

.market-detail p {
  color: var(--graphite);
  font-size: clamp(16px, 1.5vw, 19px);
  margin-bottom: 18px;
}

.market-detail ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.market-detail li {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding-left: 18px;
  position: relative;
  text-transform: uppercase;
}

.market-detail li::before {
  background: var(--red);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.58em;
  width: 6px;
}

.system-section,
.photo-split,
.contact-page {
  align-items: center;
  display: grid;
  gap: clamp(36px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
}

.system-copy > p,
.photo-split > div > p {
  margin-top: 24px;
}

.system-map {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    #ffffff;
  background-size: 42px 42px;
  border: 1px solid var(--line);
  min-height: 420px;
  position: relative;
}

.system-map::before,
.system-map::after {
  background: var(--red);
  content: "";
  height: 2px;
  left: 18%;
  position: absolute;
  top: 50%;
  transform: rotate(-14deg);
  transform-origin: left center;
  width: 64%;
}

.system-map::after {
  left: 30%;
  top: 62%;
  transform: rotate(22deg);
  width: 48%;
}

.system-node {
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 14px 18px;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.system-node--research {
  left: 10%;
  top: 18%;
}

.system-node--data {
  right: 12%;
  top: 24%;
}

.system-node--risk {
  bottom: 22%;
  left: 18%;
}

.system-node--execution {
  background: var(--red);
  bottom: 18%;
  right: 10%;
}

.callout-section {
  background: var(--ink);
  color: #ffffff;
  max-width: none;
  padding-left: max(var(--side), calc((100vw - var(--max)) / 2 + var(--side)));
  padding-right: max(var(--side), calc((100vw - var(--max)) / 2 + var(--side)));
}

.callout-section h2 {
  max-width: 920px;
}

.callout-section p:not(.section-label) {
  color: #cfcfd2;
  max-width: 720px;
  margin-top: 24px;
}

.contact-page {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.contact-card {
  align-items: center;
  border: 1px solid var(--line);
  display: grid;
  gap: 8px 18px;
  grid-template-columns: auto 1fr;
  padding: 22px;
}

.contact-card .line-icon {
  grid-row: span 2;
  margin: 0;
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 17px;
}

.contact-form {
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.form-status {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.policy-page {
  align-items: start;
  display: grid;
  gap: clamp(36px, 7vw, 92px);
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
}

.policy-summary {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.policy-summary h1,
.policy-summary h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  margin-bottom: 22px;
}

.policy-summary strong {
  color: var(--red);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.policy-summary p {
  max-width: 420px;
}

.policy-content {
  border-top: 1px solid var(--line);
}

.policy-block {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px 34px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: clamp(32px, 5vw, 54px) 0;
}

.policy-block span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  padding-top: 4px;
}

.policy-block h3 {
  font-size: clamp(22px, 2vw, 30px);
  grid-column: 2;
  margin: 0;
}

.policy-block p {
  grid-column: 2;
  margin: 0;
  max-width: 860px;
}

.site-footer {
  background:
    radial-gradient(circle at 70% 100%, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    var(--footer);
  background-size: 16px 16px, auto;
  color: #ffffff;
  padding: clamp(44px, 7vw, 72px) 0;
}

.footer-inner {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 90px);
  grid-template-columns: minmax(230px, 0.8fr) minmax(420px, 1.2fr) auto;
}

.wordmark--footer {
  min-width: 190px;
}

.wordmark--footer img {
  height: 82px;
  width: 190px;
}

.footer-brand p {
  color: #c8c8c8;
  font-size: 14px;
  margin: 28px 0 26px;
  max-width: 260px;
}

.social-row {
  display: flex;
  gap: 18px;
}

.social-row a {
  color: #ffffff;
  display: inline-flex;
}

.social-row .line-icon {
  height: 19px;
  width: 19px;
}

.footer-links {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-links nav {
  display: grid;
  gap: 15px;
}

.footer-links h3 {
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #d6d6d6;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-legal {
  color: #b5b5b5;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .market-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-strip--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .feature-strip--four .feature-card:nth-child(2n) {
    border-right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    max-width: 720px;
  }

  .footer-legal {
    white-space: normal;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 74px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-layout,
  .two-col-heading,
  .people-preview,
  .join-section,
  .system-section,
  .photo-split,
  .contact-page,
  .policy-page {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-asset {
    min-height: auto;
  }

  .hero-asset--market img {
    max-width: 100%;
  }

  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .metric:nth-child(2n) {
    border-right: 0;
  }

  .feature-strip,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card + .feature-card {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 0 0 34px;
  }

  .contact-band {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --side: 20px;
  }

  .wordmark {
    min-width: 112px;
  }

  .wordmark img {
    height: 48px;
    width: 112px;
  }

  .hero-layout {
    gap: 28px;
    padding-bottom: 44px;
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(34px, 9.2vw, 38px);
    max-width: 100%;
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .section-label {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .hero-body,
  p {
    font-size: 15px;
  }

  .action-row {
    display: grid;
    max-width: 340px;
  }

  .button {
    width: 100%;
  }

  .hero-body,
  .metric-row {
    max-width: 340px;
  }

  .hero-asset--market img {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .metric {
    padding: 0 18px 0 0;
  }

  .metric strong {
    font-size: 18px;
  }

  .scroll-cue {
    display: none;
  }

  .hero-asset--photo img,
  .wide-photo {
    height: 250px;
  }

  .feature-strip--four,
  .market-card-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .market-card {
    min-height: 210px;
  }

  .market-toggle {
    font-size: 32px;
    min-height: 84px;
  }

  .market-detail {
    padding: 0 0 30px;
  }

  .system-map {
    min-height: 340px;
  }

  .system-node {
    font-size: 10px;
    padding: 11px 12px;
  }

  .role-card {
    min-height: 250px;
  }

  .contact-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .contact-card .line-icon {
    grid-row: auto;
  }

  .policy-summary {
    position: static;
  }

  .policy-block {
    grid-template-columns: 1fr;
  }

  .policy-summary h1,
  .policy-summary h2,
  .policy-block h3,
  .policy-block p {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
