/* =========================================================================
   BELONGHERE  ·  styles.css
   This one file styles all six pages. Change a color here and it changes
   everywhere. You should almost never need to touch anything below the
   "EDIT YOUR COLORS HERE" block.
   ========================================================================= */

/* ============ EDIT YOUR COLORS HERE ============ */
:root {
  /* Backgrounds, deepest to lightest: a painterly twilight */
  --navy:       #070D18;   /* main page background, muted deep navy */
  --ink:        #070D18;   /* alias of navy, used for dark text on gold */
  --ink-2:      #0F1A2C;   /* slightly lifted panels */
  --deep:       #0A1220;   /* darkest panel */
  --plum:       #2A1B33;   /* twilight plum, used in the atmosphere */
  --teal-deep:  #10312F;   /* deep teal, used in the atmosphere */

  /* Light sections */
  --cream:      #F1ECE3;
  --paper:      #FAF6EE;

  /* Gold, the accent for headlines and highlights */
  --gold:           #C8A96A;   /* muted warm gold */
  --gold-light:     #E4C88C;
  --gold-champagne: #DFC088;
  --gold-deep:      #8A6A34;   /* gold on cream */

  /* Teal, the signature. Softened to sit inside the twilight. */
  --teal:       #6FC6B8;
  --teal-line:  #2C5C57;

  /* Text */
  --text:       #2A241C;   /* warm charcoal text on cream (not pure black) */
  --muted:      #5C574C;   /* muted text on cream */
  --cream-text: #F3EEE4;   /* primary warm cream text on dark */

  /* Glass surfaces + hairlines */
  --glass:        rgba(245, 242, 235, .045);
  --glass-2:      rgba(245, 242, 235, .08);
  --glass-border: rgba(245, 242, 235, .12);
  --line:         rgba(200, 169, 106, .26);

  /* ============ EDIT YOUR FONTS HERE ============ */
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive;

  /* Spacing. Bigger number = more air around each section. */
  --section-y: clamp(5.5rem, 11vw, 9.5rem);
  --edge: clamp(1.5rem, 5vw, 3rem);
  --max: 1140px;
}

/* ---------------- Base ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.85;
  color: var(--cream-text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* The painterly twilight atmosphere behind every dark page:
   plum drifting from the top-left, deep teal from the top-right, a warm
   gold undertone rising from below, over a muted navy base. */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 50% -12%, rgba(42, 27, 51, .58) 0%, rgba(7, 13, 24, 0) 56%),
    radial-gradient(90% 70% at 82% 4%,    rgba(16, 49, 47, .42) 0%, rgba(7, 13, 24, 0) 55%),
    radial-gradient(95% 75% at 50% 112%,  rgba(200, 169, 106, .09) 0%, rgba(7, 13, 24, 0) 60%),
    radial-gradient(140% 120% at 50% 42%, #0C1526 0%, #070D18 72%),
    var(--navy);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(200, 169, 106, .28); color: var(--cream-text); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px;
}

/* ---------------- Layout ---------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--edge); }
.wrap-narrow { max-width: 760px; }
.section { padding-block: var(--section-y); }
.center { text-align: center; }

/* ---------------- Type ---------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

h1, h2, h3 { font-weight: 400; line-height: 1.14; letter-spacing: -.015em; }
h1 { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--cream-text); text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); color: var(--cream-text); text-wrap: balance; overflow-wrap: break-word; }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.35; letter-spacing: -.005em; }

.sub { font-size: clamp(1.25rem, 2.2vw, 1.625rem); color: rgba(245, 242, 235, .74); margin-top: 1.35rem; }
.lede { color: rgba(245, 242, 235, .8); }
p + p { margin-top: 1.6rem; }

.accent-teal { color: var(--teal); font-style: italic; }
.accent-gold { color: var(--gold-champagne); font-style: italic; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 13, 24, .55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 66px; }

.logo { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.logo b { font-weight: 400; color: var(--cream-text); }
.logo i { font-weight: 400; font-style: normal; color: var(--gold); }

.nav-links {
  display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0;
  font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
}
.nav-links a { text-decoration: none; color: rgba(245, 242, 235, .6); padding-block: .5rem; transition: color .3s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }

/* Hamburger toggle: hidden until the mobile breakpoint */
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 9px; margin-right: -9px;
    background: transparent; border: 0; cursor: pointer;
  }
  .nav-toggle-bar {
    display: block; width: 24px; height: 2px; border-radius: 2px;
    background: var(--cream-text); transition: transform .3s ease, opacity .3s ease;
  }
  .nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-inner { min-height: 60px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(6, 16, 24, .97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--glass-border);
    padding-inline: var(--edge);
    font-size: 1rem; letter-spacing: .1em;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .35s ease, opacity .3s ease, visibility .3s;
  }
  .nav.nav-open .nav-links { max-height: 80vh; opacity: 1; visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex; align-items: center; min-height: 54px; padding-block: .25rem;
    border-bottom: 1px solid rgba(245, 242, 235, .07);
  }
  .nav-links li:last-child a { border-bottom: 0; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 1.05rem 2.35rem; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(200, 169, 106, .18);
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 38px rgba(200, 169, 106, .28); }

