@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #0b2463;
  --blue-deep: #071946;
  --blue-soft: #dce5ff;
  --signal: #eeff41;
  --paper: #f3efe5;
  --paper-bright: #fbf8ef;
  --ink: #10141f;
  --muted: #595f69;
  --line: rgba(11, 36, 99, .22);
  --mono: 'DM Mono', Consolas, monospace;
  --sans: 'Manrope', 'Arial Narrow', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
a, button, input, select, textarea { touch-action: manipulation; }
button, input, select, textarea { font: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, p { overflow-wrap: anywhere; }
::selection { background: var(--signal); color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--blue); }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 12px 18px; background: var(--signal); color: var(--blue-deep); font-weight: 800; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 clamp(20px, 4vw, 64px); color: white; background: rgba(7, 25, 70, .96); border-bottom: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; color: white; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; line-height: 1.25; text-decoration: none; }
.brand img { width: 43px; height: 43px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.site-nav a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.site-nav > a:not(.nav-cta):hover { color: var(--signal); }
.nav-cta { gap: 28px; padding: 0 20px; background: var(--signal); color: var(--blue-deep); font-weight: 500; }
.nav-cta:hover { background: white; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: white; background: var(--blue); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: clamp(46px, 7vw, 112px); align-items: center; width: min(1320px, calc(100% - 80px)); margin: 0 auto; padding: clamp(76px, 10vw, 142px) 0 86px; }
.trail-label, .section-code { margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.trail-label { display: flex; align-items: center; gap: 16px; color: var(--signal); }
.trail-label::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.trail-label span { color: white; }
h1 { max-width: 780px; margin: 28px 0 30px; font-size: clamp(56px, 7.1vw, 108px); font-weight: 500; line-height: .91; letter-spacing: -.075em; }
h1 em { color: var(--signal); font-style: normal; }
.hero-intro { max-width: 620px; margin: 0; color: rgba(255,255,255,.76); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 40px; min-height: 56px; padding: 14px 22px; border: 0; border-radius: 0; font: 700 13px/1.2 var(--mono); letter-spacing: .02em; text-decoration: none; cursor: pointer; }
.button-signal { background: var(--signal); color: var(--blue-deep); }
.button-signal:hover { background: white; }
.quiet-link { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; color: white; font: 500 12px var(--mono); text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 6px; }
.quiet-link:hover { color: var(--signal); }

.route-card { position: relative; min-width: 0; color: var(--blue-deep); background: var(--paper-bright); transform: rotate(1.5deg); box-shadow: 20px 24px 0 rgba(7, 25, 70, .5); }
.route-card::before { content: ''; position: absolute; z-index: 2; top: 50%; left: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); }
.route-card-head, .route-card-foot { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; font: 500 10px var(--mono); letter-spacing: .07em; }
.route-card-head { border-bottom: 1px solid var(--line); }
.route-card-foot { align-items: flex-end; border-top: 1px solid var(--line); }
.route-card-foot strong { font-family: var(--sans); font-size: 15px; letter-spacing: -.02em; }
.route-map { position: relative; height: clamp(330px, 32vw, 430px); overflow: hidden; background: #ebe6d9; }
.route-map svg { width: 100%; height: 100%; }
.map-line { fill: none; stroke: #9f9b92; stroke-width: 1; }
.map-line.major { stroke: var(--blue); stroke-width: 2; }
.route { fill: none; stroke: var(--blue); stroke-width: 4; stroke-dasharray: 6 9; }
.route-start { fill: var(--blue); }
.route-end { fill: var(--signal); stroke: var(--blue); stroke-width: 8; }
.map-word { position: absolute; margin: 0; padding: 3px 7px; background: var(--paper-bright); font: 500 9px var(--mono); letter-spacing: .06em; }
.word-one { bottom: 12%; left: 8%; }.word-two { top: 47%; left: 38%; }.word-three { top: 19%; right: 19%; }
.contour { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 48% 52% 37% 63% / 54% 41% 59% 46%; }
.contour::before, .contour::after { content: ''; position: absolute; inset: 28px; border: inherit; border-radius: inherit; }
.contour::after { inset: 58px; }
.contour-one { width: 510px; height: 420px; left: -260px; top: -80px; transform: rotate(26deg); }
.contour-two { width: 430px; height: 530px; right: -260px; bottom: -170px; transform: rotate(-34deg); }
.terrain-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.terrain-strip span { min-width: 0; padding: 19px clamp(20px, 4vw, 64px); color: rgba(255,255,255,.72); font: 400 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.terrain-strip span + span { border-left: 1px solid rgba(255,255,255,.2); }

.section-shell { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.section-code { color: var(--blue); }
.manifesto { display: grid; grid-template-columns: .35fr 1.65fr; gap: 40px; padding: clamp(72px, 10vw, 144px) max(40px, calc((100% - 1320px) / 2)); background: var(--signal); color: var(--blue-deep); }
.manifesto-copy p { margin: 0; font-size: clamp(36px, 5vw, 75px); font-weight: 500; line-height: 1.07; letter-spacing: -.065em; }
.manifesto-copy span { opacity: .42; text-decoration: line-through; text-decoration-thickness: 3px; }
.manifesto-copy strong { font-weight: 800; }

.services { padding-block: clamp(78px, 10vw, 140px); }
.section-lead { display: grid; grid-template-columns: .35fr 1.65fr; gap: 40px; align-items: start; margin-bottom: 62px; }
.section-lead h2, .fit-copy h2, .process-heading h2, .answers-heading h2, .start h2 { margin: 0; font-size: clamp(42px, 5.3vw, 78px); font-weight: 500; line-height: 1.03; letter-spacing: -.065em; }
.section-lead > div { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: 58px; align-items: end; }
.section-lead p:last-child { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--blue); }
.service-card { display: flex; flex-direction: column; min-width: 0; min-height: 520px; padding: clamp(28px, 3vw, 48px); }
.service-card + .service-card { border-left: 1px solid var(--blue); }
.service-card-dark { color: white; background: var(--blue-deep); }
.service-card-signal { color: var(--blue-deep); background: var(--signal); }
.service-card-paper { color: var(--blue-deep); background: var(--paper-bright); }
.card-index { align-self: flex-end; font: 500 11px var(--mono); }
.card-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 52px 0 66px; border: 1px solid currentColor; border-radius: 50%; font-size: 28px; }
.service-card h3 { margin: 0 0 16px; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.045em; }
.service-card p { margin: 0 0 28px; opacity: .75; }
.service-card ul { margin: auto 0 0; padding: 0; list-style: none; font: 500 11px/1.45 var(--mono); text-transform: uppercase; }
.service-card li { padding: 12px 0; border-top: 1px solid currentColor; }

.fit-check { display: grid; grid-template-columns: .42fr .88fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding-block: clamp(80px, 11vw, 154px); border-top: 1px solid var(--line); }
.fit-marker { display: flex; flex-direction: column; align-items: center; color: var(--blue); font: 500 10px var(--mono); }
.compass { position: relative; width: min(190px, 100%); aspect-ratio: 1; margin: 14px 0; border: 1px solid var(--blue); border-radius: 50%; }
.compass::before { content: ''; position: absolute; top: 16%; left: 44%; width: 12%; height: 68%; background: var(--signal); border: 1px solid var(--blue); clip-path: polygon(50% 0, 100% 100%, 50% 82%, 0 100%); transform: rotate(28deg); }
.compass::after { content: ''; position: absolute; inset: 42%; border-radius: 50%; background: var(--blue); }
.fit-copy h2 { margin: 20px 0 28px; font-size: clamp(38px, 4.2vw, 62px); }
.fit-copy > p:last-child { margin: 0; color: var(--muted); }
.fit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--blue); }
.fit-list li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--blue); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; line-height: 1.45; }
.fit-list span { color: var(--blue); font: 500 10px var(--mono); }

