/* ============================================================
   INR CIRCLE — Design System
   Quiet luxury: espresso ink, warm cream, champagne gold.
   Type: Fraunces (display) + Jost (text/UI)
   ============================================================ */

:root {
  /* Palette */
  --ink: #1f1912;
  --espresso: #2c241a;
  --espresso-2: #3a3024;
  --walnut: #6c5844;
  --taupe: #94816c;
  --stone: #b9aa93;
  --cream: #f2ede1;
  --cream-light: #faf7f0;
  --paper: #fffdf8;
  --sand: #e5cda7;
  --gold: #b8894a;
  --gold-deep: #99703a;
  --gold-light: #d9bc8c;
  --line: rgba(44, 36, 26, 0.12);
  --line-dark: rgba(250, 247, 240, 0.14);
  --success: #4f7a5b;
  --danger: #b4423a;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Fluid type scale */
  --text-hero: clamp(2.6rem, 5.4vw + 1rem, 4.9rem);
  --text-h2: clamp(2rem, 3.2vw + 0.6rem, 3.3rem);
  --text-h3: clamp(1.35rem, 1.4vw + 0.7rem, 1.8rem);
  --text-lead: clamp(1.08rem, 0.5vw + 0.9rem, 1.3rem);

  /* Spacing (spacious) */
  --space-section: clamp(5rem, 10vw, 8.5rem);
  --space-block: clamp(2.5rem, 5vw, 4rem);

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-soft: 0 24px 60px -24px rgba(31, 25, 18, 0.22);
  --shadow-lift: 0 34px 80px -30px rgba(31, 25, 18, 0.35);
  --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px; /* fixed nav won't hide anchored sections */
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-tap-highlight-color: rgba(184, 137, 74, 0.18);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Long strings (emails, URLs) must never force horizontal scroll on small screens */
.footer ul a,
.invite-contact a,
.invite-contact span,
.auth-alt {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Fallback for browsers without CSS aspect-ratio (older Android WebView):
   give media boxes a sensible height instead of collapsing to zero. */
@supports not (aspect-ratio: 1 / 1) {
  .video-frame {
    height: 540px;
  }
  .opp-media {
    height: 200px;
  }
  .ch-media .frame img {
    height: 300px;
  }
  .circle-media img {
    height: 520px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--sand);
  color: var(--ink);
}

/* Subtle paper grain on light sections */
.grain {
  position: relative;
}
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.14 0 0 0 0 0.10 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * {
  position: relative;
}

/* ---------- Layout ---------- */
.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.container-wide {
  width: min(1320px, 94vw);
  margin-inline: auto;
}

section {
  padding-block: var(--space-section);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}
.on-dark .eyebrow {
  color: var(--gold-light);
}
.on-dark .eyebrow::before {
  background: var(--gold-light);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--cream-light);
}

h2 {
  font-size: var(--text-h2);
  max-width: 21ch;
}

h2 em,
h1 em,
.serif-em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.on-dark h2 em,
.on-dark h1 em {
  color: var(--gold-light);
}

.lead {
  font-size: var(--text-lead);
  font-weight: 300;
  color: var(--walnut);
  max-width: 58ch;
  margin-top: 1.4rem;
}
.on-dark .lead {
  color: var(--stone);
}

.section-head {
  margin-bottom: var(--space-block);
}
.section-head.center {
  text-align: center;
}
.section-head.center h2,
.section-head.center .lead {
  margin-inline: auto;
}
.section-head.center .eyebrow::before {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.28s var(--ease-luxe);
  cursor: pointer;
  min-height: 48px;
}

.btn-gold {
  background: var(--gold);
  color: #fffdf8;
}
.btn-gold:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(153, 112, 58, 0.55);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream-light);
}
.btn-ink:hover {
  background: var(--espresso-2);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line);
  color: var(--espresso);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.on-dark .btn-outline {
  border-color: var(--line-dark);
  color: var(--cream-light);
}
.on-dark .btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.28s var(--ease-luxe);
}
.btn:hover svg {
  transform: translateX(4px);
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding-block: 1.4rem;
}
.nav.scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.85rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream-light);
  transition: color 0.4s ease;
}
.nav.scrolled .brand,
.nav.solid .brand {
  color: var(--ink);
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand-name span {
  color: var(--gold);
  font-weight: 400;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: color 0.25s ease, opacity 0.25s ease;
  padding: 0.4rem 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-luxe);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav.scrolled .nav-links a,
.nav.solid .nav-links a {
  color: var(--espresso);
}
.nav-links a:hover {
  opacity: 1;
  color: var(--gold-light);
}
.nav.scrolled .nav-links a:hover,
.nav.solid .nav-links a:hover {
  color: var(--gold-deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-cta .btn {
  padding: 0.7rem 1.5rem;
  min-height: 42px;
  font-size: 0.72rem;
}
.nav-login {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.25s ease;
}
.nav.scrolled .nav-login,
.nav.solid .nav-login {
  color: var(--espresso);
}
.nav-login:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin: 6px auto;
  transition: transform 0.3s var(--ease-luxe), opacity 0.3s;
  color: var(--cream-light);
}
.nav.scrolled .nav-toggle span,
.nav.solid .nav-toggle span {
  color: var(--ink);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--cream-light);
  overflow: hidden;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(4rem, 8vh, 6rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-skyline.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.34;
  filter: saturate(0.6) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(31, 25, 18, 0.55) 0%,
      rgba(31, 25, 18, 0.25) 40%,
      rgba(31, 25, 18, 0.92) 100%
    ),
    radial-gradient(
      90rem 40rem at 80% -10%,
      rgba(184, 137, 74, 0.28),
      transparent 60%
    );
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.hero-copy h1 {
  font-size: var(--text-hero);
  font-weight: 480;
  color: var(--cream-light);
  max-width: 15ch;
}
.hero-copy .lead {
  color: var(--stone);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

/* Framed portrait video */
.hero-media {
  position: relative;
  justify-self: center;
}
.video-frame {
  position: relative;
  width: min(320px, 72vw);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(217, 188, 140, 0.35);
  transform: rotate(1.5deg);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(250, 247, 240, 0.12);
  pointer-events: none;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -1.4rem -1.4rem auto auto;
  width: 78%;
  height: 88%;
  border: 1px solid rgba(217, 188, 140, 0.4);
  border-radius: 16px;
  transform: rotate(-2deg) translate(-1.6rem, 2.2rem);
  pointer-events: none;
}
.video-caption {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.video-sound {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 240, 0.35);
  background: rgba(31, 25, 18, 0.55);
  color: var(--cream-light);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.video-sound:hover {
  background: rgba(31, 25, 18, 0.8);
  border-color: var(--gold-light);
}
.video-sound svg {
  width: 18px;
  height: 18px;
}

/* Hero stats band */
.hero-stats {
  position: relative;
  margin-top: clamp(3rem, 6vh, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-stat {
  padding: 1.8rem 1.5rem 0.2rem;
  border-left: 1px solid var(--line-dark);
}
.hero-stat:first-child {
  border-left: 0;
  padding-left: 0;
}
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  font-weight: 500;
  color: var(--cream-light);
}
.hero-stat b em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-stat b span {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.hero-stat > span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--espresso);
  border-block: 1px solid var(--line-dark);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
.marquee span::after {
  content: "◆";
  font-size: 0.5rem;
  color: var(--gold);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--cream-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.manifesto-orbit svg {
  width: min(720px, 96vw);
  height: auto;
  animation: orbit-spin 100s linear infinite;
  transform-origin: center;
}
@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}
.manifesto .container {
  position: relative;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 420;
  line-height: 1.28;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
}
.manifesto blockquote em {
  font-style: italic;
  color: var(--gold-deep);
}
/* word-by-word cinematic reveal (spans injected by main.js) */
.manifesto blockquote .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease-luxe), transform 0.7s var(--ease-luxe),
    filter 0.7s var(--ease-luxe);
  transition-delay: var(--wd, 0s);
}
.manifesto blockquote.visible .w {
  opacity: 1;
  transform: none;
  filter: none;
}

/* The story as an era progression line */
.era-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: start;
  margin: 4rem auto 0;
  max-width: 980px;
  text-align: left;
}
.era-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
}
.era-tag i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: var(--sand);
  line-height: 1;
}
.era p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--walnut);
}
.era p strong {
  color: var(--ink);
  font-weight: 500;
}
.era-connector {
  align-self: center;
  width: clamp(2rem, 5vw, 4.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--sand), var(--gold));
  position: relative;
  margin-top: 1rem;
}
.era-connector::after {
  content: "◆";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 0.5rem;
  color: var(--gold);
}
.manifesto-close {
  margin: 4rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: var(--espresso);
}
.manifesto-close::before,
.manifesto-close::after {
  content: "";
  width: clamp(2.5rem, 8vw, 6rem);
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

/* ---------- Evolution / The Idea ---------- */
.idea {
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.idea-card {
  background: var(--cream);
  padding: 2.8rem 2.2rem;
  position: relative;
  transition: background 0.35s ease;
}
.idea-card:hover {
  background: var(--cream-light);
}
.idea-card .step {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 1.6rem;
  display: block;
}
.idea-card h3 {
  font-size: var(--text-h3);
  margin-bottom: 0.9rem;
}
.idea-card p {
  font-weight: 300;
  color: var(--walnut);
  font-size: 0.98rem;
}
.idea-card.featured {
  background: var(--ink);
}
.idea-card.featured:hover {
  background: var(--espresso);
}
.idea-card.featured h3 {
  color: var(--cream-light);
}
.idea-card.featured p {
  color: var(--stone);
}
.idea-card.featured .step {
  color: var(--gold-light);
}

/* ---------- The Gap (deck: what a ₹1 Cr buyer gets) ---------- */
.gap-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
  align-items: stretch;
}
.gap-card {
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.45s var(--ease-luxe), box-shadow 0.45s var(--ease-luxe);
}
.gap-card.today {
  transform: rotate(-1.1deg);
}
.gap-card.through {
  transform: rotate(1.1deg);
}
.gap-card:hover {
  transform: rotate(0deg) translateY(-4px);
}
.gap-card.today:hover {
  box-shadow: var(--shadow-soft);
}
.gap-motif {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 1.3rem;
}
.gap-motif svg {
  width: 100%;
  height: 100%;
}
/* the divider column — "vs" can never overlap the cards */
.gap-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}
.gap-divider::before,
.gap-divider::after {
  content: "";
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, var(--gold));
  opacity: 0.45;
}
.gap-divider::after {
  background: linear-gradient(180deg, var(--gold), transparent);
}
.gap-vs {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-deep);
}
.gap-card .gap-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.4rem;
}
.gap-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
}
.gap-card ul {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.gap-card li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--walnut);
}
.gap-card li .mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}
.gap-card li .mark svg {
  width: 11px;
  height: 11px;
}
.gap-card.today li .mark {
  border: 1px solid var(--line);
  color: var(--taupe);
}
.gap-card.through {
  background: var(--ink);
  border-color: rgba(217, 188, 140, 0.35);
  box-shadow: var(--shadow-lift);
}
.gap-card.through .gap-tag {
  color: var(--gold-light);
}
.gap-card.through h3 {
  color: var(--cream-light);
}
.gap-card.through li {
  color: var(--stone);
}
.gap-card.through li .mark {
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: rgba(184, 137, 74, 0.14);
}