.btn-quiet {
  display: inline-block; font-family: var(--sans); font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--gold); background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: .95rem 2rem; border: 1px solid var(--glass-border); border-radius: 999px;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.btn-quiet:hover { border-color: var(--gold); color: var(--gold-light); background: var(--glass-2); }

/* ---------------- Hero + breathing glass heart ---------------- */
.hero { position: relative; padding-block: clamp(3.5rem, 8vh, 6rem) var(--section-y); overflow: hidden; }
.hero h1 {
  color: var(--gold);
  white-space: nowrap;                 /* keep "Come as you are." on one line */
  font-size: clamp(2rem, 8.6vw, 4.5rem);
  line-height: 1.05;
  margin-top: clamp(1rem, 2.6vw, 1.9rem);
}

/* Centered, brand-forward hero: wordmark, heart, headline, copy, downloads. */
.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 760px; margin-inline: auto;
}

.hero-brand {
  font-family: var(--serif); text-decoration: none; line-height: 1;
  font-size: clamp(1.55rem, 4.6vw, 2.5rem); letter-spacing: .01em;
  margin-bottom: clamp(.75rem, 2vw, 1.1rem);
}
.hero-brand b { font-weight: 400; color: var(--cream-text); }
.hero-brand i { font-weight: 400; font-style: normal; color: var(--gold); }

/* Heart sizing for the centered layout (slightly larger, still the focal point) */
.hero .heart-stage {
  width: min(392px, 80vw); min-height: auto;
  margin: clamp(.25rem, 1.5vw, 1rem) auto clamp(.5rem, 2vw, 1.25rem);
}
.hero .heart { width: 100%; }

/* Hero tagline: sits below the headline, an important brand promise */
.hero .hero-eyebrow {
  margin-top: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0;
  font-size: clamp(.95rem, 2.2vw, 1.05rem); letter-spacing: .28em;
}

/* Hero Presence AI story (homepage, two beats) */
.hero-presence {
  margin: clamp(5rem, calc(4vw + 3.5rem), 7rem) auto 0;
  width: 100%;
  text-align: center;
}
.hero-beat { display: flex; flex-direction: column; align-items: center; }
.hero-presence-eyebrow {
  font-family: var(--sans);
  font-size: clamp(.78rem, 1.8vw, .84rem);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
}
.hero-presence-headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 5vw, 2.0625rem);
  line-height: 1.2;
  color: var(--cream-text);
  text-wrap: balance;
  max-width: 28ch;
  margin: 0;
}
.hero-presence-headline + .hero-presence-headline {
  margin-top: clamp(.5rem, 1.5vw, .85rem);
}
.hero-presence-headline-teal { color: #4DD9C0; }
.hero-presence-rule-h {
  width: min(120px, 40vw);
  height: 1px;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) auto;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 106, .55), transparent);
}
.hero-presence-label-muted {
  font-family: var(--sans);
  font-size: clamp(.72rem, 1.6vw, .78rem);
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, .65);
  margin: 0 0 clamp(1rem, 2vw, 1.35rem);
}
.hero-presence-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 12vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--cream-text);
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}
.hero-presence-tagline {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  line-height: 1.55;
  color: rgba(245, 242, 235, .82);
  max-width: 24ch;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  text-wrap: balance;
}
.hero-presence-origin {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.92rem, 1.8vw, 1rem);
  line-height: 1.5;
  color: var(--gold);
  max-width: 26ch;
  margin: 0;
  text-wrap: balance;
}
.hero-presence-transition {
  width: 1px;
  height: 70px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto;
  background: linear-gradient(180deg, transparent, rgba(200, 169, 106, .7));
}
.hero-presence-lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.5vw, 1.625rem);
  line-height: 1.35;
  color: var(--cream-text);
  max-width: 22ch;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.65rem);
  text-wrap: balance;
}
.hero-presence-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.5;
  color: rgba(245, 242, 235, .72);
  max-width: 30ch;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  text-wrap: balance;
}
.hero-presence-eyebrow-tight { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.hero-presence-close {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3.8vw, 1.75rem);
  line-height: 1.4;
  color: #4DD9C0;
  max-width: 26ch;
  margin: 0;
  text-wrap: balance;
}

/* Hero vision statement (legacy, unused on homepage) */
.hero-manifesto { margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 66ch; }
.hero-manifesto-lead {
  font-family: var(--serif); text-wrap: balance;
  font-size: clamp(1.3rem, 2.45vw, 1.85rem); line-height: 1.4; color: var(--gold-champagne);
}
/* Supporting copy: left-aligned inside a centered, comfortably narrow column
   (~60-70 characters per line on desktop). */
.hero-manifesto-body {
  max-width: 62ch; margin: clamp(1.8rem, 3.4vw, 2.5rem) auto 0; text-align: left;
}
.hero-manifesto-body p {
  color: #EAE3D3; text-wrap: pretty;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem); line-height: 2.0;
}
.hero-manifesto-body p + p { margin-top: 1.9em; }
/* One quiet gold-accented phrase per manifesto paragraph (no bold-spam) */
.hero-manifesto-body .hero-em { color: var(--gold); font-weight: 500; }
.hero-manifesto-body p.hero-declaration {
  margin-top: clamp(1.85rem, 3.4vw, 2.6rem);
  color: var(--cream-text); text-wrap: balance;
  font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4;
}