.process { overflow: hidden; color: white; background: var(--blue-deep); }
.process-inner { position: relative; isolation: isolate; padding-block: clamp(80px, 10vw, 140px); }
/* A CSS shape cannot become a full-color emoji on iOS. Keep it behind copy. */
.process-inner::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: 0;
  top: 50px;
  width: min(38vw, 420px);
  aspect-ratio: 1;
  background: #fff;
  opacity: .035;
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 76% 46%, 22% 100%, 0 78%, 54% 24%);
}
.process-heading { position: relative; z-index: 1; display: grid; grid-template-columns: .35fr 1.65fr; gap: 40px; margin-bottom: 70px; }
.process-heading .section-code { color: var(--signal); }
.process-heading h2 { max-width: 900px; }
.steps { position: relative; z-index: 1; margin: 0 0 46px 26.5%; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 90px minmax(0, 650px); gap: 25px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.3); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.step-number { color: var(--signal); font: 500 11px var(--mono); }
.steps h3 { margin: 0 0 9px; font-size: 25px; letter-spacing: -.035em; }
.steps p { margin: 0; color: rgba(255,255,255,.68); }
.process .button { position: relative; z-index: 1; margin-left: 26.5%; }

.answers { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 9vw, 130px); padding-block: clamp(80px, 10vw, 140px); }
.answers-heading h2 { margin-top: 25px; font-size: clamp(40px, 4.3vw, 64px); }
.accordion-list { border-top: 2px solid var(--blue); }
details { border-bottom: 1px solid var(--blue); }
summary { display: grid; grid-template-columns: 1fr 40px; gap: 20px; align-items: center; min-height: 90px; padding: 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: 20px; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); background: var(--signal); }
details p { max-width: 680px; margin: -8px 60px 26px 0; color: var(--muted); }

