/* ═══════════════════════════════════════════════════════
   YAPS — Global Stylesheet v2
   New design system: Chango + DM Sans, #EE7F29 orange, #FFFFD8 yellow-bg
   Contains: homepage component CSS + backward-compat content page CSS
   ═══════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES — NEW DESIGN SYSTEM ─── */
:root {
  --bg: #FFFFD8;
  --ink: #1a1a18;
  --orange: #EE7F29;
  --orange-dark: #b45a19;
  --body-orange: #F08C3C;
  --cream: #f2e8d5;
}

/* ─── BACKWARD-COMPAT ALIASES FOR CONTENT PAGES ─── */
:root {
  --sage:       var(--orange);
  --sage-deep:  var(--orange-dark);
  --coral:      var(--orange);
  --coral-dark: var(--orange-dark);
  --cream-2:    var(--bg);
  --white:      var(--bg);
  --sand:       rgba(238, 127, 41, 0.15);
  --pink:       rgba(238, 127, 41, 0.2);
  --muted:      rgba(26, 26, 24, 0.5);
}

/* ─── RESET + BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}


/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */

/* Hero headline: smooth drift-up */
@keyframes drift-up {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

.warm-in {
  animation: drift-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.flicker-in {
  animation: drift-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}
.warm-in-delay-1 { animation-delay: 0.25s; }
.warm-in-delay-2 { animation-delay: 0.5s; }
.warm-in-delay-3 { animation-delay: 0.75s; }

/* Scroll-triggered blur + settle */
.scroll-warm {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(15px);
  transition: opacity 1.4s ease, filter 1.4s ease, transform 1.4s ease;
}
.scroll-warm.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Animated underline */
@keyframes underline-draw {
  0% { background-size: 0% 3px; }
  100% { background-size: 100% 3px; }
}
.underline-grow {
  display: inline;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 3px;
  padding-bottom: 4px;
}
.underline-grow.visible {
  animation: underline-draw 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

/* Scroll reveal (content page animation) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-warm { opacity: 1; filter: none; transform: none; transition: none; }
}


/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */

/* New display font — Chango */
.display {
  font-family: 'Chango', cursive;
  line-height: 0.95;
}

h1, h2, h3, h4 {
  font-family: 'Chango', cursive;
  line-height: 0.95;
}

.serif {
  font-family: 'DM Sans', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--orange);
}

.body-text {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.body-text.light { color: rgba(255,255,216,0.85); }
.body-text p + p { margin-top: 1.25rem; }

.prose h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.prose p { margin-bottom: 1.25rem; }
.prose p:last-child { margin-bottom: 0; }


/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Chango', cursive;
  font-size: 1.6rem;
  color: var(--bg);
}
.nav-logo-wrap img { height: 30px; width: auto; display: block; }

.nav-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,216,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links { display: flex; gap: 0.5rem; align-items: center; }
.nav-links a {
  color: #FFFFD8;
  text-decoration: none;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--orange);
  padding: 0.45rem 1.05rem;
  border-radius: 100px;
  transition: background 0.2s;
}
.nav-links a:hover { background: var(--orange-dark); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--bg) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 500 !important;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bg);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--orange);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nav-overlay.open {
  display: flex;
}
.nav-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--bg);
  font-size: 2rem;
  cursor: pointer;
}
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.nav-overlay-links a {
  font-family: 'Chango', cursive;
  font-size: clamp(2rem, 8vw, 3.5rem);
  color: var(--bg);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.nav-overlay-links a:hover { opacity: 0.7; }
.nav-overlay-links .btn { margin-top: 1rem; background: var(--bg); color: var(--orange); }


/* ═══════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════ */

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 8rem 2rem; }
.section-cream { background: var(--bg); }
.section-sand { background: rgba(238, 127, 41, 0.07); }
.section-cream-2 { background: var(--bg); }
.section-white { background: var(--bg); }
.section-dark { background: var(--ink); color: var(--bg); }
.section-sage { background: var(--orange); color: var(--bg); }
.section-ink { background: var(--ink); color: var(--bg); }
.section-coral { background: var(--orange); color: var(--bg); }
.section-orange { background: var(--orange); color: var(--bg); }

/* Readability on sections */
.section-cream, .section-sand, .section-cream-2, .section-white { color: var(--ink); }
.section-cream h2, .section-sand h2, .section-cream-2 h2, .section-white h2 { color: var(--ink) !important; }
.section-cream p, .section-sand p, .section-cream-2 p, .section-white p { color: var(--ink) !important; opacity: 0.85; }
.section-sage h2, .section-ink h2 { color: var(--bg); }
.section-sage p, .section-ink p { color: rgba(255,255,216,0.85); }

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