.hero-lead, .hero-signature { margin-inline: auto; }
.hero-cta { justify-content: center; }

/* THE TWO LINES THAT MUST HIT INSTANTLY */
.hero-lead {
  margin-top: 2.4rem;
  max-width: 22ch;
  font-size: clamp(1.5rem, 2.9vw, 2.125rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--cream-text);
  text-wrap: balance;
}
.hero-signature {
  margin-top: 1.6rem;
  max-width: 22ch;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  color: var(--teal);
  text-wrap: balance;
}

.hero-cta { margin-top: clamp(3rem, 5vw, 4.25rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
@media (max-width: 900px) { .hero-cta { justify-content: center; } }

.hero-note { font-family: var(--sans); font-size: .78rem; letter-spacing: .05em; color: rgba(245, 242, 235, .5); }

/* Downloads: official-style App Store badge + a refined Android line */
.downloads { display: inline-flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 900px) { .downloads { align-items: center; } }
.store-badge {
  position: relative; display: inline-block; line-height: 0; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(7, 13, 24, .45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.store-badge svg { width: clamp(178px, 23vw, 202px); height: auto; display: block; border-radius: 10px; }
/* Second badge (Google Play) sits directly below, forming a balanced pair */
.store-badge-play { margin-top: 1rem; }
/* While disabled (no href), the badge is not clickable but still hoverable so
   the tooltip can appear. Adding an href re-enables the pointer + lift. */
.store-badge:not([href]) { cursor: default; }
.store-badge[href]:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(7, 13, 24, .55); }

/* Subtle "Launching soon." tooltip on hover / keyboard focus */
.store-badge[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap; line-height: 1.2;
  font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .12em;
  color: var(--cream-text); background: rgba(7, 13, 24, .92);
  border: 1px solid var(--glass-border); border-radius: 9px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .5rem .8rem; box-shadow: 0 10px 28px rgba(7, 13, 24, .5);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.store-badge[data-tooltip]::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(7, 13, 24, .92);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.store-badge[data-tooltip]:hover::after,
.store-badge[data-tooltip]:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.store-badge[data-tooltip]:hover::before,
.store-badge[data-tooltip]:focus-visible::before { opacity: 1; }

/* Android: coming soon, same premium type + spacing as the badge */
.store-soon { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .35rem; }
.store-soon-label {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cream-text);
}
.store-soon-note {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
@media (max-width: 900px) { .store-soon { text-align: center; } }

/* The original glass heart: a large diffused emerald glow behind it, a very
   slow, almost imperceptible float, and a subtle breathing glow. No pulsing,
   spinning, or sparkle. */
.heart-stage { position: relative; display: grid; place-items: center; min-height: min(54vw, 460px); }
/* Restrained deep-teal glow behind the heart with only a faint amber
   undertone near its center. Kept diffuse and low, not neon. */
/* Layered luxury glass glow: warm amber core, deep emerald body, soft falloff.
   Kept diffuse and low, never neon. */
.heart-glow {
  position: absolute; width: min(600px, 116%); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, rgba(214, 154, 84, .26) 0%, rgba(214, 154, 84, 0) 34%),
    radial-gradient(circle,
      rgba(210, 150, 80, .16) 0%,
      rgba(46, 142, 128, .42) 28%,
      rgba(22, 88, 82, .24) 52%,
      rgba(6, 16, 24, 0) 74%);
  filter: blur(42px);
  animation: glow-breathe 20s ease-in-out infinite;
  pointer-events: none;
}
/* A subtle volumetric top light, as if lit gently from above */
.heart-stage::before {
  content: ""; position: absolute; left: 50%; top: 2%;
  width: 46%; height: 34%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(150, 210, 198, .16) 0%, rgba(6, 16, 24, 0) 70%);
  filter: blur(22px); pointer-events: none;
}
/* A soft teal reflection pooled beneath the heart */
.heart-stage::after {
  content: ""; position: absolute; left: 50%; bottom: 5%;
  width: 64%; height: 13%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(64, 168, 154, .28) 0%, rgba(6, 16, 24, 0) 72%);
  filter: blur(18px); pointer-events: none;
}
.heart {
  position: relative; width: min(340px, 80%); height: auto; margin-inline: auto;
  filter: drop-shadow(0 28px 58px rgba(4, 10, 16, .6));
  animation: heart-float 18s ease-in-out infinite;
  transition: transform .8s ease;
  will-change: transform;
}
/* A gentle hover enlargement only. It uses `transform` so it composes with
   the float animation (which uses the individual `translate` property). */
.heart:hover { transform: scale(1.03); }
@keyframes heart-float {
  0%, 100% { translate: 0 0;    }
  50%      { translate: 0 -5px; }
}
@keyframes glow-breathe {
  0%, 100% { opacity: .84; scale: 1;     }
  50%      { opacity: 1;   scale: 1.025; }
}

/* ---------------- Pillars (glass cards) ---------------- */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(3rem, 5vw, 4.5rem);
}
/* Never 3 + 1: drop straight to a balanced 2 x 2 below desktop */
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar {
  background: linear-gradient(160deg, rgba(245, 242, 235, .075), rgba(245, 242, 235, .02));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: clamp(1.9rem, 3vw, 2.6rem);
  transition: transform .5s ease, border-color .5s ease, background .5s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 106, .38);
  background: linear-gradient(160deg, rgba(245, 242, 235, .1), rgba(245, 242, 235, .03));
}
.pillar h3 { color: var(--teal); }
.pillar p { margin-top: 1rem; font-size: 1rem; line-height: 1.7; color: rgba(245, 242, 235, .7); }

