/* ──────────────────────────────────────────────────────────────────
   Navoura marketing site — light mode, premium register.

   Brand: cream/navy/amber/seafoam. No dark mode.
   Motion: scroll-driven reveals + pinned narrative + ambient orbs.
   Typography: Fraunces (variable serif) for display, Inter for body.

   Inspired by the welcomelaneloop design CALIBER (not its tone).
   ────────────────────────────────────────────────────────────────── */

:root {
  --navy:        #0D2447;
  --navy-soft:   #1B3559;
  --seafoam:     #BFD5CC;
  --seafoam-tint: #E3EEEA;
  --amber:       #E8B86D;
  --amber-soft:  #F4D9AC;
  --cream:       #F5F1EB;
  --cream-warm:  #FAF6EF;
  --charcoal:    #1F2A37;
  --grey:        #6B7280;
  --grey-soft:   #A4ABB5;
  --border:      #E5E0D8;
  --mist:        #EDEAE3;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
  --measure: 62ch;

  --reveal-distance: 24px;
  --reveal-duration: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;            /* clip is sticky-safe (modern browsers prefer this) */
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--amber); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ─── Subtle paper grain over everything ───────────────────── */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.07  0 0 0 0 0.10  0 0 0 0.045 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ─── Brand mark ───────────────────────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.4px;
  font-feature-settings: "ss01";
}

.mark {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M 16.40 74.00 C 34.00 56.40, 66.00 91.60, 83.60 74.00' stroke='%230D2447' stroke-width='3' fill='none' stroke-linecap='round'/><line x1='42.8' y1='54' x2='45.6' y2='18' stroke='%230D2447' stroke-width='3' stroke-linecap='round'/><line x1='57.2' y1='54' x2='54.4' y2='18' stroke='%230D2447' stroke-width='3' stroke-linecap='round'/><line x1='45.6' y1='18' x2='54.4' y2='18' stroke='%230D2447' stroke-width='3' stroke-linecap='round'/><line x1='44.16' y1='23.6' x2='55.84' y2='23.6' stroke='%230D2447' stroke-width='3' stroke-linecap='round'/><circle cx='50' cy='11.6' r='3' fill='%23E8B86D'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ─── Topbar ───────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(245, 241, 235, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(229, 224, 216, 0.5);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.topnav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.1px;
  transition: color 0.2s ease;
  position: relative;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out);
}
.topnav a:hover::after { width: 100%; }

.topnav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}
.topnav-cta:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}
.topnav-cta::after { display: none; }

/* ─── Reveal animation ──────────────────────────────────────
   Always visible by default. CSS scroll-driven animation enhances
   the entrance in modern browsers (Safari 17+, Chrome 115+) — older
   browsers see static content, which is fine. Never hides content. */

@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-fade-up linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}

@keyframes reveal-fade-up {
  from {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Sections ─────────────────────────────────────────────── */

.section {
  position: relative;
  padding: 140px 40px;
  z-index: 2;
}
.section-tinted { background: var(--cream-warm); }
.section-tight  { padding: 96px 40px; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-head {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 100;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--navy);
  max-width: 22ch;
  margin: 0 0 40px;
}
.section-head em {
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  position: relative;
}

.prose {
  max-width: var(--measure);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 24px;
  color: var(--charcoal);
}

/* ─── HERO ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-amber {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 184, 109, 0.5), transparent 70%);
  top: -200px;
  right: -150px;
}

.orb-seafoam {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191, 213, 204, 0.55), transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -8s;
}

.orb-small {
  width: 360px;
  height: 360px;
  opacity: 0.45;
}
.orb-right { left: auto; right: -80px; bottom: -80px; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 36px;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(48px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: -2.5px;
  color: var(--navy);
  margin: 0 0 40px;
}
.hero-headline span,
.hero-headline em {
  display: block;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--navy-soft);
}

.hero-lede {
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--charcoal);
  max-width: 56ch;
  margin: 0 0 48px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
  box-shadow: 0 8px 24px rgba(13, 36, 71, 0.18);
}
.cta-primary:hover {
  background: var(--navy-soft);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13, 36, 71, 0.24);
}
.cta-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}
.cta-primary:hover .cta-arrow { transform: translateX(4px); }

.cta-quiet {
  font-weight: 500;
  font-size: 15px;
  color: var(--charcoal);
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cta-quiet:hover {
  color: var(--navy);
  border-bottom-color: var(--amber);
}

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--grey), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to bottom, var(--navy), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(330%); }
}

/* ─── Hero figure (editorial illustration, right side) ────── */

.hero-figure {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-46%);
  width: clamp(260px, 32vw, 460px);
  height: auto;
  color: var(--navy);
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
}

@media (max-width: 1000px) {
  .hero-figure { display: none; }
}

/* ─── Archetypes grid (Who it's for illustrations) ─────────── */

.archetypes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.archetype {
  margin: 0;
  padding: 28px 24px 32px;
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.archetype:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 184, 109, 0.55);
  box-shadow: 0 16px 32px -16px rgba(13, 36, 71, 0.18);
}