/* ═══════════════════════════════════════════════════════
   HERO — FULL BLEED (homepage)
   ═══════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 1.5rem;
  z-index: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 2.5px var(--orange);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 40%, transparent 70%),
    linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 40%, transparent 70%);
}
.hero-text {
  position: relative;
  z-index: 2;
  padding: 0 5rem 4.5rem;
  width: 100%;
  max-width: 700px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: rgba(255,255,216,0.6);
}
.hero h1 {
  font-family: 'Chango', cursive;
  font-size: clamp(3rem, 6vw, 6rem);
  color: #FFFFD8;
  line-height: 1.0;
  max-width: 700px;
}
.hero h1 .small { font-size: 0.55em; }
.hero h1 u {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  text-decoration-color: var(--orange);
}
.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.7rem 1.8rem;
  background: var(--orange);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--orange-dark); }
.hero-sub {
  color: rgba(255,255,216,0.8);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 420px;
  margin-top: 1.5rem;
}
.hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  white-space: nowrap;
}
.hero-scroll {
  display: block;
  margin-top: 2rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero-breadcrumbs { margin-bottom: 2rem; }
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  background: var(--ink);
}
.hero-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  position: relative;
  z-index: 2;
}
.hero-split-image { position: relative; overflow: hidden; }
.hero-comparison {
  background: var(--ink);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-image { position: relative; overflow: hidden; }


/* ═══════════════════════════════════════════════════════
   MARQUEE / STRIP
   ═══════════════════════════════════════════════════════ */

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Homepage marquee (new design) */
.marquee {
  padding: 1.2rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 102;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 60s linear infinite;
}
.marquee-item {
  display: inline-block;
  font-family: 'Chango', cursive;
  font-size: 0.8rem;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-right: 3rem;
}
.marquee-item::after {
  content: '✦';
  margin-left: 3rem;
  opacity: 0.3;
}
/* Dark bg marquee variant */
.marquee.marquee-dark { background: var(--ink); }
.marquee.marquee-dark .marquee-item { color: rgba(255,255,216,0.7); }
.marquee-track {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-dot { color: var(--muted); font-size: 0.5rem; }

/* Editorial strip (content pages) */
.strip {
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  background: rgba(238,127,41,0.06);
}
.strip-item {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}


/* ═══════════════════════════════════════════════════════
   OVERLAP TEXT/IMAGE MODULE
   ═══════════════════════════════════════════════════════ */

.overlap-section {
  position: relative;
  height: 220vh;
}
.overlap-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--orange);
}
.text-layer-under {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.overlap-img-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  max-width: 480px;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 2.5px var(--bg);
  z-index: 2;
}
.overlap-img-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.text-layer-over {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.tline {
  font-family: 'Chango', cursive;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.1;
  text-align: center;
  color: var(--bg);
  white-space: nowrap;
}
.tline-hidden { visibility: hidden; }


/* ═══════════════════════════════════════════════════════
   PICK THE PHONE MODULE
   ═══════════════════════════════════════════════════════ */

.pick-phone {
  padding: 6rem 3rem;
  background: var(--orange);
  text-align: center;
}
.pick-phone-header { margin-bottom: 4rem; }
.pick-phone-header h2 {
  font-family: 'Chango', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--bg);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.pick-phone-header p {
  font-size: 1rem;
  color: var(--bg);
  opacity: 0.7;
}
.phone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.phone-card {
  border: 2.5px solid var(--bg);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--bg);
  text-align: center;
}
.phone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.phone-card.selected { background: var(--orange); }
.phone-card.selected .phone-emoji,
.phone-card.selected .phone-name,
.phone-card.selected .phone-desc,
.phone-card.selected .phone-votes { color: var(--bg); opacity: 1; }
.phone-emoji { font-size: 3rem; margin-bottom: 1rem; display: block; }
.phone-name {
  font-family: 'Chango', cursive;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.phone-desc {
  font-size: 0.78rem;
  color: var(--ink);
  opacity: 0.5;
  line-height: 1.4;
}
.phone-vote-wrap { margin-top: 2.5rem; }
.phone-vote-btn {
  padding: 0.7rem 2rem;
  background: var(--bg);
  color: var(--orange);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.phone-vote-btn:hover { opacity: 0.85; }
.phone-voted-msg {
  display: none;
  margin-top: 1.5rem;
  font-family: 'Chango', cursive;
  font-size: 1.1rem;
  color: var(--bg);
}
.phone-votes {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--ink);
  opacity: 0.6;
  margin-top: 1rem;
  font-weight: 500;
}
.phone-card.selected .phone-votes { color: var(--bg); opacity: 0.7; }
.phone-bar {
  width: 100%;
  height: 4px;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.phone-bar-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 100px;
  transition: width 0.6s ease;
}
.phone-card.selected .phone-bar { background: rgba(255,255,216,0.2); }
.phone-card.selected .phone-bar-fill { background: var(--bg); }

@media (max-width: 768px) {
  .phone-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════
   SPLIT — ASYMMETRIC
   ═══════════════════════════════════════════════════════ */

.split {
  display: grid;
  grid-template-columns: 55% 45%;
  max-height: 100vh;
  height: 100vh;
  position: relative;
}
.split.reverse { grid-template-columns: 45% 55%; }
.split.orange-bg { background: var(--orange); }
.split.orange-bg .split-text h2 { color: var(--bg); }
.split.orange-bg .split-text p { color: var(--bg); opacity: 0.8; }
.split.orange-bg .split-eyebrow { color: var(--bg); opacity: 0.6; }
.split.orange-bg .split-link { color: var(--bg); }
.split.orange-bg .split-img { background: var(--orange); }
.split.orange-bg .split-img-inner { box-shadow: 0 0 0 2.5px var(--bg); }
.split-img {
  position: relative;
  padding: 1.5rem;
  max-height: 100vh;
  background: var(--bg);
}
.split-img-inner {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 0 0 2.5px var(--orange);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.split-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem;
}
.split-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--orange);
}
.split-text h2 {
  font-family: 'Chango', cursive;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.split-text p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 440px;
  color: var(--ink);
  opacity: 0.75;
}
.split-text p + p { margin-top: 1.25rem; }
.split-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-decoration: none;
  text-transform: uppercase;
}
.split-link:hover { text-decoration: underline; }
/* Content page split layout variant */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-image { position: relative; overflow: hidden; }


/* ═══════════════════════════════════════════════════════
   HOW-SPLIT MODULE
   ═══════════════════════════════════════════════════════ */

