/* =====================================================
   THE QUIET WILL — Design System
   Palette: Near-black obsidian surfaces / amber + rust accent / cold slate secondary
   Tone: Austere, cinematic, intentional
   ===================================================== */

/* GOOGLE FONTS PRECONNECT */
/* Loaded in HTML head */

:root {
  /* ── Type Scale ── */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* ── Spacing ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Content Widths ── */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* ── Radius ── */
  --radius-sm:   0.25rem;
  --radius-md:   0.375rem;
  --radius-lg:   0.5rem;
  --radius-full: 9999px;

  /* ── Easing ── */
  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:          cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out:      cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Fonts ── */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Work Sans', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ── DARK MODE (default — this site is always dark) ── */
:root,
[data-theme='dark'] {
  /* Surfaces — deep obsidian */
  --color-bg:              #0c0b09;
  --color-surface:         #111009;
  --color-surface-2:       #161410;
  --color-surface-offset:  #1a1814;
  --color-surface-dynamic: #211f1a;
  --color-divider:         #2a2720;
  --color-border:          #333028;

  /* Text */
  --color-text:         #e8e4dc;
  --color-text-muted:   #8a877e;
  --color-text-faint:   #504d46;
  --color-text-inverse: #0c0b09;

  /* Amber — the expedition's fire accent */
  --color-primary:           #c87533;
  --color-primary-hover:     #e08540;
  --color-primary-active:    #f59550;
  --color-primary-highlight: #2a1e10;

  /* Slate — cold sky secondary */
  --color-secondary:         #4a6b7a;
  --color-secondary-hover:   #5c7f90;

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.4);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.6);
}

/* ── LIGHT MODE (minimal support — site is built for dark) ── */
[data-theme='light'] {
  --color-bg:              #f5f2ec;
  --color-surface:         #f9f7f2;
  --color-surface-2:       #fdfcfa;
  --color-surface-offset:  #ede9e1;
  --color-surface-dynamic: #e5e0d6;
  --color-divider:         #d8d2c6;
  --color-border:          #cbc4b6;
  --color-text:            #1a1713;
  --color-text-muted:      #6b655a;
  --color-text-faint:      #b5ae9f;
  --color-text-inverse:    #f9f7f2;
  --color-primary:         #a35a1f;
  --color-primary-hover:   #8c4c18;
  --color-primary-active:  #723d12;
  --color-primary-highlight: #f0dcc8;
  --color-secondary:       #3a5a68;
  --color-secondary-hover: #2e4d5c;
  --shadow-sm: 0 1px 3px oklch(0.2 0.02 60 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.2 0.02 60 / 0.1);
  --shadow-lg: 0 12px 40px oklch(0.2 0.02 60 / 0.14);
}

/* =====================================================
   NAV
   ===================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-8);
  background: oklch(from var(--color-bg) l c h / 0);
  transition:
    background 400ms var(--ease-in-out),
    box-shadow 400ms var(--ease-in-out);
}

.nav--scrolled {
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__links a {
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.nav__theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-dynamic);
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  color: var(--color-text-muted);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 300ms var(--ease-out), opacity 200ms;
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-menu a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: color var(--transition-interactive);
}

.nav__mobile-menu a:hover { color: var(--color-primary); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav { padding: var(--space-4) var(--space-5); }
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(var(--space-16), 8vw, var(--space-32));
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('./assets/images/hero-night.png');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s var(--ease-out);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.08 0.01 60 / 0.3) 0%,
    oklch(0.08 0.01 60 / 0.1) 40%,
    oklch(0.08 0.01 60 / 0.7) 80%,
    oklch(0.08 0.01 60 / 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  max-width: var(--content-default);
  padding-inline: var(--space-6);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--color-text);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-4);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-text-faint);
  animation: scroll-pulse 2s var(--ease-in-out) infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.btn-primary {
  background: var(--color-primary);
  color: #0c0b09;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px oklch(from var(--color-primary) l c h / 0.3);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-1px);
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
}

.container--narrow {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.section--tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}

/* =====================================================
   DIVIDER + EYEBROW
   ===================================================== */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-text);
  line-height: 1.1;
}

.section-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 62ch;
}

/* =====================================================
   STAT STRIP
   ===================================================== */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.stat-strip__item {
  background: var(--color-surface);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-strip__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
}

.stat-strip__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* =====================================================
   PHILOSOPHY / DOCTRINE CARDS
   ===================================================== */

.doctrine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.doctrine-card {
  background: var(--color-surface);
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: background var(--transition-interactive);
}

.doctrine-card:hover {
  background: var(--color-surface-2);
}

.doctrine-card__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
}

.doctrine-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

.doctrine-card__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* =====================================================
   EXPEDITION CARD
   ===================================================== */

.expedition-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.expedition-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.expedition-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.7) brightness(0.85);
  transition: filter 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.expedition-card:hover .expedition-card__img {
  filter: saturate(0.9) brightness(1);
  transform: scale(1.03);
}

