/* Shared look for the plain pages (home, partners): warm dark, Fraunces headings, amber accent. */
:root {
  --ink: #f6f1e7;
  --muted: #cfc5b2;
  --accent: #e3a83b;
  --night: #14130f;
  --card: rgba(246, 241, 231, .05);
  --line: rgba(246, 241, 231, .14);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--night); color: var(--ink); font: 400 17px/1.6 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--ink); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 15px; font-family: "Hanken Grotesk", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 18px 0 6px; }
p, ul { color: var(--muted); margin: 0 0 12px; }
ul { padding-left: 20px; }
.eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: clamp(18px, 2vw, 21px); max-width: 60ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: rgba(20,19,15,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 18px; text-decoration: none; white-space: nowrap; }
.top nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a[aria-current="page"] { color: var(--ink); }
.cta, .cta-sm { display: inline-block; background: var(--accent); color: var(--night) !important; font-weight: 600; text-decoration: none; border-radius: 999px; }
.cta { padding: 12px 24px; font-size: 17px; }
.cta-sm { padding: 6px 14px; }

.intro, .band, .block { max-width: 1040px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 16px 0; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 26px 0; }
.paths > div, .cards article { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.paths h2 { font-size: 22px; }
.paths p { margin: 0; }

.areas { max-width: 1040px; margin: 0 auto; padding: 32px 16px 0; display: grid; gap: 28px; }
.area { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.area:nth-child(even) img { order: 2; }
.area img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.area-body { padding: 22px 24px 26px; }
.area-body ul { margin-bottom: 8px; }
.area-body .cta { margin-top: 12px; font-size: 16px; padding: 10px 20px; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; } .area:nth-child(even) img { order: 0; } }

.band { text-align: center; }
.band p { margin-left: auto; margin-right: auto; max-width: 52ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 10px; }
.cards h3 { font-family: Fraunces, Georgia, serif; text-transform: none; letter-spacing: 0; font-size: 20px; color: var(--ink); margin: 0 0 6px; }
.cards p { margin: 0; font-size: 15px; }
.foot { max-width: 1040px; margin: 0 auto; padding: 72px 16px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; border-top: 1px solid var(--line); margin-top: 72px; }
.foot p { margin: 0 0 4px; }
.menu-btn { display: none; }
@media (max-width: 620px) {
  .top { flex-wrap: wrap; gap: 10px; padding-left: 14px; padding-right: 10px; }
  .brand { font-size: 16px; }
  .menu-btn { display: block; order: 3; font: inherit; font-size: 22px; line-height: 1; background: none; border: 0; color: var(--ink); padding: 6px 4px; cursor: pointer; }
  .top nav { order: 2; margin-left: auto; gap: 0; }
  .top nav a:not(.cta-sm) { display: none; }
  .top.menu-open nav { order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 8px 0 4px; }
  .top.menu-open nav a:not(.cta-sm) { display: block; padding: 12px 2px; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .top.menu-open nav .cta-sm { align-self: flex-start; margin-top: 12px; }
}
.terms { max-width: 760px; }
.terms h2 { font-size: 24px; margin-top: 32px; }
.typed-line { font-family: Fraunces, Georgia, serif; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.25; color: var(--ink); max-width: none; }
.typed { color: var(--accent); }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.path-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.path-card { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.path-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.path-card span { display: grid; gap: 4px; padding: 16px 18px 20px; }
.path-card strong { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; color: var(--ink); }
.path-card small { color: var(--muted); font-size: 15px; line-height: 1.45; }
.path-card:hover { transform: translateY(-4px); border-color: rgba(227,168,59,.7); box-shadow: 0 14px 36px rgba(0,0,0,.35); }
.path-card:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .path-cards { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 22px -16px; padding: 0 16px 8px; scroll-padding: 16px; } .path-card { scroll-snap-align: start; } }
@media (prefers-reduced-motion: reduce) { .path-card, .path-card img { transition: none; } .path-card:hover, .path-card:hover img { transform: none; } }

/* the partners hero: the Phase 1 flight under the title */
.p-hero { position: relative; height: min(82vh, 760px); min-height: 420px; overflow: hidden; background: #000; }
.p-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,19,15,.9) 0%, rgba(20,19,15,.3) 45%, rgba(20,19,15,0) 70%); }
.p-hero-text { position: absolute; left: 0; right: 0; bottom: clamp(24px, 6vh, 60px); max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.p-hero-text h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.p-hero-text .lede { color: #fff; }
.p-hero-note { position: absolute; right: 14px; top: 12px; margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.p-hero + .intro { padding-top: clamp(28px, 5vw, 56px); }

/* the flyer gallery (gallery.js) */
.g-tabs { display: flex; gap: 8px; margin: 18px 0 6px; }
.g-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 15px; }
.g-tabs a[aria-current="page"] { background: var(--ink); color: var(--night); border-color: var(--ink); font-weight: 600; }
.g-bar { position: sticky; top: 62px; z-index: 5; background: rgba(20,19,15,.92); backdrop-filter: blur(6px); padding: 12px 0; margin: 10px 0 14px; border-bottom: 1px solid var(--line); }
.g-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.g-chips button { flex: none; font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.g-chips button[aria-pressed="true"] { background: var(--accent); color: var(--night); border-color: var(--accent); font-weight: 600; }
.g-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.g-copy { font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.g-card { position: relative; display: block; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: zoom-in; font: inherit; }
.g-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s ease; }
.g-card:hover img { transform: translateY(-3px); }
.g-card span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.g-card span b { color: var(--ink); font-weight: 600; display: block; }
.g-fav { position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 26px; color: #ffc43d; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.g-empty { color: var(--muted); }
.g-view { position: fixed; inset: 0; z-index: 50; background: rgba(8,8,6,.94); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; }
.g-view[hidden] { display: none; }
.g-view figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.g-view img { max-height: calc(100vh - 120px); max-width: min(92vw, 860px); width: auto; border-radius: 6px; }
.g-view figcaption { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.g-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.g-acts button, .g-acts a { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.g-star[aria-pressed="true"] { background: #ffc43d; color: var(--night); border-color: #ffc43d; font-weight: 600; }
.g-acts a[hidden] { display: none; }
.g-x, .g-prev, .g-next { font: inherit; background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 999px; cursor: pointer; }
.g-x { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; font-size: 28px; }
.g-prev, .g-next { width: 48px; height: 48px; font-size: 30px; flex: none; }
@media (max-width: 640px) { .g-prev, .g-next { position: absolute; bottom: 18px; } .g-prev { left: 18px; } .g-next { right: 18px; } .g-view img { max-height: calc(100vh - 190px); } }