.how-split {
  display: grid;
  grid-template-columns: 50% 50%;
  background: var(--bg);
  overflow: hidden;
}
.how-split-img {
  position: relative;
  padding: 1.5rem;
  background: var(--bg);
  max-height: 80vh;
  overflow: hidden;
}
.how-split-img-inner {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  max-height: 75vh;
  box-shadow: 0 0 0 2.5px var(--orange);
}
.how-split-img-inner img { width: 100%; height: 100%; object-fit: cover; }
.how-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}
.how-split-text h2 {
  font-family: 'Chango', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--orange);
  margin-bottom: 2.5rem;
}
.how-cards { display: flex; flex-direction: column; gap: 2rem; }
.how-split .how-card {
  border-top: 2px solid var(--orange);
  padding-top: 1.5rem;
}
.how-split .how-num {
  font-family: 'Chango', cursive;
  font-size: 2rem;
  color: var(--orange);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.how-split .how-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.how-split .how-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.6;
}

@media (max-width: 900px) {
  .how-split { grid-template-columns: 1fr; }
  .how-split-img { height: 50vh; }
  .how-split-text { padding: 3rem 2rem; }
}


/* ═══════════════════════════════════════════════════════
   PULL QUOTE
   ═══════════════════════════════════════════════════════ */

.pullquote {
  background: var(--bg);
  padding: 8rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pullquote blockquote {
  font-family: 'Chango', cursive;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--orange);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.2;
}
.pullquote cite {
  display: block;
  margin-top: 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0.5;
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
}

/* Legacy pull quote variants */
.pull-quote {
  background: var(--ink);
  padding: 6rem 3rem;
  text-align: center;
}
.pull-quote blockquote {
  font-family: 'Chango', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--bg);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.15;
}
.pull-quote cite {
  display: block;
  margin-top: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}
.pull-quote-ed { background: var(--ink); padding: 6rem 3rem; text-align: center; }

.pull-quote-editorial {
  background: var(--orange);
  padding: 7rem 5rem;
  position: relative;
}
.pull-quote-rule {
  width: 60px;
  height: 3px;
  background: var(--bg);
  margin-bottom: 3rem;
}
.pull-quote-editorial blockquote {
  font-family: 'Chango', cursive !important;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem) !important;
  color: var(--bg);
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote-editorial cite {
  display: block;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,216,0.5);
  font-style: normal;
}


/* ═══════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════ */

/* New design CTA */
.cta {
  background: var(--bg);
  padding: 8rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-family: 'Chango', cursive;
  font-size: clamp(2rem, 4.5vw, 4rem);
  color: var(--orange);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.cta p {
  color: var(--ink);
  opacity: 0.6;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
}
.cta-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}
.cta-input {
  flex: 1;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--orange);
  border-radius: 100px;
  background: rgba(0,0,0,0.03);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
}
.cta-input:focus { border-color: var(--orange-dark); }
.cta-input::placeholder { color: var(--ink); opacity: 0.3; }
.cta-btn {
  padding: 0.7rem 1.8rem;
  background: var(--orange);
  color: var(--bg);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--orange-dark); }

/* Cinematic CTA */
.cta-cinematic {
  min-height: 100vh;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 3rem;
  text-align: center;
}
.cta-cinematic-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(16rem, 30vw, 35rem);
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  white-space: nowrap;
}
.cta-cinematic h2 {
  font-family: 'Chango', cursive;
  font-size: clamp(5rem, 10vw, 12rem);
  color: var(--bg);
  margin-bottom: 1.5rem;
  line-height: 0.92;
}
.cta-cinematic p {
  color: rgba(255,255,216,0.75);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-cinematic .cta-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}
.cta-cinematic .cta-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  background: transparent;
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-cinematic .cta-input::placeholder { color: rgba(255,255,216,0.4); }
.cta-cinematic .cta-input:focus { border-color: var(--bg); }
.cta-cinematic .cta-btn {
  padding: 1rem 2rem;
  background: var(--bg);
  color: var(--orange);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.cta-cinematic .cta-btn:hover { opacity: 0.9; }
.cta-cinematic .cta-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,216,0.4);
}

/* CTA section (legacy) */
.cta-section {
  background: var(--orange);
  padding: 7rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  font-family: 'Chango', cursive;
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--bg);
  margin-bottom: 1.5rem;
}
.cta-section p {
  color: rgba(255,255,216,0.85);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,216,0.4);
}
.cta-confirm { display: none; color: var(--bg); font-size: 1.1rem; font-weight: 500; }
.cta-ghost {
  position: absolute;
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  white-space: nowrap;
}
.cta-sub {
  color: rgba(255,255,216,0.75);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-skip {
  display: block;
  margin-top: 1rem;
  color: rgba(255,255,216,0.4);
  font-size: 0.8rem;
  text-decoration: none;
}
.cta-skip:hover { color: rgba(255,255,216,0.6); }
.cta-step { margin-bottom: 2rem; }

/* CTA share panel */
.cta-share-panel { margin-top: 2rem; }
.cta-share-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.cta-share-label { font-size: 0.8rem; color: rgba(255,255,216,0.5); margin-bottom: 0.75rem; }
.cta-share-note { font-size: 0.75rem; color: rgba(255,255,216,0.35); margin-top: 1rem; }
.cta-share-btn {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}
.cta-share-btn:hover { opacity: 0.85; }
.cta-share-wa { background: #25D366; color: white; }
.cta-share-fb { background: #1877F2; color: white; }
.cta-share-em { background: rgba(255,255,255,0.15); color: var(--bg); }
.cta-share-pos { background: rgba(255,255,255,0.15); color: var(--bg); }

/* CTA referral */
.cta-ref-row { display: flex; gap: 0.5rem; margin-top: 1rem; max-width: 440px; margin-left: auto; margin-right: auto; }
.cta-ref-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}
.cta-ref-copy {
  padding: 0.6rem 1.25rem;
  background: rgba(255,255,255,0.15);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  font-size: 0.8rem;
  cursor: pointer;
}
.ref-link-box { margin-top: 1rem; }
.ref-link-input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}
.cta-school-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-school-input::placeholder { color: rgba(255,255,216,0.4); }
.cta-school-input:focus { border-color: var(--bg); }


/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--orange);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); background: var(--orange-dark); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #2a2018; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--bg); }
.btn-white { background: var(--bg); color: var(--ink); }
.btn-white:hover { background: rgba(255,255,216,0.85); }
.btn-copy { cursor: pointer; }


