@font-face {
  font-family: "FredokaLocal";
  src: url("../adventures/fonts/Fredoka-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff5df;
  --paper-warm: #f9ebd0;
  --paper-deep: #f2e0bd;
  --card: #fffdf6;
  --tan: #efe0c1;
  --ink: #45261a;
  --ink-soft: rgba(69, 38, 26, 0.78);
  --ink-muted: rgba(69, 38, 26, 0.56);
  --ink-faint: rgba(69, 38, 26, 0.16);

  --leaf: #9bd473;
  --leaf-deep: #4e923c;
  --leaf-tint: #ecf7e0;

  --coral: #f1846c;
  --coral-deep: #c9523b;
  --coral-tint: #fdece7;

  --sun: #ffe18f;
  --gold: #fbd45c;
  --gold-rim: #efae3c;
  --gold-tint: #fff4d1;

  --sky: #c2e6f3;
  --sky-mid: #8ecde6;
  --sky-tint: #e8f6fb;

  --terracotta: #b54836;
  --wood: #cf9562;

  --font-display:
    "Fredoka", "FredokaLocal", ui-rounded, "SF Pro Rounded", system-ui,
    sans-serif;
  --font-body:
    "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 38px;
  --radius-pill: 999px;

  --border-w: 2.5px;
  --shadow-btn: 0 4px 0 var(--ink);
  --shadow-btn-hover: 0 6px 0 var(--ink), 0 12px 24px rgba(69, 38, 26, 0.16);
  --shadow-btn-active: 0 1px 0 var(--ink);
  --shadow-card: 0 6px 0 var(--ink), 0 18px 40px rgba(69, 38, 26, 0.1);
  --shadow-card-sm: 0 4px 0 var(--ink), 0 10px 24px rgba(69, 38, 26, 0.08);
  --shadow-polaroid:
    0 18px 38px rgba(69, 38, 26, 0.17), 0 4px 0 rgba(69, 38, 26, 0.14);

  --container: 1180px;
  --ease-spring: cubic-bezier(0.22, 1.28, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

.adv-html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

.adv-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* Subtle tactile watercolor paper grain across the entire canvas */
.adv-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-rim);
  outline-offset: 3px;
}

.adv-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--card);
  font-weight: 700;
  text-decoration: none;
}

.adv-skip-link:focus {
  top: 16px;
}

.adv-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ===== FLOATING STICKY NAVIGATION ===== */
.adv-nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 500;
  padding: 0 clamp(14px, 3vw, 32px);
  pointer-events: none;
}

.adv-nav {
  pointer-events: auto;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 12px;
  background: rgba(255, 253, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow:
    0 4px 0 rgba(69, 38, 26, 0.9),
    0 12px 28px rgba(69, 38, 26, 0.08);
  transition: box-shadow 0.25s var(--ease-out);
}

.adv-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.adv-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 0 rgba(69, 38, 26, 0.35);
}

.adv-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adv-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.adv-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.adv-nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.adv-nav-links a:hover {
  background: var(--paper-warm);
  color: var(--ink);
}

.adv-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--card);
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  flex-shrink: 0;
  transition:
    transform 0.2s var(--ease-spring),
    background 0.2s ease;
}

.adv-nav-cta svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  margin-top: -1px;
}

.adv-nav-cta:hover {
  transform: translateY(-2px);
  background: #593324;
}

.adv-nav-cta:active {
  transform: translateY(0);
}

/* ===== SHARED APP STORE BADGE BUTTON ===== */
.adv-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 24px 12px 20px;
  background: var(--ink);
  color: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: 17px;
  text-decoration: none;
  box-shadow:
    0 5px 0 #26130c,
    0 14px 28px rgba(69, 38, 26, 0.22),
    inset 0 1px 0 rgba(255, 245, 223, 0.18);
  transition:
    transform 0.22s var(--ease-spring),
    box-shadow 0.22s var(--ease-spring),
    background 0.2s ease;
  cursor: pointer;
}

