/* Layout concept: dark documentary-streaming shell. Full-bleed hero, horizontal rails, a quieter solemn band for crew tributes. */
:root {
  --ink: #04070d;
  --ink-glass: rgba(4, 7, 13, 0.88);
  --navy: #0a1428;
  --navy-2: #0f1d38;
  --line: #1d2d4b;
  --silver: #c9d1dc;
  --silver-dim: #8e9aad;
  --text: #e9edf3;
  --gold: #c9a45c;
  --gold-soft: #e2c992;
  --gold-ink: #1a1306;
  --font-display: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-label: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--ink-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand svg { flex: none; }
.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 1.05rem;
  white-space: nowrap;
}
.nav { display: flex; gap: 6px; }
.nav a {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--silver);
  padding: 8px 12px;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-soft); border-bottom-color: var(--gold); }
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  background: var(--gold);
  color: var(--gold-ink);
}
.btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--silver); border-color: var(--silver-dim); }
.btn.ghost:hover { background: rgba(201, 209, 220, 0.1); color: var(--text); }
.btn.small { padding: 8px 14px; font-size: 0.8rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #02040a 0%, #07122a 55%, #0d1f42 100%); border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; }
.hero-art svg, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art img { object-position: 100% center; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 7, 13, 0.94) 0%, rgba(4, 7, 13, 0.72) 42%, rgba(4, 7, 13, 0.1) 78%, rgba(4, 7, 13, 0) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(4, 7, 13, 0) 38%); }
.hero .wrap { position: relative; padding-block: clamp(64px, 12vw, 150px) clamp(56px, 8vw, 96px); }
.hero h1 { font-family: var(--font-display); font-weight: 500; line-height: 0.92; text-transform: uppercase; }
.hero h1 .l1 { display: block; font-size: clamp(2.6rem, 9vw, 6.4rem); letter-spacing: 0.14em; color: var(--silver); }
.hero h1 .l2 { display: block; font-size: clamp(2.6rem, 9vw, 6.4rem); letter-spacing: 0.14em; color: var(--text); }
.hero .rule { width: 88px; height: 1px; background: var(--gold); margin: 26px 0 20px; }
.hero p.lead { max-width: 520px; color: var(--silver); font-size: clamp(1rem, 2.4vw, 1.2rem); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.plane { animation: drift 16s ease-in-out infinite alternate; transform-origin: center; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-18px, 7px); } }
.star { animation: tw 4s ease-in-out infinite alternate; }
@keyframes tw { from { opacity: 0.25; } to { opacity: 0.9; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(44px, 7vw, 84px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.section-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.05; margin-top: 6px; }
.section-head .more { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem; color: var(--silver); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.section-head .more:hover { color: var(--gold-soft); }

/* ---------- Featured ---------- */
.featured { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.feat-media { position: relative; }
.feat-media .thumb { border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9); }
.feat-info h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.1; margin: 8px 0 14px; }
.feat-info p { color: var(--silver); }
.feat-info .meta { margin-top: 12px; color: var(--silver-dim); font-size: 0.9rem; }
.feat-info .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Thumbnails & cards ---------- */
.thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  background: radial-gradient(120% 120% at 20% 0%, #14284f 0%, #0a1428 55%, #050a16 100%);
  border-radius: var(--radius);
  color: inherit;
}
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0.55; }
.thumb img.pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.3s; }
.thumb img.pic.is-broken { display: none; }
.thumb:hover img.pic { transform: scale(1.04); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 7, 13, 0.55), rgba(4, 7, 13, 0) 50%); pointer-events: none; }
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(4, 7, 13, 0.55); border: 1.5px solid var(--gold-soft);
  backdrop-filter: blur(4px);
  transition: transform 0.25s, background 0.25s;
}
.play svg { margin-left: 3px; }
.thumb:hover .play { background: var(--gold); transform: scale(1.08); }
.thumb:hover .play svg path { fill: var(--gold-ink); }
.big .play { width: 84px; height: 84px; }
.dur { position: absolute; z-index: 2; right: 8px; bottom: 8px; font-family: var(--font-label); letter-spacing: 0.06em; font-size: 0.8rem; background: rgba(4, 7, 13, 0.8); padding: 1px 7px; border-radius: 3px; }

.card { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.card .tag { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--gold); }
.card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.35; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--gold-soft); }
.card .meta { font-size: 0.82rem; color: var(--silver-dim); margin-top: 4px; }