.archetype .illu {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  color: var(--navy);
  margin: 0 auto 20px;
}

.archetype figcaption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: var(--navy);
  margin: 0 0 8px;
  text-align: center;
}

.archetype figcaption p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0;
  text-align: center;
}

.disclaimer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 17px;
  color: var(--grey);
  text-align: center;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* ─── THE MOMENT (scroll-morphing scenes) ──────────────────── */

.moment {
  position: relative;
  padding: 120px 40px 120px;
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 2;
  overflow: clip;              /* clip preserves sticky; hidden breaks it */
}

.moment-header {
  max-width: var(--container);
  margin: 0 auto 64px;
}

.moment-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: stretch;        /* stretch right column to match steps height — needed for sticky */
}

.moment-text { min-width: 0; }

.moment-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.moment-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 88vh;        /* each step ~one viewport, gives scroll room for morph */
  padding: 12vh 0;
  transition: opacity 0.45s var(--ease-out);
  opacity: 0.30;
}
.moment-step:first-child { min-height: 70vh; padding-top: 0; }
.moment-step:last-child  { min-height: 70vh; padding-bottom: 0; }
.moment-step.step-active { opacity: 1; }
.moment-step.step-active .moment-step-num {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  transform: scale(1.05);
}
.moment-step-num { transition: all 0.4s var(--ease-out); }
.moment-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 26px;
  letter-spacing: -0.4px;
  color: var(--navy);
  margin: 0 0 10px;
  transition: color 0.4s var(--ease-out);
}
.moment-step p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

.moment-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--navy);
  flex-shrink: 0;
}

.moment-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 4px 0 6px;
}
.moment-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

/* ─── Phone stage (sticky, scroll-morphing scenes) ─────────── */

.moment-stage {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
}

.moment-sticky {
  position: sticky;
  top: calc(50vh - 340px);    /* vertically center 640px phone in viewport */
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: filter 0.7s var(--ease-out);
  will-change: filter;
}
.moment-sticky.scene-2-active {
  filter: drop-shadow(0 0 56px rgba(232, 184, 109, 0.42));
}
.moment-sticky.scene-3-active {
  filter: drop-shadow(0 0 32px rgba(13, 36, 71, 0.18));
}

.phone-frame {
  position: relative;
  width: 320px;
  height: 640px;
  background: var(--navy);
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    0 40px 80px -20px rgba(13, 36, 71, 0.35),
    0 16px 32px -8px rgba(13, 36, 71, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen {
  position: relative;
  background: var(--cream);
  border-radius: 36px;
  height: 100%;
  overflow: hidden;
}

.phone-status {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  z-index: 10;
}
.phone-signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}
.phone-signal i {
  display: block;
  width: 3px;
  background: var(--navy);
  border-radius: 1px;
}
.phone-signal i:nth-child(1) { height: 4px; }
.phone-signal i:nth-child(2) { height: 7px; }
.phone-signal i:nth-child(3) { height: 10px; }
.phone-signal i:nth-child(4) { height: 13px; opacity: 0.4; }

/* ─── Scenes (stacked, slide + fade between based on .scene-active) ── */

.scene {
  position: absolute;
  inset: 0;
  padding: 56px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.7s var(--ease-out);
  pointer-events: none;
}
.scene.scene-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Staggered inner reveal: when a scene activates, its children animate in
   one after another for a more layered, premium feel */
.scene > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.55s var(--ease-out);
}
.scene.scene-active > *:nth-child(1) { transition-delay: 0.18s; opacity: 1; transform: none; }
.scene.scene-active > *:nth-child(2) { transition-delay: 0.30s; opacity: 1; transform: none; }
.scene.scene-active > *:nth-child(3) { transition-delay: 0.42s; opacity: 1; transform: none; }
.scene.scene-active > *:nth-child(4) { transition-delay: 0.54s; opacity: 1; transform: none; }

/* Send button on scene 3 — arrow lifts on activation */
.scene-3.scene-active .scene-send-arrow {
  animation: send-lift 1.6s var(--ease-out) infinite;
}
@keyframes send-lift {
  0%, 100% { transform: translateY(0); }
  40%      { transform: translateY(-3px); }
}

