/* The Complete Children's Home Package — sales page
   Self-contained. Fonts and images live in this folder. */

:root {
  --ivory: #F4EFE7;
  --paper: #FBF8F3;
  --sand: #E8DFD3;
  --mist: #D9CFC2;
  --ink: #1C1712;
  --ink-soft: #3A3229;
  --muted: #6B5E52;
  --gold: #9A7A45;
  --gold-deep: #7A5C2E;
  --gold-light: #C9B07A;
  --card: #FFFcf8;
  --line: rgba(28, 23, 18, 0.12);
  --line-strong: rgba(28, 23, 18, 0.18);
  --shadow: 0 24px 60px rgba(28, 23, 18, 0.08);
  --shadow-soft: 0 8px 24px rgba(28, 23, 18, 0.06);
  --radius: 1.25rem;
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 4.5rem;
  --max: 72rem;
  --measure: 40rem;
}

@font-face {
  font-family: "Fraunces";
  src: url("fraunces.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fraunces-italic.woff") format("woff");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("instrument-sans.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); font-weight: 500; line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0.4rem;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 231, 0.92);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.15rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: #2c241c; color: var(--paper); }
.btn:focus-visible, .nav a:focus-visible, .logo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-gold {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff8ee;
}
.btn-gold:hover { background: #634820; color: #fff8ee; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(28, 23, 18, 0.04); color: var(--ink); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.02rem; }
.header-cta { margin-left: 0.4rem; }

/* Hero */
.hero {
  padding: 3.2rem 0 4.2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "intro media"
    "rest media";
  gap: 0.9rem 3.5rem;
  align-items: center;
}
.hero-intro { grid-area: intro; }
.hero-intro h1 { margin-bottom: 1rem; }
.media-frame { grid-area: media; }
.hero-rest { grid-area: rest; }
.hero h1 { margin-bottom: 1.25rem; }
.hero-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-lead strong {
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}
.hero-copy { max-width: 36rem; color: var(--ink-soft); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 1.1rem;
}
.hero-note {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 34rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin: 1.5rem 0 0.2rem;
  max-width: 34rem;
}
.compare-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem 1rem 1.05rem;
}
.compare-card.highlight {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffdf8 0%, #f7efe0 100%);
  box-shadow: var(--shadow-soft);
}
.compare-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.compare-value {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.compare-sub { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }
.compare-vs {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Video */
.media-frame {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #d9d0c4;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  max-height: min(38rem, 78vh);
  margin-inline: auto;
  width: 100%;
}
.media-frame video,
.media-frame .poster,
.media-frame picture,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.media-frame video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.media-frame.is-playing video {
  opacity: 1;
  pointer-events: auto;
}
.media-frame.is-playing .poster { visibility: hidden; }
.media-frame.is-playing .play-btn { display: none; }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(28,23,18,0.05) 20%, rgba(28,23,18,0.28) 100%);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0;
}
.play-btn:hover .play-icon { transform: scale(1.06); background: #fff; }
.play-btn:focus-visible { outline: 2px solid #fff; outline-offset: -8px; }
.play-icon {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(28, 23, 18, 0.25);
  transition: transform 0.2s, background 0.2s;
}
.play-icon svg { margin-left: 3px; }
.play-btn.is-hidden { display: none; }
.media-fallback {
  display: none;
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(28, 23, 18, 0.88);
  color: var(--paper);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  text-align: center;
}
.media-fallback.is-visible { display: block; }

/* Sections */
section { padding: 4.4rem 0; }
.section-intro {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}
.section-intro p { color: var(--ink-soft); font-size: 1.08rem; }
.band { background: var(--paper); }
.band-ink {
  background: var(--ink);
  color: #EDE6DA;
}
.band-ink .price-aside h2 { color: #F6F1EA; }
.band-ink .price-aside p,
.band-ink .price-aside li { color: #D9CFC2; }
.band-ink .price-aside .hero-lead { color: #F6F1EA; }
.band-ink .price-aside .eyebrow { color: #C9B07A; }
.band-sand { background: #EFE7DB; }

/* What's inside */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
}
.feature-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: block;
}
.feature h3 { margin-bottom: 0.5rem; }
.feature p, .feature li { color: var(--ink-soft); font-size: 0.98rem; }
.feature ul { margin: 0.6rem 0 0; padding: 0 0 0 1.1rem; }
.feature li { margin: 0.3rem 0; }

.inventory {
  margin-top: 2.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.8rem 1.5rem;
}
.inventory h3 { margin-bottom: 1.1rem; }
.inventory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2.5rem;
}
.inventory h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.inventory ul { margin: 0; padding: 0; list-style: none; }
.inventory li {
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.inventory li:last-child { border-bottom: 0; }

/* Lean */
.lean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
}
.stat-card .amount {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0.2rem 0 0.7rem;
}
.stat-card .amount span {
  font-size: 0.55em;
  font-style: italic;
  letter-spacing: 0;
}
.footnote {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}
.levers { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.levers li {
  display: flex;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.levers li:last-child { border-bottom: 0; }
.levers li::before {
  content: "";
  flex: 0 0 0.55rem;
  height: 0.55rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}
.principle {
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: rgba(154, 122, 69, 0.08);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.45;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.2rem;
  align-items: center;
}
.about-photo {
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: #d9d0c4;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.about-copy p { color: var(--ink-soft); }
.about-copy p.lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}

/* Pricing */
.price-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 1.5rem;
  padding: 2.2rem 2rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  color: var(--ink);
}
.price-card .name,
.price-card .amount { color: var(--ink); }
.price-card .cadence,
.price-card .includes li { color: var(--ink-soft); }
.price-card .name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 0.35rem;
}
.price-card .amount {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.4rem 0 0.3rem;
}
.price-card .cadence {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.includes { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.includes li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  color: var(--ink-soft);
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.7rem;
  height: 0.35rem;
  border-left: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }
.enquire {
  margin-top: 1.3rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}
.enquire a { color: var(--gold-deep); white-space: nowrap; }
.price-aside p { color: #D9CFC2; }
.price-aside .hero-lead { color: #F6F1EA; margin-bottom: 1rem; }

/* FAQ */
.faq-list { max-width: 46rem; }
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 0.2rem 0;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 1.08rem;
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-deep);
  font-weight: 400;
}
details.faq[open] summary::after { content: "–"; }
details.faq .answer {
  padding: 0 1rem 1.2rem 0;
  color: var(--ink-soft);
  max-width: 42rem;
}

/* Footer / disclaimer */
.site-footer {
  padding: 3rem 0 2.4rem;
  background: #161210;
  color: #C9BDB0;
  font-size: 0.9rem;
  line-height: 1.65;
}
.site-footer h2 {
  color: #F4EFE7;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}
.site-footer a { color: #E4D2A8; }
.disclaimer p { margin-bottom: 0.8em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(244, 239, 231, 0.12);
  font-size: 0.82rem;
  color: #9A8C80;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


/* Industry update */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.update-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.5rem 1.45rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.update-status {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.55rem;
}
.update-card h3 { margin-bottom: 0.5rem; font-size: 1.28rem; }
.update-card p { color: var(--ink-soft); font-size: 0.98rem; }
.update-means {
  margin-top: auto;
  padding: 0.95rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}
.update-means strong {
  font-weight: 600;
  color: var(--ink);
}
.update-source {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.7rem;
}
.update-source a { color: var(--gold-deep); }
.industry-note {
  margin-top: 1.7rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 46rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .lean-grid,
  .about-grid,
  .price-block,
  .feature-grid,
  .industry-grid { grid-template-columns: 1fr; }
  .hero-grid {
    grid-template-areas:
      "intro"
      "media"
      "rest";
    gap: 1.3rem;
  }
  .inventory-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
  .media-frame { max-height: 26rem; max-width: 26rem; }
  .about-photo { max-width: 22rem; }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 1.6rem), var(--max)); }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.3rem 1.2rem;
    gap: 0.2rem;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a, .header-cta { width: 100%; }
  .header-cta { margin: 0.6rem 0 0.3rem; text-align: center; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { justify-content: center; }
  section { padding: 3.2rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 761px) {
  .nav-toggle { display: none !important; }
  .nav { display: flex !important; position: static; background: none; border: 0; flex-direction: row; padding: 0; width: auto; }
  .header-cta { width: auto; }
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
}
.footer-links a[aria-current="page"] {
  text-decoration: none;
  color: #F4EFE7;
}
.footer-bottom.is-simple {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Refund note near buy buttons */
.refund-note {
  margin-top: 0.95rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}
.hero-rest .refund-note {
  text-align: left;
  max-width: 34rem;
  margin-top: 0;
  margin-bottom: 1.1rem;
}

/* Terms of Sale */
.legal {
  padding: 3.2rem 0 4.6rem;
}
.legal-doc {
  max-width: 42rem;
}
.legal-doc > h1 {
  margin-bottom: 0.35em;
}
.legal-updated {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.legal-doc h2 {
  font-size: 1.45rem;
  margin: 2.15rem 0 0.7rem;
}
.legal-doc p,
.legal-doc li {
  color: var(--ink-soft);
}
.legal-doc ul {
  margin: 0 0 1.1em;
  padding: 0 0 0 1.2rem;
}
.legal-doc li {
  margin: 0.35rem 0;
}
.placeholder {
  background: rgba(154, 122, 69, 0.16);
  padding: 0.05em 0.28em;
  border-radius: 0.25rem;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.legal-hint {
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(154, 122, 69, 0.08);
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  margin-top: 0.4rem;
}

/* =========================================================
   v2 — modern interactive layer
   ========================================================= */

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold-deep)); transform: scaleX(0); transform-origin: 0 50%; }

/* Header: shrink + blur on scroll */
.site-header { transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; background: rgba(244, 239, 231, 0.7); }
.site-header .wrap { transition: min-height 0.3s; }
.site-header .logo { transition: font-size 0.3s; }
.site-header.is-scrolled { background: rgba(251, 248, 243, 0.82); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 10px 30px rgba(28, 23, 18, 0.07); }
.site-header.is-scrolled .wrap { min-height: 3.6rem; }
.site-header.is-scrolled .logo { font-size: 1.08rem; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.3rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle svg path { transition: d 0.25s; }
.site-header.is-open .nav-toggle svg path { d: path("M6 6l12 12M18 6L6 18"); }

/* Buttons: lift + glow */
.btn { transition: background 0.2s, color 0.2s, transform 0.25s cubic-bezier(.2,.7,.2,1), box-shadow 0.25s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(28, 23, 18, 0.14); }
.btn:active { transform: translateY(0); }
.btn-glow {
  position: relative;
  isolation: isolate;
  background: linear-gradient(110deg, #7A5C2E 0%, #9A7A45 35%, #B8955A 50%, #9A7A45 65%, #7A5C2E 100%);
  background-size: 250% 100%;
  animation: cta-shine 6s ease-in-out infinite;
  box-shadow: 0 8px 26px rgba(154, 122, 69, 0.35);
}
.btn-glow::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 176, 122, 0.55), transparent);
  filter: blur(10px); opacity: 0.6; animation: cta-pulse 3.2s ease-in-out infinite;
}
.btn-glow:hover { background-position: 100% 0; box-shadow: 0 14px 34px rgba(154, 122, 69, 0.45); }
@keyframes cta-shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes cta-pulse { 0%, 100% { opacity: 0.35; transform: scale(0.98); } 50% { opacity: 0.75; transform: scale(1.03); } }

/* Card lift */
.feature, .update-card, .compare-card, .stat-card, .protect-card, .savings-card, .inventory, .price-card {
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s, border-color 0.35s, opacity 0.7s;
}
.feature:hover, .update-card:hover, .compare-card:hover, .stat-card:hover, .protect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(28, 23, 18, 0.10);
  border-color: var(--gold-light);
}

/* Scroll reveal: hidden only once JS is confirmed running */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(.2,.7,.2,1), transform 0.75s cubic-bezier(.2,.7,.2,1);
}
.js-ready [data-reveal="zoom"] { transform: scale(0.96); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  .btn-glow, .btn-glow::before { animation: none; }
  .btn:hover, .feature:hover, .update-card:hover, .compare-card:hover, .stat-card:hover, .protect-card:hover { transform: none; }
}

/* Hero accent */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 46rem; height: 46rem; right: -12rem; top: -14rem; z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 176, 122, 0.28), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-6rem, 4rem); } }
.media-frame img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.media-frame:hover img { transform: scale(1.03); }

/* Savings slider */
.savings { background: linear-gradient(180deg, var(--ivory) 0%, #EFE7DB 100%); }
.savings-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: center; }
.savings-intro p { color: var(--ink-soft); }
.savings-basis {
  font-size: 0.92rem; color: var(--muted) !important; border-left: 3px solid var(--gold);
  padding: 0.7rem 0.95rem; background: rgba(154, 122, 69, 0.08); border-radius: 0 0.6rem 0.6rem 0;
}
.savings-card {
  background: var(--card); border: 1px solid var(--gold-light); border-radius: 1.5rem;
  padding: 2rem 1.8rem 1.7rem; box-shadow: var(--shadow);
}
.savings-label { display: block; font-weight: 500; font-size: 1rem; margin-bottom: 0.9rem; color: var(--ink); }
.savings-label output {
  display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; margin-left: 0.4rem;
  border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--font-serif); font-size: 1.15rem;
}
.savings-range {
  --fill: 54.5%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 0.5rem; border-radius: 999px; outline: none; margin: 0.4rem 0;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) var(--fill), var(--mist) var(--fill));
  cursor: pointer;
}
.savings-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #fff;
  border: 3px solid var(--gold-deep); box-shadow: 0 4px 14px rgba(28, 23, 18, 0.25); transition: transform 0.2s;
}
.savings-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.savings-range::-moz-range-thumb { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; border: 3px solid var(--gold-deep); }
.savings-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.savings-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-bottom: 1.3rem; }
.savings-row { margin-bottom: 1rem; }
.savings-row-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.35rem; }
.savings-row-head strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.savings-track { height: 0.85rem; border-radius: 999px; background: rgba(28, 23, 18, 0.07); overflow: hidden; }
.savings-fill { display: block; height: 100%; border-radius: inherit; transition: width 0.45s cubic-bezier(.2,.7,.2,1); }
.savings-fill.is-consult { background: linear-gradient(90deg, #6B5E52, #3A3229); }
.savings-fill.is-package { background: linear-gradient(90deg, var(--gold-light), var(--gold-deep)); }
.savings-result {
  margin: 1.3rem 0 1.2rem; padding: 0.95rem 1.1rem; border-radius: 0.9rem; background: #F7EFE0;
  font-size: 1rem; color: var(--ink); text-align: center;
}
.savings-result strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--gold-deep); }
.savings-card .btn { width: 100%; }

