/* ============================================================
   JoiPad — Shared Stylesheet
   Used by: index.html, updates.html, milestone.html
   ============================================================ */

/* ─── RESET ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── TOKENS ─────────────────────────────
   Awwwards-recommended Auwa palette
   + JoiPad accent colors preserved
─────────────────────────────────────────── */
:root {
  /* Awwwards palette */
  --cream:     #F8F7F4;
  --cream-alt: #EDEAE5;
  --navy:      #0F1623;

  /* JoiPad accents */
  --gold:  #d4b96a;
  --blue:  #8ab4c9;

  /* Light-surface tokens */
  --lt-text:   #0F1623;
  --lt-muted:  rgba(15,22,35,0.42);
  --lt-border: rgba(15,22,35,0.1);

  /* Dark-surface tokens */
  --dk-text:   #F8F7F4;
  --dk-muted:  rgba(248,247,244,0.42);
  --dk-border: rgba(248,247,244,0.1);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --ff-mono:    'Space Mono', 'Courier New', monospace;
}

/* ─── BASE ───────────────────────────────── */
html {
  scroll-behavior: smooth;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--ff-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100vh; overflow-x: hidden; }

img { max-width: 100%; display: block; }

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

/* ─── PAGE LOADER ────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  transition: opacity 1s cubic-bezier(0.4,0,0.2,1),
              visibility 1s;
}

#loader.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  width: 200px;
  height: auto;
  opacity: 0;
  mix-blend-mode: multiply;
  animation: ldMark 0.65s cubic-bezier(0.22,1,0.36,1) 0.15s forwards;
}

.loader__rule {
  width: 36px;
  height: 1px;
  background: var(--navy);
  opacity: 0.25;
  transform: scaleX(0);
  transform-origin: left;
  animation: ldRule 0.55s ease 0.5s forwards;
}

@keyframes ldMark {
  from { opacity: 0; transform: translateY(8px) scale(0.94); }
  to   { opacity: 0.88; transform: translateY(0) scale(1); }
}

@keyframes ldRule {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ─── SCROLL ANIMATIONS ──────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.95s cubic-bezier(0.22,1,0.36,1),
              transform 0.95s cubic-bezier(0.22,1,0.36,1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  #loader .loader__mark, #loader .loader__rule { animation: none; opacity: 1; transform: none; }
  .status-badge__dot { animation: none; }
}

/* ─── SHARED TYPOGRAPHY ──────────────────── */
.label {
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
}

.label--gold { color: var(--gold); }