.expedition-card__body {
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.expedition-card__year {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.expedition-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

.expedition-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.expedition-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border: 1px solid;
}

.expedition-card__badge--complete {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.expedition-card__badge--planning {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* =====================================================
   PULL QUOTE / BLOCKQUOTE
   ===================================================== */

.pull-quote {
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-8);
  margin-block: var(--space-8);
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.4;
}

.pull-quote__attribution {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}

/* =====================================================
   FULL-BLEED IMAGE SECTION
   ===================================================== */

.full-bleed {
  position: relative;
  width: 100%;
  height: clamp(300px, 45vw, 640px);
  overflow: hidden;
}

.full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.65) brightness(0.8);
}

.full-bleed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(0.08 0.01 60 / 0.7) 0%,
    transparent 60%
  );
  display: flex;
  align-items: center;
  padding-inline: clamp(var(--space-8), 8vw, var(--space-24));
}

.full-bleed__caption {
  max-width: 48ch;
}

/* =====================================================
   TIMELINE (expedition schedule)
   ===================================================== */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-8);
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 91px;
  top: var(--space-4);
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.timeline__item:last-child::before { display: none; }

.timeline__day {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-muted);
  padding-top: 2px;
  text-align: right;
}

.timeline__dot {
  position: absolute;
  left: 86px;
  top: var(--space-4);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-bg);
}

.timeline__content {
  padding-left: var(--space-8);
}

.timeline__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-2);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
}

.footer__tagline {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__links a:hover { color: var(--color-text-muted); }

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */

.page-hero {
  padding-top: calc(80px + clamp(var(--space-16), 8vw, var(--space-24)));
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
  border-bottom: 1px solid var(--color-border);
}

.page-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 58ch;
}

/* =====================================================
   PROSE CONTENT
   ===================================================== */

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.prose h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.prose ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.prose ul li {
  padding-left: var(--space-6);
  position: relative;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.prose strong {
  color: var(--color-text);
  font-weight: 600;
}

/* =====================================================
   DOCTRINE LIST (formal)
   ===================================================== */

.doctrine-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: doctrine;
}

.doctrine-list__item {
  counter-increment: doctrine;
  display: flex;
  gap: var(--space-6);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.doctrine-list__item::before {
  content: counter(doctrine, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  flex-shrink: 0;
  width: 2.5rem;
  padding-top: 3px;
}

.doctrine-list__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.4;
}

/* =====================================================
   SKIP LINK
   ===================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 999;
  transition: top var(--transition-interactive);
}

.skip-link:focus { top: var(--space-4); }

/* =====================================================
   MISOGI 2026 PLANNING SECTION
   ===================================================== */

.planning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.planning-card {
  background: var(--color-surface);
  padding: var(--space-8);
}

.planning-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.planning-card__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.planning-card__detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .planning-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   MOBILE IMPROVEMENTS — Comprehensive 375px+ fixes
   ===================================================== */

/* Nav: ensure hamburger never overflows on small screens */
@media (max-width: 768px) {
  .nav__logo-text { font-size: 0.875rem; }
  .nav__actions { gap: var(--space-2); }
}

/* Prevent 2-col grids from collapsing awkwardly on phone */
@media (max-width: 600px) {
  /* Philosophy / content two-col grids → single col */
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Philosophy pillars: remove the wide left column */
  [style*="grid-template-columns:80px 1fr"],
  [style*="grid-template-columns:60px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }

  /* Hero CTA buttons stack neatly */
  .hero__cta-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-inline: var(--space-4);
  }
  .hero__cta-group .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Stat strip: 2-col on small screens */
  .stat-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Expedition cards: always single column on phone */
  .expedition-cards {
    grid-template-columns: 1fr !important;
  }

  /* Full bleed caption: tighten padding */
  .full-bleed__caption {
    padding: var(--space-6) !important;
  }

  /* Timeline: reduce left padding on phone */
  .timeline__item {
    gap: var(--space-3) !important;
  }
  .timeline__day {
    min-width: 2.5rem !important;
    font-size: var(--text-xs) !important;
  }

  /* Doctrine grid: single column on phone */
  .doctrine-grid {
    grid-template-columns: 1fr !important;
  }

  /* Page hero: tighten padding */
  .page-hero {
    padding-block: var(--space-16) var(--space-12) !important;
  }

  /* Section padding reduction */
  .section {
    padding-block: var(--space-12) !important;
  }

  /* Container padding on small phone */
  .container {
    padding-inline: var(--space-5) !important;
  }

  /* Pull quotes: smaller on phone */
  .pull-quote__text {
    font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
  }

  /* Prose text remains readable */
  .prose p, .prose li {
    font-size: var(--text-sm);
  }

  /* Button sizing */
  .btn {
    padding: var(--space-3) var(--space-5) !important;
    font-size: var(--text-xs) !important;
  }
}

/* Extra small — iPhone SE and older androids */
@media (max-width: 375px) {
  .hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem) !important;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
  }
}