/* ---------- How it works — the journey timeline ---------- */
.how {
  background: var(--cream-light);
}
/* Editorial chapter rows — image + story per step */
.chapters {
  max-width: 1120px;
  margin: 0 auto;
}
.chapter {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.chapter.flip .ch-media {
  order: 2;
}
.ch-media {
  position: relative;
}
.ch-media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.ch-media .frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
  transition: transform 1s var(--ease-luxe);
}
.chapter:hover .ch-media .frame img {
  transform: scale(1.05);
}
.ch-media .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(31, 25, 18, 0) 55%,
    rgba(31, 25, 18, 0.55) 100%
  );
  pointer-events: none;
}
/* offset gold frame behind the photo */
.ch-media::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--gold);
  opacity: 0.5;
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: transform 0.6s var(--ease-luxe);
}
.chapter.flip .ch-media::before {
  inset: 1.2rem 1.2rem -1.2rem -1.2rem;
}
.chapter:hover .ch-media::before {
  transform: translate(-4px, -4px);
}
/* outlined giant numeral overlapping the photo */
.ch-num {
  position: absolute;
  top: -3.2rem;
  right: -0.6rem;
  z-index: 3;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 9vw, 7.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  pointer-events: none;
  user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .ch-num {
    color: var(--sand);
  }
}
.chapter.flip .ch-num {
  right: auto;
  left: -0.6rem;
}
/* floating chip on the photo */
.ch-chip {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  background: rgba(31, 25, 18, 0.55);
  border: 1px solid rgba(217, 188, 140, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ch-chip svg {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
  flex: none;
}
.ch-body .j-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.ch-body h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 0.9rem;
  max-width: 18ch;
}
.ch-body > p {
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--walnut);
  max-width: 50ch;
}
.ch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.ch-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--walnut);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.ch-tag::before {
  content: "◆";
  font-size: 0.42rem;
  color: var(--gold);
}
.chapter:hover .ch-tag {
  border-color: rgba(184, 137, 74, 0.4);
}
/* connector between chapters */
.ch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.6rem, 3.5vw, 2.8rem) 0;
}
.ch-connector span {
  width: 1px;
  height: clamp(2.6rem, 5vw, 4.2rem);
  background: linear-gradient(180deg, var(--sand), var(--gold));
}
.ch-connector::after {
  content: "◆";
  font-size: 0.5rem;
  color: var(--gold);
  margin-top: 0.4rem;
}

