@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #0b0b0c;
  --plate: #141415;
  --silver: #dcdcd8;
  --grey: #9a9a95;
  --rule: rgba(220, 220, 216, 0.16);
  --rule-strong: rgba(220, 220, 216, 0.32);
  --amber: #f0b429;
  --error: #ff8a6b;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 168px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #3a3a3c var(--black); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; color: #f4f4f1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--amber); }
::selection { background: var(--amber); color: var(--black); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: var(--black); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Buttons: amber grease-pencil ink is the only colour, kept for actions */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--amber); color: var(--black);
  border: 0; border-radius: 2px;
  font: inherit; font-size: 17px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:hover, .btn:focus-visible { color: var(--black); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #ffc94d; color: var(--black); } }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.head-row { display: flex; align-items: center; gap: 32px; height: 84px; }
.wordmark { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; color: #f4f4f1; margin-right: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 16px; color: var(--silver); }
.nav-links a:hover { color: var(--amber); }
@media (max-width: 760px) { .nav-links { display: none; } .head-row { height: 68px; } .wordmark { font-size: 20px; } }

/* Hero: the plate fills the frame and is burned in toward the copy, as in a darkroom print */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-plate { position: absolute; inset: 0; z-index: -1; }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.9) 52%, #000 70%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.9) 52%, #000 70%); }
.hero-body { padding-top: 140px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(52px, 7.6vw, 104px); line-height: 0.96; letter-spacing: -0.03em; max-width: 9.5ch; }
.hero-lead { margin-top: 28px; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); }
.launch { margin-top: 40px; max-width: 560px; }
.launch label { display: block; font-size: 15px; color: var(--silver); margin-bottom: 10px; }
.launch-row { display: flex; background: var(--plate); border: 1px solid var(--rule-strong); border-radius: 2px; padding: 5px; }
.launch-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: #f4f4f1; caret-color: var(--amber); font: inherit; font-size: 18px; padding: 0 14px; }
.launch-row input::placeholder { color: #8d8d90; }
.launch-row input:focus { outline: none; }
.launch-row:focus-within { border-color: var(--amber); }
.plate-caption { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: var(--grey); }
.frame-id { font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--silver); }