.display-hero {
  font-family: var(--ff-display);
  font-size: clamp(3.6rem, 9.5vw, 9rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.display-section {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

em.gold {
  font-style: italic;
  color: var(--gold);
}

/* ─── LAYOUT ─────────────────────────────── */
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 2.5rem;
}

/* ─── NAV ────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 80px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  background: rgba(248,247,244,0.88);
  border-bottom: 1px solid rgba(15,22,35,0.08);
  transition: background 0.3s;
}

.nav__inner {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Black logo on cream nav — no filter needed */
.nav__logo {
  height: 76px;
  width: auto;
  opacity: 1.00;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(15,22,35,0.7);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--navy); }
.nav__links a.is-active { color: var(--navy); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.patent-badge {
  font-family: var(--ff-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,185,106,0.38);
  padding: 0.28rem 0.65rem;
  white-space: nowrap;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================================================
   ABOUT PAGE (index.html)
   Hero, Kickstarter, Founder / Our Story, Waitlist
   ============================================================ */

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block-start: 80px;
  padding-inline: 2.5rem;
  text-align: center;
  overflow: hidden;
}

/* Giant watermark fills most of the viewport */
.hero__wm {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero__wm img {
  /* White-background PNG: mix-blend-mode:multiply makes the white
     vanish into the cream ground while the black J strokes show through */
  height: 54vh;
  width: auto;
  max-width: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow { margin-bottom: 2.25rem; }

.hero__headline {
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 300;
  color: rgba(15,22,35,0.62);
  margin-bottom: 1.25rem;
}

.hero__acronym {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: rgba(15,22,35,0.2);
  margin-bottom: 3.75rem;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.btn-waitlist {
  font-family: var(--ff-body);
  font-size: 0.79rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(15,22,35,0.3);
  padding: 0.88rem 2.4rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-waitlist:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-note {
  font-family: var(--ff-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15,22,35,0.3);
}

.link-discover {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(15,22,35,0.28);
  padding-bottom: 0.12rem;
  transition: border-color 0.2s, color 0.2s;
}

.link-discover:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.hero__model {
  position: relative;
  z-index: 1;
  margin-block-start: 4.5rem;
  width: 100%;
  max-width: 540px;
}

.hero__model img {
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  opacity: 0.22;
  z-index: 1;
  pointer-events: none;
}

.scroll-cue__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--navy) 0%, transparent 100%);
  transform-origin: top;
  animation: scrollPour 2.4s ease-in-out infinite;
}

@keyframes scrollPour {
  0%   { transform: scaleY(0); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.scroll-cue__label {
  font-family: var(--ff-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ─── KICKSTARTER  (cream-alt) ───────────── */
.kickstarter {
  background: var(--cream-alt);
  padding-block: 11rem;
  border-top: 1px solid rgba(15,22,35,0.09);
}

.ks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}

.ks__label { margin-bottom: 1.25rem; }

.ks__head { color: var(--navy); }

.ks__goal { margin-block-start: 3.25rem; }

.ks__amount {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ks__goal-label {
  font-family: var(--ff-mono);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lt-muted);
  margin-block-start: 0.55rem;
}

.ks__coming-soon {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-block: 1.75rem;
  border-block: 1px solid rgba(15,22,35,0.1);
  margin-block: 2rem;
}

.ks__coming-soon-label {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
}

.ks__coming-soon-year {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lt-muted);
}

.ks__note {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  line-height: 1.68;
  color: rgba(15,22,35,0.33);
  margin-block-start: 1.75rem;
}

.ks__perks {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(15,22,35,0.09);
}

.perk {
  background: var(--cream);
  padding: 1.85rem 2rem;
  transition: background 0.22s;
}

.perk:hover { background: #f0ede8; }

.perk__tier {
  font-family: var(--ff-mono);
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.perk__title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.perk__desc {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  line-height: 1.68;
  color: var(--lt-muted);
}

/* ─── FOUNDER / OUR STORY  (navy) ───────── */
.founder {
  background: var(--navy);
  padding-block: 11rem;
  border-top: 1px solid rgba(248,247,244,0.08);
}

.founder__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 9rem;
  align-items: start;
}

.founder__sticky {
  position: sticky;
  top: 5.5rem;
}

.founder__sticky .label { margin-bottom: 1.4rem; }

.founder__label-head {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.28;
  color: var(--cream);
}

.founder__quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: rgba(248,247,244,0.85);
  padding-left: 1.75rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 3.75rem;
}

.founder__body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.founder__body p {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.84;
  color: var(--dk-muted);
}

.founder__sig {
  margin-block-start: 3rem;
  padding-block-start: 2.25rem;
  border-top: 1px solid rgba(248,247,244,0.09);
}

.founder__sig-name {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--cream);
}

.founder__sig-role {
  font-family: var(--ff-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,247,244,0.26);
  margin-block-start: 0.55rem;
}

/* ─── WAITLIST CTA  (cream) ──────────────── */
.waitlist {
  background: var(--cream);
  border-top: 1px solid rgba(15,22,35,0.09);
  padding-block: 11rem;
}

.waitlist__inner {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}

.waitlist__inner .label { margin-bottom: 1.1rem; }

.waitlist__head { color: var(--navy); margin-bottom: 1rem; }

.waitlist__sub {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  line-height: 1.74;
  color: rgba(15,22,35,0.44);
  max-width: 46ch;
  margin-inline: auto;
  margin-block-end: 3rem;
}

.waitlist__names {
  display: flex;
  border: 1px solid rgba(15,22,35,0.16);
  overflow: hidden;
  margin-bottom: 0.6rem;
  transition: border-color 0.2s;
}

.waitlist__names:focus-within {
  border-color: var(--gold);
}

.waitlist__names .waitlist__input {
  border-right: 1px solid rgba(15,22,35,0.12);
}

.waitlist__names .waitlist__input:last-child {
  border-right: none;
}

.waitlist__form {
  display: flex;
  border: 1px solid rgba(15,22,35,0.16);
  overflow: hidden;
  transition: border-color 0.2s;
}

.waitlist__form:focus-within {
  border-color: var(--gold);
}

.waitlist__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.95rem 1.3rem;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: var(--navy);
}

.waitlist__input::placeholder { color: rgba(15,22,35,0.28); }

.waitlist__btn {
  background: rgba(212,185,106,0.12);
  border: none;
  border-left: 1px solid rgba(15,22,35,0.1);
  padding: 0.95rem 1.6rem;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.waitlist__btn:hover { background: rgba(212,185,106,0.28); }

.waitlist__note {
  margin-block-start: 1rem;
  font-family: var(--ff-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: rgba(15,22,35,0.2);
}

.waitlist__responses {
  max-width: 420px;
  margin-inline: auto;
}

.waitlist__responses .response {
  margin-block-start: 0.8rem;
  font-family: var(--ff-body);
  font-size: 0.8rem;
}

#mce-error-response   { color: #b3492f; }
#mce-success-response { color: var(--navy); }

.waitlist__mc-credit {
  display: block;
  margin-block-start: 0.9rem;
  font-family: var(--ff-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: rgba(15,22,35,0.22);
  text-decoration: none;
}

.waitlist__mc-credit:hover { color: rgba(15,22,35,0.4); }

/* ============================================================
   UPDATES PAGE (updates.html)
   Page Header, Milestone Tracker, Announcements, Follow-Along CTA
   ============================================================ */

/* ─── PAGE HEADER (cream) ────────────────── */
.page-header {
  padding-block-start: calc(80px + 7rem);
  padding-block-end: 6rem;
  padding-inline: 2.5rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(15,22,35,0.09);
}

.page-header__inner {
  max-width: 720px;
}

.page-header .label { margin-bottom: 1.4rem; }

.page-header .display-section { color: var(--navy); margin-bottom: 1.5rem; }

.page-header__sub {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(15,22,35,0.5);
  max-width: 52ch;
}

.page-header__welcome {
  margin-block-start: 3rem;
  padding-left: 1.75rem;
  border-left: 2px solid var(--gold);
  max-width: 640px;
}

.page-header__welcome-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.page-header__welcome p {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(15,22,35,0.55);
  margin-bottom: 1.15rem;
}

.page-header__welcome p:last-of-type { margin-bottom: 0; }

.page-header__welcome p a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
}

.page-header__welcome p a:hover { color: var(--gold); }

.page-header__welcome p.page-header__welcome-sig {
  margin-block-start: 1.4rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
}

/* ─── MILESTONE TRACKER  (cream-alt) ─────── */
.tracker-section {
  background: var(--cream-alt);
  border-bottom: 1px solid rgba(15,22,35,0.09);
  padding-block: 5rem;
}

.tracker-section__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.tracker-section__head .label { margin-bottom: 1rem; }

.tracker-section__title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.6rem;
  text-wrap: balance;
}

.tracker-section__note {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15,22,35,0.38);
}

.tracker__scroll { overflow-x: auto; padding-block: 1.5rem 0.5rem; }

/* Fixed-size canvas so branch geometry (fork/merge coordinates) stays
   exact — the whole thing scrolls horizontally on narrow screens
   instead of reflowing, same pattern the old linear tracker used. */
.tracker__diagram {
  position: relative;
  width: 1740px;
  height: 260px;
}

.tracker__lines {
  position: absolute;
  left: 0;
  top: 0;
}

.tracker__lines path {
  stroke: rgba(15,22,35,0.15);
  stroke-width: 2;
}

.tracker__lines path.is-done { stroke: var(--gold); }

.tracker__node {
  position: absolute;
  z-index: 1;
  text-decoration: none;
}

.tracker__node:hover .tracker__dot { border-color: var(--gold); }
.tracker__node:hover .tracker__label { color: var(--gold); }

.tracker__dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: 2px solid rgba(15,22,35,0.18);
  transition: border-color 0.2s;
}

.tracker__dot--done    { background: var(--gold); border-color: var(--gold); }
.tracker__dot--active  { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(138,180,201,0.25); }
.tracker__dot--upcoming{ background: var(--cream-alt); border-color: rgba(15,22,35,0.18); }

.tracker__label {
  position: absolute;
  left: 0;
  width: 9rem;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  transition: color 0.2s;
}

.tracker__label--below { top: 14px; transform: translateX(-50%); }
.tracker__label--above { top: -14px; transform: translate(-50%, -100%); }

.tracker__label--done     { color: rgba(15,22,35,0.55); }
.tracker__label--active   { color: var(--navy); font-weight: 700; }
.tracker__label--upcoming { color: rgba(15,22,35,0.3); }

.tracker__hint {
  display: none;
  margin-block-start: 1rem;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15,22,35,0.28);
}

@media (max-width: 820px) {
  .tracker__hint { display: block; }
}

/* ─── ANNOUNCEMENTS  (cream) ─────────────── */
.announcements {
  background: var(--cream);
  padding-block: 6rem 9rem;
}

.ann-list {
  list-style: none;
  max-width: 800px;
}

.ann-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 2.5rem;
  padding-block: 2.5rem;
  border-top: 1px solid rgba(15,22,35,0.09);
}