/* The seal — skin in the game, terminus of the timeline */
.how-seal {
  position: relative;
  max-width: 560px;
  margin: 1.5rem auto 0;
  text-align: center;
  padding-top: 0.5rem;
}
.seal-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px var(--cream-light), 0 0 0 9px rgba(184, 137, 74, 0.5),
    var(--shadow-soft);
}
.seal-mark svg {
  width: 52px;
  height: 52px;
  animation: orbit-spin 40s linear infinite;
}
.how-seal p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--espresso);
}
.how-seal p b {
  color: var(--gold-deep);
  font-weight: 500;
}

/* ---------- Opportunities ---------- */
.opps {
  background: var(--ink);
  color: var(--cream-light);
}
.opps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.opp-card {
  background: var(--espresso);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-luxe), box-shadow 0.4s var(--ease-luxe),
    border-color 0.4s;
}
.opp-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 188, 140, 0.45);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.opp-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.opp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxe);
}
.opp-card:hover .opp-media img {
  transform: scale(1.06);
}
.opp-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.95rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.opp-status.live {
  background: rgba(79, 122, 91, 0.85);
  color: #eaf3ec;
}
.opp-status.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b6dcc0;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}
.opp-status.upcoming {
  background: rgba(184, 137, 74, 0.88);
  color: #fff8ec;
}
.opp-status.closed {
  background: rgba(58, 48, 36, 0.85);
  color: var(--stone);
}
.opp-body {
  padding: 1.7rem 1.7rem 1.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.opp-loc {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.opp-body h3 {
  font-size: 1.5rem;
  color: var(--cream-light);
  margin-bottom: 0.6rem;
}
.opp-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--stone);
  margin-bottom: 1.4rem;
  flex: 1;
}
.opp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-dark);
}
.opp-meta div b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--cream-light);
}
.opp-meta div span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}
.opp-bar {
  margin-top: 1.4rem;
}
.opp-bar-track {
  height: 4px;
  background: var(--espresso-2);
  border-radius: 4px;
  overflow: hidden;
}
.opp-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  border-radius: 4px;
  transition: width 1.4s var(--ease-luxe);
}
.opp-bar-label {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}
.opp-bar-label b {
  color: var(--gold-light);
  font-weight: 600;
}

