/* ==========================================================================
   Jace Moore · Flight Instruction
   Crisp, established: navy + paper, brass detail, instrument-style labels.
   ========================================================================== */

:root {
  --navy: #0b1729;
  --navy-2: #13223a;
  --navy-3: #1d3150;
  --paper: #f6f5f2;
  --white: #ffffff;

  --fg: #0e1a2b;
  --text: #39424f;
  --muted: #6a717c;
  --on-dark: #f2f1ed;
  --on-dark-soft: rgba(242, 241, 237, 0.68);

  --brass: #b0802c;        /* thin rules, numbers, small accents only */
  --brass-light: #d4a955;

  --line: #dcd9d2;
  --line-dark: rgba(242, 241, 237, 0.14);

  --radius: 4px;
  --radius-lg: 6px;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- Type ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.label::before { content: ""; width: 22px; height: 1px; background: var(--brass); }
.dark .label { color: var(--on-dark-soft); }

h1, h2, h3 { font-family: var(--display); color: var(--fg); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }

.display {
  font-weight: 800;
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.h2 {
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h3 { font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }

.serif-sub {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
}
.dark .serif-sub { color: var(--on-dark-soft); }
.lede { font-size: 18px; color: var(--text); max-width: 540px; }
.dark .lede, .dark p { color: var(--on-dark-soft); }

/* Highlight removed: keep the span harmless if it appears */
.mark { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: var(--on-dark); }
.btn-primary:hover { background: var(--navy-3); }
.btn-ghost { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--fg); color: var(--paper); }
.dark .btn-primary { background: var(--on-dark); color: var(--navy); }
.dark .btn-primary:hover { background: var(--white); }
.dark .btn-ghost { border-color: rgba(242,241,237,0.5); color: var(--on-dark); }
.dark .btn-ghost:hover { background: var(--on-dark); color: var(--navy); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 242, 0.9);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--navy); color: var(--on-dark);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: -0.02em;
}
.brand-name { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--fg); letter-spacing: -0.02em; line-height: 1.15; }
.brand-name small { display: block; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--fg); }
.nav-links .btn { padding: 11px 18px; color: var(--on-dark); box-shadow: none; }

/* ---------- Hero (flyer layout) ---------- */
.hero { padding: 72px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.hero .serif-sub { margin: 26px 0 36px; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--fg); }
.rotator > span {
  grid-area: 1 / 1;
  justify-self: start;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.45s, transform 0.45s;
  border-bottom: 1px solid var(--brass);
}
.rotator > span.on { opacity: 1; transform: none; }
.hero-meta {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* The flyer */
.flyer {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.flyer-top {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-soft);
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-dark);
}
.flyer-stage { position: relative; min-height: 392px; }
.flyer-slide {
  position: absolute; inset: 0;
  padding: 22px 22px 0;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}
.flyer-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.flyer-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); }
.flyer-photo img { width: 100%; height: 100%; object-fit: cover; }
.flyer-title { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin: 18px 0 0; color: var(--on-dark); }
.flyer-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-light); margin-top: 6px; }
.flyer-cta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark);
  padding: 18px 22px;
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.flyer-cta:hover { background: var(--navy-2); }
.flyer-dots { display: flex; gap: 6px; padding: 16px 22px; }
.flyer-dots button {
  width: 20px; height: 2px; border: 0; padding: 0;
  background: rgba(242, 241, 237, 0.25);
  transition: background 0.3s, width 0.3s;
}
.flyer-dots button.on { width: 36px; background: var(--brass-light); }

/* ---------- Proof band ---------- */
.proof { background: var(--navy); padding: 56px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 4px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 3.8vw, 52px); letter-spacing: -0.035em; color: var(--on-dark); line-height: 1; }
.stat-num em { font-style: normal; color: var(--brass-light); }
.stat-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.pill {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); color: var(--on-dark);
}
.pills-light .pill { border-color: var(--line); color: var(--fg); background: var(--white); }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; position: relative; }
.sec-sand { background: var(--white); }
.sec-white { background: var(--white); }
.sec-navy { background: var(--navy); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .label::before { display: none; }
.sec-head .h2 { margin-bottom: 0; }
.sec-head p { font-size: 18px; margin-top: 18px; }

/* ---------- Offer rack: tab strip ---------- */
.rack {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--fg);
}
.rack-card {
  text-align: left;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--muted);
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.rack-card:last-child { border-right: 0; }
.rack-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.rack-card:hover { color: var(--fg); }
.rack-card .ico { display: none; }
.rack-card .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.rack-card b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; line-height: 1.2; }
.rack-card small { display: none; }
.rack-card[aria-selected="true"] { color: var(--fg); }
.rack-card[aria-selected="true"]::before { transform: scaleX(1); }
.rack-card[aria-selected="true"] .num { color: var(--brass); }