.adv-store-btn:hover {
  transform: translateY(-3px);
  background: #563122;
  box-shadow:
    0 8px 0 #26130c,
    0 20px 36px rgba(69, 38, 26, 0.26),
    inset 0 1px 0 rgba(255, 245, 223, 0.22);
}

.adv-store-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #26130c;
}

.adv-store-btn svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: -2px;
}

.adv-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.08;
}

.adv-store-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.86;
}

.adv-store-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.adv-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 22px;
  border-radius: 17px;
  border: 2.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition:
    transform 0.22s var(--ease-spring),
    box-shadow 0.22s var(--ease-spring),
    background 0.2s ease;
}

.adv-btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--gold-tint);
  box-shadow: var(--shadow-btn-hover);
}

.adv-btn-secondary:active {
  transform: translateY(3px);
  box-shadow: var(--shadow-btn-active);
}

/* ===== HERO SECTION ===== */
.adv-hero {
  position: relative;
  padding: clamp(36px, 5vw, 68px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 56% 52% at 76% 32%,
      rgba(194, 230, 243, 0.78) 0%,
      rgba(194, 230, 243, 0) 70%
    ),
    radial-gradient(
      ellipse 44% 40% at 88% 72%,
      rgba(155, 212, 115, 0.36) 0%,
      rgba(155, 212, 115, 0) 70%
    ),
    radial-gradient(
      ellipse 50% 42% at 15% 24%,
      rgba(255, 225, 143, 0.42) 0%,
      rgba(255, 225, 143, 0) 72%
    ),
    var(--paper);
}

.adv-hero-cloud {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

.adv-hero-cloud--1 {
  top: 52px;
  right: 6%;
  width: 150px;
  animation: advCloudDrift 22s ease-in-out infinite alternate;
}

.adv-hero-cloud--2 {
  top: 150px;
  left: 46%;
  width: 96px;
  opacity: 0.65;
  animation: advCloudDrift 28s ease-in-out infinite alternate-reverse;
}

@keyframes advCloudDrift {
  from {
    transform: translateX(-10px);
  }
  to {
    transform: translateX(18px);
  }
}

.adv-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.adv-kicker {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.adv-hero-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.35vw, 3.85rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.adv-hero-title .adv-line {
  display: block;
}

.adv-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.adv-underline::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 0.04em;
  height: 0.28em;
  z-index: -1;
  border-radius: 99px;
  background: var(--gold);
  transform: rotate(-1.2deg);
}

.adv-hero-lede {
  margin: 0 0 32px;
  max-width: 48ch;
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 600;
}

.adv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.adv-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.adv-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.adv-hero-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf-deep);
}

/* Hero Visual Stage: Realistic iPhone + Overlapping Polaroid & Interactive Heart Bubble */
.adv-hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 28px 26px;
}

.adv-phone {
  position: relative;
  width: min(312px, 78vw);
  aspect-ratio: 1080 / 2340;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(155deg, #4b2d21 0%, #2a1710 100%);
  border: 2.5px solid var(--ink);
  box-shadow:
    0 12px 0 rgba(69, 38, 26, 0.92),
    0 34px 70px rgba(69, 38, 26, 0.25),
    inset 0 1px 1px rgba(255, 245, 223, 0.25);
  z-index: 2;
  transition: transform 0.5s var(--ease-out);
}

.adv-phone-island {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: #1c100c;
  z-index: 4;
  pointer-events: none;
}

.adv-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 39px;
  overflow: hidden;
  background: #9ad4ec;
}

.adv-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Polaroid Moment beside the iPhone */
.adv-hero-polaroid {
  position: absolute;
  left: -24px;
  bottom: 28px;
  width: 186px;
  padding: 8px 8px 26px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-polaroid);
  transform: rotate(-7deg);
  z-index: 3;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.3s ease;
}

.adv-hero-polaroid:hover {
  transform: rotate(-2deg) translateY(-6px) scale(1.04);
  z-index: 5;
}