.ann-item:last-child { border-bottom: 1px solid rgba(15,22,35,0.09); }

.ann-item:nth-child(1) { transition-delay: 0.05s; }
.ann-item:nth-child(2) { transition-delay: 0.10s; }
.ann-item:nth-child(3) { transition-delay: 0.15s; }
.ann-item:nth-child(4) { transition-delay: 0.20s; }
.ann-item:nth-child(5) { transition-delay: 0.25s; }
.ann-item:nth-child(6) { transition-delay: 0.30s; }

.ann-date {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(15,22,35,0.32);
  padding-top: 0.2rem;
}

.ann-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.ann-desc {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--lt-muted);
  margin-bottom: 1rem;
  max-width: 56ch;
}

.ann-tag {
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border: 1px solid;
  display: inline-block;
}

.ann-tag--done   { color: var(--gold); border-color: rgba(212,185,106,0.38); }
.ann-tag--active { color: var(--blue); border-color: rgba(138,180,201,0.35); }
.ann-tag--next   { color: rgba(15,22,35,0.4); border-color: rgba(15,22,35,0.18); }

.announcements__head { margin-bottom: 2.5rem; }
.announcements__head .label { margin-bottom: 1rem; }

.announcements__empty {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: rgba(15,22,35,0.32);
}

/* ─── FOLLOW-ALONG CTA  (cream-alt) ──────── */
.follow {
  background: var(--cream-alt);
  border-top: 1px solid rgba(15,22,35,0.09);
  padding-block: 7rem;
  text-align: center;
}