.facet-panel {
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 440px;
}
.facet-panel[hidden] { display: none; }
.facet-body { padding: 52px 52px 48px; display: flex; flex-direction: column; }
.facet-body .h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 18px; }
.facet-body p { margin-bottom: 26px; max-width: 520px; }
.checks { list-style: none; display: grid; gap: 0; margin-bottom: 34px; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; align-items: baseline; color: var(--fg); font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checks li::before { content: "—"; color: var(--brass); font-weight: 600; flex: none; }
.dark .checks, .flyer .checks { border-color: var(--line-dark); }
.dark .checks li, .flyer .checks li { border-color: var(--line-dark); color: var(--on-dark); }
.facet-body .btn-row { margin-top: auto; }
.facet-art { position: relative; background: var(--navy); }
.facet-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.facet-art .stamp {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--navy); color: var(--on-dark);
  border-radius: var(--radius); padding: 10px 14px;
  font-size: 13px; font-weight: 600;
}
.facet-art .stamp span { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.facet-swap { animation: swapIn 0.4s cubic-bezier(.2,.8,.2,1); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Session flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--fg); }
.step { padding: 26px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-dot { font-family: var(--mono); font-size: 13px; color: var(--brass); margin-bottom: 18px; }
.step-when { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.step h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Meet Jace ---------- */
.meet { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.meet-photo { position: relative; }
.meet-photo .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.meet-photo .badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--navy); color: var(--on-dark);
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg); padding: 16px 20px;
  line-height: 1.1;
}
.meet-photo .badge b { display: block; font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; }
.meet-photo .badge span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin: 28px 0 28px; flex-wrap: wrap; }
.tab {
  border: 0; background: transparent; padding: 0 0 12px; margin-bottom: -1px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg); border-color: var(--brass); }
.tab-panel[hidden] { display: none; }
.tab-panel p { margin-bottom: 16px; font-size: 18px; }
.tab-panel p.big { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; color: var(--fg); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.flip .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split .h2 { margin-bottom: 20px; }
.split p { margin-bottom: 18px; font-size: 18px; }
.split .btn-row { margin-top: 30px; }

/* ---------- Closing CTA ---------- */
.closer { background: var(--navy-2); padding: 96px 0; border-top: 1px solid var(--line-dark); }
.closer .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.closer .h2 { color: var(--on-dark); font-size: clamp(38px, 5vw, 64px); }
.closer p { color: var(--on-dark-soft); font-size: 18px; max-width: 520px; margin-top: 16px; }
.closer .btn-primary { background: var(--on-dark); color: var(--navy); }
.closer .btn-primary:hover { background: var(--white); }
.closer .plane { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--on-dark-soft); padding: 64px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer .brand-name { color: var(--on-dark); }
.footer .brand-name small { color: var(--on-dark-soft); }
.footer .brand-mark { background: var(--on-dark); color: var(--navy); }
.footer h4 { font-family: var(--mono); font-weight: 500; color: var(--on-dark); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-dark); }
.footer-fine { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 80px 0 40px; }
.page-hero .display { font-size: clamp(46px, 6vw, 84px); }
.page-hero .serif-sub { margin-top: 22px; max-width: 720px; }
.wide-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; margin-top: 52px; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Prose (about) */
.prose { max-width: 700px; }
.prose p { font-size: 18.5px; margin-bottom: 22px; color: var(--text); }
.prose p strong { color: var(--fg); }
.prose .pull {
  font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -0.02em;
  color: var(--fg); border-left: 2px solid var(--brass); padding: 4px 0 4px 26px; margin: 44px 0;
}

/* Credentials */
.creds { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
.creds .h2 { margin-bottom: 18px; }
.cred-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-dark); align-items: center; }
.cred-row:last-child { border-bottom: 1px solid var(--line-dark); }
.cred-row .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); }
.cred-row .v { color: var(--on-dark); font-weight: 600; font-size: 18px; }
.cred-row .pills { margin: 0; padding: 0; border: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rack { grid-template-columns: repeat(3, 1fr); }
  .rack-card:nth-child(3) { border-right: 0; }
  .rack-card:nth-child(n+4) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 84px 0; }
  .hero { padding: 40px 0 72px; }
  .hero-grid, .meet, .split, .facet-panel, .creds { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-media { order: 0; }
  .facet-art { min-height: 240px; order: -1; }
  .facet-body { padding: 30px 24px 28px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .meet-photo { max-width: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cred-row { grid-template-columns: 1fr; gap: 8px; }
  .closer .wrap { align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav-inner { height: 64px; gap: 10px; }
  .nav-links { gap: 10px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links > .btn { padding: 10px 14px; font-size: 13px; }
  .brand-name small { display: none; }
  .brand-mark { width: 32px; height: 32px; font-size: 12px; }
  .menu-btn { display: grid !important; }
  .nav-links.open {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
  }
  .nav-links.open a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open .btn { margin-top: 14px; justify-content: center; }
  .rack { grid-template-columns: repeat(6, 60%); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; border-top: 0; }
  .rack::-webkit-scrollbar { display: none; }
  .rack-card { scroll-snap-align: start; border-top: 1px solid var(--fg) !important; }
  .flow { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 0; }
  .flyer-stage { min-height: 360px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 380px) {
  .nav-links > .btn { display: none; }
  .nav-links.open > .btn { display: inline-flex; }
}
.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); place-items: center; color: var(--fg);
}

/* ==========================================================================
   Moore Established homepage
   ========================================================================== */
.brand-name em, .display em, .h2 em { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

/* New here? chooser */
.newhere { position: relative; }
.newhere-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 20;
  width: min(360px, 100%);
  background: var(--navy); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: 8px 0;
  animation: swapIn 0.25s cubic-bezier(.2,.8,.2,1);
}
.newhere-menu[hidden] { display: none; }
.newhere-title { display: block; padding: 12px 20px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); }
.newhere-menu a { display: flex; gap: 16px; align-items: baseline; padding: 13px 20px; text-decoration: none; font-weight: 500; border-top: 1px solid var(--line-dark); transition: background 0.15s; }
.newhere-menu a:hover { background: var(--navy-2); }
.newhere-menu a span { font-family: var(--mono); font-size: 11px; color: var(--brass-light); }
[data-newhere][aria-expanded="true"] .arr { transform: rotate(180deg); }

/* Ticker */
.ticker { background: var(--navy); color: var(--on-dark-soft); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: tick 45s linear infinite; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { width: 28px; height: 1px; background: var(--brass); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Full-bleed photo band */
.band { position: relative; min-height: clamp(340px, 46vw, 560px); display: grid; place-items: center; overflow: hidden; color: var(--on-dark); background: var(--navy); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,23,41,0.35), rgba(11,23,41,0.72)); }
.band blockquote { position: relative; z-index: 1; text-align: center; padding: 0 24px; }
.band blockquote p { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.band cite { display: block; margin-top: 20px; font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); }
.band-tall { place-items: stretch; padding: 120px 0; }
.band-tall::after { background: linear-gradient(90deg, rgba(11,23,41,0.94) 0%, rgba(11,23,41,0.82) 45%, rgba(11,23,41,0.35) 100%); }
.band-body { position: relative; z-index: 1; width: 100%; }
.band-body .h2 { max-width: 640px; margin: 28px 0 18px; }
.band-body > p { max-width: 520px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 34px; max-width: 640px; }
.chips a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 9px 13px; border: 1px solid rgba(242,241,237,0.3); border-radius: var(--radius); color: var(--on-dark); transition: background 0.2s, color 0.2s; }
.chips a:hover { background: var(--on-dark); color: var(--navy); }

/* Runway marker: numbered section divider */
.runway { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 44px; }
.runway span:first-child { color: var(--brass); }
.runway i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--fg) 0 28px, transparent 28px 44px); opacity: 0.85; }
.dark .runway { color: var(--on-dark-soft); }
.dark .runway span:first-child { color: var(--brass-light); }
.dark .runway i { background: repeating-linear-gradient(90deg, var(--on-dark) 0 28px, transparent 28px 44px); opacity: 0.6; max-width: 420px; }