/* ---------- Why / bento ---------- */
.why {
  background: var(--cream-light);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  transition: transform 0.35s var(--ease-luxe), box-shadow 0.35s var(--ease-luxe);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.why-icon {
  display: block;
  width: 46px;
  height: 46px;
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
}
.why-icon svg {
  width: 100%;
  height: 100%;
}
.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.why-card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--walnut);
}

/* ---------- Calculator ---------- */
.calc {
  background: var(--espresso);
  color: var(--cream-light);
  border-block: 1px solid var(--line-dark);
}
.calc-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.calc-controls label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
}
.calc-controls label output {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-light);
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--espresso-2);
  outline-offset: 6px;
  margin-bottom: 2.6rem;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 4px solid var(--espresso);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: grab;
  transition: transform 0.2s ease;
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 4px solid var(--espresso);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: grab;
}
.calc-result {
  background: rgba(31, 25, 18, 0.55);
  border: 1px solid rgba(217, 188, 140, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  text-align: center;
}
.calc-result .label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}
.calc-result .value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.15;
  margin: 0.7rem 0;
}
.calc-result .sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--stone);
}
.calc-note {
  margin-top: 1.8rem;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--taupe);
  max-width: 46ch;
}

/* ---------- Circle / membership ---------- */
.circle {
  background: var(--cream-light);
}
.circle-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.circle-media {
  position: relative;
}
.circle-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.circle-media::after {
  content: "";
  position: absolute;
  inset: auto auto -1.6rem -1.6rem;
  width: 60%;
  height: 60%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.circle-list {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.5rem;
}
.circle-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.circle-item .tick {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin-top: 0.2rem;
}
.circle-item .tick svg {
  width: 13px;
  height: 13px;
}
.circle-item h3 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
}
.circle-item p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--walnut);
  margin-top: 0.2rem;
}