.follow__inner {
  max-width: 560px;
  margin-inline: auto;
}

.follow .label { margin-bottom: 1.1rem; }

.follow__head {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.follow__sub {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(15,22,35,0.44);
  max-width: 44ch;
  margin-inline: auto;
  margin-block-end: 2.25rem;
}

/* .btn-waitlist is defined once, under HERO above — reused here. */

/* ============================================================
   MILESTONE PAGE (milestone.html)
   Milestone Detail, Milestone Body, Prev/Next Nav
   ============================================================ */

/* ─── MILESTONE DETAIL ───────────────────── */
.m-header {
  padding-block-start: calc(80px + 6rem);
  padding-block-end: 3rem;
  padding-inline: 2.5rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(15,22,35,0.09);
}

.m-header__inner { max-width: 720px; }

.m-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15,22,35,0.4);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.m-back:hover { color: var(--navy); }

.m-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.m-date {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(15,22,35,0.4);
}

.m-tag {
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border: 1px solid;
  display: inline-block;
}

.m-tag--done   { color: var(--gold); border-color: rgba(212,185,106,0.38); }
.m-tag--active { color: var(--blue); border-color: rgba(138,180,201,0.35); }
.m-tag--next   { color: rgba(15,22,35,0.4); border-color: rgba(15,22,35,0.18); }

.m-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}

/* ─── MILESTONE BODY  (cream-alt) ────────── */
.m-body-section {
  background: var(--cream-alt);
  padding-block: 4.5rem;
}

.m-body {
  max-width: 640px;
}

.m-body p {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(15,22,35,0.62);
  margin-bottom: 1.35rem;
}

.m-body p:last-child { margin-bottom: 0; }

/* Sub-updates nested under one milestone */
.m-sub {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-block: 2rem;
}

.m-sub:last-child { margin-block-end: 0; }

.m-sub__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.m-sub__title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
}

.m-sub__date {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15,22,35,0.4);
}

/* Photo/sketch gallery, grouped by heading */
.m-gallery { margin-block: 2.5rem; }
.m-gallery:first-child { margin-block-start: 0; }

.m-gallery__heading {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.m-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.7rem;
}

.m-gallery__grid a {
  display: block;
  border: 1px solid rgba(15,22,35,0.1);
  overflow: hidden;
  transition: border-color 0.2s;
}

.m-gallery__grid a:hover { border-color: var(--gold); }