/* Straight & Level */
.sl-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 72px; }
.sl-head .h2 { font-size: clamp(48px, 7vw, 104px); line-height: 0.92; }
.sl-head p { font-size: 19px; max-width: 460px; }
.fan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fan-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px 28px; min-height: 280px; display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.2s; }
.fan.is-in .fan-card:nth-child(1) { transform: rotate(-2deg) translateY(10px); }
.fan.is-in .fan-card:nth-child(3) { transform: rotate(2deg) translateY(10px); }
.fan.is-in .fan-card:hover { transform: none; border-color: var(--fg); }
.fan-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fan-top .soon { color: var(--brass); }
.fan-card h3 { font-size: 30px; font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin: 28px 0 10px; }
.fan-card .ref { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.fan-card p:last-child { margin-top: auto; padding-top: 24px; font-size: 14px; color: var(--muted); }
.coming, .status { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.coming { margin-top: 48px; }
.status { margin-top: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); margin-right: 10px; }

/* Logbook preview */
.logapp { background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); overflow: hidden; }
.logapp-bar { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line-dark); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); }
.logapp-bar span:last-child { color: var(--brass-light); }
.logapp-totals { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-dark); }
.logapp-totals div { padding: 22px; }
.logapp-totals div + div { border-left: 1px solid var(--line-dark); }
.logapp-totals b { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.logapp-totals span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); }
.log-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: baseline; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); border-left: 2px solid transparent; color: var(--on-dark-soft); padding: 15px 22px 15px 20px; transition: background 0.15s, color 0.15s; }
.log-row span, .log-row em { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.06em; }
.log-row b { font-weight: 500; font-size: 15px; }
.log-row:hover { background: var(--navy-2); }
.log-row[aria-selected="true"] { background: var(--navy-2); color: var(--on-dark); border-left-color: var(--brass-light); }
.logapp-detail { padding: 20px 22px 24px; min-height: 96px; font-size: 15px; color: var(--on-dark); }
.logapp-detail span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 6px; }
.logapp-detail [hidden] { display: none; }

/* Doors */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--fg); }
.door { position: relative; display: block; padding: 28px 28px 36px 0; text-decoration: none; color: var(--fg); }
.door + .door { padding-left: 28px; border-left: 1px solid var(--line); }
.door span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 40px; }
.door b { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.03em; line-height: 1.05; }
.door i { position: absolute; right: 24px; top: 26px; font-style: normal; font-size: 20px; transition: transform 0.2s; }
.door:hover i { transform: translateX(6px); }

@media (max-width: 900px) {
  .sl-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .fan, .doors { grid-template-columns: 1fr; }
  .fan.is-in .fan-card:nth-child(n) { transform: none; }
  .fan-card { min-height: 0; }
  .door, .door + .door { padding: 24px 0 28px; border-left: 0; }
  .door + .door { border-top: 1px solid var(--line); }
  .door span { margin-bottom: 16px; }
  .door i { right: 0; }
  .band-tall { padding: 84px 0; }
  .band-tall::after { background: rgba(11,23,41,0.86); }
  .newhere-menu { width: 100%; }
}