.adv-hero-polaroid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  border: 1.5px solid rgba(69, 38, 26, 0.22);
}

.adv-hero-polaroid figcaption {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.01em;
}

.adv-hero-polaroid .adv-mini-stamp {
  position: absolute;
  right: 7px;
  bottom: 4px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  opacity: 0.78;
}

/* Top-right Friend Cameo Sticker */
.adv-hero-cameo {
  position: absolute;
  top: 26px;
  right: -2px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-card-sm);
  transform: rotate(3.5deg);
  animation: advGentleBob 5.5s ease-in-out infinite;
}

.adv-hero-cameo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--sky-tint);
  border-radius: 13px;
  border: 1.5px solid var(--ink);
  padding: 2px;
}

.adv-hero-cameo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  line-height: 1.15;
}

.adv-hero-cameo-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Interactive Offline Heart Bubble (easter egg!) */
.adv-heart-bubble {
  position: absolute;
  right: 8px;
  bottom: 96px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--card);
  border: 2.5px solid var(--ink);
  box-shadow:
    0 5px 0 var(--ink),
    0 14px 26px rgba(69, 38, 26, 0.18),
    inset 0 0 0 4px var(--coral-tint);
  cursor: pointer;
  padding: 0;
  animation: advHeartFloat 4.2s ease-in-out infinite;
  transition: transform 0.2s var(--ease-spring);
}

.adv-heart-bubble:hover {
  transform: scale(1.08);
}

.adv-heart-bubble:active {
  transform: scale(0.92);
}

.adv-heart-bubble svg {
  width: 26px;
  height: 26px;
  fill: var(--coral);
  stroke: var(--ink);
  stroke-width: 1.8;
}

.adv-heart-bubble span {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.adv-heart-pop {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--coral-deep);
  text-shadow:
    0 1.5px 0 var(--card),
    0 -1.5px 0 var(--card),
    1.5px 0 0 var(--card),
    -1.5px 0 0 var(--card);
  z-index: 20;
  animation: advPopUp 0.95s var(--ease-out) forwards;
}

@keyframes advPopUp {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -62px) scale(1.15);
  }
}

@keyframes advGentleBob {
  0%,
  100% {
    transform: rotate(3.5deg) translateY(0);
  }
  50% {
    transform: rotate(2.2deg) translateY(-7px);
  }
}

@keyframes advHeartFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ===== EDITORIAL STAT RIBBON ===== */
.adv-stats {
  background: var(--paper-warm);
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  padding: 24px 0;
}

.adv-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}

.adv-stat {
  position: relative;
  padding: 4px 8px;
}

.adv-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: -8px;
  width: 2px;
  height: 56%;
  background: var(--ink-faint);
  border-radius: 2px;
}

.adv-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.adv-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ===== SHARED SECTION HEADERS ===== */
.adv-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.adv-section-head {
  max-width: 660px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.adv-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.adv-eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.adv-h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.adv-lead {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.62;
}

/* ===== SECTION 1: INTERACTIVE BIOME EXPLORER ===== */
.adv-biome-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.adv-biome-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  transition:
    transform 0.18s var(--ease-spring),
    box-shadow 0.18s var(--ease-spring),
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.adv-biome-tab:hover {
  transform: translateY(-2px);
  background: var(--paper-warm);
}

.adv-biome-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--card);
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--ink);
}

.adv-biome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
}

.adv-biome-stage {
  display: grid;
  grid-template-columns: minmax(260px, 316px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 2.8vw, 34px);
  background: var(--card);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  align-items: center;
}

.adv-biome-media {
  position: relative;
  width: 100%;
  max-width: 316px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  background: var(--tan);
  aspect-ratio: 1080 / 2340;
  box-shadow:
    0 6px 0 var(--ink),
    0 18px 34px rgba(69, 38, 26, 0.16);
}