.m-gallery__grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Lightbox — opens gallery images in an overlay instead of a new tab */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15,22,35,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox__close:hover { opacity: 1; }

/* ─── PREV / NEXT NAV  (cream) ───────────── */
.m-nav {
  background: var(--cream);
  border-top: 1px solid rgba(15,22,35,0.09);
  padding-block: 2.5rem;
}

.m-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.m-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  max-width: 45%;
}

.m-nav__link--next { align-items: flex-end; text-align: right; margin-inline-start: auto; }

.m-nav__dir {
  font-family: var(--ff-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15,22,35,0.32);
}

.m-nav__label {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  transition: color 0.2s;
}

.m-nav__link:hover .m-nav__label { color: var(--gold); }

/* ============================================================
   PRODUCT PAGE (product.html)
   Product Header, How It Works, Features
   ============================================================ */

/* ─── PRODUCT HEADER  (cream) ────────────── */
/* No background of its own — same trick as .hero on index.html —
   so the fixed watermark behind it (negative z-index) stays visible
   instead of being painted over. */
.product-header {
  position: relative;
  overflow: hidden;
  padding-block-start: calc(80px + 7rem);
  padding-block-end: 6rem;
  padding-inline: 2.5rem;
}

.product-header__wm {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.product-header__wm img {
  height: 46vh;
  width: auto;
  max-width: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.product-header__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.product-header__image {
  display: flex;
  justify-content: flex-end;
}

.product-header__image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* Headline needs an exact break ("The heating pad," / "reinvented.")
   instead of .display-section's default balanced auto-wrap, and a
   smaller ceiling than .display-section so line 1 doesn't outgrow the
   narrower text column next to the product image. */
.product-header__headline {
  font-size: clamp(2.1rem, 1.4rem + 2.5vw, 3.5rem);
  text-wrap: wrap;
}

.product-header__headline-line1 { white-space: nowrap; }

@media (max-width: 480px) {
  .product-header__headline-line1 { white-space: normal; }
}

.status-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-block-start: 1.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212,185,106,0.38);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.status-badge:hover {
  border-color: var(--gold);
  background: rgba(212,185,106,0.08);
}

.status-badge:hover .status-badge__detail { color: var(--navy); }

.status-badge__dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.status-badge__label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.status-badge__sep { color: rgba(15,22,35,0.25); }

.status-badge__detail { color: rgba(15,22,35,0.45); }

@keyframes statusPulse {
  0%, 100%  { opacity: 1;    box-shadow: 0 0 0 0 rgba(212,185,106,0.45); }
  50%       { opacity: 0.5;  box-shadow: 0 0 0 4px rgba(212,185,106,0); }
}

/* ─── FOLLOW CTA — product.html-only line ── */
/* .follow / .follow__sub are shared with updates.html's Follow-Along
   CTA (defined above, under UPDATES PAGE); this line is specific to
   product.html so it's scoped here instead. */
.follow__status {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(15,22,35,0.4);
  margin-block-end: 2rem;
}

/* ─── HOW IT WORKS  (cream) ──────────────── */
.how {
  background: var(--cream);
  padding-block: 6rem 11rem;
}

.how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.how__image img { width: 100%; }

/* Reveal video is portrait (9:16) — cap its width so it doesn't
   tower over the step list beside it. */
.how__image video {
  width: 100%;
  max-width: 340px;
  display: block;
  margin-inline: auto;
  border-radius: 12px;
}

.how__header { margin-bottom: 2.75rem; }

.how__header .label { margin-bottom: 1.4rem; }

.how__header .display-section { color: var(--navy); }

.how__steps { list-style: none; }

.how__step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(15,22,35,0.09);
}

.how__step:nth-child(1) { transition-delay: 0.1s; }
.how__step:nth-child(2) { transition-delay: 0.16s; }
.how__step:nth-child(3) { transition-delay: 0.22s; }
.how__step:nth-child(4) { transition-delay: 0.28s; }

.how__step:last-child { border-bottom: 1px solid rgba(15,22,35,0.09); }

