/* Operation Wake starter site */
:root {
  --navy: #061927;
  --navy-soft: #0d2d3d;
  --teal: #1eb8b7;
  --gold: #f2a51a;
  --sand: #f3eee5;
  --white: #ffffff;
  --ink: #13222b;
  --muted: #65727a;
  --line: rgba(255,255,255,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: "Inter", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 70px);
  color: white;
  background: linear-gradient(to bottom, rgba(3,15,24,.88), rgba(3,15,24,.12));
  backdrop-filter: blur(5px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand img { width: 54px; height: 54px; border-radius: 50%; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links a { opacity: .82; }
.nav-links a:hover { opacity: 1; color: var(--gold); }

.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  font-size: 1.7rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 50% 78%, rgba(242,165,26,.2), transparent 28%),
    linear-gradient(160deg, #0e4154 0%, #061927 50%, #020a10 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(1,8,13,.7), transparent 50%),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.3) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(550px) rotateX(67deg) translateY(40%);
  transform-origin: center bottom;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 90%);
  padding-top: 70px;
  text-align: center;
}

.hero-logo {
  width: clamp(170px, 24vw, 280px);
  margin: 18px auto 26px;
  filter: drop-shadow(0 25px 30px rgba(0,0,0,.38));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .24em;
}

.eyebrow.dark { color: #a86400; }

h1, h2, h3 {
  margin-top: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .86;
  letter-spacing: -.02em;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: .2s ease;
}

.button-primary {
  color: #07141d;
  background: var(--gold);
}
.button-primary:hover { transform: translateY(-2px); background: #ffc14d; }

.button-secondary {
  color: white;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
}
.button-secondary:hover { border-color: white; background: rgba(255,255,255,.1); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .65rem;
  letter-spacing: .22em;
  transform: translateX(-50%);
}

.scroll-line { width: 1px; height: 40px; background: linear-gradient(white, transparent); }

.section { padding: clamp(75px, 10vw, 140px) clamp(22px, 7vw, 100px); }
.section-light { background: var(--sand); }
.section-dark { color: white; background: var(--navy); }

.section-heading { max-width: 900px; margin-bottom: 54px; }
.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: .95;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.mission-copy {
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.8;
}

.mission-card {
  position: relative;
  padding: 35px;
  color: white;
  background: var(--navy-soft);
  box-shadow: 18px 18px 0 var(--gold);
}

.card-number, .progress-grid article > span {
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.mission-card h3, .progress-grid h3, .video-placeholder h3 {
  margin: 16px 0 10px;
  font-size: 2rem;
}

.mission-card p, .progress-grid p { margin-bottom: 0; line-height: 1.7; opacity: .78; }

.countdown-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(30,184,183,.1), rgba(255,255,255,.02));
}

.status-pill {
  display: inline-block;
  padding: 7px 10px;
  color: var(--gold);
  border: 1px solid rgba(242,165,26,.45);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.countdown-copy h3 { margin: 20px 0 10px; font-size: clamp(2.3rem, 4vw, 4rem); }
.countdown-copy p { margin: 0; color: rgba(255,255,255,.66); line-height: 1.7; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown div {
  padding: 28px 10px;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.16);
}

.countdown strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
}

.countdown span {
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.progress-grid article {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  max-width: none;
}

.text-link {
  color: #a86400;
  font-weight: 700;
  white-space: nowrap;
}

.video-placeholder {
  min-height: 430px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: end;
  padding: clamp(30px, 6vw, 70px);
  color: white;
  background:
    linear-gradient(to top, rgba(2,10,16,.95), rgba(2,10,16,.1)),
    radial-gradient(circle at 70% 30%, rgba(30,184,183,.35), transparent 30%),
    linear-gradient(135deg, #185068, #071823);
}

.play-button {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
}

.video-placeholder p { color: rgba(255,255,255,.7); }
.video-placeholder h3 { font-size: clamp(2rem, 4vw, 4rem); margin-bottom: 6px; }

.support-section {
  color: white;
  text-align: center;
  background:
    linear-gradient(rgba(3,17,27,.87), rgba(3,17,27,.96)),
    radial-gradient(circle at center, rgba(30,184,183,.35), transparent 50%),
    var(--navy);
}

.support-content { max-width: 850px; margin: auto; }
.support-content h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .95;
}
.support-content > p {
  margin: 0 auto 32px;
  max-width: 720px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 28px clamp(22px, 7vw, 100px);
  color: rgba(255,255,255,.62);
  background: #020b11;
  font-size: .82rem;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong {
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  letter-spacing: .1em;
}
.footer-brand span { margin-top: 2px; }

@media (max-width: 850px) {
  .nav-links {
    position: absolute;
    top: 85px;
    right: 20px;
    display: none;
    flex-direction: column;
    width: 220px;
    padding: 22px;
    color: white;
    background: rgba(3,17,27,.98);
    border: 1px solid rgba(255,255,255,.12);
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .mission-grid,
  .countdown-panel,
  .progress-grid {
    grid-template-columns: 1fr;
  }

  .countdown { grid-template-columns: repeat(2, 1fr); }
  .split-heading { align-items: start; flex-direction: column; }
}

/* Safety fix: "Expedition Library" is long enough to crowd the header
   just above the mobile-menu breakpoint. Tighten spacing only in that
   narrow band so the horizontal nav never overflows. */
@media (min-width: 851px) and (max-width: 1080px) {
  .nav-links { gap: 16px; font-size: .72rem; }
}

@media (max-width: 560px) {
  .brand span { display: none; }
  .brand img { width: 48px; height: 48px; }
  .site-header { padding: 14px 18px; }

  .hero-content { padding-top: 85px; }
  .hero-logo { width: 170px; }
  h1 { font-size: 3.6rem; }

  .hero-actions { flex-direction: column; }
  .button { width: 100%; }

  .section { padding-left: 20px; padding-right: 20px; }
  .mission-card { box-shadow: 10px 10px 0 var(--gold); }

  .video-placeholder {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 380px;
  }

  footer { align-items: flex-start; flex-direction: column; }
}


/* Inner pages */
.inner-page { background: var(--sand); }

.page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 72% 35%, rgba(30,184,183,.28), transparent 28%),
    linear-gradient(145deg, #0d4257, #061927 55%, #020a10);
}

.story-hero {
  background:
    linear-gradient(to top, rgba(2,10,16,.95), rgba(2,10,16,.25)),
    radial-gradient(circle at 65% 30%, rgba(242,165,26,.22), transparent 28%),
    linear-gradient(145deg, #174e62, #061927 58%, #020a10);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .15;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  padding: 150px clamp(22px, 7vw, 100px) 80px;
}

.page-hero h1 {
  max-width: 950px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: .88;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255,255,255,.76);
  font-size: 1.15rem;
  line-height: 1.75;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(40px, 7vw, 100px);
}

.story-copy {
  font-size: 1.2rem;
  line-height: 1.85;
}

.quote-card {
  padding: 38px;
  color: white;
  background: var(--navy-soft);
  box-shadow: 16px 16px 0 var(--gold);
}

.quote-card > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: .6;
}

.quote-card blockquote {
  margin: 20px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.pillar-grid span {
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
}

.pillar-grid h3 {
  margin: 18px 0 10px;
  font-size: 2rem;
}

.pillar-grid p {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
}

.timeline {
  max-width: 1000px;
  border-left: 2px solid var(--gold);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 0 0 50px 35px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-year {
  color: #a86400;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.timeline h3 { margin-bottom: 8px; font-size: 1.8rem; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.7; }

.coming-soon {
  min-height: 48vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.coming-soon > div { max-width: 760px; }
.coming-soon h2 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.coming-soon p {
  margin: 0 auto 28px;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .story-grid,
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .story-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-hero { min-height: 65vh; }
}


/* Version 1.1 homepage polish */
.site-header {
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(2,11,17,.94);
  box-shadow: 0 10px 35px rgba(0,0,0,.24);
}
.nav-links a.active { color: var(--gold); opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -33vw;
  width: 72vw;
  height: 52vw;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 7vw rgba(255,255,255,.018),
    0 0 0 14vw rgba(255,255,255,.012);
  transform: rotate(-13deg);
}

.hero-status {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
  max-width: 840px;
  margin: 42px auto 0;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(2,11,17,.32);
  backdrop-filter: blur(12px);
}
.hero-status span {
  min-width: 210px;
  flex: 1;
  padding: 15px 18px;
  color: rgba(255,255,255,.68);
  font-size: .76rem;
  letter-spacing: .04em;
}
.hero-status strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .73rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise-in .72s cubic-bezier(.2,.72,.22,1) forwards;
}
.reveal-delay-1 { animation-delay: .10s; }
.reveal-delay-2 { animation-delay: .20s; }
.reveal-delay-3 { animation-delay: .30s; }
.reveal-delay-4 { animation-delay: .42s; }
@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

.dashboard-section {
  color: white;
  background:
    linear-gradient(135deg, rgba(30,184,183,.08), transparent 45%),
    #03121c;
}
.dashboard-intro {
  max-width: 470px;
  margin: 0;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dashboard-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.dashboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242,165,26,.55);
  background: rgba(255,255,255,.045);
}
.dashboard-card-wide {
  grid-column: span 4;
  min-height: 300px;
  background:
    radial-gradient(circle at 82% 25%, rgba(30,184,183,.15), transparent 25%),
    rgba(255,255,255,.025);
}
.dashboard-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(30,184,183,.12);
  animation: signal 2s ease-in-out infinite;
}
@keyframes signal {
  50% { box-shadow: 0 0 0 10px rgba(30,184,183,0); }
}
.dashboard-card h3 {
  margin: 25px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}
.dashboard-card-wide > p {
  max-width: 760px;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
}
.phase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.phase {
  position: relative;
  padding: 20px 12px 0 0;
  color: rgba(255,255,255,.38);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.phase::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #51606a;
}
.phase b {
  display: block;
  margin-bottom: 5px;
  font-size: .72rem;
  letter-spacing: .16em;
}
.phase.active { color: white; }
.phase.active::before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(242,165,26,.13);
}
.metric-label {
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.metric-card strong {
  display: block;
  margin: 32px 0 10px;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: .92;
}
.metric-card p {
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: .84rem;
  line-height: 1.5;
}

.progress-grid article a {
  display: inline-block;
  margin-top: 28px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-on-scroll { opacity: 1; transform: none; }
}

@media (max-width: 850px) {
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-card-wide { grid-column: span 2; }
  .hero-status { max-width: 580px; }
}
@media (max-width: 560px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card-wide { grid-column: span 1; }
  .phase-track {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hero-status { display: none; }
}


/* Operation Wake v2 */
.crew-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(242,165,26,.08), transparent 28%),
    var(--sand);
}
.crew-intro {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.crew-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.crew-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(6,25,39,.12);
  background: rgba(255,255,255,.52);
  transition: transform .2s ease, box-shadow .2s ease;
}
.crew-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(6,25,39,.10);
}
.crew-avatar {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 50%;
  color: white;
  background:
    linear-gradient(135deg, rgba(242,165,26,.88), rgba(30,184,183,.78)),
    var(--navy);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 14px 25px rgba(6,25,39,.16);
}
.crew-card h3 {
  margin-bottom: 8px;
  font-size: 2rem;
}
.crew-card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.mission-progress {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}
.progress-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.progress-row strong { color: var(--gold); }
.progress-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.09);
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 1s cubic-bezier(.2,.7,.2,1);
}