.adv-biome-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.adv-biome-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.adv-biome-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 10px;
  border: 2px solid var(--terracotta);
  background: rgba(255, 253, 246, 0.92);
  color: var(--terracotta);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(3.5deg);
  box-shadow: 0 2px 8px rgba(69, 38, 26, 0.14);
}

.adv-biome-unlock {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: rgba(255, 245, 223, 0.94);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(69, 38, 26, 0.5);
}

.adv-biome-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px;
}

.adv-biome-sub {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf-deep);
}

.adv-biome-name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.adv-biome-desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-soft);
  font-weight: 600;
}

.adv-biome-label {
  margin: 0 0 9px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.adv-biome-friends {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.adv-mini-friend {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--paper);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.2s var(--ease-spring);
}

.adv-mini-friend:hover,
.adv-mini-friend.is-selected {
  border-color: var(--ink);
  background: var(--gold-tint);
  transform: translateY(-2px);
}

.adv-mini-friend img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.adv-mini-friend span {
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
}

.adv-biome-fact {
  margin: 10px 0 0;
  min-height: 2.7em;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 600;
}

.adv-biome-fact strong {
  color: var(--ink);
}

.adv-relic-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--paper-warm);
  border: 2px dashed rgba(69, 38, 26, 0.34);
}

.adv-relic-bar img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.adv-relic-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 2px;
}

.adv-relic-bar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.18;
}

.adv-relic-bar p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ===== SECTION 2: INTERACTIVE DAY / GOLDEN HOUR / NIGHT SKY BAND ===== */
.adv-sky-band {
  position: relative;
  overflow: hidden;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  padding: clamp(64px, 8vw, 108px) 0;
  transition:
    background 0.7s ease,
    color 0.5s ease;
}