/* Stats strip */
.stats {
  list-style: none; margin: 0 0 2.2rem; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.stats li {
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem 1rem;
  text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.stats li:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.stat-num { display: block; font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--gold-deep); letter-spacing: -0.03em; }
.stat-label { display: block; margin-top: 0.4rem; font-size: 0.82rem; color: var(--muted); line-height: 1.35; }

/* Tabs */
.tab-list { display: none; }
.tabs-on .tab-list {
  display: inline-flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.35rem; margin-bottom: 1.2rem;
  background: var(--sand); border-radius: 999px;
}
.tab {
  font: inherit; font-size: 0.95rem; font-weight: 500; border: 0; cursor: pointer;
  padding: 0.65rem 1.2rem; border-radius: 999px; background: transparent; color: var(--ink-soft);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 4px 14px rgba(28, 23, 18, 0.1); }
.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tabs-on .tab-panels { display: block; }
.tabs-on .tab-panel { max-width: 46rem; padding: 2rem 2rem 2.1rem; }
.tabs-on .tab-panel.is-active { animation: panel-in 0.45s cubic-bezier(.2,.7,.2,1); }
.tabs-on .tab-panel:hover { transform: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Roadmap */
.roadmap { background: var(--ivory); }
.roadmap-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.chip {
  font: inherit; font-family: var(--font-serif); font-size: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-soft); cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s, border-color 0.25s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--gold); }