.logbook-section {
  color: white;
  background:
    linear-gradient(135deg, rgba(2,10,16,.94), rgba(6,25,39,.90)),
    var(--navy);
}
.logbook-card {
  display: grid;
  grid-template-columns: .35fr 1fr;
  min-height: 460px;
  border: 1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 82% 20%, rgba(242,165,26,.12), transparent 25%),
    rgba(255,255,255,.025);
}
.logbook-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px;
  border-right: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.46);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.logbook-meta strong {
  color: var(--gold);
  font-size: 1.1rem;
}
.logbook-content {
  max-width: 880px;
  padding: clamp(45px, 7vw, 90px);
}
.logbook-content h2 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .9;
}
.logbook-content > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .crew-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .crew-grid { grid-template-columns: 1fr 1fr; }
  .logbook-card { grid-template-columns: 1fr; }
  .logbook-meta {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
}
@media (max-width: 520px) {
  .crew-grid { grid-template-columns: 1fr; }
  .crew-card { min-height: auto; }
}

/* Mission page additions */
.swap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.swap-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.swap-item .old {
  color: rgba(255,255,255,.4);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,.25);
}
.swap-item .arrow { color: var(--gold); font-size: 1.2rem; }
.swap-item .new {
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.learning-card {
  padding: 30px;
  border: 1px solid rgba(6,25,39,.12);
  background: rgba(255,255,255,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.learning-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(6,25,39,.10);
}
.learning-card .card-number { display: block; margin-bottom: 14px; }
.learning-card h3 { margin: 0 0 10px; font-size: 1.6rem; }
.learning-card p { margin: 0; color: var(--muted); line-height: 1.7; }

@media (max-width: 900px) {
  .learning-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .swap-grid { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: 1fr; }
}

/* Journey page additions */
.content-grid.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.content-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.content-card .card-number {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
}
.content-card h3 { margin: 0 0 10px; font-size: 1.7rem; color: white; }
.content-card p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.7; }

@media (max-width: 750px) {
  .content-grid.three-column-grid { grid-template-columns: 1fr; }
}

.success-box {
  margin-top: 18px;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(242,165,26,.07);
}
.success-box .success-label {
  display: block;
  margin-bottom: 4px;
  color: #a86400;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.success-box p {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.position-card-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.position-card-row strong {
  display: block;
  margin-top: 6px;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  letter-spacing: .04em;
}
/* Support page */
.support-hero {
  min-height: 68vh;
  background:
    linear-gradient(135deg, rgba(2,10,16,.72), rgba(6,25,39,.86)),
    radial-gradient(circle at 80% 25%, rgba(242,165,26,.18), transparent 28%),
    var(--navy);
}
.support-intro {
  border-bottom: 1px solid rgba(6,25,39,.1);
}
.support-intro .split-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.support-paths {
  background:
    radial-gradient(circle at 8% 12%, rgba(30,184,183,.08), transparent 24%),
    var(--sand);
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.support-card {
  position: relative;
  min-height: 540px;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(6,25,39,.12);
  background: rgba(255,255,255,.58);
}
.support-card-primary {
  color: white;
  background:
    radial-gradient(circle at 85% 18%, rgba(242,165,26,.17), transparent 25%),
    linear-gradient(135deg, #03121c, #092334);
}
.support-number {
  position: absolute;
  top: 18px;
  right: 28px;
  color: rgba(6,25,39,.08);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
}
.support-card-primary .support-number {
  color: rgba(255,255,255,.06);
}
.support-card h2 {
  max-width: 560px;
  margin: 18px 0 24px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .94;
}
.support-card > p:not(.eyebrow):not(.support-note) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
}
.support-card-primary > p:not(.eyebrow):not(.support-note) {
  color: rgba(255,255,255,.68);
}
.support-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 34px;
}
.support-note {
  display: block;
  max-width: 620px;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.6;
}
.support-card-primary .support-note {
  color: rgba(255,255,255,.46);
}
.support-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.support-list li {
  position: relative;
  padding: 16px 18px 16px 42px;
  border: 1px solid rgba(6,25,39,.1);
  background: rgba(255,255,255,.48);
}
.support-list li::before {
  content: "→";
  position: absolute;
  left: 17px;
  color: var(--gold);
  font-weight: 800;
}
.support-service {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(6,25,39,.12);
}
.support-service span,
.future-support strong {
  color: var(--teal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.support-service h3 {
  margin: 8px 0;
  font-size: 1.7rem;
}
.support-service p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
.button-dark {
  margin-top: 18px;
  color: white;
  background: var(--navy);
}
.future-support {
  display: grid;
  gap: 12px;
  margin: 30px 0 22px;
}
.future-support > div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(6,25,39,.1);
  background: rgba(255,255,255,.48);
}
.future-support span {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}
.support-closing {
  color: white;
  background:
    linear-gradient(135deg, rgba(2,10,16,.95), rgba(6,25,39,.92)),
    var(--navy);
}
.support-closing-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.support-closing h2 {
  margin: 18px auto 24px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: .92;
}
.support-closing p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
}

@media (max-width: 880px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-card { min-height: auto; }
}
/* =========================================================
   EXPEDITION LIBRARY — V4
   Append this block to the end of style.css
   ========================================================= */

.library-page { background: var(--sand); }

.library-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 150px clamp(22px, 7vw, 100px) 100px;
  color: white;
  background:
    linear-gradient(118deg, rgba(2,11,18,.96), rgba(4,30,43,.82)),
    radial-gradient(circle at 78% 68%, rgba(30,184,183,.2), transparent 34%),
    #061927;
}
.library-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 78%, transparent);
}
.library-hero-glow {
  position: absolute;
  right: -10vw;
  bottom: -30vw;
  width: 68vw;
  height: 68vw;
  border: 1px solid rgba(242,165,26,.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 7vw rgba(242,165,26,.025),
    0 0 0 14vw rgba(30,184,183,.02),
    inset 0 0 120px rgba(30,184,183,.06);
}

.library-compass {
  position: absolute;
  right: clamp(40px, 10vw, 150px);
  top: 50%;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  opacity: .42;
  transform: translateY(-42%) rotate(8deg);
}
.library-compass::before,
.library-compass::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(242,165,26,.12);
  border-radius: 50%;
}
.library-compass::after {
  inset: 48% 8%;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
}
.library-compass span {
  position: absolute;
  top: 3%;
  left: 50%;
  color: rgba(242,165,26,.5);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2em;
  transform: translateX(-50%);
}
.library-compass i {
  position: absolute;
  left: 50%;
  top: 16%;
  width: 1px;
  height: 68%;
  background: linear-gradient(to bottom, rgba(242,165,26,.42), rgba(255,255,255,.04));
  transform: rotate(34deg);
  transform-origin: 50% 50%;
}