.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail .card { flex: 0 0 clamp(250px, 72vw, 320px); scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 28px 20px; }

/* ---------- Tributes ---------- */
.tributes { background: linear-gradient(180deg, var(--navy) 0%, #070e1d 100%); border-block: 1px solid var(--line); position: relative; }
.tributes::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.tributes .intro { max-width: 640px; color: var(--silver); font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.45; font-style: italic; margin-bottom: 30px; }
.tributes .thumb img.pic { filter: grayscale(0.35) brightness(0.92); }
.tributes .thumb:hover img.pic { filter: none; }
.flame { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.playlist-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(4, 7, 13, 0.45); padding: 18px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.playlist-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; margin-top: 4px; }
.playlist-card p { color: var(--silver-dim); font-size: 0.9rem; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.tile { text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.tile h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.1; }
.tile p { color: var(--silver-dim); font-size: 0.88rem; }
.tile .count { margin-top: auto; }

/* ---------- Subscribe band ---------- */
.subscribe { background: linear-gradient(120deg, #0d1f42, #08122a 60%); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 5vw, 52px); display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.subscribe h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; }
.subscribe p { color: var(--silver); margin-top: 8px; max-width: 520px; }

/* ---------- Library ---------- */
.page-title { padding-block: clamp(36px, 6vw, 72px) 20px; }
.page-title h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; margin-top: 8px; }
.page-title p { color: var(--silver); margin-top: 14px; max-width: 620px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0 18px; }
.search { position: relative; flex: 1 1 280px; min-width: 0; }
.search input, .sort select, .field {
  width: 100%; background: var(--navy); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius); padding: 13px 14px 13px 42px; font: inherit; font-size: 1rem;
}
.search svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; pointer-events: none; }
.search input:focus, .sort select:focus, .field:focus { border-color: var(--gold); outline: none; }
.sort select { padding-left: 14px; min-width: 150px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { background: transparent; border: 1px solid var(--line); color: var(--silver); font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--silver-dim); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 600; }
.result-line { color: var(--silver-dim); font-size: 0.9rem; margin-bottom: 20px; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px 24px; color: var(--silver); max-width: 640px; }
.empty h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 6px; }

/* ---------- Watch page ---------- */
.player-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px #000; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 20px; }
.watch h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 4.4vw, 2.8rem); line-height: 1.1; margin: 8px 0 10px; }
.watch .meta { color: var(--silver-dim); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.92rem; }
.desc { max-width: 760px; color: var(--silver); overflow-wrap: anywhere; }
.desc a { color: var(--gold-soft); }
.watch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- About ---------- */
.prose { max-width: 700px; }
.prose p { color: var(--silver); font-size: 1.08rem; margin-bottom: 1.2em; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; margin: 1.6em 0 0.5em; }
.pull { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.3; color: var(--text); border-left: 2px solid var(--gold); padding-left: 22px; max-width: 760px; margin-block: 8px 36px; }
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 20px; }
.themes div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--navy); }
.themes h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: 4px; }
.themes p { color: var(--silver-dim); font-size: 0.92rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: #03060b; padding-block: 48px 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--silver); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold-soft); }
.foot-note { color: var(--silver-dim); font-size: 0.88rem; margin-top: 12px; max-width: 420px; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--silver-dim); font-size: 0.82rem; }