/* ---------------- Cream band ---------------- */
.cream-band { background: var(--cream); color: var(--text); }
.cream-band h2, .cream-band .sub { color: var(--text); }
.cream-band .eyebrow { color: var(--gold-deep); }
.cream-band p { color: var(--muted); }
.worth {
  font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.6; color: var(--text);
  max-width: 26ch; margin: 0 auto; text-wrap: balance;
}
.cream-band .worth { color: var(--text); }
.worth strong { color: var(--gold-deep); font-weight: 700; }

/* ---------------- Shared editorial pieces ---------------- */
.question {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-style: italic; line-height: 1.42;
  color: var(--cream-text); margin-block: 3.5rem; text-wrap: balance;
}
.hairline { width: 1px; height: clamp(48px, 8vh, 80px); margin: 0 auto; background: linear-gradient(to bottom, rgba(200,169,106,0), var(--gold)); }
.conviction {
  font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.5; color: var(--gold-champagne);
  max-width: 24ch; margin: 2.75rem auto 0; text-wrap: balance;
}
.punch {
  font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.48; color: var(--gold-champagne);
  max-width: 28ch; margin: 2.75rem auto 0; text-wrap: balance;
}
.legacy {
  font-size: clamp(1.3rem, 2.3vw, 1.75rem); font-style: italic; line-height: 1.6;
  color: var(--gold-champagne); max-width: 34ch; margin: 0 auto; text-wrap: balance;
}
.pullquote {
  font-size: clamp(1.4rem, 2.7vw, 1.95rem); font-style: italic; line-height: 1.52;
  color: var(--teal); max-width: 30ch; margin: 0 auto; text-wrap: balance;
}
.attrib { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,242,235,.5); margin-top: 1.75rem; }

.return-lines { list-style: none; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 2.1; color: rgba(245,242,235,.74); }
.belong-line { margin-top: 2.75rem; font-size: clamp(1.6rem, 3.2vw, 2.375rem); color: var(--gold-champagne); }

.presence-list { list-style: none; margin-top: 2rem; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 2.1; color: rgba(245,242,235,.82); }
.presence-cue { color: var(--teal); font-style: italic; }

/* ---------------- App screens (glass) ---------------- */
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); margin-top: 4rem; }
.screen { text-align: center; }
.screen img {
  border-radius: 26px; border: 1px solid var(--glass-border);
  box-shadow: 0 24px 60px rgba(7, 13, 24, .55);
  transition: transform .5s ease;
}
.screen:hover img { transform: translateY(-6px); }
.screen figcaption { margin-top: 1.25rem; font-family: var(--sans); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.screen p { margin-top: .5rem; font-size: 1rem; color: rgba(245,242,235,.64); line-height: 1.6; }

/* Homepage app screens: 5-in-a-row (desktop), 3 + 2 (tablet), swipe
   carousel (mobile). Portrait phone shots; aspect preserved, never cropped. */
.app-screens {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1rem, 2vw, 1.75rem); margin-top: clamp(2.75rem, 5vw, 4rem);
}
.app-screens .screen { width: calc((100% - 4 * clamp(1rem, 2vw, 1.75rem)) / 5); }
.app-screens .screen img {
  width: 100%; height: auto; display: block; border-radius: 22px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 60px rgba(7, 13, 24, .5);
  background: rgba(7, 13, 24, .35);
}

@media (max-width: 900px) {
  /* Tablet: clean 3 + 2, second row centered */
  .app-screens .screen { width: calc((100% - 2 * clamp(1rem, 2vw, 1.75rem)) / 3); }
}

@media (max-width: 640px) {
  /* Mobile: horizontal swipe carousel with large, readable phones */
  .app-screens {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem; margin-inline: calc(var(--edge) * -1); padding-inline: var(--edge);
    scrollbar-width: none;
  }
  .app-screens::-webkit-scrollbar { display: none; }
  .app-screens .screen { flex: 0 0 68%; width: auto; scroll-snap-align: center; }
}

/* ---------------- Founder story (homepage editorial) ---------------- */
.founder-home .center { margin-bottom: clamp(2.75rem, 5vw, 4rem); }
.founder-editorial {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.founder-story { max-width: 52ch; }
.founder-story p { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.9; }
.founder-story p + p { margin-top: 1.35rem; }

/* Portrait and quote stacked as a cohesive right-hand column */
.founder-aside {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(2rem, 3.5vw, 3rem);
}

.founder-portrait { margin: 0; text-align: center; }
.founder-portrait img {
  width: clamp(280px, 34vw, 420px); height: auto; display: block; margin-inline: auto;
  border-radius: 12px; border: 1px solid rgba(138, 106, 52, .3);
  box-shadow: 0 36px 80px rgba(31, 24, 12, .32), 0 8px 22px rgba(31, 24, 12, .16);
}
.founder-portrait figcaption {
  margin-top: 1.15rem; font-family: var(--sans); font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}

.founder-quote { margin: 0; text-align: center; max-width: 36ch; }
.founder-quote p {
  font-family: var(--serif); font-style: italic; text-wrap: balance;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.5; color: var(--gold-deep);
}
.founder-quote cite {
  display: block; margin-top: 1.35rem; font-style: normal;
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep);
}

