/* landing.css - the home page.
   ------------------------------------------------------------------
   The studio is deliberately quiet so the printed strips are the only
   thing that shouts. The landing page is the opposite: it is the
   shop window, styled as warm paper and a keepsake wall.

   Every rule here is scoped to .landing-body, so nothing in this file
   leaks into the studio, editor or result screens.
   ================================================================== */

/* ==================================================================
   1. LANDING TOKENS
   ================================================================== */
.landing-body {
  /* Warm paper surfaces */
  --bg: #f5f1e8;
  --surface: #fbf8f1;
  --surface-alt: #eee8dc;
  --surface-sunken: #e7dfd1;

  /* Ink */
  --ink: #2a2421;
  --ink-light: #463a34;
  --muted: #756960;
  --muted-light: #9a8c80;

  /* Borders */
  --line: #d9cfc0;
  --line-strong: #b9a997;

  /* Accent + signal */
  --accent: #7a1c22;
  --accent-hover: #64171c;
  --accent-soft: #f1e3df;
  --accent-ring: rgba(122, 28, 34, 0.24);
  --signal: #7a1c22;
  --signal-soft: #f4e7e2;

  --paper: #fbf8f1;
  --paper-shadow: rgba(58, 46, 36, 0.18);

  /* --- Brand colour system --- */
  --l-coral: #7a1c22;
  --l-amber: #a77d49;
  --l-violet: #7a1c22;
  --l-fuchsia: #8f3737;
  --l-mint: #647252;
  --l-sky: #697982;

  --l-grad-sunset: linear-gradient(120deg, #7a1c22, #7a1c22);
  --l-grad-violet: linear-gradient(120deg, #7a1c22, #7a1c22);
  --l-grad-mint: linear-gradient(120deg, #647252, #647252);
  --l-grad-ocean: linear-gradient(120deg, #697982, #697982);

  --l-glass: rgba(251, 248, 241, 0.88);
  --l-glass-line: rgba(185, 169, 151, 0.7);

  --l-shadow-soft: 0 2px 6px rgba(58, 46, 36, 0.05), 0 10px 26px rgba(58, 46, 36, 0.07);
  --l-shadow-card: 0 4px 10px rgba(58, 46, 36, 0.08), 0 22px 48px -12px rgba(58, 46, 36, 0.2);
  --l-shadow-lift: 0 10px 20px -6px rgba(58, 46, 36, 0.13), 0 32px 64px -16px rgba(58, 46, 36, 0.25);

  background: #f5f1e8;
}

/* Each coloured element declares its own tone. One attribute, one palette. */
.landing-body [data-tone='1'] {
  --tone: var(--l-grad-sunset);
  --tone-ink: #ff4d6d;
  --tone-soft: #fff1f4;
}

.landing-body [data-tone='2'] {
  --tone: var(--l-grad-violet);
  --tone-ink: #6a5af9;
  --tone-soft: #f0edff;
}

.landing-body [data-tone='3'] {
  --tone: var(--l-grad-mint);
  --tone-ink: #0ea371;
  --tone-soft: #e9faf4;
}

.landing-body [data-tone='4'] {
  --tone: var(--l-grad-ocean);
  --tone-ink: #3b82f6;
  --tone-soft: #eaf4ff;
}

.landing-body .shell {
  position: relative;
  z-index: 1;
}

/* ==================================================================
   2. AMBIENT BACKGROUND
   ================================================================== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.aurora-blob--coral {
  top: -14rem;
  left: -10rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.5), transparent 68%);
  animation: aurora-drift-a 26s var(--ease) infinite alternate;
}

.aurora-blob--violet {
  top: -12rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.46), transparent 68%);
  animation: aurora-drift-b 32s var(--ease) infinite alternate;
}

.aurora-blob--mint {
  top: 58%;
  right: -14rem;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(14, 197, 165, 0.34), transparent 68%);
  animation: aurora-drift-c 30s var(--ease) infinite alternate;
}

.aurora-blob--amber {
  top: 34%;
  left: -14rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.32), transparent 68%);
  animation: aurora-drift-b 28s var(--ease) infinite alternate-reverse;
}

@keyframes aurora-drift-a {
  to {
    transform: translate3d(6rem, 4rem, 0) scale(1.12);
  }
}

@keyframes aurora-drift-b {
  to {
    transform: translate3d(-5rem, 5rem, 0) scale(1.08);
  }
}

@keyframes aurora-drift-c {
  to {
    transform: translate3d(4rem, -5rem, 0) scale(1.14);
  }
}

/* A whisper of grain keeps the big gradients from banding. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==================================================================
   3. SCROLL PROGRESS
   ================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-sticky) + 1);
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--l-grad-sunset);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 90ms linear;
}

/* ==================================================================
   4. SHARED PRIMITIVES
   ================================================================== */
.landing-body .eyebrow {
  padding: 6px 13px;
  border: 0;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(35, 28, 80, 0.05);
  color: var(--tone-ink, var(--accent));
}

.landing-body .hero .eyebrow,
.landing-body .section-head .eyebrow,
.landing-body .how-it-works .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: var(--space-3);
}

.eyebrow--live {
  color: var(--l-coral) !important;
}

.landing-body .eyebrow-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--l-coral);
}

.landing-body .eyebrow-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--l-coral);
  animation: dot-ping 2.2s var(--ease) infinite;
}