/* Signature */
.signature { display: block; width: 190px; height: auto; margin-top: 28px; }
.prose .signature { width: 220px; margin-top: 36px; }
.dark .signature, .footer .signature { filter: brightness(0) invert(1); opacity: 0.9; }

/* ==========================================================================
   Homepage: atmosphere first
   ========================================================================== */
.home .nav { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; transition: background 0.3s; }
.home .nav.scrolled { background: rgba(11, 23, 41, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line-dark); }
.home .nav .brand-name, .home .nav-links a { color: var(--on-dark); }
.home .nav-links a { opacity: 0.8; }
.home .nav-links a:hover { opacity: 1; color: var(--on-dark); }
.home .nav .brand-mark { background: var(--on-dark); color: var(--navy); }
.home .menu-btn { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }

.atmo { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--navy); }
.atmo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 36s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1.5%); } }
.atmo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,23,41,0.5) 0%, rgba(11,23,41,0.1) 34%, rgba(11,23,41,0.78) 72%, rgba(11,23,41,0.97) 100%); }
.atmo-body { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 36px; }
.atmo .display { color: var(--white); font-size: clamp(60px, 11.5vw, 176px); line-height: 0.9; letter-spacing: -0.045em; }
.atmo-sub { margin-top: 28px; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.015em; color: var(--on-dark); }
.atmo-sub cite, .quiet-cite { font-family: var(--mono); font-style: normal; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.atmo-sub cite { margin-left: 14px; vertical-align: 0.3em; }
.atmo-in { margin-top: 10px; font-size: 18px; color: var(--on-dark-soft); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid rgba(242,241,237,0.28); }
.tiles a { display: block; padding: 20px 20px 22px 0; text-decoration: none; color: var(--on-dark); position: relative; transition: padding 0.25s; }
.tiles a + a { padding-left: 20px; border-left: 1px solid rgba(242,241,237,0.16); }
.tiles a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--brass-light); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.tiles a:hover::before { transform: scaleX(1); }
.tiles b { display: block; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.015em; }
.tiles span { font-size: 14px; color: var(--on-dark-soft); }

/* Intro that lights up as you scroll */
.say { padding: 150px 0 140px; }
.say p { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.03em; max-width: 1040px; color: var(--fg); }
.say p span { opacity: 0.14; transition: opacity 0.35s; }
.say p span.on { opacity: 1; }
.say-foot { display: inline-block; margin-top: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Rooms */
.rooms { display: flex; gap: 8px; height: 540px; }
.room { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); text-decoration: none; background: var(--navy); transition: flex 0.6s cubic-bezier(.2,.8,.2,1); }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,23,41,0.05) 30%, rgba(11,23,41,0.9) 100%); }
.room-body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; }
.room-body span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.room-body b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1.05; margin-top: 8px; white-space: nowrap; }
.room-body p { max-width: 340px; margin-top: 10px; font-size: 16px; color: rgba(255,255,255,0.82); opacity: 0; max-height: 0; transition: opacity 0.4s, max-height 0.4s; }
.room:hover, .rooms:not(:hover) .room:first-child { flex: 2.3; }
.room:hover img { transform: scale(1.04); }
.room:hover .room-body p, .rooms:not(:hover) .room:first-child .room-body p { opacity: 1; max-height: 80px; }

/* Straight & Level */
.level { background: var(--navy); padding: 130px 0 120px; }
.level-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.level .h2 { font-size: clamp(52px, 8vw, 120px); line-height: 0.9; margin-bottom: 30px; }
.level-grid p { font-size: 19px; max-width: 480px; }
.ai-wrap { justify-self: center; text-align: center; }
.ai { width: min(340px, 78vw); height: auto; display: block; }
.ai-read { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); transition: color 0.3s; min-height: 1.4em; }
.ai-read.ok { color: var(--brass-light); }
.entries { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; border-top: 1px solid rgba(242,241,237,0.4); }
.entries article { padding: 24px 28px 6px 0; }
.entries article + article { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.entries span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); }
.entries h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 34px 0 12px; }
.entries p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-light) !important; }

.quiet-cite { display: block; margin-top: 10px; }
.band-body .label { margin-bottom: 0; }

/* Stay */
.stay { padding: 130px 0 120px; }
.stay-line { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(36px, 5.6vw, 80px); letter-spacing: -0.03em; line-height: 1; color: var(--fg); margin-bottom: 72px; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .tiles a:nth-child(3) { padding-left: 0; border-left: 0; }
  .tiles a:nth-child(n+3) { border-top: 1px solid rgba(242,241,237,0.16); }
  .say { padding: 96px 0 90px; }
  .rooms { flex-direction: column; height: auto; }
  .room, .room:hover, .rooms:not(:hover) .room:first-child { flex: none; height: 250px; }
  .room-body p { opacity: 1; max-height: 80px; }
  .level { padding: 90px 0 84px; }
  .level-grid { grid-template-columns: 1fr; gap: 48px; }
  .entries { grid-template-columns: 1fr; margin-top: 64px; }
  .entries article, .entries article + article { padding: 22px 0; border-left: 0; }
  .entries article + article { border-top: 1px solid var(--line-dark); }
  .entries h3 { margin-top: 14px; }
  .stay { padding: 90px 0 84px; }
  .stay-line { margin-bottom: 44px; }
}
@media (max-width: 720px) {
  .home .nav-links.open { background: var(--navy); border-color: var(--line-dark); }
  .home .nav-links.open a:not(.btn) { border-color: var(--line-dark); }
}