/* Developing: the plate comes up from black once, then the copy settles */
.js .hero-plate img { animation: develop 1600ms var(--ease-out) both; }
.js .hero-body > * { animation: settle 900ms var(--ease-out) both; }
.js .hero-body > :nth-child(2) { animation-delay: 120ms; }
.js .hero-body > :nth-child(3) { animation-delay: 220ms; }
@keyframes develop { from { filter: brightness(0) contrast(1.4); } 55% { filter: brightness(0.7) contrast(1.15); } to { filter: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero-plate img, .js .hero-body > * { animation: none; } }

@media (max-width: 720px) {
  .hero { min-height: auto; justify-content: flex-start; }
  .hero-plate img { object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 42%, rgba(0,0,0,.55) 58%, #000 74%);
            mask-image: linear-gradient(180deg, transparent 0%, transparent 42%, rgba(0,0,0,.55) 58%, #000 74%); }
  .hero-body { padding-top: 100px; padding-bottom: 66vw; }
  .hero .plate-caption { background: var(--black); padding-top: 14px; }
  .launch-row { flex-direction: column; gap: 6px; }
  .launch-row input { min-height: 50px; }
  .launch-row .btn { width: 100%; }
}

/* Black sections carry the réseau: crosses on the five-column grid of the Hasselblad plate */
.section { padding: var(--section) 0; position: relative; }
.reseau::before, .reseau::after { content: ""; position: absolute; height: 22px; pointer-events: none;
  left: calc(max((100% - var(--wrap)) / 2, 0px) + var(--gutter) - 11px); right: calc(max((100% - var(--wrap)) / 2, 0px) + var(--gutter) - 11px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 0% 0, 20% 0, 40% 0, 60% 0, 80% 0, 100% 0; }
.reseau::before { top: calc(var(--section) / 2 - 11px); }
.reseau::after { bottom: calc(var(--section) / 2 - 11px); }
@media (max-width: 720px) { .reseau::before, .reseau::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 0v22M0 11h22' stroke='%23dcdcd8' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"); background-position: 0% 0, 50% 0, 100% 0; } }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 5fr 6fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
.lead { font-size: clamp(18px, 1.4vw, 20px); max-width: 52ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Services: a contact sheet; the chosen frame gets the grease pencil */
.sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; background: #050505; padding: 22px; border: 1px solid var(--rule); }
.frame { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 14px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.frame img { aspect-ratio: 1; width: 100%; object-fit: cover; filter: grayscale(0.35) brightness(0.7); transition: filter 300ms var(--ease-out); margin-bottom: 10px; }
.frame .frame-id { font-size: 12px; color: var(--grey); }
.frame-name { font-size: 19px; font-weight: 500; color: #f4f4f1; line-height: 1.25; }
.frame[aria-selected="true"] img { filter: none; }
@media (hover: hover) and (pointer: fine) { .frame:hover img { filter: grayscale(0) brightness(0.9); } }
.pencil { position: absolute; left: -12px; top: -12px; width: calc(100% + 24px); height: calc(100% + 18px); pointer-events: none; overflow: visible;
  opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path 520ms var(--ease-out), opacity 120ms linear; }
.pencil path { fill: none; stroke: var(--amber); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.frame[aria-selected="true"] .pencil { opacity: 1; clip-path: inset(-4px -4px -4px -4px); }
.frame { padding-left: 2px; }
@media (prefers-reduced-motion: reduce) { .pencil { transition: none; } }

.panels { margin-top: clamp(40px, 5vw, 64px); }
.panel { display: grid; grid-template-columns: 5fr 6fr; gap: 24px 64px; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 12px; }
.panel-copy { display: grid; gap: 18px; align-content: start; }
.panel h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.015em; }
.panel-lead { font-size: 19px; max-width: 40ch; }
.covers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.covers li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.covers li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 14px; height: 14px;
  background: linear-gradient(var(--amber), var(--amber)) center / 100% 1.5px no-repeat, linear-gradient(var(--amber), var(--amber)) center / 1.5px 100% no-repeat; }
@media (max-width: 860px) {
  .sheet { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; }
}

/* How a climb works: four stages on one trajectory */
.climb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: stage; position: relative; }
.climb::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; border-top: 1.5px dashed var(--rule-strong); }
.climb li { counter-increment: stage; position: relative; padding: 76px 28px 0 0; }
.climb li::before { content: counter(stage); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--black); border: 1.5px solid var(--silver); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; color: #f4f4f1; }
.climb li:last-child::before { background: var(--amber); border-color: var(--amber); color: var(--black); }
.climb h3 { font-size: 26px; line-height: 1.15; margin-bottom: 12px; }
.climb p { max-width: 30ch; }
@media (max-width: 860px) {
  .climb { grid-template-columns: 1fr; gap: 40px; }
  .climb::before { left: 23px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1.5px dashed var(--rule-strong); }
  .climb li { padding: 4px 0 0 76px; }
}

/* Worldwide and How we fly: plates shown as framed prints beside the copy */
.world { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 72px; align-items: center; }
.world-body h2 { max-width: 12ch; }
.world-body p { margin-top: 24px; max-width: 46ch; font-size: clamp(18px, 1.4vw, 20px); }
.world-body .btn { margin-top: 36px; }
.print { margin: 0; background: #050505; padding: 14px 14px 0; border: 1px solid var(--rule); }
.print img { width: 100%; }
.print figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 2px 14px; font-size: 13px; color: var(--grey); }
@media (max-width: 860px) { .world { grid-template-columns: 1fr; } }

/* How we fly */
.fly { display: grid; grid-template-columns: 5fr 6fr; gap: 32px 64px; align-items: start; }
.fly-head { display: grid; gap: 40px; position: sticky; top: 32px; }
.fly-head .print { max-width: 420px; }
.rules { margin: 0; border-top: 1px solid var(--rule-strong); }
.rules > div { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.rules dt { font-size: 22px; font-weight: 500; color: #f4f4f1; line-height: 1.25; }
.rules dd { margin: 0; }
@media (max-width: 860px) { .fly { grid-template-columns: 1fr; } .fly-head { position: static; } .rules > div { grid-template-columns: 1fr; } }

/* Contact */
.contact-section { background: var(--black); }
.contact { display: grid; grid-template-columns: 4fr 6fr; gap: 48px 80px; }
.contact-intro h2 { margin-bottom: 24px; }
.coords { margin: 48px 0 0; display: grid; gap: 22px; }
.coords dt { font-size: 14px; color: var(--grey); margin-bottom: 4px; }
.coords dd { margin: 0; font-size: 18px; color: #f4f4f1; }
.form { display: grid; gap: 22px; align-content: start; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 15px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--black); color: #f4f4f1; caret-color: var(--amber);
  border: 1px solid var(--rule-strong); border-radius: 2px; font: inherit; font-size: 17px;
  transition: border-color 160ms var(--ease-out); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23dcdcd8' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #8d8d90; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--amber); flex: none; }
.field-error { display: none; font-size: 14px; color: var(--error); }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: 16px; }
.form-status.ok { color: var(--amber); }
.form-status.err { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .field-pair { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 48px 0 56px; font-size: 15px; color: var(--grey); }
.foot-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 40px; align-items: baseline; }
.foot-mark { font-size: 20px; font-weight: 600; color: #f4f4f1; }
.foot-small { grid-column: 1 / -1; font-size: 13px; }
@media (max-width: 760px) { .foot-row { grid-template-columns: 1fr; } }

/* Privacy page */
.doc { padding: 140px 0 var(--section); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 12px; }
.doc h2 { font-size: 26px; margin: 48px 0 12px; letter-spacing: -0.01em; }
.doc p { margin: 0 0 14px; max-width: 68ch; }
.doc .updated { color: var(--grey); font-size: 15px; margin-bottom: 32px; }