@keyframes dot-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.grad-text {
  background: var(--tone, var(--l-grad-sunset));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.landing-body .primary-btn,
.landing-body .secondary-btn,
.landing-body .ghost-btn {
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.landing-body .primary-btn {
  background: var(--l-grad-sunset);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(255, 77, 109, 0.75);
}

.landing-body .primary-btn:hover {
  transform: translateY(-2px);
  background: var(--l-grad-sunset);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 32px -12px rgba(255, 77, 109, 0.85);
}

.landing-body .secondary-btn {
  background: var(--l-glass);
  border-color: var(--l-glass-line);
  color: var(--ink);
  box-shadow: var(--l-shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landing-body .secondary-btn:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--l-violet);
  color: var(--l-violet);
  box-shadow: 0 14px 28px -14px rgba(106, 90, 249, 0.6);
}

.landing-body .ghost-btn--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.landing-body .ghost-btn--light:hover {
  background: #fff;
  color: var(--l-violet);
}

.landing-body .primary-btn:disabled {
  transform: none;
  background: var(--surface-alt);
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}

/* ==================================================================
   5. TOPBAR
   ================================================================== */
.landing-body .topbar {
  top: var(--space-4);
  padding: 8px 10px 8px 12px;
  background: var(--l-glass);
  border-color: var(--l-glass-line);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(35, 28, 80, 0.05), 0 18px 40px -18px rgba(35, 28, 80, 0.24);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease),
    top 0.3s var(--ease);
}

.landing-body .topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 2px 8px rgba(35, 28, 80, 0.06), 0 24px 50px -20px rgba(35, 28, 80, 0.3);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--l-grad-sunset);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(255, 77, 109, 0.9);
}

.brand-mark .lucide {
  width: 18px;
  height: 18px;
}