.atmo { min-height: min(100svh, 1100px); }
.room-body b { white-space: normal; }
.band-body .plane-note { margin-top: 14px; font-size: 16px; color: var(--on-dark-soft); }
.plane-note em { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 19px; color: var(--on-dark); margin-right: 6px; }

/* ==========================================================================
   Readability pass: larger text, stronger contrast, fewer small labels
   ========================================================================== */
:root { --on-dark-soft: rgba(242, 241, 237, 0.86); --muted: #555d69; }
body { font-size: 19px; line-height: 1.55; }
h1, h2, h3 { text-wrap: balance; }
.h2 { letter-spacing: -0.022em; line-height: 1.06; }
.label { font-size: 13.5px; letter-spacing: 0.12em; color: var(--text); margin-bottom: 22px; }
.dark .label { color: var(--on-dark); }

.split p, .level-grid p, .tab-panel p, .band-body > p { font-size: 22px; line-height: 1.45; max-width: 520px; }
.split .h2, .meet .h2 { margin-bottom: 22px; }
.plane-note, .band-body .plane-note { margin-top: 16px; font-size: 18px !important; color: var(--muted); }
.plane-note em { color: var(--fg); font-size: 22px; font-weight: 600; }
.dark .plane-note { color: var(--on-dark-soft); }
.dark .plane-note em { color: var(--on-dark); }
.btn { font-size: 16px; padding: 17px 26px; }
.status { font-size: 13px; margin-top: 22px; }

.nav-links a { font-size: 16px; }
.home .nav-links a { opacity: 0.95; }

.atmo-sub { font-size: clamp(22px, 2.4vw, 32px); }
.atmo-sub cite { font-size: 13px; }
.atmo-in { font-size: clamp(19px, 1.7vw, 23px); color: var(--on-dark); margin-top: 14px; max-width: 640px; }
.atmo::after { background: linear-gradient(180deg, rgba(11,23,41,0.55) 0%, rgba(11,23,41,0.2) 30%, rgba(11,23,41,0.86) 68%, rgba(11,23,41,0.98) 100%); }
.tiles { margin-top: 56px; }
.tiles b { font-size: 23px; }
.tiles span { font-size: 16px; color: var(--on-dark-soft); }

.level .h2 { font-size: clamp(46px, 6.4vw, 96px); line-height: 0.96; }
.ai-read { font-size: 13.5px; }
.entries span { font-size: 13px; }
.entries h3 { font-size: 30px; margin: 28px 0 12px; }
.entries p { font-size: 14px; }

.logapp-bar, .logapp-totals span, .logapp-detail span { font-size: 12.5px; }
.log-row b { font-size: 17px; }
.log-row span, .log-row em { font-size: 14px; }
.logapp-detail { font-size: 17px; }

.meet .h2 { font-size: clamp(32px, 3.6vw, 50px); }
.footer { font-size: 16px; }
.footer h4 { font-size: 12.5px; }

@media (max-width: 720px) {
  body { font-size: 18px; }
  .split p, .level-grid p, .tab-panel p { font-size: 20px; }
  .tiles b { font-size: 20px; }
  .tiles span { font-size: 15px; }
}


/* ==========================================================================
   Unity pass: contact-sheet hero, all-navy page, one device per section
   ========================================================================== */
.unity { background:var(--navy); color:var(--on-dark); }
.unity .nav.scrolled { background:rgba(11,23,41,.94); }
.brand-lock { font-size:19px; letter-spacing:-.02em; white-space:nowrap; }
.brand-lock b { font-weight:800; }
.brand-lock em { font-weight:400; font-style:italic; margin-left:.14em; }

/* Hero: contact sheet */
.hero-c { position:relative; height:100vh; height:100svh; min-height:620px; max-height:1100px; overflow:hidden; background:var(--navy); }
.sheet { position:absolute; inset:0; display:grid; grid-template-columns:repeat(6,1fr); grid-template-rows:repeat(4,1fr); gap:3px;
         filter:grayscale(1) sepia(1) hue-rotate(178deg) saturate(1.15) brightness(.78) contrast(1.05); }
.sheet div { background-size:cover; background-position:center; background-color:#13223a; transition:background-image .7s; }
.sheet-shade { position:absolute; inset:0; background:rgba(11,23,41,.58); transition:background 1.2s; }
.hero-c.landed .sheet-shade { background:linear-gradient(180deg, rgba(11,23,41,.7), rgba(11,23,41,.5) 34%, rgba(11,23,41,.97) 80%); }
.hero-c .lock { position:absolute; left:32px; right:32px; top:45%; transform:translateY(-50%); text-align:center; white-space:nowrap;
                font-family:var(--display); font-size:clamp(30px, 9.4vw, 158px); line-height:1; color:#fff; text-shadow:0 2px 40px rgba(11,23,41,.9); }
.hero-c .lock .m { font-weight:800; letter-spacing:-.035em; }
.hero-c .lock em { font-weight:400; font-style:italic; letter-spacing:-.03em; margin-left:.12em; }
.hero-after { position:absolute; left:32px; right:32px; bottom:34px; transition:opacity .9s .3s, transform .9s .3s cubic-bezier(.2,.8,.2,1); }
.hero-c.playing .hero-after { opacity:0; transform:translateY(26px); pointer-events:none; }
.hero-after .sub { text-align:center; font-family:var(--display); font-weight:500; font-size:clamp(19px,2vw,27px); color:var(--on-dark); }
.hero-after .sub cite { font-family:var(--mono); font-style:normal; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--brass-light); margin-left:14px; vertical-align:.25em; }
.hero-after .tiles { margin-top:40px; }

/* Sections */
.u { padding:150px 0; position:relative; border-top:1px solid var(--line-dark); }
.u-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.u-grid-photo { grid-template-columns:.8fr 1.2fr; }
.u-head { max-width:820px; margin-bottom:72px; }
.pair { font-family:var(--display); font-size:clamp(40px, 6.6vw, 104px); line-height:.95; letter-spacing:-.035em; color:#fff; margin-bottom:30px; white-space:nowrap; }
.pair b { font-weight:800; }
.pair em { font-weight:400; font-style:italic; letter-spacing:-.03em; margin-left:.14em; }
.lead { font-family:var(--display); font-weight:600; font-size:clamp(24px, 2.6vw, 36px); line-height:1.15; letter-spacing:-.02em; color:#fff; max-width:600px; margin-bottom:18px; text-wrap:balance; }
.u .body { font-size:21px; line-height:1.5; color:var(--on-dark-soft); max-width:520px; }
.u .plane-note { color:var(--on-dark-soft); }
.u .plane-note em { color:var(--on-dark); }
.u .btn-row { margin-top:34px; }
.u .btn-primary { background:var(--on-dark); color:var(--navy); }
.u .btn-primary:hover { background:#fff; }
.u .btn-ghost { border-color:rgba(242,241,237,.5); color:var(--on-dark); }
.u .btn-ghost:hover { background:var(--on-dark); color:var(--navy); }
.u .status { border-color:var(--line-dark); color:var(--on-dark-soft); margin-top:26px; }
.u .signature { filter:brightness(0) invert(1); opacity:.92; margin-top:30px; }

/* Flight Instruction: route */
.route svg { width:100%; height:auto; display:block; overflow:visible; }
.route-t { font-family:var(--mono); font-size:11px; letter-spacing:.16em; fill:rgba(242,241,237,.8); }
.route-plane { transform-box:fill-box; }

/* Devotional: windows */
.windows { display:grid; grid-template-columns:repeat(3,1fr); gap:44px; }
.win { text-align:center; }
.win-glass { aspect-ratio:3 / 4; max-width:300px; margin:0 auto 30px; border-radius:120px; background-size:cover; background-position:center; background-color:#13223a;
             box-shadow:0 0 0 10px #13223a, 0 0 0 11px rgba(242,241,237,.16), inset 0 0 60px rgba(11,23,41,.7);
             filter:grayscale(1) sepia(1) hue-rotate(178deg) saturate(1.15) brightness(.85) contrast(1.05); transition:filter .7s, transform .5s cubic-bezier(.2,.8,.2,1); }
.win:hover .win-glass { filter:none; transform:translateY(-8px); }
.win span { font-family:var(--mono); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--on-dark-soft); }
.win h3 { font-size:28px; font-weight:700; letter-spacing:-.025em; line-height:1.1; color:#fff; margin:12px 0 10px; }
.win p { font-family:var(--mono); font-size:13.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--brass-light); }

/* Logbook: split-flap board */
.board { background:#060e1b; border:1px solid var(--line-dark); border-radius:10px; padding:22px 24px 6px; font-family:var(--mono); }
.board-top { display:flex; justify-content:space-between; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--on-dark-soft); padding-bottom:18px; }
.board-top span:last-child { color:var(--brass-light); }
.board-row { display:flex; gap:14px; padding:5px 0; }
.flap { display:inline-flex; gap:2px; font-size:clamp(11px, 1.4vw, 19px); }
.flap i { position:relative; display:inline-grid; place-items:center; width:1.18em; height:1.7em; background:#16263f; border-radius:3px; font-style:normal; color:var(--on-dark); }
.flap i::after { content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:rgba(0,0,0,.6); }
.board-foot { display:grid; grid-template-columns:repeat(3,1fr); margin-top:20px; border-top:1px solid var(--line-dark); }
.board-foot div { padding:18px 0 16px; }
.board-foot div + div { padding-left:22px; border-left:1px solid var(--line-dark); }
.board-foot b { display:block; font-family:var(--display); font-size:34px; font-weight:800; letter-spacing:-.03em; line-height:1; color:#fff; }
.board-foot span { font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--on-dark-soft); }

/* About Jace */
.jace-photo { border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4 / 5; max-width:460px; }
.jace-photo img { width:100%; height:100%; object-fit:cover; object-position:50% 20%; }

@media (max-width:900px) {
  .hero-c .lock, .hero-after { left:16px; right:16px; }
  .hero-c .lock { top:34%; }
  .sheet { grid-template-columns:repeat(4,1fr); grid-template-rows:repeat(6,1fr); }
  .hero-after .sub cite { display:block; margin:8px 0 0; }
  .hero-after .tiles { margin-top:26px; }
  .u { padding:96px 0; }
  .u-grid, .u-grid-photo { grid-template-columns:1fr; gap:48px; }
  .u-head { margin-bottom:48px; }
  .windows { grid-template-columns:1fr; gap:56px; }
  .win-glass { max-width:240px; }
  .board { padding:18px 14px 4px; }
  .board-row { gap:8px; }
  .u .body { font-size:19px; }
}

.u-grid > * { min-width:0; }
.flap { font-size:clamp(10.5px, 1.15vw, 16px); }
.board-row { gap:10px; }
@media (max-width:900px) { .flap { font-size:clamp(9.5px, 2.9vw, 16px); } .board-row { gap:6px; } }
.u-grid .pair { font-size:clamp(36px, 5vw, 76px); white-space:normal; }
@media (max-width:560px) { .board-row .flap:first-child { display:none; } .flap { font-size:clamp(10px, 3vw, 16px); } .board-row { justify-content:space-between; } }

/* Devotional: a book whose pages turn */
.book { perspective:1800px; }
.book-pages { position:relative; aspect-ratio:4 / 5; max-width:400px; margin:0 auto; }
.page { position:absolute; inset:0; display:flex; flex-direction:column; background:#f3efe5; color:#142236; border-radius:3px 12px 12px 3px; padding:44px 40px 34px 46px;
        transform-origin:left center; backface-visibility:hidden; -webkit-backface-visibility:hidden;
        box-shadow:inset 16px 0 22px -16px rgba(20,34,54,.45), 0 26px 60px -24px rgba(0,0,0,.7);
        transition:transform 1s cubic-bezier(.6,0,.2,1), box-shadow 1s; }
.page.turned { transform:rotateY(-178deg); pointer-events:none; box-shadow:none; }
.page::before { content:""; position:absolute; top:-8px; right:46px; width:20px; height:84px; background:var(--brass); clip-path:polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.page span { font-family:var(--mono); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:#6a717c; }
.page h3 { font-family:var(--display); font-weight:800; font-size:clamp(30px, 3vw, 42px); line-height:1.02; letter-spacing:-.03em; color:#0e1a2b; margin:auto 0 16px; max-width:8.5em; }
.page .ref { font-family:var(--mono); font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:#8a6420; padding-top:16px; border-top:1px solid rgba(20,34,54,.18); }
.page i { align-self:flex-end; margin-top:26px; font-family:var(--mono); font-style:normal; font-size:12.5px; letter-spacing:.14em; color:#6a717c; }
.book-nav { display:flex; justify-content:center; align-items:center; gap:22px; margin-top:34px; font-family:var(--mono); font-size:13px; letter-spacing:.14em; color:var(--on-dark-soft); }
.book-nav button { width:46px; height:46px; border-radius:50%; background:transparent; border:1px solid rgba(242,241,237,.4); color:var(--on-dark); font-size:18px; transition:background .2s, color .2s; }
.book-nav button:hover { background:var(--on-dark); color:var(--navy); }

/* Logbook sample sits on the navy page */
.u .logapp { background:#060e1b; border:1px solid var(--line-dark); }
.u .body + .body { margin-top:14px; }
@media (max-width:900px) { .book-pages { max-width:320px; } .page { padding:36px 30px 28px 36px; } }

.plane-note a { color:inherit; text-underline-offset:4px; }
.plane-note a:hover { color:#fff; }

/* Heading pairs wrap as two units, with no indent on the second line */
.pair { display:flex; flex-wrap:wrap; column-gap:.14em; align-items:baseline; }
.pair em { margin-left:0 !important; }
.hero-after .tiles span { color:var(--brass-light); }

/* Section label above an "Established IN ..." heading */
.u .label { color:var(--on-dark); font-size:14px; letter-spacing:.14em; margin-bottom:22px; }
.u .label::before { background:var(--brass-light); }

/* Hero landing: the lower gradient and the tagline/tiles fade in together, nothing snaps */
.hero-c.landed .sheet-shade { background:rgba(11,23,41,.58); }
.sheet-shade::after { content:""; position:absolute; inset:0; opacity:0; transition:opacity 1.8s ease;
  background:linear-gradient(180deg, rgba(11,23,41,.28), rgba(11,23,41,0) 34%, rgba(11,23,41,.95) 80%); }
.hero-c.landed .sheet-shade::after { opacity:1; }
.hero-after { transition:opacity 1.8s ease, transform 1.8s cubic-bezier(.2,.8,.2,1); }
.sheet div { transition:none; }
.hero-c.landed .sheet div { transition:background-image 1.2s; }

/* ==========================================================================
   Inner pages in the navy style
   ========================================================================== */
.u-top { padding-top:190px; border-top:0; }
.u-narrow { display:grid; justify-items:center; }
.lead-xl { font-size:clamp(30px, 3.6vw, 52px); line-height:1.06; max-width:760px; margin-bottom:0; }
.u-grid .lead-xl { margin-bottom:22px; }
.u-head .label, .u-grid .label { display:flex; }
.u-photo { border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4 / 3; }
.u-photo img { width:100%; height:100%; object-fit:cover; }
.tinted img, .unity .facet-art img { filter:grayscale(1) sepia(1) hue-rotate(178deg) saturate(1.15) brightness(.85) contrast(1.05); transition:filter .7s; }
.tinted:hover img, .unity .facet-panel:hover .facet-art img { filter:none; }
.unity .nav-links a[aria-current="page"] { box-shadow:inset 0 -1px 0 var(--brass-light); opacity:1; }

.unity .rack { border-top-color:rgba(242,241,237,.5); }
.unity .rack-card { color:var(--on-dark-soft); border-right-color:var(--line-dark); }
.unity .rack-card:hover, .unity .rack-card[aria-selected="true"] { color:#fff; }
.unity .rack-card .num { color:var(--on-dark-soft); }
.unity .rack-card[aria-selected="true"] .num, .unity .rack-card::before { color:var(--brass-light); }
.unity .rack-card::before { background:var(--brass-light); }
.unity .facet-panel { background:#060e1b; border-color:var(--line-dark); margin-top:10px; }
.unity .facet-body .h2 { color:#fff; }
.unity .facet-body p { color:var(--on-dark-soft); font-size:19px; }
.unity .checks { border-top-color:var(--line-dark); }
.unity .checks li { color:var(--on-dark); border-bottom-color:var(--line-dark); }
.unity .checks li::before { color:var(--brass-light); }
.unity .facet-art .stamp { background:#060e1b; }

.unity .flow { border-top-color:rgba(242,241,237,.5); }
.unity .step + .step { border-left-color:var(--line-dark); border-top-color:var(--line-dark); }
.unity .step:nth-child(n+3) { border-top-color:var(--line-dark); }
.unity .step h3 { color:#fff; }
.unity .step p, .unity .step-when { color:var(--on-dark-soft); }
.unity .step-dot { color:var(--brass-light); }

.unity .prose p { color:var(--on-dark-soft); }
.unity .prose .pull { color:#fff; border-left-color:var(--brass-light); }
.unity .creds .body { margin-top:14px; }
@media (max-width:900px) { .u-top { padding-top:130px; } .unity .rack-card { border-top-color:rgba(242,241,237,.5) !important; } }

/* Desktop: content at 75% scale (matches the site viewed at 75% browser zoom). Phones stay full size. */
@media (min-width:901px) {
  .unity .u > .wrap, .unity .footer > .wrap, .unity .hero-after, .unity .nav-inner { zoom:.75; }
  .unity .u { padding:112px 0; }
  .unity .u-top { padding-top:150px; }
}

/* Swag: a small strip that drifts along, pauses on hover, and scrolls by hand */
.unity .swag { padding:84px 0 96px; }
.pair-sm { font-size:clamp(30px, 3.6vw, 54px) !important; margin-bottom:0; }
.swag-track { display:flex; gap:16px; margin-top:38px; padding:6px 9vw 10px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; -ms-overflow-style:none; cursor:grab;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%); mask-image:linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%); }
.swag-track::-webkit-scrollbar { display:none; }
.swag-track:focus-visible { outline:1px solid var(--brass-light); outline-offset:4px; }
.swag-card { flex:0 0 200px; scroll-snap-align:start; background:#101d33; border:1px solid var(--line-dark); border-radius:var(--radius-lg); padding:16px 16px 18px; transition:border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.swag-card:hover { border-color:rgba(242,241,237,.45); transform:translateY(-4px); }
.swag-art { aspect-ratio:1; display:grid; place-items:center; background:var(--navy); border-radius:var(--radius); margin-bottom:14px; color:var(--on-dark); }
.swag-art svg { width:62%; height:auto; }
.swag-card b { display:block; font-family:var(--display); font-weight:700; font-size:18px; letter-spacing:-.015em; color:#fff; }
.swag-card span { font-family:var(--mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--brass-light); }
@media (min-width:901px) { .unity .swag-track { zoom:.75; } }
@media (max-width:900px) { .swag-card { flex-basis:160px; } .swag-track { padding-left:20px; padding-right:20px; } }

/* Two-column sections: text and its companion sit closer together */
.unity .u-grid { gap:44px; max-width:1040px; margin-left:auto; margin-right:auto; }
.unity .u-grid-photo { gap:52px; }
.unity .u-grid .book-pages { margin-left:0; }
.unity .u-grid .book-nav { justify-content:flex-start; max-width:400px; padding-left:118px; }
@media (max-width:900px) { .unity .u-grid { gap:40px; } .unity .u-grid .book-pages { margin:0 auto; } .unity .u-grid .book-nav { justify-content:center; max-width:none; padding-left:0; } }
.swag-card { flex-basis:232px; }
.swag-track { padding-left:4vw; padding-right:4vw; }
@media (max-width:900px) { .swag-card { flex-basis:160px; } }

/* Swag arrows */
.swag-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; }
.swag-nav { display:flex; gap:10px; }
.swag-nav button { width:52px; height:52px; border-radius:50%; background:transparent; border:1px solid rgba(242,241,237,.4); color:var(--on-dark); font-size:20px; transition:background .2s, color .2s; }
.swag-nav button:hover { background:var(--on-dark); color:var(--navy); }

/* Five hero tiles */
.hero-after .tiles { grid-template-columns:repeat(5,1fr); }
@media (max-width:900px) { .hero-after .tiles { grid-template-columns:1fr 1fr; } .hero-after .tiles a:nth-child(5) { padding-left:0; border-left:0; grid-column:1 / -1; } .hero-after .tiles a { padding-top:12px; padding-bottom:8px; } }

/* Flight section: the path sits right beside the text instead of in a far half */
@media (min-width:901px) {
  .unity .u-grid:has(> .route) { grid-template-columns:minmax(0, 430px) minmax(0, 470px); justify-content:start; gap:20px; }
}