.library-hero-content {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
}
.library-hero h1 {
  max-width: 920px;
  margin: 18px 0 28px;
  font-size: clamp(4.4rem, 11vw, 10rem);
  line-height: .78;
}
.library-hero-copy {
  max-width: 720px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.73);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.8;
}
.library-hero .hero-actions { justify-content: flex-start; }
.library-coordinate {
  position: absolute;
  right: clamp(22px, 5vw, 70px);
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.42);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.library-coordinate i { width: 42px; height: 1px; background: var(--gold); }

.library-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}
.library-intro-copy h2 {
  max-width: 850px;
  margin: 14px 0 28px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .9;
}
.library-intro-copy > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}
.library-status {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(6,25,39,.13);
  background: rgba(255,255,255,.48);
  box-shadow: 18px 18px 0 rgba(6,25,39,.07);
}
.library-status-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.library-status-topline strong { color: #087f80; }
.library-progress-track {
  height: 5px;
  margin: 20px 0 30px;
  overflow: hidden;
  background: rgba(6,25,39,.1);
}
.library-progress-track span {
  display: block;
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}
.library-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.library-status-grid div { display: grid; gap: 4px; }
.library-status-grid strong {
  color: var(--navy);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}
.library-status-grid span { color: var(--muted); font-size: .75rem; line-height: 1.4; }
.library-status > p { margin: 28px 0 0; color: var(--muted); font-size: .85rem; }

.library-collections {
  background:
    radial-gradient(circle at 90% 8%, rgba(30,184,183,.12), transparent 26%),
    linear-gradient(145deg, #061927, #031019 78%);
}
.library-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 50px;
  align-items: end;
  max-width: none;
}
.library-heading > p {
  margin: 0 0 8px;
  color: rgba(255,255,255,.58);
  line-height: 1.75;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.library-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  color: white;
  background: #082030;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.library-card:hover { z-index: 2; transform: translateY(-7px); background: #0b293b; box-shadow: 0 22px 50px rgba(0,0,0,.28); }
.library-card::after {
  content: "";
  position: absolute;
  right: -115px;
  bottom: -115px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255,255,255,.018), 0 0 0 80px rgba(255,255,255,.012);
}
.library-card-featured {
  background:
    radial-gradient(circle at 86% 20%, rgba(242,165,26,.18), transparent 25%),
    #102c3d;
}
.library-card-featured::before {
  content: "CURRENT FOCUS";
  position: absolute;
  right: -48px;
  top: 45px;
  padding: 9px 58px;
  color: #07141d;
  background: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  transform: rotate(45deg);
}
.library-card-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.library-index {
  color: rgba(255,255,255,.34);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.library-badge {
  padding: 7px 10px;
  border: 1px solid rgba(30,184,183,.32);
  color: #68dcda;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.library-card-featured .library-badge { border-color: rgba(242,165,26,.42); color: var(--gold); }
.library-icon { margin: 52px 0 24px; font-size: 2.2rem; filter: grayscale(1); opacity: .88; transform-origin: left center; transition: transform .25s ease, filter .25s ease, opacity .25s ease; }
.library-card:hover .library-icon { transform: scale(1.1); filter: grayscale(.25); opacity: 1; }
.library-card h3 { margin: 0 0 16px; font-size: clamp(2.3rem, 4vw, 3.8rem); line-height: .9; }
.library-card > p { max-width: 560px; color: rgba(255,255,255,.62); line-height: 1.75; }
.library-card ul { display: grid; gap: 10px; margin: 26px 0 70px; padding: 0; list-style: none; }
.library-card li { position: relative; padding-left: 18px; color: rgba(255,255,255,.75); font-size: .88rem; }
.library-card li::before { content: "/"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.library-card-link {
  position: absolute;
  left: clamp(28px, 4vw, 48px);
  bottom: 36px;
  z-index: 2;
  color: rgba(255,255,255,.56);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.library-card-link b { margin-left: 8px; color: var(--gold); }

.library-field-note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .35fr) 1fr;
  gap: clamp(36px, 7vw, 100px);
  overflow: hidden;
  background: var(--sand);
}
.field-note-number {
  padding-top: 14px;
  border-top: 2px solid var(--gold);
  color: #9a6200;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.field-note-copy h2 { max-width: 900px; margin: 14px 0 26px; font-size: clamp(3rem, 6vw, 6.3rem); line-height: .9; }
.field-note-copy > p:last-child { max-width: 780px; color: var(--muted); font-size: 1.07rem; line-height: 1.85; }

.library-academy {
  position: relative;
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: clamp(35px, 7vw, 95px);
  align-items: center;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(135deg, rgba(30,184,183,.11), transparent 55%),
    #0b2b3a;
}
.academy-mark {
  display: grid;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: rgba(255,255,255,.09);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 800;
  box-shadow: 0 0 0 30px rgba(255,255,255,.018), 0 0 0 60px rgba(255,255,255,.012);
}
.academy-copy h2 { margin: 12px 0 22px; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .88; }
.academy-copy > p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.66); line-height: 1.8; }
.academy-status {
  display: inline-block;
  margin-top: 22px;
  padding: 9px 12px;
  border: 1px solid rgba(242,165,26,.4);
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.library-closing {
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, rgba(242,165,26,.13), transparent 32%),
    #020b11;
}
.library-closing > div { max-width: 980px; margin: 0 auto; }
.library-closing h2 { margin: 16px auto 26px; font-size: clamp(3.5rem, 8vw, 7.4rem); line-height: .86; }
.library-closing p:not(.eyebrow) { max-width: 760px; margin: 0 auto 34px; color: rgba(255,255,255,.65); line-height: 1.8; }

@media (max-width: 900px) {
  .library-intro,
  .library-heading,
  .library-academy { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card { min-height: 535px; }
  .academy-mark { width: 220px; }
}

@media (max-width: 620px) {
  .library-hero { min-height: 82vh; padding-top: 125px; }
  .library-hero h1 { font-size: clamp(4rem, 21vw, 6.8rem); }
  .library-coordinate,
  .library-compass { display: none; }
  .library-status-grid { gap: 8px; }
  .library-status-grid strong { font-size: 2rem; }
  .library-field-note { grid-template-columns: 1fr; }
  .library-card { min-height: 550px; }
  .library-card-featured::before { display: none; }
}

/* ===== LIVE CROWDFUNDING INTEGRATION ===== */
.button-quiet {
  color: rgba(255,255,255,.8);
  border-color: transparent;
  background: transparent;
}
.button-quiet:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.funding-card,
.membership-card {
  position: relative;
  overflow: hidden;
}

.funding-card::after,
.membership-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 70px rgba(255,255,255,.018);
  pointer-events: none;
}

.membership-card::after {
  border-color: rgba(6,25,39,.1);
  box-shadow: 0 0 0 35px rgba(6,25,39,.025), 0 0 0 70px rgba(6,25,39,.018);
}

.funding-badge {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(0,0,0,.18);
}

.funding-badge strong {
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: .14em;
}

.funding-badge span {
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.5;
}

.funding-badge-light {
  border-left-color: var(--teal);
  background: rgba(6,25,39,.055);
}
.funding-badge-light strong { color: #087f80; }
.funding-badge-light span { color: var(--muted); }

.support-card .button {
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

@media (max-width: 560px) {
  .support-section .hero-actions { gap: 10px; }
  .button-quiet { width: 100%; }
}