.brand-logo {
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.landing-body .nav-link {
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.landing-body .nav-link:hover {
  background: var(--accent-soft);
  color: var(--l-violet);
}

.landing-body .nav-link.active {
  background: var(--l-grad-violet);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 18px -10px rgba(106, 90, 249, 0.95);
}

.landing-body .nav-link.active .lucide {
  color: #fff;
}

.landing-body .nav-actions .primary-btn {
  padding: 9px 18px;
}

.landing-body .nav-toggle {
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--l-violet);
}

.landing-body .nav-toggle:hover {
  background: var(--l-grad-violet);
  color: #fff;
}

.landing-body .nav-toggle.is-active {
  background: var(--l-grad-violet);
  color: #fff;
}

@media (max-width: 640px) {
  .landing-body .nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .landing-body .nav-link.active {
    color: #fff;
  }
}

/* ==================================================================
   6. HERO
   ================================================================== */
.hero {
  padding: var(--space-8) 0 var(--space-7);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: var(--space-8);
}

.hero-copy {
  max-width: 36rem;
}

.hero-title {
  margin: 0 0 var(--space-4);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.hero-title em {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero .lead {
  max-width: 32rem;
  margin: 0 0 var(--space-5);
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cta-row--center {
  justify-content: center;
}

/* --- Hero facts --- */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.hero-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: var(--l-glass);
  border: 1px solid var(--l-glass-line);
  border-radius: var(--radius-pill);
  box-shadow: var(--l-shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-fact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tone);
  color: #fff;
  box-shadow: 0 6px 14px -6px var(--tone-ink);
}

.hero-fact-icon .lucide {
  width: 16px;
  height: 16px;
}

.hero-fact-body {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.hero-fact-body strong {
  color: var(--ink);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero-fact-label {
  color: var(--muted);
  font-size: var(--fs-sm);
  white-space: nowrap;
}

/* --- Hero visual: a stack of real, rendered strips --- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    rgba(255, 77, 109, 0.32),
    rgba(255, 159, 67, 0.28),
    rgba(139, 108, 255, 0.3),
    rgba(14, 197, 165, 0.26),
    rgba(255, 77, 109, 0.32)
  );
  filter: blur(64px);
  animation: hero-glow-turn 22s linear infinite;
}

@keyframes hero-glow-turn {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-card {
  position: absolute;
  width: max-content;
  min-width: 118px;
  margin: 0;
  padding: 12px 12px 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: var(--l-shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  will-change: translate, transform;
  transition: transform 0.4s var(--ease-print), box-shadow 0.4s var(--ease-print);
}

.hero-card--a {
  top: 2%;
  left: 0;
  transform: rotate(-8deg);
  z-index: 1;
  animation: hero-float-a 7s ease-in-out infinite;
}

.hero-card--b {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(1.5deg);
  z-index: 3;
  animation: hero-float-b 8s ease-in-out infinite;
}

.hero-card--c {
  bottom: 0;
  right: 0;
  transform: rotate(9deg);
  z-index: 2;
  animation: hero-float-c 7.5s ease-in-out infinite;
}

.hero-card:hover {
  z-index: 4;
  box-shadow: var(--l-shadow-lift);
}

.hero-card:focus-visible {
  z-index: 4;
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-ring), var(--l-shadow-lift);
}

.hero-card--a:hover {
  transform: rotate(-4deg) scale(1.04);
}

.hero-card--b:hover {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.04);
}

.hero-card--c:hover {
  transform: rotate(5deg) scale(1.04);
}

/* The float animates the independent `translate` property so it never
   fights the hover transform above. */
@keyframes hero-float-a {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes hero-float-b {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes hero-float-c {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

/* Sized by height, with the width derived from the strip's real ratio
   (--strip-r is published by app.js). */
.strip-preview-hero {
  --preview-h: 300px;
  position: relative;
  display: block;
  width: calc(var(--preview-h) * var(--strip-r, 0.6));
  max-width: 100%;
  height: var(--preview-h);
  margin-inline: auto;
  border-radius: 10px;
  background: var(--surface-sunken);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}

.hero-card--a .strip-preview-hero {
  --preview-h: 300px;
}

.hero-card--b .strip-preview-hero {
  --preview-h: 400px;
}

.hero-card--c .strip-preview-hero {
  --preview-h: 280px;
}

.strip-preview-hero .strip-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  border-radius: 0;
  transition: opacity var(--dur-base) var(--ease);
}

.strip-preview-hero[data-ready='true'] .strip-thumb {
  opacity: 1;
}

.hero-card figcaption {
  display: block;
  padding: 10px 4px 12px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

/* floating glass chips that sell the "machine is running" idea */
.hero-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  box-shadow: var(--l-shadow-card);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-badge .lucide {
  width: 15px;
  height: 15px;
}

.hero-badge--print {
  top: 26%;
  right: 0;
  color: var(--l-coral);
  animation: hero-float-b 6.5s ease-in-out infinite;
}

.hero-badge--qr {
  bottom: 24%;
  left: 0;
  color: var(--l-violet);
  animation: hero-float-a 7.2s ease-in-out infinite;
}

/* --- Trust bar --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  margin: var(--space-8) 0 0;
  padding: var(--space-4) var(--space-5);
  background: var(--l-glass);
  border: 1px solid var(--l-glass-line);
  border-radius: var(--radius-pill);
  box-shadow: var(--l-shadow-soft);
  list-style: none;
  color: var(--ink-light);
  font-size: var(--fs-base);
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-bar .lucide {
  color: var(--l-mint);
  stroke-width: 3;
}

/* ==================================================================
   7. HOW IT WORKS
   ================================================================== */
.how-it-works {
  padding: var(--space-8) 0;
  scroll-margin-top: 110px;
}

.how-it-works .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-6);
}

.how-it-works .section-head h2 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* the connective thread running behind the four cards */
.steps::before {
  content: '';
  position: absolute;
  top: 54px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--l-coral), var(--l-amber), var(--l-violet), var(--l-sky));
  opacity: 0.35;
  border-radius: var(--radius-pill);
}

.step {
  position: relative;
  padding: var(--space-5) var(--space-5) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--l-shadow-soft);
  text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--l-shadow-card);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-4);
  border-radius: 16px;
  background: var(--tone);
  color: #fff;
  box-shadow: 0 12px 24px -12px var(--tone-ink);
}

.step-icon .lucide {
  width: 22px;
  height: 22px;
}

.step-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--tone-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.28;
}

.step h4 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

/* ==================================================================
   8. FEATURES
   ================================================================== */
.section {
  margin-top: 0;
  padding: var(--space-8) 0 0;
  scroll-margin-top: 110px;
}

.section--features {
  margin-top: 0;
}