/* ---------- Testimonials ---------- */
.voices {
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.voice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-luxe), box-shadow 0.35s var(--ease-luxe);
}
.voice:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.voice-quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--sand);
  margin-bottom: 1.2rem;
}
.voice p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--espresso);
  flex: 1;
}
.voice footer {
  margin-top: 1.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.voice footer b {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.voice footer span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--cream-light);
}
.faq-list {
  max-width: 780px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: none;
  border: 0;
  padding: 1.7rem 0.2rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s ease;
}
.faq-q:hover {
  color: var(--gold-deep);
}
.faq-q .faq-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-luxe), background 0.3s, border-color 0.3s;
}
.faq-q .faq-icon svg {
  width: 13px;
  height: 13px;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease-luxe);
}
.faq-a p {
  padding: 0 0.2rem 1.8rem;
  font-weight: 300;
  color: var(--walnut);
  max-width: 64ch;
}

/* ---------- CTA / invite ---------- */
.invite {
  background: var(--ink);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}
.invite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      70rem 30rem at 15% 0%,
      rgba(184, 137, 74, 0.16),
      transparent 60%
    ),
    radial-gradient(
      60rem 30rem at 90% 110%,
      rgba(184, 137, 74, 0.1),
      transparent 60%
    );
}
.invite-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}
.invite-copy h2 {
  color: var(--cream-light);
}
.invite-contact {
  margin-top: 2.4rem;
  display: grid;
  gap: 1rem;
  font-weight: 300;
  color: var(--stone);
}
.invite-contact a {
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.invite-contact a:hover {
  border-color: var(--gold-light);
}

.form-card {
  background: rgba(44, 36, 26, 0.75);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  backdrop-filter: blur(10px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-field {
  display: grid;
  gap: 0.45rem;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  background: rgba(31, 25, 18, 0.6);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--cream-light);
  transition: border-color 0.25s ease, background 0.25s ease;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--walnut);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(31, 25, 18, 0.85);
  outline: none;
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b9aa93' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-error {
  font-size: 0.82rem;
  color: #e2a09a;
  min-height: 1.1em;
}
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success .ok {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  display: grid;
  place-items: center;
}
.form-success .ok svg {
  width: 26px;
  height: 26px;
}
.form-success h3 {
  color: var(--cream-light);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.form-success p {
  color: var(--stone);
  font-weight: 300;
}

/* Invite: what happens next mini-steps */
.invite-steps {
  margin-top: 2.4rem;
  display: grid;
  gap: 1.3rem;
}
.invite-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.invite-step .n {
  flex: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
  border: 1px solid rgba(217, 188, 140, 0.4);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.invite-step h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--cream-light);
}
.invite-step p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--stone);
  margin-top: 0.15rem;
}