.adv-sky-band[data-sky="day"] {
  background: linear-gradient(180deg, #cdecf8 0%, #e9f6fb 48%, #fff5df 100%);
  color: var(--ink);
}

.adv-sky-band[data-sky="sunset"] {
  background: linear-gradient(180deg, #f3a989 0%, #f9cc9c 48%, #ffebd0 100%);
  color: #3a1d13;
}

.adv-sky-band[data-sky="night"] {
  background:
    radial-gradient(
      ellipse 70% 42% at 62% 14%,
      rgba(94, 214, 178, 0.24) 0%,
      rgba(94, 214, 178, 0) 68%
    ),
    linear-gradient(180deg, #131e31 0%, #1c2c44 55%, #23374f 100%);
  color: var(--paper);
}

.adv-sky-band[data-sky="night"] .adv-eyebrow {
  color: #8ee5c6;
}

.adv-sky-band[data-sky="night"] .adv-lead,
.adv-sky-band[data-sky="night"] .adv-sky-caption {
  color: rgba(255, 245, 223, 0.82);
}

/* Decorative starlight & fireflies visible in Night mode */
.adv-sky-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-image:
    radial-gradient(2px 2px at 12% 18%, #fff7d6 60%, transparent 100%),
    radial-gradient(2.5px 2.5px at 26% 11%, #fff7d6 60%, transparent 100%),
    radial-gradient(1.8px 1.8px at 41% 22%, #c9f7e8 60%, transparent 100%),
    radial-gradient(2.5px 2.5px at 58% 9%, #fff7d6 60%, transparent 100%),
    radial-gradient(2px 2px at 74% 19%, #fff7d6 60%, transparent 100%),
    radial-gradient(2.5px 2.5px at 88% 14%, #c9f7e8 60%, transparent 100%),
    radial-gradient(1.8px 1.8px at 93% 31%, #fff7d6 60%, transparent 100%),
    radial-gradient(2px 2px at 7% 36%, #fff7d6 60%, transparent 100%),
    radial-gradient(3px 3px at 18% 78%, #ffe18f 55%, transparent 100%),
    radial-gradient(3px 3px at 84% 74%, #ffe18f 55%, transparent 100%);
}

.adv-sky-band[data-sky="night"] .adv-sky-stars {
  opacity: 0.9;
}

.adv-sky-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
}

.adv-sky-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.adv-sky-copy .adv-section-head {
  margin-bottom: 0;
}

.adv-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  background: rgba(255, 253, 246, 0.94);
  border: 2.5px solid var(--ink);
  box-shadow: 0 5px 0 rgba(42, 22, 14, 0.85);
}

.adv-seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.18s var(--ease-spring);
}

.adv-seg-btn:hover {
  background: var(--paper-warm);
}

.adv-seg-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--card);
}

.adv-sky-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 276px));
  gap: clamp(14px, 2vw, 22px);
}

.adv-sky-card {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: var(--border-w) solid var(--ink);
  background: #172336;
  aspect-ratio: 1080 / 2340;
  box-shadow:
    0 8px 0 rgba(30, 17, 12, 0.88),
    0 24px 50px rgba(10, 16, 28, 0.28);
}

.adv-sky-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.adv-sky-layer.is-active {
  opacity: 1;
}

.adv-sky-badge {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: rgba(255, 253, 246, 0.94);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(69, 38, 26, 0.5);
}

.adv-sky-badge span:last-child {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--terracotta);
}

.adv-sky-note-card {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 246, 0.76);
  border: 2px solid rgba(69, 38, 26, 0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.adv-sky-band[data-sky="night"] .adv-sky-note-card {
  background: rgba(20, 32, 52, 0.76);
  border-color: rgba(142, 229, 198, 0.34);
}

.adv-sky-clock-line {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.adv-sky-caption {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ===== SECTION 3: WILDLIFE MARQUEE & FIELD NOTE SPOTLIGHT ===== */
.adv-marquee-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 calc(50% - 50vw);
  padding: 6px 0 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.adv-marquee-row {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: advMarqueeLeft 58s linear infinite;
}

.adv-marquee-row--reverse {
  animation-name: advMarqueeRight;
  animation-duration: 64s;
}

.adv-marquee-wrap:hover .adv-marquee-row,
.adv-marquee-wrap:focus-within .adv-marquee-row {
  animation-play-state: paused;
}

@keyframes advMarqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes advMarqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.adv-friend-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 20px;
  border: 2px solid var(--ink);
  background: var(--card);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    transform 0.2s var(--ease-spring),
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.adv-friend-chip:hover {
  transform: translateY(-4px);
  background: var(--gold-tint);
  box-shadow: 0 7px 0 var(--ink);
}

.adv-friend-chip.is-active {
  background: var(--sun);
  transform: translateY(-2px);
}

.adv-friend-chip img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 13px;
  background: var(--paper);
  border: 1.5px solid rgba(69, 38, 26, 0.2);
  padding: 2px;
}

.adv-friend-chip-text {
  text-align: left;
}

.adv-friend-chip-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.15;
}

.adv-friend-chip-text span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Interactive Journal Field Note Card */
.adv-spotlight {
  max-width: 780px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: var(--card);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}

.adv-spotlight-avatar {
  width: 126px;
  height: 126px;
  border-radius: 22px;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  padding: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 0 rgba(69, 38, 26, 0.35);
}

.adv-spotlight-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.28s var(--ease-spring);
}

.adv-spotlight.is-bouncing .adv-spotlight-avatar img {
  transform: scale(1.14, 0.92);
}

.adv-spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.adv-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--ink);
  background: var(--leaf-tint);
  color: var(--ink);
}

.adv-tag--ride {
  background: var(--gold);
}

.adv-spotlight h3 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
}

