:root {
  color-scheme: dark;
  --bg: #090a0c;
  --bg-elevated: #101216;
  --bg-soft: #17191e;
  --text: #f4f5f7;
  --muted: #aeb3bc;
  --line: #2a2d33;
  --red: #e52b32;
  --red-bright: #ff444b;
  --red-dark: #9d171c;
  --max: 1180px;
  --radius: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 1000; padding: .7rem 1rem; background: #fff; color: #000; font-weight: 800; border-radius: 4px; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { max-width: 790px; }
.section { position: relative; padding: 6.5rem 0; }
.section--soft { background: var(--bg-elevated); border-block: 1px solid rgba(255,255,255,.05); }
.section--compact { padding: 4.5rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: #ff7b80; font: 700 .76rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 930px; font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.23rem; }
p { margin: 0; }
.lede { max-width: 760px; margin-top: 1.25rem; color: #c6cad1; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-heading p:last-child { color: var(--muted); }
.accent { color: var(--red-bright); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.15rem; border: 1px solid var(--red); border-radius: 5px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button::after { content: "\2192"; margin-left: .7rem; transition: transform .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--red-bright); border-color: var(--red-bright); }
.button:hover::after { transform: translateX(3px); }
.button--ghost { background: transparent; border-color: #555b66; }
.button--ghost:hover { background: #1d2026; border-color: #7d838e; }
.button--small { min-height: 40px; padding: .55rem .85rem; font-size: .86rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(9,10,12,.88); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.nav-shell { display: flex; align-items: center; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; color: #fff; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; border: 1px solid #4d2729; }
.brand-text { display: grid; font: 800 .76rem/1.1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.brand-text span:last-child { color: #b9bdc5; font-size: .66rem; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.site-nav > a:not(.button) { position: relative; color: #cdd0d6; font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; inset: auto 0 -.55rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: #fff; }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: calc(100vh - 76px); display: grid; align-items: center; overflow: hidden; padding: 7rem 0; background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px); background-size: 56px 56px; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -230px; top: -260px; border: 1px solid rgba(229,43,50,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(229,43,50,.025), 0 0 0 180px rgba(229,43,50,.018); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 45%, rgba(229,43,50,.11), transparent 28%), linear-gradient(90deg, rgba(9,10,12,.2), rgba(9,10,12,.64)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 260px; gap: 5rem; align-items: center; }
.hero-grid > *, .section-heading > *, .split > *, .service-block > *, .contact-grid > * { min-width: 0; }
.hero h1 span { display: block; color: #a7abb3; }
.hero-mark { position: relative; }
.hero-mark::before { content: ""; position: absolute; inset: -18px; border: 1px solid rgba(229,43,50,.3); border-radius: 28px; transform: rotate(5deg); }
.hero-mark img { position: relative; width: 260px; border-radius: 22px; box-shadow: var(--shadow); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #c3c6cc; font: 600 .75rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hero-proof span::before { content: "+"; margin-right: .5rem; color: var(--red-bright); }
.page-hero { position: relative; overflow: hidden; padding: 7.5rem 0 5rem; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, #0b0c0f 58%, #171013); }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -100%; width: 650px; height: 650px; border: 1px solid rgba(229,43,50,.2); transform: rotate(45deg); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.7rem, 6vw, 5rem); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { position: relative; min-width: 0; padding: 1.6rem; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 46px; background: var(--red); }
.card:hover { transform: translateY(-4px); border-color: #633538; background: #1a1c21; }
.card-index { display: block; margin-bottom: 3rem; color: #d45358; font: 700 .72rem/1 var(--mono); }
.card p { margin-top: .9rem; color: var(--muted); font-size: .94rem; }
.card-link { display: inline-block; margin-top: 1.2rem; color: #fff; font-weight: 800; text-decoration-color: var(--red); text-underline-offset: 4px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.principle { padding: 2rem; border-right: 1px solid var(--line); }
.principle:first-child { border-left: 1px solid var(--line); }
.principle strong { display: block; margin-bottom: .65rem; font-size: 1.05rem; }
.principle p { color: var(--muted); font-size: .92rem; }
.principle-number { display: block; margin-bottom: 1.6rem; color: var(--red-bright); font: 700 .75rem var(--mono); }

.timeline { display: grid; grid-template-columns: repeat(7, 1fr); counter-reset: phase; }
.phase { position: relative; padding: 2.9rem 1rem 1rem 0; counter-increment: phase; border-top: 1px solid #4c4f56; }
.phase::before { content: counter(phase, decimal-leading-zero); position: absolute; top: -13px; left: 0; display: grid; place-items: center; width: 28px; height: 26px; background: var(--bg); border: 1px solid var(--red); color: #fff; font: 700 .66rem var(--mono); }
.phase:not(:last-child)::after { content: ""; position: absolute; right: 1rem; top: -4px; width: 7px; height: 7px; border-top: 1px solid #777b84; border-right: 1px solid #777b84; transform: rotate(45deg); }
.phase h3 { font-size: .92rem; }
.phase p { margin-top: .55rem; padding-right: 1rem; color: var(--muted); font-size: .8rem; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 1rem 1rem 1rem 2.6rem; background: #121419; border: 1px solid var(--line); border-radius: 6px; color: #d2d5da; font-weight: 650; }
.check-list li::before { content: "\2713"; position: absolute; left: 1rem; color: var(--red-bright); }
.cta { position: relative; overflow: hidden; padding: 4rem; background: #15171b; border: 1px solid #4a282a; border-radius: 18px; box-shadow: var(--shadow); }
.cta::after { content: ">_"; position: absolute; right: 4rem; top: 50%; color: rgba(229,43,50,.1); font: 800 7rem/1 var(--mono); transform: translateY(-50%); }
.cta p { max-width: 650px; margin-top: 1rem; color: var(--muted); }
.cta .button { position: relative; z-index: 1; }

.service-block { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: 4rem; padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: 0; padding-bottom: 0; }
.service-number { display: block; margin-bottom: 1rem; color: var(--red-bright); font: 700 .78rem var(--mono); }
.service-content > p { color: #c1c5cc; font-size: 1.05rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: .42rem .7rem; border: 1px solid #3d4148; border-radius: 4px; color: #ced1d6; font: 600 .73rem var(--mono); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.detail { padding: 1.2rem; border-left: 2px solid var(--red-dark); background: #111318; }
.detail p { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.comparison > div { padding: 1.5rem; border: 1px solid var(--line); border-radius: 8px; }
.comparison p { margin-top: .6rem; color: var(--muted); font-size: .92rem; }

.quote-panel { padding: 2rem 2rem 2rem 2.4rem; border-left: 3px solid var(--red); background: var(--bg-soft); font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 750; line-height: 1.35; }
.quote-panel span { display: block; margin-top: 1rem; color: var(--muted); font: 500 .86rem var(--mono); }
.prose p + p { margin-top: 1.2rem; }
.prose p { color: #c3c6cc; }
.placeholder { padding: 2rem; border: 1px dashed #705256; border-radius: var(--radius); background: #151315; }
.placeholder-label { display: inline-block; margin-bottom: 1rem; padding: .3rem .55rem; background: #38191b; color: #ff999d; font: 700 .72rem var(--mono); }
.placeholder ul { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2rem; margin: 1.2rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.founder-card { position: relative; padding: 2.2rem; overflow: hidden; background: var(--bg-soft); border: 1px solid #4a2b2e; border-radius: var(--radius); box-shadow: var(--shadow); }
.founder-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red); }
.founder-card h3 { margin-bottom: 1.4rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.founder-role { margin-bottom: .8rem; color: #ff858a; font: 700 .73rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.profile-link { display: inline-flex; gap: .55rem; margin-top: 1.6rem; color: #fff; font-weight: 800; text-decoration-color: var(--red); text-underline-offset: 4px; }
.profile-link:hover { color: #ff969a; }
.leadership-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 4rem; align-items: start; }
.leadership-grid > * { min-width: 0; }
.founder-highlights { display: grid; gap: .8rem; margin-top: 2rem; }
.founder-highlights div { padding: 1rem 0 1rem 1.1rem; border-left: 2px solid var(--red-dark); }
.founder-highlights strong, .founder-highlights span { display: block; }
.founder-highlights strong { color: #fff; font-size: .98rem; }
.founder-highlights span { margin-top: .2rem; color: var(--muted); font-size: .82rem; }
.credential-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.7rem; }
.credential-groups > div { padding: 1rem; background: #101216; border: 1px solid var(--line); border-radius: 6px; }
.credential-groups h4 { margin: 0 0 .55rem; color: #ff8c90; font: 700 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.credential-groups p { color: var(--muted); font-size: .83rem; line-height: 1.65; }

.contact-grid { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); gap: 4rem; align-items: start; }
.contact-card { padding: 1.5rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card + .contact-card { margin-top: 1rem; }
.contact-card p { margin-top: .7rem; color: var(--muted); }
.contact-card a { color: #ff8e92; overflow-wrap: anywhere; }
.form-notice { margin-bottom: 1.5rem; padding: 1rem; border-left: 3px solid #d5972f; background: #211c13; color: #e5d6ba; font-size: .9rem; }
.form-notice a { color: #fff0ce; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field--full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .4rem; color: #e8e9eb; font-size: .88rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #3b3f47; border-radius: 5px; background: #101216; color: #fff; padding: .8rem .9rem; }
input:hover, select:hover, textarea:hover { border-color: #626772; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: 2px solid rgba(229,43,50,.35); outline-offset: 1px; }
textarea { min-height: 150px; resize: vertical; }
.required { color: #ff777c; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.3rem; }
.form-actions button { cursor: pointer; }
.form-status { color: #ffd8da; font-size: .9rem; }

.site-footer { border-top: 1px solid var(--line); background: #07080a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 4rem; padding: 4rem 0 3rem; }
.footer-brand p { max-width: 430px; margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.footer-heading { margin: 0 0 1rem; color: #fff; font: 700 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { width: fit-content; color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); }
.legal { display: flex; justify-content: space-between; gap: 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); color: #8f949e; font-size: .78rem; }
.legal p:last-child { max-width: 720px; text-align: right; }
.error-page { min-height: calc(100vh - 76px); display: grid; place-items: center; text-align: center; }
.error-code { color: var(--red); font: 800 clamp(5rem, 20vw, 12rem)/.8 var(--mono); opacity: .85; }
.error-page h1 { margin: 2rem auto 0; font-size: clamp(2rem, 5vw, 4rem); }
.error-page p { max-width: 620px; margin: 1rem auto 0; color: var(--muted); }
.error-page .button-row { justify-content: center; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(3) { border-left: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 0; }
  .split, .contact-grid { gap: 3rem; }
}

@media (max-width: 780px) {
  .section { padding: 5rem 0; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; display: grid; gap: 0; padding: 1rem; background: #0d0f12; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-130%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .site-nav.is-open { transform: translateY(0); visibility: visible; }
  .site-nav > a:not(.button) { padding: 1rem; border-bottom: 1px solid #25282e; }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 1rem; }
  .hero { min-height: auto; padding: 6rem 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .section-heading, .split, .service-block, .contact-grid, .leadership-grid { grid-template-columns: 1fr; gap: 2rem; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 3rem 2rem; }
  .cta::after { right: 1rem; opacity: .5; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand-text { font-size: .68rem; }
  .brand img { width: 42px; height: 42px; }
  h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .hero { padding: 5rem 0; }
  .hero-proof { display: grid; gap: .6rem; }
  .hero-proof span { min-width: 0; overflow-wrap: anywhere; }
  .cards, .principles, .timeline, .check-list, .detail-grid, .comparison, .form-grid, .placeholder ul, .footer-grid, .credential-groups { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(3) { border-left: 1px solid var(--line); }
  .phase { padding-bottom: 1.4rem; }
  .field--full, .footer-brand { grid-column: auto; }
  .cta { padding: 2.2rem 1.3rem; }
  .cta::after { display: none; }
  .legal { display: grid; }
  .legal p:last-child { text-align: left; }
}

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

@media print {
  .site-header, .button-row, .site-footer { display: none; }
  body { background: #fff; color: #000; }
  .section, .page-hero { padding: 2rem 0; }
}
