@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-var.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/newsreader-var-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-mono-500.woff2") format("woff2"); }
/* Layout: "salle de départ" — one photograph fills the arrival screen on a black
   ground; series are listed like boarding cards (escale, couverture, série, statut). */
:root {
  --black: #0b0b0c;
  --panel: #151517;
  --fg: #ecebe7;
  --muted: #8e8d89;
  --line: #2a2a2e;
  --blue: #5fafd9;
  --ochre: #e39a4f;
  --display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  --step-3: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1320px;
  --header: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--fg);
  font-family: var(--display);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--fg) 30%, transparent); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--black); }

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

/* Header */
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--black); }
.site-header .wrap { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand b { font-weight: 500; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.875rem; line-height: 1.2; }
.brand b span { display: block; color: var(--muted); font-weight: 400; letter-spacing: 0.34em; font-size: 0.6875rem; }
.nav { display: flex; gap: 6px 28px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--blue); }

/* Flight-strip metadata */
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.strip li + li::before { content: "·"; margin-right: 14px; color: var(--line); }
.code { display: inline-block; border: 1px solid var(--ochre); color: var(--ochre); padding: 1px 7px; letter-spacing: 0.16em; font-weight: 500; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.05; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); font-weight: 300; }
h2 { font-size: var(--step-2); font-weight: 300; }
h3 { font-size: var(--step-1); }
.lede { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem); line-height: 1.38; max-width: 36ch; margin: 0; }
.prose { max-width: 62ch; display: grid; gap: 1em; color: color-mix(in srgb, var(--fg) 86%, var(--black)); }
.prose p { margin: 0; }
.label { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--fg); color: var(--black); text-decoration: none; font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding: 15px 22px; border: 1px solid var(--fg); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--fg); }
.btn svg { width: 16px; height: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
main { display: block; }
.section { padding-block: clamp(56px, 8vw, 120px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 48px); }

/* Arrival screen (home) */
.arrival { display: grid; grid-template-columns: minmax(320px, 4fr) minmax(0, 6fr); min-height: calc(100svh - var(--header)); border-bottom: 1px solid var(--line); }
.arrival-text { display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: clamp(32px, 4vw, 64px) var(--gutter); min-width: 0; }
.arrival-text .bio { display: grid; gap: 2px; }
.arrival-text h1 { font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem); font-weight: 400; letter-spacing: 0.2em; color: var(--muted); }
.arrival figure { margin: 0; position: relative; min-width: 0; overflow: hidden; background: var(--panel); }
.arrival figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; animation: arrive 2.4s cubic-bezier(.2,.6,.2,1) both; }
.arrival figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px var(--gutter) 22px; background: linear-gradient(to top, rgb(11 11 12 / 0.82), rgb(11 11 12 / 0)); }
  .arrival figcaption .strip { color: var(--fg); }
.arrival figcaption .strip li + li::before { color: var(--muted); }
@keyframes arrive { from { transform: scale(1.045); } to { transform: scale(1); } }
@media (max-width: 860px) {
  .arrival { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .arrival figure { order: -1; aspect-ratio: 4 / 5; }
  .arrival-text { gap: 28px; }
}

/* Departures: each series is a boarding card with its cover photograph */
.departures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.6vw, 40px); }
.dep { display: grid; gap: 18px; text-decoration: none; color: inherit; }
.dep-cover { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.dep-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
a.dep:hover .dep-cover img { transform: scale(1.035); }
.dep-cover .code { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: var(--step--1); background: rgb(11 11 12 / 0.74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dep-body { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.dep-title { font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.6rem); font-weight: 300; transition: color .2s ease; }
a.dep:hover .dep-title { color: var(--blue); }
.dep-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dep-meta > span + span::before { content: "·"; margin-right: 14px; color: var(--line); }
.dep .status { color: var(--blue); }
.dep--soon .dep-cover { display: grid; place-content: center; justify-items: center; gap: 16px; background: repeating-linear-gradient(135deg, var(--panel) 0 14px, #111113 14px 28px); }
.dep--soon .dep-cover .code { position: static; font-size: 1.375rem; padding: 4px 14px; border-color: var(--muted); color: var(--muted); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dep-soon { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dep--soon .dep-title, .dep--soon .status { color: var(--muted); }
@media (max-width: 560px) { .dep-meta .status { flex-basis: 100%; } .dep-meta .status::before { display: none; } }

/* Prints teaser */
.teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.teaser ul { list-style: none; margin: 0; padding: 0; }
.teaser li { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.teaser li span:last-child { font-family: var(--mono); font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 860px) { .teaser { grid-template-columns: minmax(0, 1fr); } }

/* Works grid (masonry by columns) */
.works { columns: 3 300px; column-gap: clamp(16px, 2.4vw, 36px); }
.work { break-inside: avoid; margin: 0 0 clamp(28px, 3.4vw, 48px); display: block; text-decoration: none; }
.work img { width: 100%; background: var(--panel); transition: opacity .3s ease; }
.work:hover img { opacity: .86; }
.work .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.work .cap b { font-weight: 400; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9375rem; line-height: 1.3; }
.work .cap span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
.work:hover .cap b { color: var(--blue); }

/* Artwork page */
.work-stage .wrap { padding-block: clamp(20px, 3vw, 44px); }
.work-stage img { margin-inline: auto; max-height: min(84vh, 1200px); width: auto; }
.work-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.work-body .text { display: grid; gap: 24px; min-width: 0; }
.work-body .en { color: var(--muted); max-width: 62ch; margin: 0; font-size: 1rem; }
.order { border: 1px solid var(--line); background: var(--panel); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 18px; min-width: 0; }
.order h2 { font-size: 1.15rem; font-weight: 400; letter-spacing: 0.12em; }
.order ul { list-style: none; margin: 0; padding: 0; }
.order li { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.order li:last-child { border-bottom: 0; }
.order li span:last-child { font-family: var(--mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.order .note { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 860px) { .work-body { grid-template-columns: minmax(0, 1fr); } }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; margin-top: clamp(48px, 6vw, 88px); }
.pager a { text-decoration: none; display: grid; gap: 4px; min-width: 0; }
.pager a span { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pager a b { font-weight: 300; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.15rem; }
.pager a:hover b { color: var(--blue); }
.pager .next { text-align: right; margin-left: auto; }
.crumbs { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); }

/* Supports & prix */
.supports { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.support { border-top: 1px solid var(--fg); padding-top: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.support h2 { font-size: 1.15rem; font-weight: 400; letter-spacing: 0.12em; }
.support .from { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--ochre); text-transform: uppercase; }
.support p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.support table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.support td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.support td:last-child { text-align: right; font-family: var(--mono); font-size: 0.875rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px 36px; margin: 0; }
.facts div { display: grid; gap: 6px; border-left: 1px solid var(--line); padding-left: 16px; }
.facts dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }
.contact { font-family: var(--mono); font-size: 0.9375rem; user-select: all; color: var(--blue); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 32px 40px; }
.site-footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.todo { background: color-mix(in srgb, var(--ochre) 22%, transparent); color: var(--fg); padding: 0 4px; }

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