.adv-spotlight-sub {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.adv-spotlight-fact {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== SECTION 4: POLAROID MOMENTS & BELONGINGS SHELF ===== */
.adv-moments-band {
  background: var(--paper-warm);
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
}

.adv-polaroid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.adv-polaroid {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 20px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow-polaroid);
  cursor: pointer;
  text-align: left;
  transform: rotate(var(--tilt, 0deg));
  transition:
    transform 0.32s var(--ease-spring),
    box-shadow 0.3s ease;
}

.adv-polaroid:nth-child(1) {
  --tilt: -1.8deg;
}
.adv-polaroid:nth-child(2) {
  --tilt: 1.4deg;
}
.adv-polaroid:nth-child(3) {
  --tilt: -1.1deg;
}
.adv-polaroid:nth-child(4) {
  --tilt: 1.6deg;
}
.adv-polaroid:nth-child(5) {
  --tilt: -1.5deg;
}
.adv-polaroid:nth-child(6) {
  --tilt: 1.2deg;
}

.adv-polaroid:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 24px 48px rgba(69, 38, 26, 0.22),
    0 6px 0 var(--ink);
  z-index: 4;
}

.adv-polaroid-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  border: 1.5px solid rgba(69, 38, 26, 0.24);
  background: var(--tan);
}

.adv-polaroid-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.adv-polaroid:hover .adv-polaroid-frame img {
  transform: scale(1.04);
}

.adv-polaroid-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding: 0 4px;
}

.adv-polaroid-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.adv-polaroid-note {
  display: block;
  margin-top: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}

.adv-postmark {
  flex-shrink: 0;
  padding: 4px 8px;
  border: 1.5px solid rgba(181, 72, 54, 0.72);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  transform: rotate(-5deg);
}

/* Belongings, Treats & Headwear Shelf */
.adv-shelf-block {
  margin-top: clamp(44px, 6vw, 68px);
  padding: clamp(22px, 3vw, 32px);
  background: var(--card);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-sm);
}

.adv-shelf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.adv-shelf-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}

.adv-shelf-head p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.adv-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 12px;
}

.adv-item-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 8px 10px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 2px solid rgba(69, 38, 26, 0.16);
  transition:
    transform 0.22s var(--ease-spring),
    border-color 0.2s ease,
    background 0.2s ease;
}

.adv-item-tile:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  background: var(--gold-tint);
}

.adv-item-tile img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.adv-item-tile strong {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.adv-item-tile span {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* ===== SECTION 5: COZY PHILOSOPHY ===== */
.adv-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.adv-pillar {
  padding: clamp(24px, 3vw, 32px);
  background: var(--card);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adv-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 0 var(--ink);
}

.adv-pillar-icon--coral {
  background: var(--coral-tint);
}
.adv-pillar-icon--leaf {
  background: var(--leaf-tint);
}
.adv-pillar-icon--sky {
  background: var(--sky-tint);
}

.adv-pillar-icon svg {
  width: 28px;
  height: 28px;
}

.adv-pillar h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.adv-pillar p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ===== SECTION 6: FINAL DOWNLOAD CTA & FOOTER ===== */
.adv-cta-section {
  padding: 20px 0 clamp(60px, 7vw, 96px);
}

.adv-cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 72px) clamp(24px, 5vw, 56px) clamp(76px, 9vw, 108px);
  text-align: center;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 0%,
      rgba(194, 230, 243, 0.72) 0%,
      rgba(194, 230, 243, 0) 70%
    ),
    radial-gradient(
      ellipse 90% 45% at 50% 105%,
      rgba(155, 212, 115, 0.48) 0%,
      rgba(155, 212, 115, 0) 72%
    ),
    var(--card);
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.adv-cta-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 24px;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  box-shadow:
    0 6px 0 var(--ink),
    0 14px 28px rgba(69, 38, 26, 0.18);
}

.adv-cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adv-cta-card h2 {
  margin: 0 auto 14px;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.adv-cta-card p {
  margin: 0 auto 28px;
  max-width: 44ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 600;
  color: var(--ink-soft);
}

.adv-cta-note {
  margin: 16px auto 0 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: var(--ink-muted) !important;
}

.adv-cta-parade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(12px, 3vw, 44px);
  pointer-events: none;
  padding: 0 16px;
}

.adv-cta-parade img {
  width: clamp(54px, 7vw, 82px);
  height: clamp(54px, 7vw, 82px);
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(69, 38, 26, 0.16));
}