/* ---------- WhatsApp floating CTA ---------- */
.whatsapp-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -8px rgba(18, 96, 56, 0.65);
  transition: transform 0.25s var(--ease-luxe), box-shadow 0.25s;
}
.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 36px -10px rgba(18, 96, 56, 0.75);
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: wa-ring 2.6s ease-out infinite;
}
@keyframes wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}
.whatsapp-fab .wa-label {
  position: absolute;
  right: calc(100% + 0.8rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--cream-light);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.whatsapp-fab:hover .wa-label,
.whatsapp-fab:focus-visible .wa-label {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::before {
    animation: none;
  }
}

/* Footer coordinates motif */
.coords {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--walnut);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--stone);
  border-top: 1px solid var(--line-dark);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer .brand {
  color: var(--cream-light);
  margin-bottom: 1.2rem;
}
.footer-about {
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 34ch;
}
.footer h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-light);
  margin-bottom: 1.2rem;
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.footer ul a {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--stone);
  transition: color 0.25s ease;
}
.footer ul a:hover {
  color: var(--gold-light);
}
.footer-disclaimer {
  padding-top: 2rem;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--walnut);
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--walnut);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-luxe), transform 0.8s var(--ease-luxe);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

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

/* ---------- Auth pages ---------- */
.auth-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
}
.auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 3.5rem;
}
.auth-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.7);
}
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(31, 25, 18, 0.15),
    rgba(31, 25, 18, 0.9)
  );
}
.auth-visual blockquote {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 420;
  font-style: italic;
  line-height: 1.35;
  color: var(--cream-light);
  max-width: 24ch;
}
.auth-visual cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  background: var(--cream-light);
}
.auth-panel .brand {
  color: var(--ink);
  margin-bottom: 3rem;
}
.auth-card h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.auth-card > p {
  font-weight: 300;
  color: var(--walnut);
  margin-bottom: 2.4rem;
}
.auth-tabs {
  display: flex;
  gap: 0.4rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.35rem;
  margin-bottom: 2.2rem;
  width: fit-content;
}
.auth-tab {
  border: 0;
  background: transparent;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--walnut);
  transition: all 0.3s var(--ease-luxe);
}
.auth-tab.active {
  background: var(--ink);
  color: var(--cream-light);
}
.auth-form {
  display: grid;
  gap: 1.2rem;
  max-width: 420px;
}
.auth-form .form-field label {
  color: var(--walnut);
}
.auth-form .form-field input {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.auth-form .form-field input:focus {
  background: #fff;
  border-color: var(--gold);
}
.auth-form .form-field input::placeholder {
  color: var(--stone);
}
.auth-form .btn {
  margin-top: 0.6rem;
  width: 100%;
}
.auth-alt {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--walnut);
}
.auth-alt a,
.auth-alt button {
  background: none;
  border: 0;
  font-size: inherit;
  font-family: inherit;
  color: var(--gold-deep);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  padding: 0;
}
.auth-alt a:hover,
.auth-alt button:hover {
  border-color: var(--gold-deep);
}
.auth-back {
  margin-top: 3rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}