.section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.section .section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head-copy h2,
.section .section-head h2 {
  margin: 0 0 var(--space-1);
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.feature {
  position: relative;
  overflow: hidden;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--l-shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* a soft tone wash that blooms on hover */
.feature::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--tone);
  opacity: 0;
  filter: blur(38px);
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--l-shadow-card);
}

.feature:hover::after {
  opacity: 0.18;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--space-4);
  border-radius: 14px;
  background: var(--tone);
  color: #fff;
  box-shadow: 0 10px 20px -10px var(--tone-ink);
}

.feature-icon .lucide {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ==================================================================
   9. TEMPLATE RAIL
   ================================================================== */
.category-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.landing-body .category-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.landing-body .category-tab::after {
  display: none;
}

.landing-body .category-tab:hover {
  transform: translateY(-2px);
  border-color: var(--l-violet);
  color: var(--l-violet);
}

.landing-body .category-tab.is-active {
  background: var(--l-grad-violet);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 20px -10px rgba(106, 90, 249, 0.95);
}

.landing-body .category-count {
  background: var(--surface-sunken);
  color: var(--muted);
}

.landing-body .category-tab.is-active .category-count {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.rail-nav {
  display: flex;
  gap: var(--space-2);
}

.landing-body .icon-btn {
  background: var(--l-glass);
  border-color: var(--l-glass-line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.landing-body .icon-btn:hover {
  background: var(--l-grad-violet);
  border-color: transparent;
  color: #fff;
}

.strip-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: var(--space-4);
  overflow-x: auto;
  padding: var(--space-3) 2px var(--space-5);
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.strip-rail::-webkit-scrollbar {
  height: 6px;
}

.strip-rail::-webkit-scrollbar-track {
  background: transparent;
}

.strip-rail::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: var(--radius-pill);
}

.strip-rail::-webkit-scrollbar-thumb:hover {
  background: var(--l-violet);
}

/* --- Tiles --- */
.strip-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: max-content;
  min-width: 132px;
  max-width: 250px;
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--l-shadow-soft);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.strip-tile:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 18px 40px -18px var(--tone-ink, rgba(35, 28, 80, 0.5)), var(--l-shadow-soft);
}

.strip-tile:focus-visible {
  outline: none;
  border-color: var(--l-violet);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.strip-tile.is-selected {
  border-color: var(--tone-ink, var(--l-violet));
  box-shadow: 0 0 0 2px var(--tone-ink, var(--l-violet)),
    0 18px 40px -18px var(--tone-ink, rgba(35, 28, 80, 0.5));
}

/* Sized by height, with the width derived from the strip's real ratio, so a
   1:3 four-shot strip gets the same physical height as a wide one. */
.strip-tile-preview {
  --preview-h: 300px;
  position: relative;
  display: block;
  width: calc(var(--preview-h) * var(--strip-r, 0.6));
  max-width: 100%;
  height: var(--preview-h);
  margin-inline: auto;
  border-radius: 12px;
  background: var(--tone-soft, var(--surface-sunken));
  overflow: hidden;
  transition: transform 0.35s var(--ease-print);
}

.strip-tile:hover .strip-tile-preview {
  transform: scale(1.03);
}

.strip-tile-preview .strip-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity var(--transition);
}

.strip-tile-preview[data-ready='true'] .strip-thumb {
  opacity: 1;
}

.strip-tile-preview.is-preview-failed {
  background: repeating-linear-gradient(
    45deg,
    var(--surface-sunken),
    var(--surface-sunken) 6px,
    var(--surface) 6px,
    var(--surface) 12px
  );
}

.strip-tile-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-width: 0;
  padding: 0 4px;
}

