:root {
  --black: #050505;
  --ink: #111;
  --graphite: #1a1b1b;
  --steel: #5c6062;
  --line: #c8c8c3;
  --paper: #f1f0ea;
  --paper-2: #e5e3dc;
  --orange: #ff3d00;
  --orange-2: #ff6a22;
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: white;
}
.brand { display: inline-grid; gap: 4px; line-height: .86; text-transform: uppercase; }
.brand-mark {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  font-style: italic;
  letter-spacing: 2px;
}
.brand-tag { color: var(--orange); font-size: 12px; font-weight: 900; line-height: 1.05; }
.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 54px);
  padding-top: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.primary-nav a:hover, .site-footer a:hover, .footer-link:hover { color: var(--orange-2); }
.nav-toggle { display: none; }

.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 28px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .2px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.button-orange { background: var(--orange); color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.button-outline { background: transparent; color: white; box-shadow: inset 0 0 0 2px var(--orange); }
.button-outline-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--orange); }
.button:hover { transform: translateY(-1px); }

.section-inner { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }
.section-dark { background: var(--black); color: white; }
.section-light {
  background:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.028) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-transform: uppercase; line-height: .94; letter-spacing: 0; }
h1 { font-size: clamp(42px, 4.1vw, 76px); font-weight: 950; margin-bottom: 24px; }
h2 { font-size: clamp(32px, 3vw, 52px); font-weight: 950; margin-bottom: 16px; }
h3 { font-size: 17px; font-weight: 950; margin-bottom: 8px; }
h1 span, h2 span, .targets h2 span { color: var(--orange); }
p { font-size: 17px; line-height: 1.38; }