/* "For my son" doorway, centered beneath the editorial, tuned for cream */
.founder-cta { margin-top: clamp(2.75rem, 5vw, 4.5rem); }
.founder-home .pill-son {
  margin-top: 0; color: var(--gold-deep);
  background: rgba(138, 106, 52, .06);
  border-color: rgba(138, 106, 52, .5);
  box-shadow: 0 0 30px rgba(138, 106, 52, .08);
  animation: none;
}
.founder-home .pill-son:hover { color: var(--text); border-color: var(--gold-deep); }

@media (max-width: 900px) {
  /* Mobile order: story, then portrait, then quote (natural source order) */
  .founder-editorial { grid-template-columns: 1fr; gap: clamp(2.25rem, 6vw, 3.5rem); }
  .founder-story { max-width: 58ch; margin-inline: auto; }
  .founder-quote { text-align: center; max-width: 34ch; margin-inline: auto; }
  .founder-portrait img { width: min(360px, 82vw); }
}

/* Homepage Founder preview: a compact invitation into the full story */
.founder-preview {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.75rem); align-items: center;
}
.founder-preview .founder-portrait img { width: clamp(220px, 27vw, 340px); }
.founder-preview-text { max-width: 48ch; }
.founder-preview-text .eyebrow { margin-bottom: clamp(.85rem, 1.6vw, 1.2rem); }
.founder-preview-text p { color: var(--muted); margin-top: 1.3rem; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.85; }
.founder-preview-text .btn { margin-top: clamp(1.85rem, 3vw, 2.6rem); }
@media (max-width: 900px) {
  .founder-preview { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(2rem, 6vw, 3rem); }
  .founder-preview-text { max-width: 54ch; }
}

/* ---------------- Founder (dedicated page) ----------------
   High-end editorial magazine spread, scoped to the Founder page only so
   the homepage Founder Story is untouched. A full-width title header sits
   above an asymmetric composition (story ~30%, hero portrait ~42%, quote
   ~28%). On mobile: header, portrait, story, quote, pill. */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }
.portrait { border-radius: 8px; border: 1px solid var(--glass-border); box-shadow: 0 30px 70px rgba(7,13,24,.5); }

/* Founder page uses more of the desktop width for a fuller spread */
.founder-page main > .section { padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.founder-page main .wrap { max-width: 1280px; }

/* Two independent vertical stacks side by side: story on the left, the hero
   portrait with its quote on the right. */
.founder-page .founder-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}
.founder-page .fp-left, .founder-page .fp-right { min-width: 0; }

/* Decorative gold rule with a small heart at its center */
.founder-page .fp-rule {
  display: flex; align-items: center; gap: .85rem;
  max-width: 260px; margin: clamp(1.5rem, 2.6vw, 2.25rem) auto;
}
.founder-page .fp-rule::before,
.founder-page .fp-rule::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, rgba(138, 106, 52, .55), transparent);
}
.founder-page .fp-rule svg { flex: none; width: 15px; height: 15px; fill: var(--gold-deep); opacity: .85; }

/* LEFT: eyebrow, title, story, doorway */
.founder-page .fp-left .eyebrow { margin-bottom: clamp(.9rem, 1.8vw, 1.35rem); }
.founder-page .fp-title {
  color: var(--text); margin: 0; font-family: var(--serif);
  font-size: clamp(2.35rem, 4.4vw, 3.9rem); line-height: 1.06;
  letter-spacing: -0.012em; text-wrap: balance;
}
.founder-page .fp-story p { color: var(--muted); font-size: clamp(1.18rem, 1.45vw, 1.34rem); line-height: 1.85; }
.founder-page .fp-story p + p { margin-top: 1.25rem; }
/* Final line: gently emphasized, not oversized */
.founder-page .fp-story .fp-close { color: var(--gold-deep); font-weight: 500; margin-top: 1.5rem; }

.founder-page .fp-cta { margin-top: clamp(2rem, 3.2vw, 2.75rem); }
.founder-page .pill-son {
  margin-top: 0; color: var(--gold-deep);
  background: rgba(138, 106, 52, .06);
  border-color: rgba(138, 106, 52, .5);
  box-shadow: 0 0 30px rgba(138, 106, 52, .08);
  animation: none;
}
.founder-page .pill-son:hover { color: var(--text); border-color: var(--gold-deep); }