/* ═══════════════════════════════════════════════════════
   CONTENT MID-CTA
   ═══════════════════════════════════════════════════════ */

.content-mid-cta {
  background: var(--orange);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.content-mid-cta::before {
  content: 'YAP';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(8rem, 16vw, 18rem);
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}
.content-mid-cta h3 {
  font-family: 'Chango', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--bg);
  line-height: 1.0;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.content-mid-cta p {
  color: rgba(255,255,216,0.8) !important;
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.content-mid-cta .btn-white {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.9rem 2.5rem;
}


/* ═══════════════════════════════════════════════════════
   CONTENT PAGE HERO
   ═══════════════════════════════════════════════════════ */

.page-hero {
  background: var(--ink);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,216,0.04);
  pointer-events: none;
  white-space: nowrap;
}
.page-hero h1 {
  font-family: 'Chango', cursive;
  font-size: clamp(4rem, 8vw, 8rem);
  color: var(--bg);
  line-height: 0.92;
  margin-bottom: 1.5rem;
}
.page-hero-sub {
  color: rgba(255,255,216,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
}
.page-hero .breadcrumbs { padding: 0; margin-bottom: 2rem; }
.page-hero .breadcrumbs a { color: rgba(255,255,216,0.5); }
.page-hero .breadcrumbs span { color: rgba(255,255,216,0.3); }

/* Guide hero */
.guide-hero {
  background: var(--ink);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.guide-hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,216,0.04);
  pointer-events: none;
  white-space: nowrap;
}
.guide-hero-text { position: relative; z-index: 2; max-width: 700px; }
.guide-hero-image { position: relative; overflow: hidden; }
.guide-pull-quote { background: var(--ink); padding: 6rem 3rem; text-align: center; }
.guide-strip {
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  background: rgba(238,127,41,0.06);
}
.guide-cta { padding: 5rem 3rem; text-align: center; }

/* Story hero */
.story-hero {
  background: var(--ink);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.story-hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,216,0.04);
  pointer-events: none;
  white-space: nowrap;
}
.story-hero-text { position: relative; z-index: 2; max-width: 700px; }
.story-hero-sub { color: rgba(255,255,216,0.75); font-size: 1.1rem; max-width: 560px; line-height: 1.7; }
.story-hero-image { position: relative; overflow: hidden; }
.story-section { padding: 5rem 2rem; }
.story-text { max-width: 640px; }
.story-image { position: relative; overflow: hidden; }

/* Schools hero */
.schools-hero {
  background: var(--ink);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

/* WaitMate hero */
.wm-hero {
  background: var(--ink);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.wm-hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,216,0.04);
  pointer-events: none;
  white-space: nowrap;
}
.wm-hero-text { position: relative; z-index: 2; max-width: 700px; }
.wm-hero-sub { color: rgba(255,255,216,0.75); font-size: 1.1rem; max-width: 560px; line-height: 1.7; }
.wm-hero-image { position: relative; overflow: hidden; }
.wm-cta {
  background: var(--orange);
  padding: 7rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wm-cta-ghost {
  position: absolute;
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  white-space: nowrap;
}
.wm-cta-sub {
  color: rgba(255,255,216,0.85);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* FAQ hero */
.faq-hero {
  background: var(--ink);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.faq-hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(10rem, 20vw, 25rem);
  color: rgba(255,255,216,0.04);
  pointer-events: none;
  white-space: nowrap;
}
.faq-hero-sub {
  color: rgba(255,255,216,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════
   GHOST TEXT UTILITIES
   ═══════════════════════════════════════════════════════ */

.ghost {
  position: absolute;
  font-family: 'Chango', cursive;
  font-size: clamp(12rem, 22vw, 22rem);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  color: rgba(0,0,0,0.06);
}
.section-sage .ghost { color: rgba(255,255,255,0.07); }
.section-coral .ghost { color: rgba(255,255,255,0.08); }
.section-ink .ghost { color: rgba(255,255,216,0.06); }

.founding-ghost {
  position: absolute;
  font-family: 'Chango', cursive;
  font-size: clamp(8rem, 15vw, 18rem);
  color: rgba(255,255,216,0.04);
  pointer-events: none;
  white-space: nowrap;
}
.ghost-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }


/* ═══════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════ */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.92rem;
}
.compare-table th {
  background: var(--ink);
  color: var(--bg);
  padding: 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sand);
  vertical-align: top;
}
.compare-table tr:hover td { background: rgba(238,127,41,0.05); }
.compare-table .highlight { background: rgba(238,127,41,0.06); font-weight: 500; }
.compare-table .product-name { font-weight: 500; white-space: nowrap; }
.compare-table .our-take { min-width: 200px; font-size: 0.85rem; line-height: 1.5; }
.compare-table .tag-yes { color: var(--orange); font-weight: 500; }
.compare-table .tag-no { color: var(--ink); font-weight: 500; opacity: 0.5; }
.compare-table .tag-limited { color: var(--muted); font-weight: 500; }
.compare-table .compare-highlight-col {
  border-left: 3px solid var(--orange);
  background: rgba(238,127,41,0.04);
}
.check { color: var(--orange); font-weight: 700; }
.cross { color: var(--ink); font-weight: 700; opacity: 0.4; }
.compare-section { margin: 2rem 0; }
.compare-wrap { overflow-x: auto; }
.comparison-wrap { overflow-x: auto; }

/* Verdict box */
.verdict-box {
  border-left: 3px solid var(--orange);
  background: rgba(238,127,41,0.06);
  padding: 2rem 2.5rem;
  margin-top: 3rem;
}
.verdict-box h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.verdict-box p { font-size: 1rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.5rem; }


/* ═══════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════ */

.faq-item {
  border-bottom: 1px solid var(--sand);
  padding: 1rem 0;
}
.faq-q {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}
.faq-item.open .faq-a { max-height: 600px; padding-top: 1rem; opacity: 1; }
.faq-block { margin-bottom: 3rem; }
.faq-category { margin-bottom: 2rem; }
.faq-category-title { margin-bottom: 1rem; }
.faq-section { padding: 4rem 2rem; }
.faq-wrap { max-width: 760px; margin: 0 auto; }


/* ═══════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════ */

.card {
  background: rgba(238,127,41,0.06);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 2rem;
}
.card-number {
  font-family: 'Chango', cursive;
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* How-scroll cards */
.how-scroll-wrap { position: relative; }
.how-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.how-scroll-container {
  display: flex;
  gap: 2rem;
  padding: 0 5rem;
  transition: transform 0.05s linear;
  will-change: transform;
}
.how-scroll-card {
  width: 420px;
  height: 420px;
  flex-shrink: 0;
  background: var(--orange);
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 16px;
  padding: 3rem 2.5rem;
}
.how-number {
  font-family: 'Chango', cursive;
  font-size: 4rem;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 1rem;
}
.how-scroll-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--bg);
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}
.how-scroll-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,216,0.8);
}
.how-scroll-card a { color: var(--bg); text-decoration: underline; opacity: 0.8; }
.how-scroll-card a:hover { opacity: 1; }