.hero {
  min-height: 690px;
  padding: 130px 0 40px;
  background:
    radial-gradient(circle at 71% 42%, rgba(255,255,255,.17), transparent 26%),
    radial-gradient(circle at 26% 71%, rgba(255,61,0,.16), transparent 18%),
    linear-gradient(180deg, #020202 0%, #111 58%, #050505 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr); align-items: center; gap: 34px; }
.hero-copy p { max-width: 760px; color: #ececec; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.hero-asset { margin-right: -72px; filter: drop-shadow(0 28px 55px rgba(0,0,0,.75)); }

.feature-strip {
  background: #030303;
  color: white;
  border-block: 1px solid #252525;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(1520px, 100%);
  margin: 0 auto;
}
.feature-grid article {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 20px 18px;
  border-right: 1px solid #393939;
  text-align: center;
}
.feature-grid .icon { color: var(--orange); }
.feature-grid h2 { font-size: 14px; margin: 0 0 4px; }
.feature-grid p { font-size: 12px; margin: 0; color: #d6d6d6; font-weight: 700; max-width: 190px; }

.icon, .process-icon {
  width: 36px;
  height: 36px;
  display: inline-block;
  background: currentColor;
  color: white;
  flex: 0 0 auto;
}
.target-icon { clip-path: polygon(47% 0,53% 0,53% 34%,100% 34%,100% 40%,53% 40%,53% 47%,100% 47%,100% 53%,53% 53%,53% 60%,100% 60%,100% 66%,53% 66%,53% 100%,47% 100%,47% 66%,0 66%,0 60%,47% 60%,47% 53%,0 53%,0 47%,47% 47%,47% 40%,0 40%,0 34%,47% 34%); border-radius: 50%; }
.gear-icon { clip-path: polygon(45% 0,55% 0,60% 16%,72% 20%,86% 11%,93% 18%,84% 32%,89% 44%,100% 50%,89% 56%,84% 68%,93% 82%,86% 89%,72% 80%,60% 84%,55% 100%,45% 100%,40% 84%,28% 80%,14% 89%,7% 82%,16% 68%,11% 56%,0 50%,11% 44%,16% 32%,7% 18%,14% 11%,28% 20%,40% 16%); }
.shield-icon { clip-path: polygon(50% 2%,90% 18%,84% 72%,50% 98%,16% 72%,10% 18%); }
.flag-icon { clip-path: polygon(0 8%,100% 8%,100% 20%,25% 20%,25% 35%,95% 35%,95% 47%,25% 47%,25% 62%,100% 62%,100% 74%,25% 74%,25% 92%,0 92%); }
.cube-icon { clip-path: polygon(50% 0,92% 24%,92% 74%,50% 100%,8% 74%,8% 24%); }

.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: 60px; align-items: center; padding: 28px 0 22px; }
.onshore p { max-width: 560px; font-weight: 700; }
.number-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #aaa; padding: 22px 0 14px; }
.number-grid article { padding: 0 42px 0 0; border-right: 1px solid #aaa; }
.number-grid article:last-child { border-right: 0; }
.number-grid b, .process-grid b { display: block; color: var(--orange); font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.number-grid b, .number-grid h3 { text-align: center; }
.number-grid p, .image-card p, .target-card p, .role-list { font-size: 14px; font-weight: 700; }
.number-grid p,
.image-card p,
.target-card h3,
.target-card p,
.process-grid article p {
  text-align: center;
}

.asset {
  position: relative;
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.18);
}
.asset::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.18), transparent 24%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 12px);
}
.asset::after {
  content: attr(data-filename);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: inherit;
  opacity: .78;
  font-weight: 950;
  font-size: clamp(12px, 1.2vw, 18px);
  text-transform: uppercase;
  text-align: center;
  z-index: -1;
}
.asset img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; opacity: 0; }
.asset img.is-loaded { opacity: 1; }
.asset img.is-missing { display: none; }
.asset figcaption { display: none; }
.asset-dark { color: white; background: #111; }
.asset-light { color: #222; background: #d9d8d2; border-color: #bbb; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-35-19 { aspect-ratio: 35 / 19; }
.ratio-2-1 { aspect-ratio: 2 / 1; }
.ratio-10-7 { aspect-ratio: 10 / 7; }
.ratio-48-31 { aspect-ratio: 48 / 31; }
.map-asset strong { position: absolute; z-index: 2; text-transform: uppercase; font-size: clamp(18px, 2vw, 32px); line-height: 1; text-align: center; }
.map-asset strong span { color: var(--orange); }

.core-section { padding: 36px 0 0; background: radial-gradient(circle at 55% 45%, #222, #030303 56%); }
.core-grid { display: grid; grid-template-columns: .55fr 1fr; gap: 28px; align-items: center; }
.core-copy p { color: #eee; font-weight: 700; }
.core-visual { min-width: 0; }
.core-asset { border: 0; max-width: 940px; margin: 0 auto; }
.callout { position: absolute; z-index: 3; color: white; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.callout::before { content: ""; position: absolute; top: 50%; height: 1px; width: clamp(36px, 6vw, 78px); background: var(--orange); }
.c1 { left: 2%; top: 18%; } .c1::before { left: calc(100% + 8px); }
.c2 { left: 2%; top: 56%; } .c2::before { left: calc(100% + 8px); }
.c3 { right: 2%; top: 16%; } .c3::before { right: calc(100% + 8px); }
.c4 { right: 2%; top: 39%; } .c4::before { right: calc(100% + 8px); }
.c5 { right: 2%; top: 66%; } .c5::before { right: calc(100% + 8px); }
.mobile-callouts { display: none; }
.advantage-strip { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #333; margin-top: 24px; }
.advantage-strip span { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; text-transform: uppercase; font-weight: 950; font-size: 13px; border-right: 1px solid #333; }
.advantage-strip .icon { width: 28px; height: 28px; color: var(--orange); }

.stack-section, .platform-section, .process, .team { padding: 28px 0; }
.section-lede { max-width: 900px; font-weight: 700; margin-bottom: 22px; }
.stack-section h2,
.stack-section .section-lede,
.platform-section h2,
.platform-section .section-lede,
.process h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.process h2 { font-size: clamp(28px, 2.45vw, 43px); white-space: nowrap; }
.card-grid { display: grid; gap: 20px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.image-card, .flow-panel, .target-card, .process-grid article {
  border: 1px solid #b9b9b4;
  background: rgba(255,255,255,.32);
  padding: 14px;
}
.image-card h3, .target-card h3 { margin-top: 12px; }
.image-card h3 { text-align: center; }
.panel-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
.flow-panel h3 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.flow-panel h3 span {
  color: #555;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; text-align: center; }
.flow-four { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); }
.flow-five { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; }
.flow > div, .flow-panel, .image-card, .target-card { min-width: 0; }
.asset figcaption { overflow-wrap: anywhere; }
.flow i, .process-grid > i { color: var(--orange); font-size: 34px; font-style: normal; font-weight: 950; }
.flow b { display: block; margin-top: 8px; text-transform: uppercase; font-size: 12px; }

.targets { padding: 28px 0; background: linear-gradient(180deg, #0a0a0a, #161616); }
.targets h2 { text-align: center; }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.target-card { background: #111; border-color: #555; color: white; position: relative; }
.target-card .asset::before { background: radial-gradient(circle at 48% 42%, rgba(255,61,0,.26), transparent 20%), repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 12px); }
.target-card p span { color: #d8d8d8; display: block; }

.process-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; }
.process-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: left;
}
.process-grid article .process-icon,
.process-grid article b {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.process-icon { width: 74px; height: 74px; color: var(--orange); margin-bottom: 10px; }
.draft-icon { clip-path: polygon(10% 20%,68% 20%,68% 10%,90% 32%,68% 54%,68% 44%,22% 44%,22% 78%,80% 78%,80% 90%,10% 90%); }
.build-icon { clip-path: polygon(45% 0,55% 0,60% 18%,72% 24%,88% 16%,96% 30%,82% 42%,82% 58%,96% 70%,88% 84%,72% 76%,60% 82%,55% 100%,45% 100%,40% 82%,28% 76%,12% 84%,4% 70%,18% 58%,18% 42%,4% 30%,12% 16%,28% 24%,40% 18%); }
.scale-icon { clip-path: polygon(8% 88%,8% 58%,25% 58%,25% 88%,34% 88%,34% 38%,51% 38%,51% 88%,60% 88%,60% 20%,77% 20%,77% 88%,92% 88%,92% 100%,8% 100%); }

.team-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; border-top: 1px solid #aaa; padding-top: 24px; }
.team h2 { text-align: center; }
.team h3, .founder h3 { color: var(--orange); font-size: 15px; margin-bottom: 12px; }
.role-list { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid #c7c7c2; }
.role-list li { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding: 8px 0; border-bottom: 1px solid #c7c7c2; }
.role-list b { text-transform: uppercase; color: #8a8a86; font-size: 12px; }
.founder { border-left: 1px solid #aaa; padding-left: 55px; }
.founder strong { display: block; font-size: 22px; text-transform: uppercase; }
.founder > span { display: block; text-transform: uppercase; font-weight: 900; margin-bottom: 14px; }
.social-row { display: flex; gap: 14px; font-weight: 950; margin-bottom: 22px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  text-transform: uppercase;
  transition: opacity .18s ease, transform .18s ease;
}
.social-link span:first-child {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
}
.social-link:hover { opacity: .76; transform: translateY(-1px); text-decoration: underline; }
.founder p { font-weight: 700; }

.site-footer { background: #030303; color: white; padding: 42px clamp(18px, 4vw, 58px); }
.footer-inner { display: grid; grid-template-columns: .9fr 1fr .9fr; gap: 32px; align-items: start; width: min(var(--max), 100%); margin: 0 auto; }
.site-footer p { display: grid; gap: 3px; text-transform: uppercase; font-size: clamp(22px, 2vw, 34px); font-weight: 950; line-height: 1; text-align: center; }
.site-footer p span { white-space: nowrap; }
.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  gap: 36px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 13px;
}
.site-footer nav div { display: grid; gap: 8px; justify-items: start; }
.footer-link { background: none; border: 0; color: inherit; padding: 0; cursor: pointer; text-transform: uppercase; font-weight: 900; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(8px);
}
.modal-backdrop[hidden] { display: none; }
.contact-modal {
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 5vw, 54px);
  position: relative;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: 0 28px 80px rgba(0,0,0,.52);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid #c8c8c3;
  background: white;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.eyebrow { color: var(--orange); text-transform: uppercase; font-size: 12px; letter-spacing: 2px; font-weight: 950; margin-bottom: 12px; }
.contact-modal h2 { font-size: clamp(36px, 7vw, 58px); }
.contact-modal form { display: grid; gap: 13px; }
.contact-modal label { display: grid; gap: 6px; text-transform: uppercase; font-weight: 950; font-size: 12px; letter-spacing: 1px; }
.contact-modal label span { color: var(--orange); }
.contact-modal input, .contact-modal textarea {
  border: 1px solid #c6c3bb;
  background: white;
  min-height: 46px;
  padding: 11px 12px;
  outline-color: var(--orange);
  text-transform: none;
  letter-spacing: 0;
}
.contact-modal textarea { resize: vertical; }
.modal-submit { width: 100%; margin-top: 8px; }
.contact-modal small { text-align: center; font-weight: 700; }
.form-error { color: #b72400; font-weight: 900; margin: 0; min-height: 20px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto auto auto; align-items: start; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 42px;
    padding: 10px;
    background: rgba(0,0,0,.54);
    border: 1px solid #444;
    justify-self: end;
  }
  .nav-toggle span:not(.sr-only) { display: block; height: 2px; background: white; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    padding: 22px;
    background: rgba(0,0,0,.92);
    border: 1px solid #333;
    text-align: center;
  }
  .primary-nav.is-open { display: grid; }
  .hero-grid, .split, .core-grid, .panel-grid, .team-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-asset { margin-right: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.four, .card-grid.five, .target-grid { grid-template-columns: repeat(2, 1fr); }
  .flow, .flow-four, .flow-five { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid > i { transform: rotate(90deg); text-align: center; }
  .founder { border-left: 0; padding-left: 0; border-top: 1px solid #aaa; padding-top: 24px; }
  .site-footer nav { justify-content: center; }
}

@media (max-width: 720px) {
  .section-inner { width: min(100% - 36px, var(--max)); }
  .site-header {
    position: absolute;
    grid-template-columns: 1fr auto;
    gap: 12px;
    text-align: center;
    justify-items: center;
  }
  .site-header > .contact-trigger { grid-column: 1 / -1; }
  .brand { justify-items: center; }
  .brand-tag { font-size: 10px; }
  .hero { padding-top: 180px; min-height: auto; }
  h1, h2, h3, p, .section-lede, .core-copy, .hero-copy, .onshore p, .footer-inner, .role-list li, .founder, .team, .process, .target-card, .image-card, .flow-panel { text-align: center; }
  .cta-row, .social-row { justify-content: center; }
  .process h2 { white-space: normal; }
  .site-footer p span { white-space: normal; }
  .flow-panel h3 { justify-content: center; gap: 6px; }
  .flow-panel h3 span { display: block; width: 100%; }
  .button { width: min(100%, 330px); }
  .feature-grid, .card-grid.four, .card-grid.five, .target-grid, .number-grid, .advantage-strip { grid-template-columns: 1fr; }
  .feature-grid article {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid #333;
  }
  .number-grid article { border-right: 0; border-bottom: 1px solid #aaa; padding: 18px 0; text-align: center; }
  .number-grid p, .image-card p, .process-grid article { text-align: center; }
  .callout { display: none; }
  .mobile-callouts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
    color: white;
  }
  .mobile-callouts li { border: 1px solid #444; padding: 8px 10px; text-transform: uppercase; font-size: 12px; font-weight: 900; }
  .role-list li { grid-template-columns: 1fr; gap: 3px; }
  .site-footer nav { grid-template-columns: repeat(2, minmax(120px, max-content)); justify-content: center; text-align: center; }
  .site-footer nav div { justify-items: center; }
  .site-footer { text-align: center; }
  .contact-modal { text-align: center; }
  .contact-modal input, .contact-modal textarea { text-align: left; }
}