/* ---------- Player modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(2, 4, 9, 0.92); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow-y: auto; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 1100px; min-width: 0; }
.modal-bar { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.modal-bar p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-bar button { background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--radius); padding: 8px 14px; cursor: pointer; font-family: var(--font-label); letter-spacing: 0.14em; text-transform: uppercase; }
.modal-bar button:hover { border-color: var(--gold); }
.modal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 0.92rem; }
.modal-links a { color: var(--silver); }

/* ---------- Admin ---------- */
.admin-box { background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
textarea.field { padding: 14px; min-height: 140px; font-family: ui-monospace, Menlo, monospace; font-size: 0.9rem; }
pre.out { background: #020408; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow-x: auto; font-size: 0.85rem; color: var(--gold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .featured { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .site-header .wrap { gap: 10px; }
  .brand span { font-size: 0.85rem; letter-spacing: 0.14em; }
  .head-sub { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) { .hero-art .plane { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plane, .star { animation: none; }
  .thumb img.pic, .btn, .tile, .play { transition: none; }
}

/* Hero: whole aircraft visible, copy kept to the left 40% so the fuselage lettering shows */
.hero { height: clamp(430px, 41.3vw, 760px); display: flex; align-items: center; }
.hero .wrap { padding-block: 24px; }
.hero-copy { max-width: min(40%, 520px); }
.hero h1 .l1, .hero h1 .l2 { font-size: clamp(2rem, 4.3vw, 4.4rem); letter-spacing: 0.12em; }
.hero p.lead { font-size: clamp(0.95rem, 1.35vw, 1.15rem); }
.hero .rule { margin: 18px 0 14px; }
.hero .actions { margin-top: 22px; }
.hero-art img { object-position: right center; }
.hero-art::after { background: linear-gradient(90deg, rgba(4, 7, 13, 0.94) 0%, rgba(4, 7, 13, 0.78) 26%, rgba(4, 7, 13, 0) 46%), linear-gradient(0deg, var(--ink) 0%, rgba(4, 7, 13, 0) 22%); }
@media (max-width: 900px) {
  .hero { height: auto; display: block; }
  .hero-art { position: relative; inset: auto; aspect-ratio: 893 / 345; }
  .hero-art::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(4, 7, 13, 0) 35%); }
  .hero .wrap { padding-block: 8px 44px; }
  .hero-copy { max-width: 100%; }
  .hero h1 .l1, .hero h1 .l2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
}

/* One modern typeface (Hanken Grotesk) for all text. */
body { font-size: 16px; line-height: 1.65; }
.label { font-weight: 600; letter-spacing: 0.2em; font-size: 0.74rem; }
.brand span { font-weight: 600; letter-spacing: 0.16em; font-size: 0.92rem; }
.nav a { font-size: 0.8rem; letter-spacing: 0.14em; font-weight: 500; }
.btn { font-size: 0.82rem; letter-spacing: 0.14em; font-weight: 600; }
.btn.small { font-size: 0.74rem; }
.chip { font-size: 0.76rem; letter-spacing: 0.1em; font-weight: 500; }
.card .tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; }
.card h3 { font-size: 1rem; font-weight: 600; }
.section-head .more { font-size: 0.76rem; font-weight: 600; }
.hero h1 { font-weight: 300; }
.hero h1 .l1, .hero h1 .l2 { font-size: clamp(2rem, 4.1vw, 4.1rem); letter-spacing: 0.14em; line-height: 1.1; }
.hero h1 .l2 { font-weight: 600; }
.section-head h2 { font-weight: 500; font-size: clamp(1.7rem, 3.8vw, 2.5rem); letter-spacing: 0; }
.page-title h1 { font-weight: 500; font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
.feat-info h3 { font-weight: 500; font-size: clamp(1.6rem, 3.1vw, 2.2rem); line-height: 1.15; }
.subscribe h2 { font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.watch h1 { font-weight: 500; font-size: clamp(1.6rem, 3.8vw, 2.4rem); line-height: 1.15; }
.tile h3 { font-weight: 600; font-size: 1.15rem; }
.playlist-card h3 { font-weight: 600; font-size: 1.25rem; }
.prose h2 { font-weight: 500; font-size: 1.65rem; }
.prose p { font-size: 1.05rem; }
.themes h3 { font-weight: 600; font-size: 1.05rem; }
.empty h3 { font-weight: 600; font-size: 1.3rem; }
.modal-bar p { font-size: 1.05rem; font-weight: 600; }
.tributes .intro { font-style: normal; font-weight: 300; font-size: clamp(1.1rem, 2.3vw, 1.4rem); line-height: 1.6; }
.pull { font-style: normal; font-weight: 300; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.45; }
.site-footer h4 { font-size: 0.74rem; }
@media (max-width: 760px) { .brand span { font-size: 0.72rem; letter-spacing: 0.12em; } }
@media (max-width: 900px) { .hero h1 .l1, .hero h1 .l2 { font-size: clamp(2.1rem, 8.6vw, 3.2rem); } }

/* ---------- Facebook news ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.news-copy h2 { font-weight: 500; font-size: clamp(1.7rem, 3.8vw, 2.5rem); line-height: 1.1; margin: 6px 0 14px; }
.news-copy p { color: var(--silver); max-width: 460px; }
.news-copy .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.news-copy .fine { margin-top: 22px; font-size: 0.82rem; color: var(--silver-dim); }
.fb-frame { min-width: 0; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 160px; box-shadow: 0 30px 70px -30px #000; }
.fb-frame iframe { display: block; border: 0; width: 100%; max-width: 100%; }
@media (max-width: 860px) { .news-grid { grid-template-columns: minmax(0, 1fr); } .fb-frame { max-width: 500px; } }

/* ---------- Facebook news card ---------- */
.fb-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px clamp(20px, 4vw, 44px); align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); background: linear-gradient(120deg, #0d1f42, #08122a 65%); }
.fb-icon { width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; }
.fb-text { min-width: 0; }
.fb-text h2 { font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; margin: 6px 0 10px; }
.fb-text p { color: var(--silver); max-width: 560px; }
.fb-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.fb-actions .btn { justify-content: center; }
@media (max-width: 860px) { .fb-card { grid-template-columns: minmax(0, 1fr); } .fb-actions { flex-direction: row; flex-wrap: wrap; } }

.weekly .thumb img.pic { filter: none; }

.sub-main { display: flex; align-items: center; gap: 22px clamp(20px, 4vw, 44px); flex: 1 1 420px; min-width: 0; }
.sub-main > div:last-child { min-width: 0; }
.sub-main .fb-icon { flex: none; }
@media (max-width: 560px) { .sub-main { flex-direction: column; align-items: flex-start; } }

.follow { position: relative; }
.follow-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: #0a1428; border: 1px solid rgba(201,164,92,.45); border-radius: 6px; padding: 6px; box-shadow: 0 14px 36px rgba(0,0,0,.55); z-index: 60; display: flex; flex-direction: column; }
.follow-menu[hidden] { display: none; }
.follow-menu a { padding: 12px 14px; color: var(--silver, #cfd6e4); border-radius: 4px; font-size: .95rem; white-space: nowrap; }
.follow-menu a:hover, .follow-menu a:focus-visible { background: rgba(201,164,92,.14); color: var(--gold-soft, #e2c992); }
.tributes .intro { max-width: none; }
.follow-menu a { text-decoration: none; }

.page-title p { max-width: none; }
.fb-text p { max-width: none; }

/* Tidy hero buttons: equal widths, aligned */
.hero .actions.tidy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; width: 100%; max-width: 520px; }
.hero .actions.tidy .btn { width: 100%; text-align: center; justify-content: center; white-space: nowrap; padding-inline: 12px; }
.hero .actions.tidy .btn.wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .hero .actions.tidy { grid-template-columns: minmax(0, 1fr); max-width: 360px; } .hero .actions.tidy .btn { white-space: normal; } }

/* Facebook card and YouTube band: identical type, spacing and buttons */
.fb-text h2, .subscribe.band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; margin: 6px 0 10px; }
.fb-text p, .subscribe.band p { margin: 0; max-width: none; color: var(--silver); font-size: 1rem; line-height: 1.6; }
.subscribe.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px clamp(20px, 4vw, 44px); align-items: center; padding: clamp(24px, 4vw, 44px); }
.subscribe.band .sub-main { flex: none; }
.fb-actions, .subscribe.band > .btn { width: min(100%, 270px); }
.fb-actions .btn, .subscribe.band > .btn { width: 100%; justify-content: center; text-align: center; }
.subscribe.band > .btn { display: inline-flex; align-items: center; }
@media (max-width: 860px) { .subscribe.band { grid-template-columns: minmax(0, 1fr); } .subscribe.band > .btn { width: min(100%, 270px); } }
@media (min-width: 861px) { .fb-actions, .subscribe.band > .btn { width: 270px; } }

/* Playlist thumbnails carry their own title text: keep the play icon out of the way */
.playlist-card .thumb .play { left: auto; top: auto; right: 10px; bottom: 10px; translate: none; width: 40px; height: 40px; }
.playlist-card .thumb .play svg { width: 16px; height: 16px; }

/* About page boxes: keep the icon to the left of the words on phones */
@media (max-width: 560px) { .subscribe.compact .sub-main { flex-direction: row; align-items: center; gap: 18px; } .subscribe.compact .fb-icon { width: 58px; height: 58px; } }

/* Phones and small tablets: icon sits to the left of the label and heading */
@media (max-width: 860px) {
  .fb-card { grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; row-gap: 14px; align-items: center; }
  .fb-card .fb-text { display: contents; }
  .fb-card .fb-icon { grid-column: 1; grid-row: 1 / span 2; width: 58px; height: 58px; align-self: center; }
  .fb-card .fb-text > .label { grid-column: 2; grid-row: 1; align-self: end; }
  .fb-card .fb-text > h2 { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; }
  .fb-card .fb-text > p { grid-column: 1 / -1; grid-row: 3; }
  .fb-card .fb-actions { grid-column: 1 / -1; grid-row: 4; }

  .subscribe.band .sub-main { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; row-gap: 14px; align-items: center; }
  .subscribe.band .sub-main > div:last-child { display: contents; }
  .subscribe.band .sub-main .fb-icon { grid-column: 1; grid-row: 1 / span 2; width: 58px; height: 58px; align-self: center; }
  .subscribe.band .sub-main > div:last-child > .label { grid-column: 2; grid-row: 1; align-self: end; }
  .subscribe.band .sub-main > div:last-child > h2 { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; }
  .subscribe.band .sub-main > div:last-child > p { grid-column: 1 / -1; grid-row: 3; }
}

/* Homepage: no line between the header and the hero picture */
body[data-page="home"] .site-header { border-bottom-color: transparent; }

/* Gold line above the hero picture (same as the section lines further down) */
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* Hero buttons: three equal, narrower buttons */
.hero .actions.tidy { display: flex; flex-wrap: wrap; gap: 12px; width: auto; max-width: none; }
.hero .actions.tidy .btn { width: 240px; max-width: 100%; flex: none; white-space: nowrap; padding-inline: 12px; text-align: center; justify-content: center; }
@media (max-width: 640px) { .hero .actions.tidy .btn { white-space: normal; } }
@media (min-width: 901px) { .hero { min-height: 540px; } }

/* Contact buttons; hero without the blue line and with a longer bottom fade */
.head-sub.btn { margin-right: 4px; }
.nav-contact { display: none; }
@media (max-width: 760px) { .nav-contact { display: block; padding: 14px 4px; color: inherit; text-decoration: none; } }
.foot-contact { margin-top: 18px; display: inline-flex; }
.hero { border-bottom: 0; }
@media (min-width: 901px) { .hero-art::after { background: linear-gradient(90deg, rgba(4, 7, 13, 0.94) 0%, rgba(4, 7, 13, 0.78) 26%, rgba(4, 7, 13, 0) 46%), linear-gradient(0deg, var(--ink) 0%, rgba(4, 7, 13, 0.55) 18%, rgba(4, 7, 13, 0) 42%); } }

/* List view (Crew Tributes A-Z, This Week In Aviation by month) */
.sort[hidden] { display: none; }
.viewsw { display: flex; align-items: center; gap: 8px; margin: -6px 0 18px; }
.viewsw[hidden] { display: none; }
.viewlabel { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-dim); margin-right: 4px; }
.lview { display: block; margin-bottom: 40px; }
.jumpbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.lgroup { scroll-margin-top: 92px; margin-bottom: 30px; }
.lgroup h3 { font-size: 1.5rem; font-weight: 500; color: var(--gold-soft); margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lrows { display: flex; flex-direction: column; }
.lrow { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); border-radius: 6px; }
.lrow:hover, .lrow:focus-visible { background: rgba(201, 164, 92, 0.1); }
.lthumb { display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #0b1426; }
.lthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lname { font-size: 1.05rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ldate { font-size: 0.88rem; color: var(--silver-dim); white-space: nowrap; }
@media (max-width: 560px) {
  .lrow { grid-template-columns: 96px minmax(0, 1fr); }
  .ldate { grid-column: 2; }
  .lname { font-size: 1rem; }
}

.foot-contact { margin-top: 16px; }

/* About page text runs the full width */
.prose, .pull { max-width: none; }

/* Gold line runs the full width of the description */
.hero .rule { width: 100%; }

/* Hero: gold line runs the full width of the text block */
.hero .rule { width: 100%; }

/* Tablet: paragraph spans the same width as the title and rule */
@media (max-width:900px){ .hero p.lead{max-width:none} }

/* Mobile only: logo fills the empty space beside the buttons */
.hero-mark{display:none}
@media (max-width:640px) and (min-width:361px){
  .hero .actions.tidy{position:relative}
  .hero-mark{display:block;position:absolute;left:256px;right:0;margin-inline:auto;top:50%;transform:translateY(-50%);width:min(96px,calc(100% - 270px));height:auto;aspect-ratio:1;object-fit:contain;border-radius:50%;opacity:.95;pointer-events:none}
}

/* Gold hairline under the hero box (mobile/tablet) and under the Crew Tributes box */
@media (max-width: 900px) { .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, var(--gold), transparent); } }
#tributes::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