.chip.is-done { background: #EFE3CC; border-color: var(--gold-light); color: var(--gold-deep); }
.chip.is-active { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff8ee; box-shadow: 0 6px 16px rgba(122, 92, 46, 0.35); }
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.roadmap-progress { height: 4px; background: rgba(28, 23, 18, 0.08); border-radius: 999px; overflow: hidden; margin-bottom: 1.8rem; max-width: 46rem; }
.roadmap-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold-deep)); transform: scaleX(0.0667); transform-origin: 0 50%; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 46rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.3rem; top: 1.2rem; bottom: 1.2rem; width: 2px; background: var(--mist); }
.step { position: relative; }
.step-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0;
  font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.3; color: var(--ink);
}
.step-item summary::-webkit-details-marker { display: none; }
.step-item summary::after { content: "+"; margin-left: auto; padding-left: 1rem; font-size: 1.4rem; color: var(--gold-deep); transition: transform 0.3s; }
.step-item[open] summary::after { transform: rotate(45deg); }
.step-dot {
  position: relative; z-index: 1; flex: 0 0 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--mist); font-size: 1rem; color: var(--muted);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.step.is-done .step-dot { border-color: var(--gold); color: var(--gold-deep); }
.step-item[open] .step-dot { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff8ee; transform: scale(1.08); }
.step-item summary:hover .step-dot { border-color: var(--gold); }
.step-kicker { display: block; font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.step-body { padding: 0 0 1.2rem 3.6rem; color: var(--ink-soft); }
.step-mistake {
  margin-top: 0.8rem; padding: 0.85rem 1rem; border-radius: 0.8rem; background: #F7EFE0; border: 1px solid #EADBBF; font-size: 0.96rem;
}
.step-mistake span { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 0.25rem; }
.roadmap-controls { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.no-js .roadmap-chips, .no-js .roadmap-controls, .no-js .roadmap-progress { display: none; }

/* Protect your investment */
.protect { background: radial-gradient(120% 90% at 0% 0%, #F7EFE0 0%, var(--ivory) 60%); }
.protect-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.protect-icon {
  width: 4.2rem; height: 4.2rem; border-radius: 1.2rem; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--ink); color: var(--gold-light); box-shadow: 0 12px 30px rgba(28, 23, 18, 0.18);
}
.js-ready .protect-copy.is-visible .protect-icon svg path:first-child { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.4s 0.2s ease forwards; }
.js-ready .protect-copy.is-visible .protect-icon svg path:last-child { stroke-dasharray: 12; stroke-dashoffset: 12; animation: draw 0.6s 1.3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .protect-icon svg path { animation: none !important; stroke-dashoffset: 0 !important; } }
.protect-lead {
  font-family: var(--font-serif); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ink);
  border-left: 3px solid var(--gold); padding-left: 1.1rem;
}
.protect-copy > p { color: var(--ink-soft); }
.protect-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.protect-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-soft); }
.protect-card h3 { margin-bottom: 1rem; }
.mistakes { list-style: none; margin: 0 0 1rem; padding: 0; }
.mistakes li { padding: 0.7rem 0 0.7rem 2rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 0.96rem; position: relative; }
.mistakes li::before {
  content: "!"; position: absolute; left: 0; top: 0.8rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: #EFE3CC; color: var(--gold-deep); font-weight: 700; font-size: 0.8rem; display: grid; place-items: center;
}
.mistakes li strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* FAQ refinements */
details.faq summary { transition: color 0.2s, padding-left 0.25s; }
details.faq summary:hover { color: var(--gold-deep); padding-left: 0.3rem; }
details.faq summary::after { transition: transform 0.3s; content: "+"; }
details.faq[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); }