/* Fallback: before JS runs, scene-1 is visible (only if no scene has .scene-active yet) */
.phone-screen:not(.has-active) .scene-1 {
  opacity: 1;
  transform: none;
}
.phone-screen:not(.has-active) .scene-1 > * {
  opacity: 1;
  transform: none;
}

.scene-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--navy);
  margin-top: 8px;
}
.scene-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.scene-input,
.scene-card,
.scene-reply {
  background: rgba(232, 184, 109, 0.14);
  border-radius: 16px;
  padding: 20px 18px;
  position: relative;
}
.scene-input p,
.scene-card p,
.scene-reply p {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0;
  font-style: italic;
  letter-spacing: -0.1px;
}
.scene-card p { font-style: normal; }

.scene-caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--navy);
  margin-left: 2px;
  vertical-align: middle;
  animation: caret-blink 1s steps(2, jump-none) infinite;
}
@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.scene-btn-row {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}
.scene-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
}
.scene-send-arrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
}

.scene-pulse {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  padding-bottom: 16px;
}
.scene-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.5); opacity: 0.35; }
}

/* ─── Scene indicator dots ─────────────────────────────────── */

.scene-indicator {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.scene-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.scene-dot.scene-dot-active {
  background: var(--amber);
  transform: scale(1.4);
}

/* ─── Phone glow ───────────────────────────────────────────── */

.phone-glow {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(232, 184, 109, 0.32),
    transparent 60%
  );
  filter: blur(40px);
}

/* ─── Cards (What it does) ─────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  position: relative;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 184, 109, 0.6);
  box-shadow:
    0 24px 48px -16px rgba(13, 36, 71, 0.18),
    0 4px 12px -4px rgba(13, 36, 71, 0.08);
}

.card-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 26px;
  letter-spacing: 0;
  color: #C99340;
  margin-bottom: 18px;
  line-height: 1;
}

/* Card links — feature cards on the home page link to instrument detail pages */
a.card { display: block; color: inherit; text-decoration: none; }
.card-more {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.card:hover .card-more {
  opacity: 1;
  transform: translateX(0);
}

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 26px;
  letter-spacing: -0.4px;
  color: var(--navy);
  margin: 0 0 14px;
}

.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
}

/* ─── Privacy grid ─────────────────────────────────────────── */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 40px;
  margin-top: 16px;
}

.privacy-item {
  position: relative;
  padding-top: 28px;
}

.privacy-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--amber);
}

.privacy-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 0 0 12px;
}

.privacy-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
}

/* ─── Promise list ─────────────────────────────────────────── */

.promise-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  max-width: var(--measure);
}
.promise-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
}
.promise-mark {
  color: var(--amber);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.promise-list li:last-child { border-bottom: 0; }

/* ─── Beta section ─────────────────────────────────────────── */

.section-beta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
}

.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.beta-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 32px 0 16px;
  position: relative;
}

.beta-form input {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  color: var(--charcoal);
  border-radius: 999px;
  padding: 15px 22px;
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.beta-form input::placeholder { color: var(--grey-soft); }
.beta-form input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 184, 109, 0.18);
}

.beta-form button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 20px rgba(13, 36, 71, 0.16);
}
.beta-form button:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}
.beta-form button:hover .cta-arrow { transform: translateX(3px); }

.beta-note {
  font-size: 13px;
  color: var(--grey);
  max-width: 520px;
  margin: 12px 0 0;
}

/* ─── Instrument detail pages (/translator, /reflections, etc.) ─ */

.page-instrument main { background: var(--cream); }

.inst-hero {
  position: relative;
  padding: 96px 40px 80px;
  background:
    radial-gradient(ellipse at 75% 10%, rgba(232, 184, 109, 0.18), transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(191, 213, 204, 0.20), transparent 60%),
    var(--cream-warm);
  overflow: clip;
}

.inst-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

.inst-back {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  margin: 0 0 24px;
}
.inst-back a {
  color: var(--grey);
  transition: color 0.2s ease;
}
.inst-back a:hover { color: var(--navy); }

.inst-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 20px;
}
.inst-num::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

.inst-name {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -2px;
  color: var(--navy);
  margin: 0 0 16px;
}

.inst-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 72;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  color: var(--navy-soft);
  margin: 0 0 32px;
  max-width: 30ch;
}

.inst-lede {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
  max-width: 56ch;
}