/* How grid */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.how-card {
  background: rgba(238,127,41,0.06);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 2.5rem 2rem;
}
.how-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}
.how-card p { font-size: 0.92rem; line-height: 1.65; color: var(--muted); }
.how-card-ed {
  background: rgba(238,127,41,0.06);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 2.5rem 2rem;
}
.how-section { padding: 4rem 2rem; }
.how-header { text-align: center; margin-bottom: 3rem; }


/* ═══════════════════════════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════════════════════════ */

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.related-grid-asym {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.related-card {
  background: rgba(238,127,41,0.06);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.related-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.related-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  text-transform: none;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: normal;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--sand);
  transition: color 0.2s;
}
.related-link:hover { color: var(--orange); }
.related-link-title { font-weight: 500; }
.related-link-arrow { color: var(--orange); }
.related-links { margin-top: 2rem; }


/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial {
  padding: 2rem;
  background: rgba(238,127,41,0.06);
  border: 1px solid var(--sand);
  border-radius: 8px;
}
.testimonial blockquote { font-size: 1rem; line-height: 1.7; font-style: italic; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-size: 0.82rem; color: var(--muted); font-weight: 500; }


/* ═══════════════════════════════════════════════════════
   IMAGE PLACEHOLDERS
   ═══════════════════════════════════════════════════════ */

.img-placeholder {
  background: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 300px;
  border-radius: 8px;
  width: 100%;
  height: 100%;
}
.img-placeholder span {
  color: rgba(255,255,216,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 220px;
  text-align: center;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════ */

.breadcrumbs {
  padding: 5.5rem 2rem 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--orange); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; }
.breadcrumbs-bar {
  padding: 0.75rem 2rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-bottom: 1px solid var(--sand);
}
.breadcrumbs-sage { color: rgba(255,255,216,0.7); }
.breadcrumbs-sage a { color: rgba(255,255,216,0.5); }


/* ═══════════════════════════════════════════════════════
   SECTION LINK
   ═══════════════════════════════════════════════════════ */

.section-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--orange);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-link:hover { text-decoration: underline; }
.section-sage .section-link { color: var(--bg); opacity: 0.7; }
.section-sage .section-link:hover { opacity: 1; }


/* ═══════════════════════════════════════════════════════
   STICKY + ASYMMETRIC SECTIONS
   ═══════════════════════════════════════════════════════ */

.sticky-section { display: grid; grid-template-columns: 2fr 3fr; min-height: 150vh; position: relative; }
.sticky-text {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  background: var(--bg);
}
.sticky-image { position: relative; }
.sticky-image .img-placeholder { position: sticky; top: 0; height: 100vh; border-radius: 0; }

.asym-section { display: grid; grid-template-columns: 2fr 3fr; min-height: 70vh; }
.asym-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  background: var(--bg);
}
.asym-image { position: relative; overflow: hidden; margin-left: -3rem; }
.asym-image .img-placeholder { width: 100%; height: 100%; border-radius: 0; }


/* ═══════════════════════════════════════════════════════
   VOTING CAROUSEL
   ═══════════════════════════════════════════════════════ */

.carousel-section {
  padding: 7rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.carousel-section .ghost-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Chango', cursive;
  font-size: clamp(14rem, 25vw, 28rem);
  color: rgba(0,0,0,0.04);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}