.strip-tile-name {
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: -0.015em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.strip-tile-sub {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.strip-tile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: auto;
  padding: 8px 4px 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.strip-tile-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.strip-tile:hover .strip-tile-cta {
  color: var(--tone-ink, var(--l-violet));
}

.strip-tile:hover .strip-tile-cta svg {
  transform: translate(2px, -2px);
}

/* ==================================================================
   10. GALLERY MOSAIC
   ================================================================== */
.gallery-section {
  padding-bottom: var(--space-6);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.gallery-mosaic .strip-tile {
  width: 100%;
  max-width: 264px;
  justify-self: center;
  padding: var(--space-4);
  border-radius: 24px;
}

.gallery-mosaic .strip-tile-preview {
  border-radius: 16px;
}

/* a hand-pinned feel: each tile leans a few degrees */
.gallery-mosaic .strip-tile:nth-child(6n + 1) {
  transform: rotate(-1.2deg);
}

.gallery-mosaic .strip-tile:nth-child(6n + 2) {
  transform: rotate(0.9deg);
}

.gallery-mosaic .strip-tile:nth-child(6n + 3) {
  transform: rotate(-0.6deg) translateY(10px);
}

.gallery-mosaic .strip-tile:nth-child(6n + 4) {
  transform: rotate(1.1deg) translateY(-6px);
}

.gallery-mosaic .strip-tile:nth-child(6n + 5) {
  transform: rotate(-0.9deg);
}

.gallery-mosaic .strip-tile:nth-child(6n + 6) {
  transform: rotate(0.7deg) translateY(8px);
}

.gallery-mosaic .strip-tile:hover,
.gallery-mosaic .strip-tile:focus-visible {
  transform: rotate(0deg) translateY(-8px);
}

.gallery-mosaic .strip-tile-cta {
  display: none;
}

.gallery-mosaic .strip-tile-meta {
  align-items: center;
  text-align: center;
  padding: 4px 0 6px;
}

/* ==================================================================
   11. CLOSING CTA
   ================================================================== */
.closing {
  margin-top: var(--space-7);
  padding: 0;
  scroll-margin-top: 110px;
}

.closing-inner {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: var(--space-8) var(--space-6);
  border-radius: 32px;
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(255, 255, 255, 0.24), transparent 60%),
    linear-gradient(130deg, #ff4d6d 0%, #ff7a45 32%, #b14bf5 74%, #6a5af9 100%);
  box-shadow: 0 30px 70px -30px rgba(106, 90, 249, 0.75);
  text-align: center;
  isolation: isolate;
}

/* faint polaroid grid, so the panel reads as photo paper */
.closing-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.closing h2 {
  margin: var(--space-3) 0 var(--space-3);
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.closing p {
  max-width: 30rem;
  margin: 0 auto var(--space-6);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-md);
}

.landing-body .closing .primary-btn {
  background: #fff;
  color: var(--l-violet);
  box-shadow: 0 16px 34px -14px rgba(23, 18, 49, 0.6);
}

.landing-body .closing .primary-btn:hover {
  background: #fff;
  color: var(--l-coral);
  transform: translateY(-2px);
}

/* ==================================================================
   12. FOOTER
   ================================================================== */
.landing-body .footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  align-items: start;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  padding-bottom: var(--space-5);
  border-top: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.footer-brand p {
  max-width: 24rem;
  margin-top: var(--space-3);
  font-size: var(--fs-base);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  font-size: var(--fs-base);
}

.footer-links a {
  width: fit-content;
  color: var(--ink-light);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--l-violet);
}

.footer-note {
  display: flex;
  justify-content: flex-end;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--l-glass);
  border: 1px solid var(--l-glass-line);
  border-radius: var(--radius-pill);
  box-shadow: var(--l-shadow-soft);
  color: var(--ink-light);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}

.footer-pill .lucide {
  color: var(--l-mint);
}

.footer-base {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: var(--fs-xs);
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--l-coral);
}

/* ==================================================================
   13. SCROLL REVEAL
   ================================================================== */
/* Only hide content once JS confirms it can bring it back, so the page
   still reads correctly with scripting disabled. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-print), transform 0.7s var(--ease-print);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ==================================================================
   14. RESPONSIVE
   ================================================================== */
@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
  }

  .hero-copy {
    max-width: none;
  }

  .hero-stage {
    min-height: 420px;
    max-width: 440px;
  }

  .hero-card--a .strip-preview-hero {
    --preview-h: 250px;
  }

  .hero-card--b .strip-preview-hero {
    --preview-h: 320px;
  }

  .hero-card--c .strip-preview-hero {
    --preview-h: 230px;
  }

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