/* Mobile sticky buy bar */
.buy-bar { display: none; }
@media (max-width: 760px) {
  .buy-bar {
    display: block; position: fixed; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; z-index: 70;
    padding: 0.6rem 0.6rem 0.45rem; border-radius: 1.2rem; text-align: center;
    background: rgba(28, 23, 18, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(28, 23, 18, 0.3);
    transform: translateY(140%); transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  }
  .no-js .buy-bar, .buy-bar.is-visible { transform: none; }
  .buy-bar .btn { width: 100%; padding: 0.85rem 1rem; }
  .buy-bar p { margin: 0.35rem 0 0; font-size: 0.7rem; line-height: 1.35; color: #C9BDB0; }
  .buy-bar a:not(.btn) { color: #E4D2A8; }
  .site-footer { padding-bottom: 7rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:last-child { grid-column: 1 / -1; }
  .savings-card { padding: 1.5rem 1.1rem 1.3rem; }
  .tabs-on .tab-list { display: flex; border-radius: 1rem; }
  .tab { flex: 1 1 auto; padding: 0.6rem 0.8rem; font-size: 0.88rem; }
  .tabs-on .tab-panel { padding: 1.5rem 1.2rem; }
  .step-item summary { font-size: 1.05rem; }
  .step-body { padding-left: 0; }
  .roadmap-controls .btn { flex: 1 1 auto; }
  .protect-actions .btn { width: 100%; }
  .nav { box-shadow: 0 20px 30px rgba(28, 23, 18, 0.08); }
  .site-header.is-open .nav { animation: menu-in 0.25s ease; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 920px) {
  .savings-grid, .protect-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
.nav a.btn, .nav a.btn:hover { color: var(--paper); }
.nav a.btn::after { display: none; }
.tabs-on .tab-panel { max-width: none; }
@media (min-width: 761px) { .tabs-on .tab-panel ul { columns: 2; column-gap: 2.5rem; } .tabs-on .tab-panel li { break-inside: avoid; } }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}


/* =========================================================
   Launch offer banner and price notes
   ========================================================= */
.offer-stack {
  position: sticky;
  top: 0;
  z-index: 50;
}
.offer-stack .site-header {
  position: relative;
  top: auto;
  z-index: auto;
}
.offer-banner {
  background: var(--ink);
  color: #F4EFE7;
  border-bottom: 1px solid rgba(201, 176, 122, 0.35);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.offer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
}
.offer-banner-copy {
  margin: 0;
  color: #F4EFE7;
  max-width: 46rem;
}
.offer-banner-copy strong {
  color: #E4D2A8;
  font-weight: 600;
}
.offer-countdown {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  flex-shrink: 0;
}
.offer-countdown[hidden] { display: none; }
.offer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  padding: 0.2rem 0.4rem 0.22rem;
  border-radius: 0.45rem;
  background: rgba(244, 239, 231, 0.08);
  border: 1px solid rgba(201, 176, 122, 0.22);
}
.offer-unit span {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #F6F1EA;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.offer-unit small {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9B07A;
  margin-top: 0.08rem;
}

.offer-note {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0.35rem 0 0;
}
.offer-note-cta {
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  max-width: 34rem;
}
.hero-actions { margin-top: 0.85rem; }
.compare-card .offer-note {
  font-size: 0.78rem;
  margin-top: 0.45rem;
  color: var(--ink-soft);
}
.savings-card .offer-note-cta {
  margin: 0 0 1rem;
  text-align: center;
  max-width: none;
  color: var(--ink-soft);
}
.band-ink .offer-note {
  color: #D9CFC2;
  margin: 0 0 1rem;
}
.price-card .offer-now {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
}
.price-card .offer-later {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  /* Do not strike through the later price — it is a future price, not a reference price. */
  text-decoration: none;
}

.no-js .offer-countdown { display: none; }

@media (max-width: 760px) {
  .offer-banner { padding: 0.55rem 0 0.6rem; font-size: 0.82rem; }
  .offer-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .offer-banner-copy { max-width: none; }
  .offer-countdown { justify-content: center; }
  /* Banner stays at the top; the buy bar stays at the bottom so they never overlap. */
  .buy-bar { z-index: 70; }
  .savings-card .offer-note-cta { font-size: 0.85rem; }
}