.carousel-header { text-align: center; margin-bottom: 3.5rem; padding: 0 2rem; }
.carousel-viewport { position: relative; width: 100%; height: 480px; overflow: hidden; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
  will-change: transform, opacity;
}
.carousel-card img { width: 100%; height: 100%; object-fit: cover; }
.carousel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}
.carousel-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1.2rem; text-align: center; }
.carousel-card-name { font-family: 'Chango', cursive; font-size: 1.4rem; color: white; }
.carousel-card-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 0.3rem; line-height: 1.4; }
.carousel-card[data-bg="light"] .carousel-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 50%);
}
.carousel-card[data-bg="light"] .carousel-card-name { color: var(--ink); }
.carousel-card[data-bg="light"] .carousel-card-tagline { color: rgba(26,26,24,0.6); }
.carousel-card.is-center { cursor: default; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 2rem; position: relative; z-index: 10; }
.carousel-arrow {
  background: none;
  border: 2px solid var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  color: var(--ink);
}
.carousel-arrow:hover { background: var(--ink); color: var(--bg); }
.carousel-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.carousel-center-info { text-align: center; margin-top: 2rem; min-height: 120px; padding: 0 2rem; }
.carousel-center-name {
  font-family: 'Chango', cursive;
  font-size: 2rem;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.carousel-center-vibe { font-size: 1rem; color: var(--muted); max-width: 500px; margin: 0.5rem auto 0; line-height: 1.6; transition: opacity 0.2s ease; }
.carousel-vote-btn { margin-top: 1.25rem; transition: opacity 0.25s ease; }
.carousel-results { max-width: 600px; margin: 2.5rem auto 0; padding: 0 2rem; }
.carousel-results-heading { font-family: 'Chango', cursive; font-size: 1.8rem; color: var(--ink); text-align: center; margin-bottom: 1.5rem; }
.quiz-bar-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.quiz-bar-label { min-width: 110px; font-size: 0.85rem; font-weight: 500; }
.quiz-bar-track { flex: 1; height: 10px; background: var(--sand); border-radius: 5px; overflow: hidden; }
.quiz-bar-fill { height: 100%; border-radius: 5px; transition: width 0.6s ease; }
.quiz-bar-pct { min-width: 40px; font-size: 0.85rem; font-weight: 500; text-align: right; }
.quiz-bar-row.is-voted .quiz-bar-label { color: var(--orange); font-weight: 600; }
.quiz-bar-row.is-voted .quiz-bar-pct { color: var(--orange); font-weight: 600; }
.your-vote-badge { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); font-weight: 600; margin-left: 0.25rem; }
.carousel-post-cta { background: rgba(238,127,41,0.08); border: 1px solid var(--sand); border-radius: 8px; padding: 2rem; text-align: center; margin-top: 2rem; }
.carousel-viewport.is-voted { opacity: 0.6; pointer-events: none; }
.carousel-viewport.is-voted .carousel-card.is-voted-pick { opacity: 1; }


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

/* ═══ FOOTER ═══ */
footer {
  background: var(--ink);
  padding: 4rem 3rem 2rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 0.5rem;
}
.footer-brand {
  font-family: 'Chango', cursive;
  font-size: 2.5rem;
  color: var(--bg);
  text-decoration: none;
  line-height: 1;
}
.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,216,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,216,0.08);
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,216,0.55);
  text-decoration: none;
  line-height: 1;
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255,255,216,0.3);
}
.footer-bottom a { color: rgba(255,255,216,0.45); text-decoration: none; }
.footer-bottom a:hover { color: var(--bg); }