.auth-back a {
  color: var(--gold-deep);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-media {
    justify-self: start;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .hero-stat {
    padding-top: 1.4rem;
    padding-bottom: 0.4rem;
    border-top: 0;
  }
  .idea-grid,
  .voices-grid {
    grid-template-columns: 1fr;
  }
  .gap-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .gap-card.today,
  .gap-card.through {
    transform: none;
  }
  .gap-divider {
    flex-direction: row;
    padding: 0.4rem 0;
    gap: 1rem;
  }
  .gap-divider::before {
    height: 1px;
    width: auto;
    background: linear-gradient(90deg, transparent, var(--gold));
  }
  .gap-divider::after {
    height: 1px;
    width: auto;
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  .era-line {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    max-width: 460px;
  }
  .era-connector {
    width: 1px;
    height: 2.2rem;
    margin: 0 0 0 0.2rem;
    background: linear-gradient(180deg, var(--sand), var(--gold));
  }
  .era-connector::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(-50%);
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-card,
  .why-card.wide {
    grid-column: span 1;
  }
  .calc-panel,
  .circle-inner,
  .invite-inner {
    grid-template-columns: 1fr;
  }
  .circle-media {
    max-width: 460px;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta .nav-login,
  .nav-cta .btn {
    display: none; /* collapse into the hamburger menu on mobile */
  }
  .nav-toggle {
    display: block;
  }
  .nav-mobile {
    position: fixed;
    inset: 0;
    background: var(--ink);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-mobile.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-mobile a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--cream-light);
  }
  .nav-mobile a:hover {
    color: var(--gold-light);
  }
  .chapter,
  .chapter.flip {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .chapter.flip .ch-media {
    order: 0;
  }
  .ch-media::before,
  .chapter.flip .ch-media::before {
    inset: 1rem -0.7rem -0.7rem 1rem;
  }
  .ch-num,
  .chapter.flip .ch-num {
    top: -2.4rem;
    right: 0.2rem;
    left: auto;
    font-size: 4.2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  /* Slightly tighter section rhythm on phones */
  :root {
    --space-section: clamp(3.5rem, 12vw, 5rem);
  }
  .hero {
    padding-block: 6.5rem 3rem;
  }
  .hero-media {
    width: 100%;
  }
  .video-frame {
    width: min(280px, 74vw);
    margin-inline: auto;
  }
  .hero-media::before {
    display: none; /* decorative offset frame — drop on small screens */
  }
  .gap-card,
  .j-card,
  .why-card,
  .voice,
  .form-card,
  .opp-body,
  .calc-result {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
  .marquee span {
    gap: 2rem;
    font-size: 0.72rem;
  }
  .marquee-track {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .auth-tabs {
    width: 100%;
  }
  .auth-tab {
    flex: 1;
  }
  .hero-stats {
    gap: 0;
  }
  .hero-stat {
    padding-inline: 0;
  }
  .hero-stat:nth-child(even) {
    padding-left: 1.1rem;
  }
  /* chapter numerals stay inside the frame */
  .ch-num,
  .chapter.flip .ch-num {
    font-size: 3.4rem;
    top: -2rem;
  }
  .ch-tags {
    gap: 0.45rem;
  }
  .ch-tag {
    padding: 0.36rem 0.75rem;
    font-size: 0.68rem;
  }
  .btn {
    padding: 0.95rem 1.5rem;
    letter-spacing: 0.1em;
  }
  .manifesto-close {
    flex-direction: column;
    gap: 1rem;
  }
  .manifesto-close::before,
  .manifesto-close::after {
    width: 40%;
  }
}

/* Very small phones — old/compact Androids, iPhone SE (320–360px) */
@media (max-width: 360px) {
  .container,
  .container-wide {
    width: 100%;
    padding-inline: 16px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stat {
    border-left: 0 !important;
    padding-left: 0 !important;
    padding-top: 1.1rem;
  }
  .gap-card,
  .j-card,
  .why-card,
  .voice,
  .form-card,
  .opp-body,
  .calc-result,
  .idea-card,
  .circle-item {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .video-frame {
    width: min(240px, 78vw);
  }
  .faq-q {
    font-size: 1.05rem;
    gap: 0.8rem;
  }
}

/* Landscape phones / very short viewports — let the hero breathe */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-block: 6rem 3rem;
  }
  .auth-page {
    min-height: auto;
  }
  .nav-mobile {
    justify-content: flex-start;
    padding-top: 5rem;
    overflow-y: auto;
    gap: 1.4rem;
  }
}