/* Footer */
.adv-footer {
  border-top: 2px solid var(--ink-faint);
  padding: 28px 0 42px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.adv-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.adv-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.adv-footer-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.adv-footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.adv-footer-legal {
  margin: 14px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.78;
}

/* ===== POLAROID LIGHTBOX MODAL ===== */
.adv-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(34, 18, 12, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.adv-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.adv-modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 16px 16px 26px;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.28s var(--ease-spring);
}

.adv-modal.is-open .adv-modal-card {
  transform: scale(1) translateY(0);
}

.adv-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
}

.adv-modal-close:hover {
  background: var(--coral-tint);
}

.adv-modal-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1.5px solid rgba(69, 38, 26, 0.24);
}

.adv-modal-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 0 4px;
}

.adv-modal-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.adv-modal-body p {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ===== PLACEHOLDER APP STORE TOAST ===== */
.adv-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1100;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow:
    0 5px 0 var(--ink),
    0 18px 36px rgba(69, 38, 26, 0.24);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    opacity 0.25s ease,
    transform 0.3s var(--ease-spring);
}

.adv-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.adv-toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-rim);
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
}

/* ===== SCROLL REVEAL ===== */
.adv-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.adv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .adv-hero-cloud {
    display: none;
  }

  .adv-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .adv-hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .adv-hero-actions,
  .adv-hero-meta {
    justify-content: center;
  }

  .adv-hero-stage {
    padding: 20px 16px 26px;
  }

  .adv-hero-polaroid {
    left: max(0px, calc(50% - 260px));
  }

  .adv-hero-cameo {
    right: max(0px, calc(50% - 256px));
  }

  .adv-heart-bubble {
    right: max(8px, calc(50% - 210px));
  }

  .adv-biome-stage {
    grid-template-columns: 1fr;
  }

  .adv-biome-media {
    max-width: 280px;
  }

  .adv-sky-layout {
    grid-template-columns: 1fr;
  }

  .adv-sky-copy {
    align-items: center;
    text-align: center;
  }

  .adv-sky-duo {
    justify-content: center;
    grid-template-columns: repeat(2, minmax(0, 260px));
  }

  .adv-polaroid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .adv-nav-links {
    display: none;
  }

  .adv-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }

  .adv-stat:nth-child(3)::after {
    display: none;
  }

  .adv-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .adv-nav-wrap {
    top: 10px;
  }

  .adv-brand-name {
    font-size: 0.96rem;
  }

  .adv-nav-cta {
    padding: 8px 13px;
    font-size: 0.82rem;
  }

  .adv-hero-polaroid {
    width: 146px;
    left: 2px;
    bottom: 18px;
    padding: 6px 6px 20px;
  }

  .adv-hero-cameo {
    top: 12px;
    right: 2px;
    padding: 6px 10px 6px 6px;
  }

  .adv-hero-cameo img {
    width: 38px;
    height: 38px;
  }

  .adv-heart-bubble {
    width: 66px;
    height: 66px;
    right: 4px;
    bottom: 72px;
  }

  .adv-biome-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .adv-biome-tabs::-webkit-scrollbar {
    display: none;
  }

  .adv-biome-friends {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adv-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adv-stat::after {
    display: none;
  }

  .adv-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }

  .adv-spotlight-avatar {
    margin: 0 auto;
  }

  .adv-spotlight-tags {
    justify-content: center;
  }

  .adv-polaroid-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .adv-polaroid {
    --tilt: 0deg !important;
  }

  .adv-cta-parade img:nth-child(n + 5) {
    display: none;
  }

  .adv-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adv-html {
    scroll-behavior: auto;
  }

  .adv-hero-cloud,
  .adv-hero-cameo,
  .adv-heart-bubble {
    animation: none;
  }

  .adv-marquee-wrap {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    padding-left: 20px;
    padding-right: 20px;
  }

  .adv-marquee-row {
    animation: none;
  }

  .adv-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