/* ═══════════════════════════════════════════════════════
   MISC PAGE-SPECIFIC CLASSES
   ═══════════════════════════════════════════════════════ */

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.stat-card { text-align: center; padding: 2rem; }
.stat-number { font-family: 'Chango', cursive; font-size: 3rem; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.stat-block { margin-bottom: 2rem; }
.stat-row { display: flex; gap: 2rem; flex-wrap: wrap; }

/* Category grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.category-card {
  background: rgba(238,127,41,0.06);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.category-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* Age cards */
.age-card { background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; padding: 2rem; }

/* Option cards */
.option-card {
  background: rgba(238,127,41,0.06);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.15s;
}
.option-card:hover { transform: translateY(-2px); }
.option-price { font-family: 'Chango', cursive; font-size: 2rem; color: var(--orange); }

/* Decision flow */
.decision-flow { max-width: 640px; margin: 0 auto; }
.decision-item { margin-bottom: 2rem; padding: 2rem; background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; }
.decision-q { font-weight: 500; margin-bottom: 1rem; }
.decision-a { color: var(--muted); line-height: 1.7; }

/* Step arrows */
.step-arrow { text-align: center; font-size: 1.5rem; color: var(--muted); padding: 1rem 0; }
.step-age { font-family: 'Chango', cursive; font-size: 2.5rem; color: var(--orange); }
.step-device { font-weight: 500; }

/* When grid */
.when-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.when-item { padding: 2rem; background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; }
.when-icon { font-size: 2rem; margin-bottom: 1rem; }
.when-icon-coral { color: var(--orange); }
.when-icon-sage { color: var(--orange); }

/* Doesnt grid */
.doesnt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.doesnt-item { padding: 1.5rem; background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; }

/* Cost breakdown */
.cost-breakdown { margin: 2rem 0; }
.cost-card { background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; padding: 2rem; margin-bottom: 1.5rem; }
.cost-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cost-device { font-weight: 500; margin-bottom: 0.5rem; }
.cost-highlight { color: var(--orange); font-weight: 500; }
.cost-total { font-family: 'Chango', cursive; font-size: 2rem; color: var(--orange); }
.cost-total-muted { font-family: 'Chango', cursive; font-size: 2rem; color: var(--muted); }
.cost-total-sage { font-family: 'Chango', cursive; font-size: 2rem; color: var(--orange); }

/* Alignment tags */
.alignment-tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.alignment-best { background: var(--orange); color: var(--bg); }
.alignment-good { background: rgba(238,127,41,0.12); color: var(--ink); }
.alignment-no { background: rgba(0,0,0,0.06); color: var(--muted); }
.alignment-gps { background: rgba(238,127,41,0.12); color: var(--muted); }
.best-for { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* Alt grid */
.alt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.alt-card { background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; padding: 1.5rem; }
.alt-ages { font-size: 0.85rem; color: var(--muted); }
.alt-link { color: var(--orange); text-decoration: none; font-weight: 500; }
.alt-link:hover { text-decoration: underline; }

/* Combo box */
.combo-box { background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; padding: 2rem; margin-bottom: 1.5rem; }
.combo-price { font-family: 'Chango', cursive; font-size: 2rem; color: var(--orange); }

/* Diff list */
.diff-list { list-style: none; padding: 0; }
.diff-icon { margin-right: 0.5rem; }

/* Highlight box */
.highlight-box { background: rgba(238,127,41,0.08); border-left: 3px solid var(--orange); padding: 2rem; margin: 2rem 0; border-radius: 0 8px 8px 0; }
.highlight-box-sage { background: rgba(238,127,41,0.08); border-left: 3px solid var(--orange); padding: 2rem; margin: 2rem 0; }

/* Dirty secret */
.dirty-secret { background: var(--ink); color: var(--bg); padding: 4rem 3rem; margin: 3rem 0; border-radius: 8px; }

/* Progression */
.progression { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.progression-step { padding: 1rem 1.5rem; background: rgba(238,127,41,0.08); border: 1px solid var(--sand); border-radius: 100px; }

/* Portal section */
.portal-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.portal-text { max-width: 500px; }
.portal-image { position: relative; overflow: hidden; }

/* Origin / moment / why-au sections */
.origin { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.origin-text { max-width: 500px; }
.origin-image { position: relative; overflow: hidden; }
.moment { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.moment-text { max-width: 500px; }
.moment-image { position: relative; overflow: hidden; }
.why-au { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-au-text { max-width: 500px; }
.why-au-image { position: relative; overflow: hidden; }

/* Section article */
.section-article { padding: 4rem 2rem; max-width: 760px; margin: 0 auto; }
.section-block { margin-bottom: 3rem; }

/* Table section */
.table-section { margin: 2rem 0; overflow-x: auto; }
.table-wrap { overflow-x: auto; }
.table-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* Warning bar */
.warning-bar {
  background: rgba(238,127,41,0.1);
  border-left: 3px solid var(--orange);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

/* Header badge */
.header { position: relative; }
.header-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--orange);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.header-logo { margin-bottom: 1rem; }

/* Device tag */
.device-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(238,127,41,0.12);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 100px;
}

/* Platform badge */
.platform-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--orange);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 100px;
}

/* Subtitle */
.subtitle { font-size: 1.1rem; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* Price */
.price { font-family: 'Chango', cursive; font-size: 2.5rem; color: var(--orange); line-height: 1; }

/* Utility colour */
.sage { color: var(--orange); }
.coral { color: var(--orange); }

/* Featured */
.featured { border: 2px solid var(--orange); }

/* Share buttons */
.share-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-wa { background: #25D366; color: white; }
.share-fb { background: #1877F2; color: white; }
.share-em { background: rgba(238,127,41,0.12); color: var(--ink); }
.share-cp { background: rgba(238,127,41,0.12); color: var(--ink); cursor: pointer; border: none; }
.share-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; }


/* ═══════════════════════════════════════════════════════
   CREATOR DASHBOARD
   ═══════════════════════════════════════════════════════ */

.dashboard { max-width: 800px; margin: 0 auto; padding: 2rem; }
.dash { padding: 2rem; }
.dash-header { margin-bottom: 2rem; }
.dash-body { margin-top: 2rem; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.dash-card { background: rgba(238,127,41,0.06); border: 1px solid var(--sand); border-radius: 8px; padding: 1.5rem; text-align: center; }
.dash-stat-num { font-family: 'Chango', cursive; font-size: 2.5rem; color: var(--orange); line-height: 1; }
.dash-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.dash-divider { border: none; border-top: 1px solid var(--sand); margin: 2rem 0; }
.dash-section-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.dash-link-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; align-items: center; }
.dash-queue-num { font-family: 'Chango', cursive; font-size: 2rem; color: var(--orange); }
.dash-queue-label { font-size: 0.85rem; color: var(--muted); }
.dash-queue-note { font-size: 0.8rem; color: var(--muted); }

/* Login screen */
.login-screen { display: flex; align-items: center; justify-content: center; min-height: 80vh; padding: 2rem; }
.login-form { max-width: 400px; width: 100%; text-align: center; }
.login-sub { color: var(--muted); margin-bottom: 2rem; }
.login-error { color: var(--orange); font-size: 0.85rem; margin-top: 1rem; display: none; }

/* Activity table */
.activity-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.activity-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.5rem 0; border-bottom: 1px solid var(--sand); font-family: 'DM Sans', sans-serif; }
.activity-table td { padding: 0.75rem 0; border-bottom: 1px solid var(--sand); font-size: 0.9rem; }
.activity-source { font-size: 0.75rem; color: var(--muted); }
.activity-empty { text-align: center; padding: 2rem; color: var(--muted); }

/* Leaderboard */
.leaderboard-wrap { max-width: 800px; margin: 0 auto; }
.leaderboard-table { width: 100%; border-collapse: collapse; }
.leaderboard-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.75rem 0; border-bottom: 1px solid var(--sand); font-family: 'DM Sans', sans-serif; }
.leaderboard-table td { padding: 0.75rem 0; border-bottom: 1px solid var(--sand); font-size: 0.9rem; }
.leaderboard-meta { display: flex; gap: 2rem; margin-bottom: 2rem; }
.leaderboard-stat { text-align: center; }
.leaderboard-stat-num { font-family: 'Chango', cursive; font-size: 2rem; color: var(--orange); }
.leaderboard-stat-label { font-size: 0.75rem; color: var(--muted); }
.leaderboard-loading { text-align: center; padding: 3rem; color: var(--muted); }
.leaderboard-empty { text-align: center; padding: 3rem; color: var(--muted); }

/* Commission bar */
.commission-bar { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.commission-label { font-size: 0.85rem; min-width: 60px; }
.commission-value { font-family: 'Chango', cursive; font-size: 1.5rem; color: var(--orange); }

/* Signup confirm */
.signup-confirm { display: none; text-align: center; padding: 2rem; }

/* Form */
.form-group { margin-bottom: 1.5rem; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }
.form-error { color: var(--orange); font-size: 0.85rem; margin-top: 0.5rem; display: none; }

/* Applied banner */
.applied-banner { background: var(--orange); color: var(--bg); padding: 0.75rem 1.5rem; text-align: center; font-size: 0.85rem; font-weight: 500; }

/* Welcome bar */
.welcome-bar { background: rgba(238,127,41,0.08); padding: 0.75rem 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.welcome-name { font-weight: 500; }

/* Founding badge */
.founding {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--orange);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.loading { opacity: 0.5; pointer-events: none; }

/* Nav states */
.current { color: white !important; font-weight: 500; }
.active { color: white !important; }

/* Exit modal */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
.exit-modal { background: var(--bg); padding: 3rem; max-width: 480px; width: 90%; text-align: center; position: relative; border-radius: 8px; }
.exit-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.exit-form { margin-top: 1.5rem; }
.exit-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--sand);
  border-radius: 8px;
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.exit-confirm { display: none; }
.exit-dismiss { background: none; border: none; color: var(--muted); font-size: 0.85rem; cursor: pointer; margin-top: 1rem; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 900px
   ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; height: auto; max-height: none; }
  .split-image { height: 50vh; }
  .split-text { padding: 3rem 2rem; justify-content: center; }
  .section { padding: 5rem 1.5rem; }
  .container, .container-narrow { padding: 0 1.5rem; }
  .how-scroll-wrap { height: auto !important; }
  .how-scroll-sticky { position: relative; height: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .how-scroll-container { padding: 0 2rem 2rem; transform: none !important; }
  .how-scroll-card { width: 300px; height: 300px; min-width: 300px; padding: 2rem 1.5rem; opacity: 1 !important; transform: none !important; }
  .how-scroll-sticky > div:first-child { position: relative !important; padding: 3rem 2rem 2rem !important; }
  .how-grid { grid-template-columns: 1fr; max-width: 500px; }
  .testimonials { grid-template-columns: 1fr; }
  .related-grid, .related-grid-asym { grid-template-columns: 1fr; }
  .strip { flex-wrap: wrap; gap: 1rem 2rem; padding: 1.25rem 2rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 3rem 1.5rem 2rem; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.5rem; }
  .sticky-section { grid-template-columns: 1fr; min-height: auto; }
  .sticky-text { position: static; height: auto; padding: 4rem 2rem; }
  .sticky-image .img-placeholder { position: static; height: 50vh; }
  .asym-section { grid-template-columns: 1fr; }
  .asym-image { margin-left: 0; height: 50vh; }
  .asym-text { padding: 3rem 2rem; }
  .pull-quote-editorial { padding: 6rem 2rem; }
  .cta-cinematic { min-height: auto; padding: 6rem 2rem; }
  .cta-cinematic .cta-form { flex-direction: column; }
  .page-hero { min-height: 30vh; padding: 6rem 1.5rem 3rem; }
  .cta-section { padding: 5rem 2rem; }
  .cta-form { flex-direction: column; }
  .hero-text { padding: 0 2rem 4rem; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-text { padding: 3rem 2rem; }
  .portal-section { grid-template-columns: 1fr; }
  .origin { grid-template-columns: 1fr; }
  .moment { grid-template-columns: 1fr; }
  .why-au { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .cost-comparison { grid-template-columns: 1fr; }
  .pullquote { padding: 5rem 2rem; }
  .cta { padding: 5rem 2rem; }
  .cta-form { flex-direction: column; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 600px
   ═══════════════════════════════════════════════════════ */

@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .nav-links a:not(.nav-cta) { display: none; }
  .breadcrumbs { padding-top: 5rem; }
  .page-hero h1 { font-size: clamp(3rem, 8vw, 5rem); }
  .hero { min-height: 85vh !important; }
  .pull-quote-editorial blockquote { font-size: 1.3rem !important; line-height: 1.35 !important; }
  .pull-quote-editorial cite { margin-top: 1.5rem; }
  .faq-q { font-size: 0.95rem; padding: 1rem 0; }
  .cta-cinematic .cta-share-grid { gap: 0.4rem; }
  .cta-share-btn { font-size: 0.6rem !important; padding: 0.45rem 0.6rem !important; }
  .carousel-card { width: 180px; height: 240px; }
  .carousel-viewport { height: 340px; }
  .carousel-card-name { font-size: 1.15rem; }
  .carousel-center-name { font-size: 1.6rem; }
}

@media (max-width: 900px) {
  .carousel-card { width: 220px; height: 290px; }
  .carousel-viewport { height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-card { transition: none; }
  .carousel-center-name, .carousel-center-vibe { transition: none; }
}
