:root {
  color-scheme: light;
  --ink: #101820;
  --section-navy: #0d1823;
  --paper: #f5f7f8;
  --blue: #0f75bc;
  --muted: #4d5b65;
  --line: #cdd8e0;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #50b5ff; outline-offset: 4px; }
.wrap { width: min(1320px, calc(100% - clamp(40px, 11vw, 176px))); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 5; transform: translateY(-150%); background: white; padding: 10px; }
.skip:focus { transform: none; }
.eyebrow, .photo-num, .flight-steps li > span {
  font: 650 11px/1.4 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.pill { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 650; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill span { font-size: 17px; }
.light { background: var(--blue); color: white; }
.light:hover { background: #095b94; }
.outline { color: white; border-color: #ffffff80; background: #0b182566; }
.outline:hover { background: white; color: var(--ink); }
.header { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 122px; padding: 14px 0; border-bottom: 1px solid #ffffff45; }
.header .logo { height: auto; width: clamp(204px, 28.8vw, 324px); }
.hero { position: relative; isolation: isolate; color: white; background: #101820; min-height: clamp(660px, 90svh, 970px); display: flex; align-items: end; overflow: hidden; }
.hero-media, .hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; overflow: hidden; }
.hero-photo { object-fit: cover; object-position: 50% 55%; transform: scale(1.055); }
.hero-shade { z-index: -1; background: linear-gradient(0deg,var(--section-navy) 3%,transparent 28%), linear-gradient(180deg,#05101bae,transparent 38%,#07111b35 53%,#07111beb), linear-gradient(90deg,#081522b3,#08152233 68%,transparent); }
.hero-inner { padding: 145px 0 clamp(68px, 12vh, 138px); }
.hero h1 { font-size: clamp(58px, 8vw, 116px); font-weight: 690; line-height: .95; letter-spacing: -.055em; margin: 18px 0 23px; }
.signal { display: inline-block; width: 8px; height: 8px; background: #52b8ff; box-shadow: 0 0 0 4px #52b8ff35; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.services { background: var(--section-navy); color: white; padding:clamp(32px,4vw,57px) 0 clamp(54px,6vw,96px) }
.section-head { margin:14px 0 29px }
#work-title { font-size:clamp(43px,6.15vw,96px);line-height:.88 }
.projects { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px }
.project { border-top:1px solid #bfc8ce;padding-top:10px }
.photo { display:block;width:100%;position:relative;padding:0;border:0;background:#152432;color:white;cursor:zoom-in;overflow:hidden;text-align:left }
.photo img { width:100%;aspect-ratio:1.28;object-fit:cover;transition:transform .4s }
.photo:hover img,.photo:focus-visible img { transform:scale(1.065) }
.expand { transition:background-color .2s,transform .2s }
.photo:hover .expand,.photo:focus-visible .expand { background:#000;transform:translate(-2px,-2px) }
.photo-num,.expand { position:absolute;background:#05080c;color:var(--blue);padding:7px 9px }
.photo-num { top:10px;left:10px;font-size:10px }
.expand { bottom:10px;right:10px }
.project h3 { font-size:clamp(19px,2.2vw,30px);letter-spacing:-.045em;margin:14px 0 4px }
.project p { color:var(--muted);max-width:33ch }
.section-tag, .brand-text { color: var(--blue); }
h2 { font-size: clamp(45px, 6.2vw, 96px); font-weight: 670; line-height: .98; letter-spacing: -.05em; }
.why {
  background: url("assets/story-paper.svg") repeat, linear-gradient(135deg, #fff 15%, #f6f6f6 100%);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 100px) 0;
}
.story-layout { display: grid; grid-template-columns: 1fr 1.05fr; align-items: start; gap: clamp(24px, 6vw, 90px); margin-top: 14px; }
.why-copy { display: grid; gap: 14px; max-width: 58ch; font-weight: 475; text-wrap: pretty; }
.story-signature { display: grid; gap: 0; line-height: 1.18; margin-top: 4px; }
.services .section-tag, .services .brand-text, .services .photo-num, .services .expand { color: #9dd6ff; }
.services .project p { color: #d1dde7; }
.services .project { border-top-color: #526574; }
.story-signature span { font-size: 13px; font-weight: 750; color: var(--blue); }
.story-layout h2 { font-size: clamp(36px, 5.65vw, 84px); }
.story-layout h2 .brand-text { white-space: nowrap; }
.story-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 24px);
  margin: clamp(28px, 5vw, 62px) 0 0;
}
.story-fact {
  padding: clamp(14px, 1.55vw, 23px) clamp(18px, 2.4vw, 34px);
  border: 1px solid #cadbe9;
  border-radius: 4px 20px 4px 4px;
  background: radial-gradient(ellipse at top right, #d6eafb, transparent 68%), #f4f9fd;
  box-shadow: inset 0 1px 0 #fff, 0 7px 18px #18354e0d;
}
.fact-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  padding: 6px;
  border: 1px solid #a6c7e3;
  border-radius: 8px;
  background: #fff9;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.story-facts dt { color: var(--blue); font: 650 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.story-facts dd { color: var(--ink); margin: 7px 0 0; font-size: clamp(19px, 2.7vw, 38px); font-weight: 670; line-height: 1.12; letter-spacing: -.035em; }
.contact h2 { margin-top: 13px; font-size: clamp(45px,6vw,88px); }
.contact { position: relative; background: var(--section-navy); color: white; padding: clamp(52px,8vw,112px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.13fr; align-items: start; gap: clamp(28px,6vw,90px); }
.contact h2 span, .contact .eyebrow { color: #9dd6ff; }
.contact-intro > p:not(.eyebrow) { max-width: 40ch; margin-top: 19px; font-size: clamp(16px, 1.35vw, 20px); color: #d1dde7; }
.flight-steps { margin: 30px 0 0; padding: 0; list-style: none; max-width: 480px; }
.flight-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 13px; align-items: start; border-top: 1px solid #526574; padding: clamp(14px, 1.65vw, 25px) 0; font-size: clamp(16px, 1.2vw, 18px); }
.flight-steps li > span { color: #9dd6ff; font: 650 12px/1.55 var(--mono); }
.flight-steps p { color: #d1dde7; font-size: clamp(14px, 1.1vw, 16px); margin-top: 3px; }
.flight-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; padding: clamp(18px, 3vw, 36px); color-scheme: dark; border: 1px solid #405a70; border-radius: 16px; background: linear-gradient(155deg, #20394e, #142637 46%, #11202e); color: white; box-shadow: inset 0 1px #ffffff25, 0 24px 65px #040b135e; }
.flight-form-head { border-bottom: 1px solid #496176; padding-bottom: 15px; margin-bottom: 3px; }
.flight-form-head .eyebrow, .flight-form h3 { color: #9dd6ff; }
.flight-form-head h3 { margin: 7px 0 5px; }
.flight-form h3, .flight-note, .flight-wide { grid-column: 1 / -1; }
.flight-form h3 { font-size: clamp(25px, 3vw, 36px); line-height: 1.1; letter-spacing: -.035em; }
.flight-note { font-size: 14px; color: #c4d4e1; }
.flight-form label { display: block; min-width: 0; font-size: 14px; font-weight: 650; }
.flight-form label span { font-weight: 400; color: #c4d4e1; font-size: 12px; }
.flight-form input, .flight-form select, .flight-form textarea { display: block; width: 100%; min-height: 44px; margin-top: 5px; padding: 8px 10px; border: 1px solid #547087; border-radius: 7px; background: #0e1d2b; color: white; font: inherit; font-weight: 400; }
.flight-form select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23c4d4e1' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
}
.flight-form ::placeholder { color: #aabed0; }
.flight-form textarea { resize: vertical; }
.flight-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.flight-actions button { background: var(--blue); color: white; }
.flight-actions button:hover { background: #095b94; }
footer { background: var(--ink); color: white; }
.footer { display: grid; place-items: center; padding: 25px 0; }
.footer .logo { width: 170px; height: auto; }
dialog { padding: 0; border: 0; max-width: min(94vw, 1440px); max-height: 92vh; background: var(--ink); }
dialog::backdrop { background: #081522dc; }
dialog img { max-height: 88vh; object-fit: contain; }
.close { position: absolute; z-index: 1; right: 8px; top: 8px; color: white; background: var(--ink); border: 0; border-radius: 4px; width: 44px; height: 44px; font-size: 24px; cursor: pointer; }
.close:focus-visible { outline-offset: -4px; }
@media (max-width: 760px) {
  .header { min-height: 96px; }
  .header .logo { width: min(57.6vw, 270px); max-width: 100%; }
  .header > a:first-child { min-width: 0; }
  .header .pill { flex-shrink: 0; min-height: 44px; padding: 0 11px; gap: 8px; }
  .hero { min-height: clamp(590px, 86svh, 760px); }
  .hero-inner { padding-bottom: 62px; }
  .hero h1 { font-size: clamp(36px, 9.9vw, 74px); }
  .hero-photo { object-position: 58% 55%; }
  .actions { gap: 8px 18px; }
  .flight-form input, .flight-form select, .flight-form textarea { font-size: 16px; min-width: 0; }
  #work-title { font-size: clamp(27px, 8.2vw, 60px); line-height: .98; }
  .section-head { margin-bottom: 26px; }
  .projects { grid-template-columns: 1fr; gap: 26px; }
  .photo img { aspect-ratio: 1.55; }
  .story-layout, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .flight-form { grid-template-columns: 1fr; }
}
@media (max-width: 470px) {
  .story-facts { grid-template-columns: 1fr; }
  .story-fact { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .fact-icon { grid-row: span 2; margin-bottom: 0; }
  .story-facts dd { margin-top: 2px; }
}

@media (max-width: 360px) {
  .header .pill { padding-inline: 9px; gap: 6px; font-size: 13px; }
}

/* Play each sequence once as its section crosses the middle of the viewport. */
.why { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  .why.awaiting-motion :is(h2, .story-fact), .flight-steps.awaiting-motion li { opacity: 0; }
}
.why.has-arrived .why-word,
.why.has-arrived #why-title .brand-text {
  display: inline-block;
  animation: title-write .24s linear backwards;
}
.why.has-arrived #why-title .brand-text {
  animation-duration: .66s;
  animation-delay: .19s;
}
.why.has-arrived .story-fact {
  animation: card-arrive 1.05s cubic-bezier(.16,.78,.24,1) both;
  animation-delay: .75s;
}
.why.has-arrived .story-fact:nth-child(2) { animation-delay: .94s; }
.why.has-arrived .story-fact:nth-child(3) { animation-delay: 1.13s; }
.flight-steps { position: relative; }
.flight-steps.has-arrived li {
  animation: step-arrive .95s cubic-bezier(.16,.78,.24,1) both;
}
.flight-steps.has-arrived li:nth-child(2) { animation-delay: .2s; }
.flight-steps.has-arrived li:nth-child(3) { animation-delay: .4s; }
@keyframes title-write { from { clip-path: inset(-.15em 100% -.3em -.08em); } to { clip-path: inset(-.15em -.08em -.3em -.08em); } }
@keyframes card-arrive { from { opacity: 0; translate: -100vw 0; } to { opacity: 1; translate: 0 0; } }
@keyframes step-arrive { from { opacity: 0; translate: 0 var(--step-offset, -14px); } to { opacity: 1; translate: 0 0; } }

.flight-actions button:disabled { opacity: .65; cursor: not-allowed; }
.flight-form { position: relative; }
@property --rim-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.flight-form::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-radius: inherit;
  background: conic-gradient(from var(--rim-angle), #70c6ff55, #a8e1ff, #70c6ff22 45%, #70c6ff55) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.flight-form:is(:hover, :focus-within)::after { opacity: 1; animation: rim-orbit 4s linear infinite; }
.flight-form:is(:hover, :focus-within) { box-shadow: inset 0 1px #ffffff25, 0 24px 65px #040b135e, 0 0 18px #64bdff30; }
@keyframes rim-orbit { to { --rim-angle: 360deg; } }
@media (hover: hover) {
  .story-fact, .photo { transition: box-shadow .25s ease; }
  .story-fact:hover, .photo:hover { box-shadow: 0 4px 22px #56adf054; }
}
.pill:hover:not(:disabled) { box-shadow: 0 0 18px #64bdff45; }

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