@media (max-width: 760px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps::before {
    display: none;
  }

  .landing-body .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-note {
    justify-content: center;
  }

  .footer-base {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-6) 0 var(--space-6);
  }

  .hero-title {
    letter-spacing: -0.035em;
  }

  .hero-facts {
    gap: var(--space-2);
  }

  .hero-fact {
    padding: 8px 13px 8px 8px;
  }

  .hero-fact-icon {
    width: 30px;
    height: 30px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .hero-card--a .strip-preview-hero {
    --preview-h: 250px;
  }

  .hero-card--b .strip-preview-hero {
    --preview-h: 320px;
  }

  .hero-card--c .strip-preview-hero {
    --preview-h: 230px;
  }

  .hero-glow {
    width: 280px;
    height: 280px;
  }

  .hero-badge {
    padding: 7px 12px;
    font-size: var(--fs-xs);
  }

  .trust-bar {
    gap: var(--space-2) var(--space-3);
    margin-top: var(--space-6);
    padding: var(--space-3) var(--space-4);
    font-size: var(--fs-sm);
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-mosaic {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .gallery-mosaic .strip-tile:nth-child(n) {
    transform: none;
  }

  .strip-tile {
    min-width: 120px;
  }

  .closing-inner {
    padding: var(--space-7) var(--space-4);
    border-radius: 24px;
  }

  .rail-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stage {
    min-height: 370px;
  }

  .hero-card--a .strip-preview-hero {
    --preview-h: 220px;
  }

  .hero-card--b .strip-preview-hero {
    --preview-h: 280px;
  }

  .hero-card--c .strip-preview-hero {
    --preview-h: 200px;
  }

  .hero-badge--print {
    top: 30%;
  }

  .hero-badge--qr {
    bottom: 30%;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .section .section-head {
    align-items: flex-start;
  }
}

/* ==================================================================
   15. MOTION PREFERENCES
   ================================================================== */
@media (prefers-reduced-motion: reduce) {
  .aurora-blob,
  .hero-card,
  .hero-badge,
  .hero-glow,
  .landing-body .eyebrow-dot::after {
    animation: none;
  }

  .gallery-mosaic .strip-tile:nth-child(n) {
    transform: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-body .topbar,
  .landing-body .primary-btn,
  .landing-body .secondary-btn,
  .strip-tile,
  .feature,
  .step {
    transition-duration: 0.01ms;
  }
}

/* ==================================================================
   16. SINGLE-SCREEN KEEPSAKE LANDING
   ================================================================== */
.landing-body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

.landing-body .shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 2vh, 22px);
  width: min(100%, 1500px);
  height: 100%;
  padding: clamp(12px, 2.3vh, 24px) clamp(16px, 4vw, 56px);
}

.landing-body .aurora,
.landing-body .scroll-progress {
  display: none;
}

.landing-body .grain {
  opacity: 0.11;
  mix-blend-mode: multiply;
}

.landing-body .topbar {
  position: relative;
  top: auto;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(58, 46, 36, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.landing-body .brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
}

.landing-body .brand-logo,
.landing-body .nav-link {
  color: var(--ink);
}

.landing-body .brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-body .nav-link {
  border-radius: 3px;
}

.landing-body .nav-link:hover,
.landing-body .nav-link.active {
  background: var(--surface-alt);
  color: var(--accent);
  box-shadow: none;
}

.landing-body .nav-link.active .lucide {
  color: var(--accent);
}

.landing-body .nav-actions .primary-btn,
.landing-body .primary-btn {
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fffaf3;
  box-shadow: 0 4px 10px rgba(122, 28, 34, 0.16);
}

.landing-body .primary-btn:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  box-shadow: 0 6px 14px rgba(122, 28, 34, 0.2);
}

.landing-body .secondary-btn {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.landing-body .secondary-btn:hover {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
  box-shadow: none;
}

.landing-body main {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.landing-body main > section:not(.hero),
.landing-body .footer,
.landing-body .trust-bar {
  display: none;
}

.landing-body .hero {
  height: 100%;
  min-height: 0;
  padding: 0;
}

.landing-body .hero-inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 64px);
  width: 100%;
  height: 100%;
  min-height: 0;
}

.landing-body .hero-copy {
  max-width: 35rem;
  padding: 20px 0;
}

.landing-body .hero .eyebrow {
  margin-bottom: clamp(12px, 2vh, 22px);
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.landing-body .eyebrow-dot,
.landing-body .eyebrow-dot::after {
  background: var(--accent);
}

.landing-body .hero-title,
.landing-body h2 {
  font-family: var(--font-display);
  color: var(--ink);
}

.landing-body .hero-title {
  max-width: 10ch;
  margin-bottom: clamp(12px, 2vh, 20px);
  font-size: clamp(2.45rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.landing-body .hero-title em {
  color: var(--accent);
  font-weight: 500;
}

.landing-body .grad-text {
  background: none;
  color: var(--accent);
  -webkit-text-fill-color: currentColor;
}

.landing-body .hero .lead {
  max-width: 31rem;
  margin-bottom: clamp(16px, 2.5vh, 26px);
  color: var(--muted);
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  line-height: 1.65;
}

.landing-body .cta-row {
  gap: 10px;
}

.landing-body .hero-facts {
  gap: 8px;
  margin-top: clamp(20px, 4vh, 40px);
}

.landing-body .hero-fact {
  gap: 9px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px dashed var(--line-strong);
  border-radius: 3px;
  background: rgba(251, 248, 241, 0.72);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.landing-body .hero-fact-icon {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}

.landing-body .hero-fact-body {
  gap: 4px;
}

.landing-body .hero-fact-body strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.landing-body .hero-fact-label {
  color: var(--muted);
  font-size: 0.72rem;
}

.landing-body .hero-visual {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.landing-body .hero-stage {
  display: grid;
  place-items: stretch;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(8px, 1.5vh, 16px);
  width: 100%;
  max-width: 760px;
  min-height: 0;
  height: 100%;
  flex: 1 1 auto;
  margin-inline: auto;
  padding: clamp(16px, 2.5vh, 26px);
  overflow: hidden;
  border: 10px solid #805c3d;
  border-radius: 3px;
  outline: 1px solid #b7956c;
  outline-offset: 3px;
  background-color: #b99567;
  background-image:
    repeating-linear-gradient(7deg, transparent 0 23px, rgba(74, 48, 29, 0.07) 24px 26px),
    repeating-linear-gradient(93deg, transparent 0 38px, rgba(255, 239, 206, 0.08) 39px 41px),
    radial-gradient(ellipse at 30% 22%, rgba(250, 226, 184, 0.28), transparent 48%),
    linear-gradient(135deg, #c3a274, #a98254 70%, #bb9769);
  box-shadow: 0 12px 28px rgba(58, 46, 36, 0.18), inset 0 0 0 2px rgba(255, 232, 191, 0.24);
}

.wall-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.wall-kicker {
  display: block;
  margin-bottom: 2px;
  color: #f8ead1;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wall-heading h2 {
  color: #fff8eb;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.wall-heading p {
  margin-top: 2px;
  color: #f5e5cc;
  font-family: var(--font-hand);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.2;
}

.wall-photos {
  position: relative;
  min-height: 0;
}

.landing-body .hero-card {
  top: 50%;
  bottom: auto;
  display: block;
  width: 29%;
  min-width: 0;
  padding: 8px 8px 2px;
  overflow: visible;
  border: 1px solid #e0d5c4;
  border-radius: 1px;
  background: #fcf9f0;
  box-shadow: 0 6px 13px rgba(50, 36, 24, 0.26);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
  cursor: pointer;
}

.landing-body .hero-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -8px;
  left: 50%;
  width: 46px;
  height: 14px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(239, 220, 175, 0.78);
  box-shadow: 0 1px 2px rgba(58, 46, 36, 0.12);
}

.landing-body .hero-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border: 2px solid #e1c180;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1c5, #98723f 78%);
  box-shadow: 0 2px 3px rgba(47, 34, 22, 0.3);
}

.landing-body .hero-card--a {
  left: 2%;
  z-index: 1;
  transform: translateY(-48%) rotate(-7deg);
}

.landing-body .hero-card--b {
  left: 35.5%;
  z-index: 2;
  transform: translateY(-50%) rotate(1deg);
}

.landing-body .hero-card--c {
  right: 2%;
  z-index: 1;
  transform: translateY(-47%) rotate(6deg);
}

.landing-body .hero-card:hover {
  z-index: 4;
  box-shadow: 0 10px 20px rgba(50, 36, 24, 0.32);
}

.landing-body .hero-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  box-shadow: 0 10px 20px rgba(50, 36, 24, 0.32);
}

.landing-body .strip-preview-hero {
  --preview-h: min(32vh, 310px);
  width: calc(var(--preview-h) * var(--strip-r, 0.6));
  height: var(--preview-h);
  max-height: 100%;
  border-radius: 0;
  background: #e9dfce;
  box-shadow: none;
}

.landing-body .hero-card--a .strip-preview-hero,
.landing-body .hero-card--c .strip-preview-hero {
  --preview-h: min(26vh, 250px);
}

.landing-body .hero-card--b .strip-preview-hero {
  --preview-h: min(34vh, 320px);
}

.landing-body .hero-card figcaption {
  padding: 5px 1px 2px;
  color: #66564a;
  font-family: var(--font-hand);
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.wall-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  color: #fff8eb;
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
}

.wall-links span,
.wall-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.wall-links a {
  color: #fff8eb;
  text-decoration: underline;
  text-decoration-color: rgba(255, 248, 235, 0.55);
  text-underline-offset: 3px;
}

.wall-links .lucide {
  width: 14px;
  height: 14px;
  color: #f0d7a8;
}

.wall-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  color: var(--ink-light);
  font-size: clamp(0.68rem, 0.9vw, 0.8rem);
  cursor: pointer;
}

.wall-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.consent-choice {
  display: inline-flex;
  gap: 5px;
  white-space: nowrap;
}

.consent-choice span {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
}

.consent-yes::before,
.consent-no::before {
  content: "☐ ";
}

.wall-consent input:checked ~ .consent-choice .consent-yes::before,
.wall-consent input:not(:checked) ~ .consent-choice .consent-no::before {
  content: "☑ ";
}

.wall-consent input:checked ~ .consent-choice .consent-yes,
.wall-consent input:not(:checked) ~ .consent-choice .consent-no {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 900px) {
  .landing-body .hero-inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 22px;
  }

  .landing-body .hero-title {
    font-size: clamp(2.25rem, 5vw, 3.7rem);
  }

  .landing-body .hero-facts {
    gap: 6px;
  }

  .landing-body .hero-fact {
    padding: 6px 8px;
  }
}

@media (max-width: 640px) {
  .landing-body .shell {
    gap: 8px;
    padding: 10px 12px;
  }

  .landing-body .topbar {
    min-height: 48px;
    padding: 6px 8px;
  }

  .landing-body .nav {
    z-index: 10;
    background: var(--surface);
    border-color: var(--line-strong);
  }

  .landing-body .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
  }

  .landing-body .hero-copy {
    max-width: none;
    padding: 3px 2px 0;
  }

  .landing-body .hero .eyebrow {
    margin-bottom: 5px;
    padding: 3px 7px;
    font-size: 0.56rem;
  }

  .landing-body .hero-title {
    max-width: none;
    margin-bottom: 8px;
    font-size: clamp(1.85rem, 8vw, 2.75rem);
    line-height: 1.01;
  }

  .landing-body .hero-title br {
    display: none;
  }

  .landing-body .hero .lead {
    display: none;
  }

  .landing-body .cta-row {
    gap: 7px;
    flex-direction: row;
    align-items: center;
  }

  .landing-body .cta-row .btn-lg {
    min-height: 36px;
    padding: 9px 12px;
    font-size: 0.75rem;
  }

  .landing-body .hero-facts {
    gap: 5px;
    margin-top: 8px;
  }

  .landing-body .hero-fact {
    min-height: 30px;
    gap: 4px;
    padding: 3px 7px;
  }

  .landing-body .hero-fact-icon {
    width: 18px;
    height: 18px;
  }

  .landing-body .hero-fact-icon .lucide {
    width: 13px;
    height: 13px;
  }

  .landing-body .hero-fact-body {
    gap: 3px;
  }

  .landing-body .hero-fact-body strong {
    font-size: 0.9rem;
  }

  .landing-body .hero-fact-label {
    font-size: 0.61rem;
  }

  .landing-body .hero-visual {
    gap: 5px;
    justify-content: stretch;
  }

  .landing-body .hero-stage {
    gap: 6px;
    padding: 9px 8px 8px;
    border-width: 7px;
    outline-offset: 2px;
  }

  .wall-kicker {
    font-size: 0.52rem;
  }

  .wall-heading h2 {
    font-size: 1.25rem;
  }

  .wall-heading p {
    font-size: 0.9rem;
  }

  .landing-body .hero-card {
    width: 31%;
    padding: 5px 5px 1px;
  }

  .landing-body .hero-card--a {
    left: 0;
  }

  .landing-body .hero-card--b {
    left: 34.5%;
  }

  .landing-body .hero-card--c {
    right: 0;
  }

  .landing-body .strip-preview-hero,
  .landing-body .hero-card--a .strip-preview-hero,
  .landing-body .hero-card--c .strip-preview-hero {
    --preview-h: min(22vh, 190px);
  }

  .landing-body .hero-card--b .strip-preview-hero {
    --preview-h: min(27vh, 225px);
  }

  .landing-body .hero-card figcaption {
    padding-top: 3px;
    font-size: 0.75rem;
  }

  .wall-links {
    gap: 9px;
    font-size: 0.62rem;
  }

  .wall-links .lucide {
    width: 12px;
    height: 12px;
  }

  .wall-consent {
    flex-wrap: wrap;
    gap: 4px 7px;
    min-height: 34px;
    font-size: 0.64rem;
    line-height: 1.2;
  }

  .wall-consent input {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 380px) {
  .landing-body .hero-title {
    font-size: 1.72rem;
  }

  .landing-body .cta-row .btn-lg {
    padding-inline: 9px;
  }

  .landing-body .hero-fact {
    padding-inline: 5px;
  }

  .wall-links {
    gap: 5px;
    font-size: 0.57rem;
  }
}

@media (max-height: 720px) {
  .landing-body .hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
  }

  .landing-body .hero-facts {
    margin-top: 14px;
  }

  .landing-body .strip-preview-hero,
  .landing-body .hero-card--a .strip-preview-hero,
  .landing-body .hero-card--c .strip-preview-hero {
    --preview-h: min(25vh, 220px);
  }

  .landing-body .hero-card--b .strip-preview-hero {
    --preview-h: min(30vh, 260px);
  }
}
