:root {
  --navy: #061a31;
  --navy-2: #0b2848;
  --blue: #0757b7;
  --blue-bright: #0a67d8;
  --orange: #ff6a2b;
  --orange-light: #ff8a55;
  --paper: #eef2f4;
  --white: #fff;
  --ink: #071421;
  --muted: #687581;
  --line: rgba(6,26,49,.14);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 32px; color: var(--ink); background: var(--navy) url("/assets/aircraft-search-header.jpg") 50% center / cover fixed no-repeat; font: 400 1rem/1.65 var(--body); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(1,11,23,.84); backdrop-filter: blur(8px); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 20; padding: .75rem 1rem; color: var(--ink); background: var(--orange); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.process-dialog { position: relative; width: min(1220px, 100%); margin: 0 auto; overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: 0 36px 120px rgba(0,0,0,.55); }
.close-button { position: absolute; z-index: 5; top: 1.25rem; right: 1.25rem; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--white); background: rgba(3,15,29,.45); text-decoration: none; font-size: 2rem; line-height: 1; backdrop-filter: blur(10px); }
.close-button:hover, .close-button:focus-visible { background: var(--orange); color: var(--ink); }

.process-hero { position: relative; min-height: 0; padding: 2.3rem clamp(1.5rem,5vw,4.8rem) 3rem; display: flex; flex-direction: column; justify-content: flex-start; color: var(--white); background: linear-gradient(0deg,rgba(2,13,25,.97) 0%,rgba(2,13,25,.7) 43%,rgba(2,13,25,.18) 77%), linear-gradient(90deg,rgba(2,13,25,.62),transparent 70%), url("/assets/aircraft-search-header.jpg") 43% bottom / cover no-repeat; }
.process-hero::after { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px); background-size: 72px 72px; pointer-events: none; }
.brand { position: relative; z-index: 1; width: 235px; }
.hero-copy { position: relative; z-index: 1; max-width: 980px; margin-top: clamp(3rem,6vw,5rem); padding-top: 0; }
.eyebrow,.section-kicker { margin: 0 0 1rem; color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before,.section-kicker::before { content: ""; width: 34px; height: 3px; margin-right: .7rem; display: inline-block; background: currentColor; vertical-align: middle; }
h1,h2,h3,p { overflow-wrap: anywhere; }
h1,h2,h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: .98; text-transform: uppercase; }
h1 { max-width: 1000px; font-size: clamp(3.9rem,7.6vw,7.5rem); letter-spacing: -.025em; }
h1 span { color: var(--orange); }
.hero-lede { max-width: 780px; margin: 1.5rem 0 0; color: rgba(255,255,255,.84); font-size: clamp(1rem,1.8vw,1.22rem); }
.hero-value { position: relative; z-index: 1; margin-top: 2.5rem; padding-top: 1.2rem; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.36); }
.hero-value p { margin: 0; padding: 0 1.2rem; border-left: 1px solid rgba(255,255,255,.25); font-family: var(--display); font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-value p:first-child { padding-left: 0; border-left: 0; }

.value-intro { padding: clamp(4.5rem,8vw,7rem) clamp(1.5rem,7vw,6rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,7vw,7rem); background: var(--paper); }
.value-intro h2,.section-heading h2,.coordination h2,.outcome h2 { font-size: clamp(3rem,5.5vw,5.4rem); letter-spacing: -.02em; }
.intro-copy > p:first-child { margin: 0; color: #344352; font-size: 1.15rem; }
.pull-quote { margin: 2rem 0 .6rem; padding: 1.5rem 0 0 1.5rem; border-top: 1px solid var(--line); border-left: 5px solid var(--orange); color: var(--navy); font-family: var(--display); font-size: clamp(1.5rem,2.7vw,2.25rem); line-height: 1.15; text-transform: uppercase; }
.signature { margin: 0 0 0 1.5rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.process-section { padding: clamp(4.5rem,8vw,7rem) clamp(1.5rem,7vw,6rem); }
.section-heading { max-width: 820px; margin-bottom: 4rem; }
.section-heading > p:last-child { max-width: 670px; margin: 1.35rem 0 0; color: var(--muted); font-size: 1.08rem; }
.process-list { margin: 0; padding: 0; display: grid; gap: 1.25rem; list-style: none; counter-reset: phase; }
.process-step { min-width: 0; display: grid; grid-template-columns: 86px minmax(0,1fr) minmax(260px,.65fr); border: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 45px rgba(6,26,49,.07); }
.step-number { padding: 2rem 1rem; display: flex; justify-content: center; color: var(--white); background: var(--navy); font-family: var(--display); font-size: 2rem; }
.step-main { min-width: 0; padding: 2rem clamp(1.3rem,3vw,2.5rem); }
.step-label { margin: 0 0 .35rem; color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.step-main h3 { font-size: clamp(1.8rem,3vw,2.55rem); }
.step-main > p:not(.step-label) { margin: .9rem 0 0; color: #455462; }
.step-main ul { margin: 1.15rem 0 0; padding: 0; display: grid; gap: .5rem; list-style: none; }
.step-main li { position: relative; padding-left: 1.3rem; color: var(--ink); font-size: .92rem; }
.step-main li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.step-value { min-width: 0; padding: 2rem; display: flex; flex-direction: column; justify-content: center; color: var(--white); background: var(--blue); }
.step-value span { margin-bottom: .55rem; color: rgba(255,255,255,.67); font-size: .7rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.step-value strong { font-size: 1rem; line-height: 1.5; }
.decision-gate { margin: 2.5rem 0; padding: clamp(2rem,5vw,4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; color: var(--ink); background: var(--orange); }
.decision-gate .section-kicker { color: var(--navy); }
.decision-gate h3 { font-size: clamp(2.5rem,5vw,4.7rem); }
.decision-gate > p { margin: 0; font-size: 1.1rem; font-weight: 600; }

.coordination { padding: clamp(4.5rem,8vw,7rem) clamp(1.5rem,7vw,6rem); color: var(--white); background: var(--navy); }
.coordination-heading { max-width: 930px; }
.coordination-grid { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.coordination-grid article { min-width: 0; padding: 2rem 1.5rem; border-left: 1px solid rgba(255,255,255,.22); }
.coordination-grid article:first-child { padding-left: 0; border-left: 0; }
.coordination-grid span { color: var(--orange); font-family: var(--display); font-size: 1.25rem; }
.coordination-grid h3 { margin-top: 1.6rem; font-size: 1.8rem; }
.coordination-grid p { margin: .6rem 0 0; color: rgba(255,255,255,.65); font-size: .9rem; }

.outcome { padding: clamp(5rem,9vw,8rem) clamp(1.5rem,7vw,6rem); color: var(--white); background: linear-gradient(120deg,rgba(6,26,49,.96),rgba(7,87,183,.84)),url("/assets/about-sunset-aircraft.webp") center / cover no-repeat; }
.outcome > p:not(.section-kicker) { max-width: 720px; margin: 1.35rem 0 0; color: rgba(255,255,255,.79); font-size: 1.12rem; }
.outcome-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.button { min-height: 54px; padding: .9rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; border: 1px solid transparent; text-decoration: none; font-weight: 800; }
.button-primary { color: var(--ink); background: var(--orange); }
.button-primary:hover { background: var(--orange-light); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.button-ghost:hover { color: var(--ink); background: var(--white); }

footer { padding: 2rem clamp(1.5rem,5vw,4rem); display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: center; color: rgba(255,255,255,.58); background: #03111f; font-size: .8rem; }
footer img { width: 190px; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  body { padding: 0; background-attachment: scroll; }
  .process-dialog { border-radius: 0; }
  .process-hero { min-height: 0; padding-top: 1.5rem; }
  .value-intro { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 64px minmax(0,1fr); }
  .step-number { grid-row: 1 / span 2; }
  .step-value { grid-column: 2; }
  .decision-gate { grid-template-columns: 1fr; gap: 1.2rem; }
  .coordination-grid { grid-template-columns: 1fr 1fr; }
  .coordination-grid article:nth-child(3) { border-left: 0; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:last-child { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 600px) {
  .close-button { top: .75rem; right: .75rem; width: 44px; height: 44px; }
  .brand { width: 175px; }
  .process-hero { min-height: 0; padding-inline: 1.2rem; background-position: 49% bottom; }
  .hero-copy { margin-top: 3rem; padding-top: 0; }
  h1 { font-size: clamp(3.25rem,15vw,4.65rem); }
  .hero-lede { font-size: .96rem; }
  .hero-value { grid-template-columns: 1fr; gap: .55rem; }
  .hero-value p { padding: 0; border: 0; font-size: .92rem; }
  .process-step { grid-template-columns: 1fr; }
  .step-number { grid-row: auto; justify-content: flex-start; padding: .9rem 1.2rem; }
  .step-value { grid-column: auto; }
  .coordination-grid { grid-template-columns: 1fr; }
  .coordination-grid article { padding: 1.5rem 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .coordination-grid article:first-child { border-top: 0; }
  .outcome-actions { display: grid; }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { grid-column: auto; }
}

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