/* Small, understated doorway to the "To my son" letter, below the story */
.founder-page .pill-tomyson {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .85rem; letter-spacing: .04em;
  text-decoration: none; color: #C8A96E;
  background: rgba(200, 169, 110, .08);
  border: 1px solid rgba(200, 169, 110, .8); border-radius: 999px;
  padding: .6rem 1.25rem;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.founder-page .pill-tomyson svg { flex: none; width: 13px; height: 13px; fill: currentColor; }
.founder-page .pill-tomyson:hover {
  background: rgba(200, 169, 110, .16);
  border-color: #C8A96E;
  box-shadow: 0 0 18px rgba(200, 169, 110, .28);
}

/* RIGHT: hero portrait, clean editorial crop (no mask, no feather) */
.founder-page .fp-portrait { margin: 0; }
.founder-page .fp-portrait img {
  width: 100%; height: auto; display: block;
  border-radius: 4px; border: 1px solid rgba(138, 106, 52, .45);
  box-shadow: 0 30px 66px rgba(31, 24, 12, .22), 0 6px 16px rgba(31, 24, 12, .1);
}

/* Quote + script signature, stacked beneath the portrait */
.founder-page .fp-quote { text-align: center; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.founder-page .fp-quote-mark {
  display: block; text-align: left; font-family: var(--serif);
  font-size: clamp(3rem, 4.6vw, 4.25rem); line-height: .55; color: var(--gold-deep);
  opacity: .45; margin-bottom: .08em;
}
.founder-page .fp-quote blockquote { margin: 0; }
.founder-page .fp-quote blockquote p {
  text-align: left; font-family: var(--serif); font-style: italic; text-wrap: balance;
  font-size: clamp(1.3rem, 1.75vw, 1.7rem); line-height: 1.5; color: var(--gold-deep);
}
.founder-page .fp-signature {
  display: block; font-style: normal; font-family: var(--script);
  font-size: clamp(2.5rem, 3.6vw, 3.25rem); line-height: 1; color: var(--gold-deep);
}
.founder-page .fp-quote-role {
  display: block; margin-top: .75rem; font-family: var(--sans);
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
}

/* Mobile: one calm column, story reads first, portrait + quote close it out */
@media (max-width: 900px) {
  .founder-page .founder-columns { grid-template-columns: 1fr; row-gap: clamp(2.5rem, 6vw, 3.5rem); }
  .founder-page .fp-portrait img { max-width: min(480px, 100%); margin-inline: auto; }
  .founder-page .fp-story { max-width: 62ch; }
  .founder-page .fp-cta { margin-top: clamp(1.75rem, 5vw, 2.25rem); }
}

/* The quiet gold pill that leads to the letter */
.son-door { text-align: center; padding-block: var(--section-y); border-top: 1px solid var(--glass-border); }
.pill-son {
  position: relative; display: inline-block; margin-top: 2rem;
  font-family: var(--serif); font-size: 1.2rem; font-style: italic; text-decoration: none;
  color: var(--gold-champagne); background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1.15rem 2.75rem; border: 1px solid rgba(200, 169, 106, .5); border-radius: 999px;
  box-shadow: 0 0 34px rgba(200, 169, 106, .16);
  animation: pillglow 6s ease-in-out infinite;
  transition: color .4s ease, border-color .4s ease, transform .4s ease;
}
.pill-son:hover { color: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
@keyframes pillglow {
  0%, 100% { box-shadow: 0 0 30px rgba(200, 169, 106, .12); }
  50%      { box-shadow: 0 0 48px rgba(200, 169, 106, .3); }
}

/* ---------------- For My Son (its own private room) ---------------- */
body.son { background: var(--navy); }
.son-atmosphere {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 34%, rgba(111, 198, 184, .12) 0%, rgba(7, 13, 24, 0) 66%),
    radial-gradient(95% 75% at 50% 112%, rgba(200, 169, 106, .10) 0%, rgba(7, 13, 24, 0) 60%),
    radial-gradient(120% 100% at 50% 45%, #0C1526 0%, #070D18 74%),
    var(--navy);
  animation: breathe-slow 12s ease-in-out infinite;
}
@keyframes breathe-slow { 0%, 100% { opacity: .88; } 50% { opacity: 1; } }

.letter { max-width: 620px; margin: 0 auto; padding-block: clamp(5rem, 14vh, 9rem); text-align: center; }
.letter .eyebrow { color: var(--gold); }
.letter-lead {
  font-size: clamp(2.25rem, 6vw, 3.5rem); font-style: italic; line-height: 1.2;
  color: var(--gold-champagne); margin-bottom: 3rem;
}
.letter p { font-size: clamp(1.125rem, 1.7vw, 1.25rem); line-height: 2.05; color: rgba(245, 242, 235, .84); }
.letter-emphasis {
  font-size: clamp(1.5rem, 3vw, 2.125rem) !important; font-style: italic; line-height: 1.45 !important;
  color: var(--teal) !important; margin-block: 3rem !important;
}
/* A quiet hairline that replaces the old sparkle mark */
.letter-mark {
  width: clamp(48px, 12vw, 96px); height: 1px; margin: 4rem auto 0;
  background: linear-gradient(to right, rgba(200,169,106,0), var(--gold), rgba(200,169,106,0));
}
.letter-back { margin-top: 4.5rem; }

/* ---------------- Join / forms (glass) ---------------- */
.join { border-top: 1px solid var(--glass-border); }
.join-body { max-width: 44ch; margin: 1.5rem auto 0; color: rgba(245,242,235,.74); }
.signup { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.75rem; }
.signup input {
  flex: 1 1 300px; max-width: 380px; font-family: var(--sans); font-size: .95rem;
  color: var(--cream-text); background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 999px; padding: 1.05rem 1.5rem;
  transition: border-color .3s ease, background .3s ease;
}
.signup input::placeholder { color: rgba(245,242,235,.4); }
.signup input:focus { border-color: var(--gold); background: var(--glass-2); }
.form-note { min-height: 1.5rem; margin-top: 1.25rem; font-family: var(--sans); font-size: .95rem; color: var(--teal); }
.reach { margin-top: 2rem; font-family: var(--sans); font-size: 1rem; color: rgba(245,242,235,.6); }
.reach a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200,169,106,.35); }
.reach a:hover { color: var(--gold-light); }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--glass-border); padding-block: clamp(4rem, 8vw, 5.5rem) clamp(3rem, 5vw, 4rem); text-align: center; }
.footer .logo { font-size: 1.5rem; }
.footer-tag { margin-top: 1.25rem; font-size: 1.25rem; font-style: italic; color: rgba(245,242,235,.66); }
.footer-links { margin-top: 2.25rem; font-family: var(--sans); font-size: .88rem; letter-spacing: .2em; text-transform: uppercase; }
.footer-links a { color: rgba(245,242,235,.66); text-decoration: none; transition: color .3s ease; }
.footer-links a:hover { color: var(--gold); }
.copyright { margin-top: 2.5rem; font-family: var(--sans); font-size: .84rem; letter-spacing: .05em; color: rgba(245,242,235,.42); }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