.how__num {
  font-family: var(--ff-mono);
  font-size: 0.58rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.how__step-title {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.how__step-desc {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--lt-muted);
}

/* ─── FEATURES  (navy) ───────────────────── */
.features {
  background: var(--navy);
  padding-block: 11rem;
  border-top: 1px solid rgba(248,247,244,0.08);
}

.features__header { margin-bottom: 5rem; }

.features__header .label { margin-bottom: 1.25rem; }

.features__header .display-section { color: var(--cream); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(248,247,244,0.07);
}

.feat-card {
  background: var(--navy);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.25s;
}

.feat-card:nth-child(1) { transition-delay: 0.05s; }
.feat-card:nth-child(2) { transition-delay: 0.10s; }
.feat-card:nth-child(3) { transition-delay: 0.15s; }
.feat-card:nth-child(4) { transition-delay: 0.20s; }
.feat-card:nth-child(5) { transition-delay: 0.25s; }
.feat-card:nth-child(6) { transition-delay: 0.30s; }

.feat-card:hover { background: #141e2f; }

.feat-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.feat-icon--gold {
  background: rgba(212,185,106,0.08);
  border: 1px solid rgba(212,185,106,0.28);
  color: var(--gold);
}

.feat-icon--blue {
  background: rgba(138,180,201,0.08);
  border: 1px solid rgba(138,180,201,0.22);
  color: var(--blue);
}

.feat-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.feat-desc {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--dk-muted);
  flex: 1;
}

.feat-tag {
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border: 1px solid;
  display: inline-block;
  align-self: flex-start;
}

.feat-tag--gold { color: var(--gold); border-color: rgba(212,185,106,0.28); }
.feat-tag--blue { color: var(--blue); border-color: rgba(138,180,201,0.22); }

/* ─── FOOTER  (navy) ─────────────────────── */
.footer {
  background: var(--navy);
  padding-block: 2.5rem;
  border-top: 1px solid rgba(248,247,244,0.07);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Black logo on navy — invert to white */
.footer__logo {
  height: 49px;
  width: auto;
  filter: invert(1);
  opacity: 0.32;
}

.footer__copy {
  font-family: var(--ff-mono);
  font-size: 0.54rem;
  letter-spacing: 0.07em;
  color: rgba(248,247,244,0.2);
  text-align: center;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__social a {
  display: flex;
  color: rgba(248,247,244,0.32);
  transition: color 0.2s ease;
}

.footer__social a:hover { color: var(--gold); }

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__patent {
  font-family: var(--ff-mono);
  font-size: 0.54rem;
  letter-spacing: 0.07em;
  color: rgba(212,185,106,0.36);
  text-align: right;
}

/* ─── RESPONSIVE ─────────────────────────── */

/* ABOUT PAGE only */
@media (max-width: 960px) {
  .ks__grid,
  .founder__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .founder__sticky { position: static; }

  .kickstarter, .founder, .waitlist { padding-block: 8rem; }
}

/* PRODUCT PAGE only */
@media (max-width: 960px) {
  .product-header__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-header__image { justify-content: center; }

  .how__grid { grid-template-columns: 1fr; gap: 4rem; }

  .features__grid { grid-template-columns: repeat(2,1fr); }

  .how, .features { padding-block: 8rem; }
}

/* Shared mobile nav + footer, then page-specific rules below */
@media (max-width: 640px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: 80px 0 auto;
    background: rgba(248,247,244,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 2.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(15,22,35,0.09);
    z-index: 199;
  }

  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1rem; color: rgba(15,22,35,0.72); }
  .nav__burger { display: flex; }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer__patent { text-align: center; }

  /* ABOUT PAGE only */
  .kickstarter, .founder, .waitlist { padding-block: 6rem; }

  .waitlist__names { flex-direction: column; }
  .waitlist__names .waitlist__input { border-right: none; border-bottom: 1px solid rgba(15,22,35,0.12); }
  .waitlist__names .waitlist__input:last-child { border-bottom: none; }

  /* PRODUCT PAGE only */
  .features__grid { grid-template-columns: 1fr; }

  .how, .features { padding-block: 6rem; }

  /* UPDATES PAGE only */
  .page-header { padding-block-end: 4rem; }

  .tracker-section { padding-block: 3.5rem; }
  .tracker-section__head { margin-bottom: 2.5rem; }

  .ann-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .announcements { padding-block: 4rem 6rem; }
  .follow { padding-block: 5rem; }

  /* MILESTONE PAGE only */
  .m-header { padding-block-end: 2.25rem; }
  .m-body-section { padding-block: 3rem; }

  .m-nav__inner { flex-direction: column; align-items: stretch; }
  .m-nav__link, .m-nav__link--next { max-width: 100%; }
  .m-nav__link--next { align-items: flex-start; text-align: left; margin-inline-start: 0; }
}
