/* Remigration Airways site. Colours come from the livery and the apron: navy, white and taxi-line amber. */

@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-upright-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a1120;
  --bg-2: #0e1729;
  --bg-3: #142037;
  --panel: #111b30;
  --line: rgba(226, 234, 246, 0.1);
  --line-2: rgba(226, 234, 246, 0.2);
  --white: #f2f5fa;
  --text: #d9e0ec;
  --muted: #a3afc3;
  --faint: #7f8ba0;
  --navy: #1b2d55;
  --amber: #f0a33a;
  --amber-hi: #ffc061;
  --amber-deep: #b86d12;
  --ink-on-amber: #0a1120;
  --paper: #f3f0e6;
  --paper-ink: #1d2230;
  --paper-soft: #545b6b;
  --paper-line: rgba(29, 34, 48, 0.22);
  --stamp: #b3262e;
  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --type: "Courier New", Courier, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--white); text-decoration-color: rgba(240, 163, 58, 0.7); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--amber-hi); }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--white); line-height: 1.1; margin: 0; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* No orphans. Headings and short copy balance, running text wraps prettily. */
/* Balance only handles a few lines, so anything longer than a heading or a short intro takes pretty. */
h1, h2, h3, summary, .lead, .eyebrow, .hero__tagline, .stat__label, .quotes__head, figcaption, .lightbox__caption { text-wrap: balance; }
p, li, dd, blockquote { text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

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

/* Icons. Chevrons are drawn, never typed. */
.chev, .icon { width: 0.85em; height: 0.85em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons. Hover changes light only. ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7em 1.25em;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  font: 600 1rem/1.2 var(--display);
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  background-color: rgba(226, 234, 246, 0.04);
  background-origin: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease, background-position 0.35s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { color: #fff; border-color: rgba(226, 234, 246, 0.45); background-color: rgba(226, 234, 246, 0.1); }
.btn--small { padding: 0.5em 1em; font-size: 0.92rem; }
.btn--large { padding: 0.85em 1.5em; font-size: 1.05rem; }

/* Amber buttons fade from the deep amber into the bright one. The white border only shows on hover. */
.btn--primary {
  color: var(--ink-on-amber);
  border-color: transparent;
  background-image: linear-gradient(120deg, var(--amber-deep) 0%, var(--amber) 45%, var(--amber-hi) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 6px 22px rgba(240, 163, 58, 0.25);
}
.btn--primary:hover {
  color: var(--ink-on-amber);
  border-color: rgba(242, 245, 250, 0.8);
  background-image: linear-gradient(120deg, var(--amber-deep) 0%, var(--amber) 45%, var(--amber-hi) 100%);
  background-position: 60% 50%;
  box-shadow: 0 6px 26px rgba(255, 192, 97, 0.35), inset 0 0 0 999px rgba(255, 255, 255, 0.08);
}
.btn--ghost { background-color: rgba(10, 17, 32, 0.4); border-color: rgba(226, 234, 246, 0.35); }
.btn--ghost:hover { background-color: rgba(226, 234, 246, 0.12); border-color: rgba(226, 234, 246, 0.65); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled { background: rgba(10, 17, 32, 0.88); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar__inner { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 20px; min-height: 64px; }
/* One logo. The bar keeps room for the small one (84 px), which becomes the solid tail mark. The script lays the image out at
   its big size (--logo-big) and scales it down from its top-left corner as the page scrolls
   (--logo-scale), so it is drawn large and stays sharp. */
.topbar__brand { display: block; flex: none; position: relative; width: 84px; height: 44px; }
.topbar__art {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--logo-big, 72px);
  transform-origin: 0 0;
  transform: translate(var(--logo-x, 0px), var(--logo-drop, 0px)) scale(var(--logo-scale, 1));
  will-change: transform;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}
.topbar__logo { display: block; width: 100%; max-width: none; height: auto; opacity: calc(1 - var(--icon-fade, 0)); }
/* The solid tail mark sits exactly over the outline RA (measured from the logo file) and
   fades in as the wordmark fades out, so the logo turns solid in place. */
.topbar__icon {
  position: absolute;
  top: 0.15%;
  left: 17.87%;
  width: 76.44%;
  max-width: none;
  height: auto;
  opacity: var(--icon-fade, 0);
  pointer-events: none;
}
.topbar__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topbar__nav a:not(.btn) {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.topbar__nav a:not(.btn):hover { color: #fff; background: rgba(226, 234, 246, 0.08); }
.topbar__nav .btn { margin-left: 10px; }
.topbar__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 8px; background: rgba(10, 17, 32, 0.5); color: var(--white); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.topbar__toggle[aria-expanded="true"] .burger { background: transparent; }
.topbar__toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.topbar__toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .topbar__toggle { display: block; }
  .topbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: rgba(10, 17, 32, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .topbar__nav.is-open { display: flex; }
  .topbar__nav a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; }
  .topbar__nav .btn { margin: 10px 0 0; justify-content: center; }
  .topbar:has(.is-open) { background: rgba(10, 17, 32, 0.97); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  /* The script sets --logo-space so the copy starts just under the big logo. */
  padding: var(--logo-space, 110px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero__poster, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slides img { opacity: 0; transition: opacity 1.6s ease; }
.hero__slides img.is-on { opacity: 1; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 17, 32, 0.94) 0%, rgba(10, 17, 32, 0.78) 38%, rgba(10, 17, 32, 0.25) 70%, rgba(10, 17, 32, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 17, 32, 0.6) 0%, rgba(10, 17, 32, 0) 22%, rgba(10, 17, 32, 0) 70%, var(--bg) 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 660px); gap: 8px; }
/* How wide the logo starts at the top of the page. Never seen, only measured. */
.hero__logo-probe { position: absolute; top: 0; left: 0; width: clamp(220px, 24vw, 340px); height: 1px; visibility: hidden; pointer-events: none; }
.hero__tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.08; color: var(--white); margin: 0 0 16px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }
/* Text in a second colour always starts its own line. */
.hero__tagline em { display: block; font-style: normal; color: var(--amber-hi); }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); max-width: 34em; margin-bottom: 26px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.hero__meta { margin-top: 18px; font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero__scroll:hover { background: rgba(226, 234, 246, 0.1); border-color: rgba(226, 234, 246, 0.35); }
.hero__scroll svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1.5px solid rgba(226, 234, 246, 0.25);
  border-radius: 999px;
  background: rgba(10, 17, 32, 0.55);
  color: var(--text);
  font: 600 0.85rem/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero__pause[hidden] { display: none; }
.hero__pause:hover { background: rgba(226, 234, 246, 0.12); border-color: rgba(226, 234, 246, 0.55); }
.hero__pause .icon { width: 12px; height: 12px; }
.hero__pause .icon--play { display: none; fill: currentColor; stroke: none; }
.hero__pause[aria-pressed="true"] .icon--play { display: block; }
.hero__pause[aria-pressed="true"] .icon--pause { display: none; }

@media (max-width: 700px) {
  .hero { padding-bottom: 96px; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(10, 17, 32, 0.6) 0%, rgba(10, 17, 32, 0.3) 30%, rgba(10, 17, 32, 0.88) 62%, var(--bg) 100%);
  }
  .hero__logo-probe { width: min(220px, 56vw); }
  .hero__pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero__pause { padding: 10px; bottom: 26px; }
  .btn-row .btn--large { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--white); margin-bottom: 8px; }
.stat:nth-child(2) .stat__num { color: var(--amber-hi); }
.stat__label { display: block; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 860px) {
  .stats__list { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section__head h2 { font-size: clamp(1.75rem, 4.4vw, 3.1rem); margin-bottom: 16px; }
.eyebrow { font-family: var(--display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--text); }
.note { margin-top: 32px; color: var(--muted); font-style: italic; max-width: 760px; }

/* ---------- The appointment letter ---------- */
.section--story { background: radial-gradient(ellipse at 30% 0%, rgba(27, 45, 85, 0.6), transparent 60%), var(--bg); }
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
.memo {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 30%),
    var(--paper);
  color: var(--paper-ink);
  padding: clamp(24px, 4.5vw, 56px);
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.3);
  transform: rotate(-0.5deg);
}
.memo__head { border-bottom: 2px solid var(--paper-ink); padding-bottom: 12px; margin-bottom: 24px; }
.memo__from { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.7vw, 1.2rem); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
.memo__ref { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; font-family: var(--type); font-size: 0.9rem; color: var(--paper-soft); margin: 0; }
.memo__subject { font-family: var(--type); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--paper-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; margin-bottom: 22px; line-height: 1.35; }
.memo__body { font-family: var(--type); font-size: 1.02rem; line-height: 1.6; max-width: 38em; }
.memo__body p { margin-bottom: 1em; }
.memo__sign { margin-top: 1.6em; }
.memo__name { display: inline-block; font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 1.6rem; line-height: 1.4; color: #24306b; }
.memo__stamp {
  position: absolute;
  right: clamp(16px, 5vw, 56px);
  bottom: clamp(24px, 6vw, 70px);
  margin: 0;
  padding: 8px 14px;
  border: 3px solid var(--stamp);
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stamp);
  opacity: 0.78;
  transform: rotate(-9deg);
  mix-blend-mode: multiply;
}
.team { padding: 28px 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.team__title { font-size: 1.6rem; margin-bottom: 18px; }
.person { padding: 16px 0; border-top: 1px solid var(--line); }
.person p:not(.person__name) { color: var(--muted); font-size: 0.98rem; }
.person__name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.person__name span { display: block; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-top: 2px; }
.team__note { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); font-size: 0.98rem; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .memo { transform: none; }
  .memo__stamp { position: static; display: inline-block; margin-top: 18px; }
}

/* ---------- The loop ---------- */
.section--loop { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.loop__step { position: relative; padding: 26px 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.loop__step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -13px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  transform: rotate(45deg);
  z-index: 1;
}
.loop__step:last-child::after { display: none; }
.loop__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--amber); color: var(--ink-on-amber); font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 14px; box-shadow: 0 0 0 4px rgba(240, 163, 58, 0.18); }
.loop__step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.loop__step p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 1180px) {
  .loop { grid-template-columns: repeat(2, 1fr); }
  .loop__step::after { display: none; }
  .loop__step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .loop { grid-template-columns: 1fr; }
}

/* ---------- Split (the desktop) ---------- */
.section--desktop { background: radial-gradient(ellipse at 85% 40%, rgba(240, 163, 58, 0.08), transparent 55%), var(--bg); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__text h2 { font-size: clamp(1.75rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.split__text p:not(.lead):not(.eyebrow) { color: var(--muted); }
.split__media { position: relative; padding-bottom: 60px; }
.split__media .shot--tall { width: 100%; }
.split__media .shot--inset { position: absolute; right: -14px; bottom: 0; width: 46%; border: 3px solid var(--bg); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media .shot--inset { right: 10px; }
}

/* ---------- Shots (any clickable picture). Hover brightens and rings it, nothing moves. ---------- */
.shot {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: filter 0.3s ease; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(226, 234, 246, 0.1); transition: box-shadow 0.2s ease; pointer-events: none; }
.shot:hover img { filter: brightness(1.1); }
.shot:hover::after { box-shadow: inset 0 0 0 2px rgba(255, 192, 97, 0.7); }

/* ---------- The Herald ---------- */
.section--quotes { padding: clamp(56px, 7vw, 84px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--quotes .eyebrow { margin-bottom: 28px; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quotes li { padding: 22px 22px 20px; background: var(--paper); color: var(--paper-ink); border-radius: 2px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.quotes__head { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.2rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 2px solid var(--paper-ink); }
.quotes blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.5; color: var(--paper-soft); }
@media (max-width: 1180px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Features. Hover tints the border, nothing rises. ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 24px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s ease, background-color 0.25s ease; }
.feature:hover { border-color: rgba(240, 163, 58, 0.5); }
.feature__icon { width: 36px; height: 36px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.feature q { display: block; margin-top: 10px; color: var(--text); font-style: italic; }
.feature a { color: var(--text); }
@media (max-width: 1180px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- The airport ---------- */
.section--airport { background: var(--bg-2); border-top: 1px solid var(--line); }
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.place h3 { font-size: 1.45rem; margin: 16px 0 6px; }
.place p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .places { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.section--stills { background: radial-gradient(ellipse at 50% 0%, rgba(27, 45, 85, 0.55), transparent 60%), var(--bg); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .shot { height: 100%; box-shadow: none; }
.gallery .shot img { height: 100%; }
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery { gap: 10px; }
  .gallery li:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Eras ---------- */
.section--eras { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.era { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.era--now { border-color: rgba(240, 163, 58, 0.6); background: linear-gradient(180deg, rgba(240, 163, 58, 0.12), var(--panel) 60%); }
.era__tag { display: inline-block; font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 10px; margin-bottom: 14px; }
.era--now .era__tag { color: var(--ink-on-amber); background: var(--amber); border-color: var(--amber); }
.era h3 { font-size: 1.5rem; }
.era__years { color: var(--amber); font-family: var(--display); font-weight: 600; margin: 4px 0 16px; }
.era dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.96rem; }
.era dt { color: var(--faint); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.era dd { margin: 0; color: var(--text); line-height: 1.45; }
@media (max-width: 1180px) { .eras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eras { grid-template-columns: 1fr; } }

/* ---------- Progress ---------- */
.progress { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.progress__col { padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.progress__col h3 { font-size: 1.5rem; margin-bottom: 14px; }
.progress__col ul { list-style: none; margin: 0; padding: 0; }
.progress__col li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); color: var(--text); }
.progress__col li:first-child { border-top: 0; }
.progress__col li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.progress__col--next li::before { width: 10px; height: 10px; top: 16px; left: 3px; border: 2px solid var(--faint); border-radius: 50%; transform: none; }
.progress__col--next li { color: var(--muted); }
@media (max-width: 820px) { .progress { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.section--faq { background: var(--bg); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber-hi); }
.faq__chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); max-width: 46em; }

/* ---------- Call to action ---------- */
.cta { position: relative; padding: clamp(90px, 13vw, 160px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 17, 32, 0.68) 35%, rgba(10, 17, 32, 0.74) 70%, var(--bg) 100%); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.cta .lead { max-width: 30em; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 44px 0 52px; }
.footer__inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.studio-badge { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 8px; border: 1.5px solid transparent; opacity: 0.85; transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; }
.studio-badge:hover { opacity: 1; background: rgba(226, 234, 246, 0.06); border-color: rgba(226, 234, 246, 0.2); }
.studio-badge img { width: 220px; height: auto; }
.footer__note { max-width: 44em; color: var(--muted); font-size: 0.95rem; margin: 0; }
.footer__contact { margin: 0; font-weight: 600; }
/* Links inside running text keep the text's colour and show by their underline. */
.faq details p a, .footer__note a { color: inherit; text-decoration-color: var(--amber); }
.faq details p a:hover, .footer__note a:hover { color: var(--white); }
.footer__legal { color: var(--faint); font-size: 0.86rem; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 9, 18, 0.95);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(5, 9, 18, 0.8); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; padding: 60px 76px 20px; display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: min(1600px, calc(100vw - 152px)); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 6px; box-shadow: var(--shadow); }
.lightbox__caption { max-width: 60em; text-align: center; color: var(--text); font-size: 1.02rem; }
.lightbox__count { position: absolute; top: 20px; left: 24px; margin: 0; color: var(--faint); font-size: 0.9rem; letter-spacing: 0.1em; }
.lightbox__btn, .lightbox__close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(226, 234, 246, 0.25);
  background: rgba(10, 17, 32, 0.6);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lightbox__btn:hover, .lightbox__close:hover { background: rgba(226, 234, 246, 0.14); border-color: rgba(226, 234, 246, 0.6); }
.lightbox__btn svg, .lightbox__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }
.lightbox__close { top: 12px; right: 16px; }
@media (max-width: 700px) {
  .lightbox__figure { padding: 70px 12px 90px; }
  .lightbox__img { max-width: calc(100vw - 24px); max-height: calc(100vh - 220px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Reveal on scroll. Only when the script is running. ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .memo[data-reveal] { transform: translateY(18px) rotate(-0.5deg); }
.js .memo[data-reveal].is-in { transform: rotate(-0.5deg); }
@media (max-width: 900px) { .js .memo[data-reveal].is-in { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .memo[data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .memo[data-reveal] { transform: rotate(-0.5deg); }
}

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: radial-gradient(ellipse at 50% 30%, rgba(27, 45, 85, 0.7), transparent 60%), var(--bg); }
.lost img { width: 240px; margin: 0 auto 22px; }
.lost h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 10px; }
.lost .lead { color: var(--muted); margin-bottom: 26px; }