/* =========================================================================
   HOMEPAGE: reference match (scoped to body.home only)
   Substantially darker, near-black navy hero with a restrained deep-teal
   glow around the heart and very dark corners.
   ========================================================================= */
.home { background: #061018; }
/* One continuous, painterly emerald atmosphere behind the whole page:
   an emerald crown around the heart, soft teal clouds drifting left and
   right, a faint warm gold undertone from below, and a dark edge vignette
   so every section melts into the next with no harsh transitions. */
.home .atmosphere {
  background:
    /* emerald crown, centered on the hero heart */
    radial-gradient(46% 40% at 50% 12%, rgba(30, 108, 98, .34) 0%, rgba(6, 16, 24, 0) 62%),
    /* faint warm amber undertone near the heart */
    radial-gradient(24% 20% at 50% 15%, rgba(190, 134, 72, .12) 0%, rgba(6, 16, 24, 0) 60%),
    /* soft teal clouds drifting to each side */
    radial-gradient(40% 36% at 84% 34%, rgba(26, 96, 88, .22) 0%, rgba(6, 16, 24, 0) 64%),
    radial-gradient(40% 36% at 14% 58%, rgba(20, 82, 78, .18) 0%, rgba(6, 16, 24, 0) 64%),
    /* warm gold undertone rising from below */
    radial-gradient(60% 34% at 50% 100%, rgba(176, 126, 66, .10) 0%, rgba(6, 16, 24, 0) 60%),
    /* dark edge vignette */
    radial-gradient(130% 120% at 50% 42%, rgba(6, 16, 24, 0) 52%, rgba(3, 8, 13, .9) 100%),
    /* dark base */
    radial-gradient(150% 130% at 50% 28%, #08141C 0%, #061018 60%, #050D14 100%),
    #061018;
}

/* Centered, brand-forward hero with generous but balanced breathing room. */
.home .hero { padding-block: clamp(2.75rem, 6vh, 4.5rem) clamp(3rem, 7vh, 5rem); }
.home .hero-inner { align-items: center; }

/* A thin gold divider above the cream band's text */
.home .cream-band .center::before {
  content: ""; display: block; width: 56px; height: 1px; margin: 0 auto 2.75rem;
  background: linear-gradient(to right, rgba(138,106,52,0), var(--gold-deep), rgba(138,106,52,0));
}

/* =========================================================================
   RESPONSIVE: intentional mobile-first behavior
   Breakpoints: <=900 tablet/stack · <=640 phones · fine-tuned 375–430.
   ========================================================================= */

/* ---- Buttons: comfortable tap targets everywhere ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }

/* ---- Tablet / small laptop (<=900px) ---- */
@media (max-width: 900px) {
  .founder-grid { text-align: center; }
  /* Founder: text first, portrait after it (quote is the next section) */
  .founder-grid .portrait { order: 2; width: 100%; max-width: 400px; margin: 1.5rem auto 0; }
  .founder-grid > div { order: 1; }
  .son-door .lede { margin-inline: auto; }
}

/* ---- Phones (<=640px) ---- */
@media (max-width: 640px) {
  :root { --section-y: clamp(3.25rem, 12vw, 5rem); }

  /* Typography: readable, no tiny uppercase labels */
  h1 { font-size: clamp(2.5rem, 12vw, 3.35rem); }
  h2 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .eyebrow { font-size: .9rem; letter-spacing: .2em; margin-bottom: 1.5rem; }
  .attrib, .screen figcaption { font-size: .84rem; letter-spacing: .16em; }
  .store-soon-label { font-size: .95rem; letter-spacing: .18em; }
  .store-soon-note { font-size: .86rem; letter-spacing: .2em; }
  .sub { font-size: clamp(1.15rem, 5.4vw, 1.4rem); }
  .hero-manifesto-lead { font-size: clamp(1.25rem, 5.8vw, 1.6rem); }
  /* Long body paragraphs read better left-aligned (matching desktop);
     keep the short "This is more than an app." declaration centered. */
  .hero-manifesto-body { text-align: left; }
  .hero-manifesto-body .hero-declaration { text-align: center; }
  .hero-lead { font-size: clamp(1.45rem, 6.6vw, 1.9rem); margin-top: 2rem; }
  .hero-signature { font-size: clamp(1.25rem, 5.6vw, 1.6rem); }
  .question { font-size: clamp(1.5rem, 7.5vw, 2rem); margin-block: 2.5rem; }
  .belong-line, .conviction, .punch { font-size: clamp(1.35rem, 6.5vw, 1.85rem); }

  /* Hero: heart stays emotional and large, not overpowering */
  .hero-cta { margin-top: 2.5rem; }
  .heart { width: min(320px, 74vw); }
  .heart-glow { width: min(400px, 100vw); filter: blur(34px); }

  /* Sections: four cards stay a balanced 2 x 2 on phones (never 3 + 1) */
  .pillars { grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2.5rem; }
  .pillar { padding: 1.35rem 1.15rem; border-radius: 18px; }
  .pillar h3 { font-size: 1.08rem; line-height: 1.3; }
  .pillar p { margin-top: .6rem; font-size: .95rem; line-height: 1.6; }
  .screens { margin-top: 2.5rem; }
  .return-lines, .presence-list { font-size: clamp(1.15rem, 5.2vw, 1.5rem); }

  /* App screenshots: swipeable horizontal carousel, kept readable */
  .screens {
    display: flex; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem; margin-inline: calc(var(--edge) * -1); padding-inline: var(--edge);
    scrollbar-width: none;
  }
  .screens::-webkit-scrollbar { display: none; }
  .screen { flex: 0 0 74%; scroll-snap-align: center; }

  /* Forms & buttons: full-width, stacked, no cramped side-by-side */
  .signup { flex-direction: column; align-items: stretch; gap: .85rem; }
  .signup input { flex: none; width: 100%; max-width: none; min-height: 52px; }
  .signup .btn { width: 100%; min-height: 52px; }
  .join-body { max-width: none; }

  /* Founder portrait stays uncropped and centered */
  .founder-grid .portrait { max-width: 320px; }

  /* Keep the letter (For My Son) comfortable */
  .letter { padding-block: clamp(3.5rem, 12vh, 6rem); }
}

/* ---- Very narrow phones (<=380px): protect the largest type ---- */
@media (max-width: 380px) {
  h1 { font-size: clamp(2.25rem, 11.5vw, 2.75rem); }
  .store-badge svg { width: 172px; }
}

/* =========================================================================
   APP SCREENSHOT LIGHTBOX
   Single tap/click opens a screenshot larger over a dark, blurred backdrop.
   Aspect ratio preserved (never cropped/stretched). Close via button, click
   outside, or Escape. Left/right arrows + swipe navigate. Page is locked
   from scrolling while open.
   ========================================================================= */
.screen img { cursor: zoom-in; }

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s ease, visibility .32s ease;
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }

.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 9, 16, .84);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