.inst-illu {
  position: absolute;
  right: 0;
  top: 80px;
  width: clamp(220px, 28vw, 360px);
  height: auto;
  color: var(--navy);
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 880px) {
  .inst-illu {
    position: relative;
    top: auto;
    right: auto;
    width: 220px;
    margin: 24px 0 0;
  }
}

/* Example boxes — multiple types share the same container chrome */
.examples-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.example {
  margin: 0;
  padding: 36px 32px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.example-narrow .example-card {
  max-width: 720px;
}
.example-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 24px;
}
.example-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
}
.example-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 24px;
  align-items: center;
}
.example-side { min-width: 0; }
.example-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 10px;
}
.example-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 16px;
  line-height: 1.55;
  font-style: italic;
  color: var(--navy);
  margin: 0;
}
.example-quote-out {
  font-style: normal;
  background: rgba(232, 184, 109, 0.16);
  padding: 18px 20px;
  border-radius: 12px;
}
.example-arrow {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--amber);
  text-align: center;
  line-height: 1;
}

/* Optional third block under a paired example (e.g. "a reply you could send") */
.example-extra {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}

/* Single-card example (for Reflections entries, etc.) */
.example-card {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
}
.example-card-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 14px;
}
.example-card-body {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  margin: 0;
}
.example-card-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--grey);
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-style: italic;
}

/* Profile-card variant (People) */
.profile-card { padding: 28px; }
.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
}
.profile-name {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 20px;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.3px;
}
.profile-role {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--grey);
  margin: 4px 0 0;
}
.profile-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.profile-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  font-size: 14px;
}
.profile-key {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.02em;
}
.profile-val {
  font-family: var(--sans);
  color: var(--charcoal);
}
.profile-notes-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 8px;
}
.profile-notes {
  font-family: var(--serif);
  font-variation-settings: "opsz" 36;
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
  font-style: italic;
}

/* Question card (Today's Question) */
.question-card { text-align: left; }
.question-category {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #C99340;
  margin: 0 0 16px;
}
.question-text {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 0 0 8px;
}
.question-skip {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--grey);
  margin: 16px 0 0;
  font-style: italic;
}

/* Tideline widget card */
.tideline-card {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  padding: 28px 28px 24px;
}
.tideline-caption {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
}
.tideline-wave {
  display: block;
  width: 100%;
  height: 80px;
  margin: 12px 0 18px;
  color: var(--cream);
}
.tideline-wave path { stroke: var(--cream); }
.tideline-note {
  font-family: var(--serif);
  font-variation-settings: "opsz" 36;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 241, 235, 0.85);
  margin: 0;
  font-style: italic;
}

@media (max-width: 760px) {
  .example { padding: 24px 20px; }
  .example-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .example-arrow { transform: rotate(90deg); margin: 4px auto; font-size: 24px; }
  .profile-row { grid-template-columns: 1fr; gap: 2px; }
  .profile-key { font-size: 12px; }
}

/* Deep-content slot — empty for now, ready for blog-style write-ups later */
.deep-content {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
}
.deep-content-placeholder {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--grey);
  margin: 0;
  max-width: var(--measure);
}
.deep-content-placeholder a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* Sibling grid — links to the other 5 instruments */
.siblings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.sibling-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 24px;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.sibling-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 184, 109, 0.55);
  box-shadow: 0 14px 28px -14px rgba(13, 36, 71, 0.16);
  color: inherit;
}

.sibling-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: #C99340;
  margin-bottom: 10px;
  line-height: 1;
}

.sibling-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 0 0 6px;
}

.sibling-card p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0;
}

/* ─── Footer ───────────────────────────────────────────────── */

.footer {
  padding: 56px 40px 72px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--grey);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--navy); }

.footer-fine {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--grey);
  margin: 16px 0 0;
}

/* ─── Mobile ───────────────────────────────────────────────── */

@media (max-width: 880px) {
  .moment { padding: 96px 20px; }
  .moment-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .moment-stage { order: -1; }
  .moment-sticky { position: relative; top: auto; }
  .phone-frame { width: 280px; height: 560px; }
  .moment-step { min-height: auto; padding: 20px 0; opacity: 1; }
  .moment-step:first-child { padding-top: 0; }
}

@media (max-width: 760px) {
  .topnav a:not(.topnav-cta) { display: none; }
  .topbar { padding: 14px 20px; }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 80px; padding-bottom: 56px; min-height: auto; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-primary { width: 100%; justify-content: center; }
  .beta-form { flex-direction: column; }
  .beta-form button { width: 100%; justify-content: center; }
  .footer { padding: 32px 20px 48px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .privacy-grid { gap: 36px; }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}