.start { position: relative; overflow: hidden; color: white; background: var(--blue); }
.start-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 8vw, 120px); padding-block: clamp(80px, 10vw, 140px); }
.start .section-code { color: var(--signal); }
.start h2 { margin: 26px 0; font-size: clamp(44px, 5vw, 74px); }
.start-copy > p:not(.section-code) { max-width: 570px; color: rgba(255,255,255,.72); }
.start-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.3); }
.start-note > span { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--signal); color: var(--blue); }
.start-note p { margin: 0; color: rgba(255,255,255,.72); }
.start-note strong { color: white; }
.project-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: clamp(28px, 4vw, 52px); background: var(--paper-bright); color: var(--ink); box-shadow: 18px 18px 0 var(--signal); }
.form-honeypot { display: none !important; }
.form-row { min-width: 0; }
.form-row-wide { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; color: var(--blue-deep); font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-height: 51px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--blue); border-radius: 0; background: transparent; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
select { cursor: pointer; }
.form-row small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; text-transform: none; }
.consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.consent span { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.form-submit { display: flex; align-items: center; gap: 22px; }
.form-meta { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.form-result { padding: 18px; border: 1px solid var(--blue); background: var(--blue-soft); }
.form-result h3 { margin: 0 0 10px; color: var(--blue); font-size: 18px; }
.form-result p { margin: 0; white-space: pre-wrap; }
.start-contour { position: absolute; left: -160px; bottom: -250px; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.start-contour::before, .start-contour::after { content: ''; position: absolute; inset: 50px; border: inherit; border-radius: 48% 52% 45% 55%; }
.start-contour::after { inset: 110px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; padding: 36px clamp(20px, 4vw, 64px); color: white; background: var(--blue-deep); border-top: 1px solid rgba(255,255,255,.18); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 48px; }
.footer-brand div, .footer-area, .footer-tail { display: flex; flex-direction: column; }
.footer-brand strong { font: 500 11px var(--mono); letter-spacing: .1em; }
.footer-brand span, .footer-area, .footer-tail { color: rgba(255,255,255,.62); font-size: 11px; }
.footer-area { font-family: var(--mono); }
.footer-tail { align-items: flex-end; }
.footer-tail a { min-height: 44px; color: white; }

@media (max-width: 1020px) {
  .hero-grid, .section-shell { width: min(100% - 48px, 1320px); }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 42px; }
  h1 { font-size: clamp(58px, 8vw, 82px); }
  .route-map { height: 330px; }
  .section-lead > div { grid-template-columns: 1fr; gap: 24px; }
  .service-card { min-height: 500px; padding: 30px; }
  .fit-check { grid-template-columns: .28fr .8fr 1.1fr; gap: 42px; }
  .start-grid { gap: 48px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-tail { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 70px; padding-inline: 20px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-width: 72px; min-height: 48px; border: 0; background: transparent; color: white; font: 500 11px var(--mono); text-transform: uppercase; cursor: pointer; }
  .menu-icon, .menu-icon::before { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-icon { position: relative; }
  .menu-icon::before { content: ''; position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(-90deg); }
  .site-nav { position: fixed; inset: 70px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 28px; background: var(--blue-deep); border-top: 1px solid rgba(255,255,255,.15); }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: space-between; min-height: 58px; border-bottom: 1px solid rgba(255,255,255,.17); }
  .site-nav .nav-cta { margin-top: 18px; padding-inline: 18px; border: 0; }
  .hero-grid { grid-template-columns: 1fr; width: calc(100% - 40px); padding: 60px 0 64px; }
  h1 { font-size: clamp(54px, 14vw, 85px); }
  .hero-intro { max-width: 600px; }
  .route-card { width: min(540px, calc(100% - 12px)); margin: 12px auto 0; }
  .route-map { height: 350px; }
  .terrain-strip { grid-template-columns: 1fr; }
  .terrain-strip span { padding: 16px 20px; }
  .terrain-strip span + span { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .manifesto { grid-template-columns: 1fr; padding-inline: 24px; }
  .section-shell { width: calc(100% - 40px); }
  .section-lead, .process-heading { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 455px; }
  .service-card + .service-card { border-top: 1px solid var(--blue); border-left: 0; }
  .card-icon { margin: 36px 0 48px; }
  .fit-check { grid-template-columns: .32fr 1fr; }
  .fit-list { grid-column: 1 / -1; }
  .steps, .process .button { margin-left: 0; }
  .process-inner::after { content: none; display: none; }
  .answers, .start-grid { grid-template-columns: 1fr; }
  .project-form { box-shadow: 10px 10px 0 var(--signal); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-tail { grid-column: auto; }
}

@media (max-width: 480px) {
  .brand { font-size: 10px; }
  .brand img { width: 38px; height: 38px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .menu-toggle { min-width: 48px; justify-content: flex-end; }
  .trail-label { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
  .trail-label::before { margin-top: 7px; }
  .trail-label span { width: 100%; padding-left: 48px; }
  h1 { margin-top: 24px; font-size: clamp(48px, 16vw, 68px); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .button { width: 100%; justify-content: space-between; }
  .quiet-link { justify-content: space-between; }
  .route-map { height: 290px; }
  .route-card-head { padding-inline: 14px; }
  .route-card-foot { flex-direction: column; align-items: flex-start; }
  .manifesto-copy p { font-size: clamp(34px, 11vw, 50px); }
  .service-card { min-height: 430px; }
  .fit-check { grid-template-columns: 1fr; }
  .fit-marker { display: none; }
  .fit-list { grid-column: auto; }
  .steps li { grid-template-columns: 50px 1fr; gap: 14px; }
  .answers-heading h2 { font-size: 42px; }
  summary { min-height: 82px; font-size: 16px; }
  details p { margin-right: 0; }
  .project-form { grid-template-columns: 1fr; padding: 24px 20px; }
  .form-row { grid-column: 1 / -1; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .site-footer { padding-inline: 20px; }
}

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