.lightbox-stage {
  position: relative; z-index: 1; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  max-width: 100%; max-height: 100%;
}
.lightbox-img {
  display: block; width: auto; height: auto;
  max-width: min(86vw, 500px); max-height: 82vh; object-fit: contain;
  border-radius: 24px; border: 1px solid var(--glass-border);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  opacity: 0; transform: scale(.985);
  transition: opacity .3s ease, transform .3s ease;
}
.lightbox-img.is-in { opacity: 1; transform: scale(1); }
.lightbox-caption {
  margin-top: 1.15rem; font-family: var(--sans); font-size: .82rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); text-align: center;
}

.lightbox-close {
  position: absolute; top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem);
  z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; line-height: 1; color: var(--cream-text);
  background: rgba(245, 242, 235, .08); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.lightbox-close:hover { background: rgba(245, 242, 235, .16); border-color: var(--gold); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; line-height: 1; padding-bottom: .18em; color: var(--cream-text);
  background: rgba(245, 242, 235, .08); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; transition: background .3s ease, border-color .3s ease;
}
.lightbox-nav:hover { background: rgba(245, 242, 235, .16); border-color: var(--gold); }
.lightbox-prev { left: clamp(.5rem, 2.5vw, 2rem); }
.lightbox-next { right: clamp(.5rem, 2.5vw, 2rem); }

/* Phones: nearly full-screen with comfortable margins; controls at the base
   so they never sit over the tall portrait screenshot. Swipe also works. */
@media (max-width: 640px) {
  .lightbox { padding: 1.25rem; }
  .lightbox-img { max-width: 90vw; max-height: 72vh; border-radius: 18px; }
  .lightbox-nav {
    top: auto; bottom: clamp(1rem, 5vw, 2rem); transform: none;
    width: 46px; height: 46px;
  }
  .lightbox-prev { left: clamp(1.5rem, 12vw, 4rem); }
  .lightbox-next { right: clamp(1.5rem, 12vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-img { transition: none; }
}
