/* ============================================================
   THE ALL-IN-ONE HOMESCHOOL MASTER PLANNER
   Premium editorial stylesheet — warm ivory, deep charcoal,
   earthy taupe accents, generous whitespace.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ivory: #F8F5F0;
  --ivory-deep: #F1ECE4;
  --paper: #FDFCF9;
  --sand: #EAE3D8;
  --sand-deep: #DFD6C8;
  --ink: #242321;
  --ink-soft: #3B3936;
  --gray: #6F6A63;
  --gray-faint: #9B958C;
  --line: #E7E0D5;
  --line-strong: #D8CFBF;
  --accent: #6E4B28;
  --accent-deep: #553719;
  --accent-soft: #F0E7DA;
  --gold: #C09A63;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(36, 35, 33, 0.05), 0 2px 8px rgba(36, 35, 33, 0.05);
  --shadow-md: 0 2px 6px rgba(36, 35, 33, 0.06), 0 14px 34px -12px rgba(36, 35, 33, 0.16);
  --shadow-lg: 0 6px 18px rgba(36, 35, 33, 0.08), 0 40px 80px -30px rgba(36, 35, 33, 0.28);
  --shadow-warm: 0 30px 70px -30px rgba(110, 75, 40, 0.38), 0 18px 36px -18px rgba(110, 75, 40, 0.28);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --wrap: 1160px;
  --wrap-wide: 1320px;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: rgba(110, 75, 40, 0.18); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 40px, var(--wrap-wide)); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}
.display-xl { font-size: clamp(2.65rem, 5.2vw + 0.5rem, 4.6rem); }
.display-lg { font-size: clamp(2.1rem, 3.4vw + 0.4rem, 3.4rem); }
.display-md { font-size: clamp(1.7rem, 2vw + 0.5rem, 2.5rem); }
h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; font-size: 1.18rem; line-height: 1.3; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}
.lede {
  font-size: clamp(1.06rem, 0.6vw + 0.95rem, 1.22rem);
  line-height: 1.72;
  color: var(--gray);
  margin: 0;
  max-width: 60ch;
}
.muted { color: var(--gray); }
.section-head { max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head p + p { margin-top: 14px; }
.headline-accent { color: var(--accent); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.015rem;
  line-height: 1;
  letter-spacing: 0.002em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(160deg, #7A532C, var(--accent) 55%, var(--accent-deep));
  color: #FDF9F3;
  box-shadow: 0 1px 2px rgba(85, 55, 25, 0.25), 0 10px 24px -10px rgba(110, 75, 40, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(85, 55, 25, 0.22), 0 18px 38px -12px rgba(110, 75, 40, 0.6);
  background: linear-gradient(160deg, #815831, #745027 55%, #5C3D1D);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}
.btn--soft {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--soft:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark {
  background: var(--ink);
  color: var(--ivory);
}
.btn--dark:hover { transform: translateY(-2px); background: #33312D; box-shadow: var(--shadow-md); }
.btn--light {
  background: #FBF6EC;
  color: var(--accent-deep);
  box-shadow: 0 14px 34px -12px rgba(30, 20, 8, 0.55);
}
.btn--light:hover { transform: translateY(-2px); background: #FFFFFF; box-shadow: 0 18px 40px -12px rgba(30, 20, 8, 0.6); }
.btn--sm { padding: 12px 22px; font-size: 0.92rem; border-radius: 11px; }
.btn--lg { padding: 19px 40px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 75, 40, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.text-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 18px 0;
  background: rgba(253, 252, 249, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease, background 0.3s ease;
}
.nav.is-scrolled {
  padding: 10px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(36, 35, 33, 0.18);
  background: rgba(253, 252, 249, 0.92);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__mark {
  width: 40px; height: 34px;
  flex: 0 0 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Cropped transparent logo mark — no background chip, navbar surface
   shows around the artwork. Box ratio matches the asset (~1.38) so
   object-fit: contain fills it exactly with no letterboxing. */
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__mark svg { width: 22px; height: 22px; }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}
.brand__name b { display: block; line-height: 1.2; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(36, 35, 33, 0.05); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn { white-space: nowrap; }

@media (max-width: 1140px) and (min-width: 901px) {
  .nav__links { gap: 0; }
  .nav__links a { padding: 9px 9px; font-size: 0.87rem; }
  .nav__cta .btn { padding: 11px 18px; font-size: 0.87rem; }
  .brand { font-size: 0.9rem; }
  .brand__mark { width: 34px; height: 34px; flex: 0 0 34px; }
}

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  margin: 2.5px auto;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.nav__drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.nav__drawer .wrap { padding: 18px 0 26px; }
.nav__drawer ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.nav__drawer ul a {
  display: block;
  padding: 13px 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
}
.nav__drawer ul a:hover { background: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(150px, 17vh, 196px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero__bg::before {
  content: "";
  position: absolute;
  top: -320px; right: -180px;
  width: 780px; height: 780px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(192, 154, 99, 0.17), transparent 72%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  bottom: -420px; left: -240px;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 75, 40, 0.09), transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(110, 75, 40, 0.14);
}
.hero__eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.hero h1 { margin-bottom: 26px; text-wrap: balance; }
.hero h1 .amp { font-style: italic; color: var(--accent); }
.hero .lede { margin-bottom: 36px; font-size: clamp(1.1rem, 0.5vw + 1rem, 1.25rem); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note {
  margin-top: 22px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray-faint);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
}
.hero__note span { display: inline-flex; align-items: center; }
.hero__note span + span::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gray-faint);
  margin: 0 12px;
  vertical-align: middle;
}

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--sand);
  transform: rotate(0.0001deg);
  animation: heroFloat 7.5s ease-in-out infinite;
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -40px 70px -50px rgba(36,35,33,0.35);
  pointer-events: none;
}
.hero__frame img { width: 100%; height: auto; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0.0001deg); }
  50% { transform: translateY(-10px) rotate(0.0001deg); }
}
.hero__frame-wrap { position: relative; }
.hero__frame-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -6% -5% 10%;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(192,154,99,0.35), rgba(110,75,40,0.22));
  filter: blur(0px);
  z-index: -1;
}
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  animation: heroFloat 7.5s ease-in-out infinite;
}

/* ---------- Trust strip ---------- */
.trust { padding: 6px 0 clamp(56px, 7vw, 84px); }
.trust__inner {
  border-block: 1px solid var(--line);
  padding: 26px 0;
}
.trust__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-faint);
  margin-bottom: 18px;
}
.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
}
.trust__list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.935rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.trust__list .check {
  width: 20px; height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.trust__list .check svg { width: 11px; height: 11px; }

/* ---------- Generic section scaffolding ---------- */
.section { padding: clamp(72px, 9vw, 124px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--deep { background: var(--ivory-deep); }
.section--ink {
  background: linear-gradient(170deg, #2A2825, #242321 55%, #1E1D1B);
  color: var(--ivory);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.section--ink h2, .section--ink h3 { color: #F6F1E7; }
.section--ink .eyebrow { color: var(--gold); }
.section--ink .eyebrow::before, .section--ink--center .eyebrow::after { background: var(--gold); }

/* ---------- Problem section ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.problem__quote {
  margin: 34px 0 0;
  padding: 26px 30px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 46ch;
}
.pains { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.pains li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.pains li:first-child { border-top: 1px solid var(--line); }
.pains .x {
  width: 26px; height: 26px;
  flex: 0 0 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(36, 35, 33, 0.06);
  color: var(--gray);
  display: grid;
  place-items: center;
}
.pains .x svg { width: 12px; height: 12px; }

/* ---------- Feature cards ---------- */
.cards-5 {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards-5 .card:nth-child(4), .cards-5 .card:nth-child(5) { grid-column: span 1; }
.cards-5::after { content: ""; }
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px 32px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card__num {
  position: absolute;
  top: 24px; right: 26px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gray-faint);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; font-size: 1.16rem; }
.card p { margin: 0; color: var(--gray); font-size: 0.975rem; line-height: 1.66; }

/* ---------- One place (pill board) ---------- */
.oneplace { position: relative; }
.oneplace__board {
  margin-top: clamp(44px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.oneplace__pill {
  grid-column: span 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.oneplace__pill::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.oneplace__pill:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  background: #FFFEFB;
}
.oneplace__pill:hover::after { transform: scaleX(1); }
.oneplace__pill .card__icon { margin-bottom: 0; width: 46px; height: 46px; border-radius: 13px; }
.oneplace__pill .card__icon svg { width: 21px; height: 21px; }
.oneplace__pill h3 { font-size: 1.03rem; line-height: 1.35; }
.oneplace__pill p { margin: 0; font-size: 0.87rem; color: var(--gray); }
.oneplace__pill--wide { grid-column: span 3; }

/* ---------- Before → After ---------- */
.ba__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 12px;
}
@media (min-width: 901px) {
  .ba__grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; gap: 34px; }
}
.ba__card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 46px);
  overflow: hidden;
}
.ba__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.ba__tag--before {
  color: var(--taupe);
  background: rgba(154, 129, 104, 0.13);
  border: 1px solid rgba(154, 129, 104, 0.3);
}
.ba__tag--after {
  color: #F6F1E7;
  background: var(--accent);
  border: 1px solid var(--accent);
}
.ba__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 22px;
}

/* BEFORE — scattered notes board, gently messier */
.ba__card--before {
  background:
    radial-gradient(rgba(154, 129, 104, 0.055) 1px, transparent 1.6px),
    var(--sand);
  background-size: 18px 18px, auto;
  border: 1px solid var(--sand-deep);
}
.ba__scatter { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ba__note {
  background: var(--paper);
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(36, 35, 33, 0.05);
}
.ba__note p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink); }
.ba__note b { font-weight: 650; }
.ba__pin {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--gray);
  background: var(--sand);
}
.ba__pin svg { width: 15px; height: 15px; }
/* slight scattered rotations for the "pinned notes" feel */
.ba__note--a { transform: rotate(-0.7deg); }
.ba__note--b { transform: rotate(0.5deg) translateX(6px); }
.ba__note--c { transform: rotate(-0.4deg) translateX(-4px); }
.ba__note--d { transform: rotate(0.6deg) translateX(10px); }
.ba__note--e { transform: rotate(-0.5deg) translateX(2px); }
.ba__note--f { transform: rotate(0.45deg) translateX(-7px); }
.ba__closing {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--sand-deep);
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* AFTER — calm command center */
.ba__card--after {
  background: var(--paper);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-lg);
}
.ba__command { list-style: none; counter-reset: none; margin: 0; padding: 0; display: grid; }
.ba__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--sand);
}
.ba__row:last-child { border-bottom: 0; padding-bottom: 4px; }
.ba__row:first-child { padding-top: 4px; }
.ba__num {
  flex: 0 0 34px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  padding-top: 1px;
}
.ba__row-main { flex: 1; }
.ba__row-main b { display: block; font-size: 0.98rem; letter-spacing: 0.01em; margin-bottom: 3px; }
.ba__row-main p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--gray); }
.ba__glyph {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(139, 109, 76, 0.1);
}
.ba__glyph svg { width: 16px; height: 16px; }

/* transformation strip */
.ba__flow {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}
.ba__stage {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--sand-deep);
}
.ba__stage--end {
  color: var(--accent);
  border-color: rgba(139, 109, 76, 0.4);
  background: rgba(139, 109, 76, 0.07);
}
.ba__arrow { color: var(--accent); display: inline-grid; place-items: center; }
.ba__arrow svg { width: 18px; height: 18px; }
.ba__bottom { text-align: center; margin-top: 34px; }
.ba__statement {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  max-width: 620px;
  margin: 0 auto 26px;
}
@media (max-width: 680px) {
  .ba__flow { gap: 8px 10px; }
  .ba__stage { font-size: 0.68rem; padding: 8px 13px; }
  .ba__note--b, .ba__note--d, .ba__note--f { transform: none; }
  .ba__note { transform: none; }
}

/* ---------- How it works ---------- */
.hiw__steps {
  margin-top: clamp(48px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.hiw__steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 20px);
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  text-align: left;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin-bottom: 24px;
  box-shadow: 0 10px 22px -10px rgba(36,35,33,0.5);
}
.step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.step p { margin: 0; color: var(--gray); font-size: 0.97rem; }
.hiw__cta { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* ---------- Who it's for ---------- */
.who__grid {
  margin-top: clamp(44px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.who-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.who-card__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--ivory-deep);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.who-card__icon svg { width: 21px; height: 21px; }
.who-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.who-card p { margin: 0; font-size: 0.92rem; color: var(--gray); line-height: 1.6; }

/* ---------- Reviews ---------- */
.reviews__grid {
  margin-top: clamp(44px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review--wide { grid-column: span 2; }
.review__mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--sand-deep);
  height: 20px;
}
.review__stars {
  display: inline-flex;
  gap: 3px;
}
.review__stars .star {
  width: 17px;
  height: 17px;
  display: inline-flex;
}
.review__stars .star svg { width: 100%; height: 100%; }
.review__stars .star--filled { color: var(--gold); }
.review__stars .star--filled svg { fill: currentColor; }
.review__stars .star--empty { color: var(--sand-deep); }
.review blockquote {
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 500;
}
.review__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}
.review__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.review__meta b { display: block; font-size: 0.93rem; color: var(--ink); }
.review__meta span { font-size: 0.8rem; color: var(--gray-faint); font-weight: 600; }
.reviews__footer { margin-top: 40px; text-align: center; }

/* ---------- FAQ ---------- */
.faq__wrap {
  margin-top: clamp(40px, 5vw, 56px);
  max-width: 860px;
  margin-inline: auto;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.is-open { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-item__btn .chev {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gray);
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}
.faq-item__btn .chev svg { width: 13px; height: 13px; }
.faq-item.is-open .faq-item__btn .chev {
  transform: rotate(180deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}
.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__panel p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta { padding: clamp(40px, 5vw, 64px) 0 clamp(84px, 10vw, 128px); }
.final-cta__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #7C5430, var(--accent) 52%, #4E3315);
  color: #F8F1E5;
  text-align: center;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 6vw, 80px);
  box-shadow: var(--shadow-warm);
}
.final-cta__card::before {
  content: "";
  position: absolute;
  top: -220px; right: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 244, 224, 0.16), transparent 70%);
}
.final-cta__card::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 35, 33, 0.35), transparent 70%);
}
.final-cta__card > * { position: relative; z-index: 1; }
.final-cta__card .eyebrow { color: #E7CFA4; margin-bottom: 18px; }
.final-cta__card .eyebrow::before, .final-cta__card .eyebrow--center::after { background: #E7CFA4; }
.final-cta__card h2 { color: #FBF6EC; margin-bottom: 18px; }
.final-cta__card .lede { color: rgba(248, 241, 229, 0.82); margin-inline: auto; margin-bottom: 38px; }
.final-cta__note {
  margin-top: 22px;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(248, 241, 229, 0.75);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
}
.final-cta__note span + span::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(248,241,229,0.6);
  margin: 0 12px;
  vertical-align: middle;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(52px, 7vw, 76px) 0 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: 48px;
}
.footer .brand { margin-bottom: 16px; }
.footer__blurb { color: var(--gray); font-size: 0.93rem; max-width: 40ch; margin: 0; }
.footer h4 {
  margin: 4px 0 18px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-faint);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--gray-faint);
}
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); }
.footer__bottom .note { font-weight: 600; }

/* ============================================================
   THANK-YOU PAGE
   ============================================================ */
.ty-hero {
  position: relative;
  padding: clamp(150px, 18vh, 200px) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
}
.ty-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}
.ty-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(160deg, #7A532C, var(--accent-deep));
  color: #F7EEDF;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  box-shadow: 0 14px 30px -12px rgba(110, 75, 40, 0.6);
}
.ty-check svg { width: 28px; height: 28px; }
.ty-hero h1 { margin-bottom: 20px; }
.ty-hero .lede { margin-bottom: 34px; }
.ty-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ty-hero__aside { position: relative; }
.ty-note {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 28px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.ty-note::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(var(--gold), var(--accent));
}
.ty-note h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.ty-note h3 svg { width: 19px; height: 19px; color: var(--accent); }
.ty-note p { margin: 0; color: var(--gray); font-size: 0.95rem; line-height: 1.68; }

.ty-steps {
  margin-top: clamp(44px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ty-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ty-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ty-step__num {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.ty-step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.ty-step p { margin: 0; color: var(--gray); font-size: 0.94rem; }

.ty-done {
  margin-top: 26px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-soft);
  font-style: italic;
}
.ty-done b { color: var(--accent); font-style: normal; }

.walkthrough {
  counter-reset: walk;
  margin-top: clamp(44px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.walk-card {
  counter-increment: walk;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.walk-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.walk-card::before {
  content: counter(walk, decimal-leading-zero);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gray-faint);
  margin-bottom: 16px;
}
.walk-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.walk-card__icon svg { width: 23px; height: 23px; }
.walk-card h3 { font-size: 0.99rem; }

.ty-support {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 72px);
  box-shadow: var(--shadow-sm);
}
.ty-support h2 { margin-bottom: 12px; }
.ty-support p { color: var(--gray); max-width: 46ch; margin: 0 auto 30px; }

/* ---------- Feedback modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(30, 28, 25, 0.6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.modal.is-open { display: grid; }
.modal__card {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 38px 36px 34px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--gray);
}
.modal__close:hover { color: var(--ink); border-color: var(--line-strong); }
.modal__card h3 { font-size: 1.45rem; font-family: var(--font-display); font-weight: 400; margin-bottom: 8px; }
.modal__card > p { color: var(--gray); font-size: 0.93rem; margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.field label em { font-style: normal; color: var(--gray-faint); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 75, 40, 0.14);
}
.rating { display: flex; gap: 6px; }
.rating button {
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  cursor: pointer;
  font-weight: 800;
  color: var(--gray);
  transition: all 0.2s ease;
}
.rating button:hover { border-color: var(--accent); color: var(--accent); }
.rating button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FBF6EC;
}
.modal__disclaimer {
  font-size: 0.8rem;
  color: var(--gray-faint);
  margin: 4px 0 18px;
  line-height: 1.55;
}
.modal__success {
  display: none;
  text-align: center;
  padding: 30px 6px 10px;
}
.modal__success svg {
  width: 54px; height: 54px;
  color: var(--accent);
  margin-bottom: 16px;
}
.modal__success h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin: 0 0 8px; }
.modal__success p { color: var(--gray); font-size: 0.94rem; margin: 0; }
.modal__card.is-sent form, .modal__card.is-sent > p, .modal__card.is-sent .modal__disclaimer { display: none; }
.modal__card.is-sent .modal__success { display: block; }

/* ============================================================
   FOUR-IMAGE STORY SECTIONS
   ============================================================ */
.frame--full { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); box-shadow: var(--shadow-lg); }
.frame--full img { width: 100%; height: auto; display: block; }

/* --- Why (image 2): image left, copy right --- */
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 5.5vw, 80px);
  align-items: center;
}
.why__copy h2 { margin-bottom: 16px; }
.why__copy .lede { margin-bottom: 34px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.why__list li { display: flex; gap: 16px; align-items: flex-start; }
.why__icon {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.why__icon svg { width: 19px; height: 19px; }
.why__list b { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.why__list p { margin: 0; color: var(--gray); font-size: 0.94rem; line-height: 1.6; }

/* --- Experience (image 3): large centered image + moments --- */
.experience { overflow: hidden; }
.experience__visual { margin-top: clamp(40px, 5vw, 56px); position: relative; }
.experience__visual::before {
  content: "";
  position: absolute;
  inset: 6% 8% -6% 8%;
  background: linear-gradient(140deg, rgba(192,154,99,0.28), rgba(110,75,40,0.18));
  border-radius: var(--radius-xl);
  z-index: -1;
  filter: blur(2px);
}
.experience__moments {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.experience__moment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 26px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.experience__moment:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.moment__icon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.moment__icon svg { width: 20px; height: 20px; }
.experience__moment b { display: block; font-size: 1.0rem; margin-bottom: 4px; }
.experience__moment p { margin: 0; color: var(--gray); font-size: 0.92rem; line-height: 1.6; }

/* --- Pricing / purchase: editorial two-column, no card —
   price + CTA live as real HTML on the left; the uploaded promo
   artwork sits on the right as a pure image asset (never overlaid). */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.pricing__content { max-width: 460px; }
.pricing__lede { margin: 18px 0 0; }
.pricing__price {
  margin: 34px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.4vw + 1rem, 4.2rem);
  line-height: 1;
  color: var(--ink);
}
.pricing__terms {
  margin: 10px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray);
}
.pricing__content .btn { margin-top: 26px; }
.pricing__note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-faint);
  letter-spacing: 0.01em;
}
.pricing__visual { margin: 0; position: relative; }
.pricing__visual::after {
  content: "";
  position: absolute;
  inset: auto 6% -26px 6%;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(36, 35, 33, 0.16), transparent 68%);
  filter: blur(6px);
  z-index: -1;
}
.pricing__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 48px rgba(85, 55, 25, 0.18));
  border-radius: 6px;
}
/* Desktop 40/60 split — placed after the base rule so it wins the cascade
   (this media block sits later in source order than the base declaration). */
@media (min-width: 901px) {
  .pricing__grid { grid-template-columns: 2fr 3fr; gap: clamp(48px, 6vw, 96px); }
}

/* --- Value (image 4): dark editorial panel, media left / panel right.
   Solid espresso — no fade-to-cream: the panel stays confident to its
   bottom edge; separation comes from rounded corners + a quiet shadow. */
.value { padding: clamp(56px, 7vw, 92px) 0 clamp(44px, 5vw, 68px); }
.value__card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: #24211D;
  /* fine warm grain, barely perceptible — texture, not gradient */
  background-image: repeating-conic-gradient(rgba(255, 246, 230, 0.02) 0% 25%, transparent 0% 50%);
  background-size: 5px 5px;
  box-shadow: 0 24px 48px -32px rgba(30, 22, 12, 0.45);
}
/* Full-bleed media panel: the container matches the artwork's native
   1536x1024 (3:2) aspect ratio, so object-fit: cover fills it EXACTLY —
   the complete composition stays visible edge to edge with zero crop,
   zero zoom, zero distortion, and no bars, padding, or margins. */
.value__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: none;
}
.value__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.value__panel {
  padding: clamp(40px, 4.5vw, 64px) clamp(34px, 5.5vw, 84px) clamp(34px, 4vw, 52px);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-top: 1px solid rgba(201, 166, 116, 0.28);
}
.value__panel .eyebrow { color: #C6A26B; }
.value__panel .eyebrow::before { background: #C6A26B; }
.value__panel h2 { color: #F7F2E8; margin-bottom: 16px; }
.value__lede {
  color: rgba(247, 241, 229, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 0 30px;
}
.value__points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; }
.value__points li { display: flex; gap: 14px; align-items: flex-start; }
.value__points li > span {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  border: 1px solid rgba(198, 162, 107, 0.30);
  background: rgba(198, 162, 107, 0.07);
  color: #CFA96F;
  display: grid;
  place-items: center;
}
.value__points li > span svg { width: 17px; height: 17px; }
.value__points b { display: block; color: #F3EDE0; font-size: 0.98rem; margin-bottom: 2px; }
.value__points p { margin: 0; color: rgba(240, 233, 220, 0.66); font-size: 0.88rem; line-height: 1.55; }
.value__panel .btn--light { box-shadow: 0 10px 24px -12px rgba(20, 14, 6, 0.5); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--ink);
  color: var(--ivory);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .who__grid { grid-template-columns: repeat(2, 1fr); }
  .oneplace__board { grid-template-columns: repeat(4, 1fr); }
  .oneplace__pill, .oneplace__pill--wide { grid-column: span 2; }
  .walkthrough { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding-top: 132px; }
  .ty-hero { padding-top: 138px; }
  .why__grid { grid-template-columns: 1fr; gap: 34px; }
  .experience__moments { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: grid; }
  .nav__drawer { display: block; max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); border-top-color: transparent; }
  .nav.is-open .nav__drawer { max-height: 420px; border-top-color: var(--line); }
  .nav__drawer .nav-cta-mobile { margin-top: 6px; }

  /* Pricing stacks in the requested order — copy, image, price, CTA.
     display:contents flattens the content column so the figure slots
     between the lede and the price. */
  .pricing__content { display: contents; }
  .pricing__content .eyebrow { order: 1; }
  .pricing__content h2 { order: 2; }
  .pricing__content .pricing__lede { order: 3; }
  .pricing__visual { order: 4; margin-block: 10px; }
  .pricing__price { order: 5; margin-top: 26px; }
  .pricing__terms { order: 6; }
  .pricing__content .btn { order: 7; }
  .pricing__note { order: 8; }

  .problem__quote { max-width: none; }
  .hiw__steps { grid-template-columns: 1fr; gap: 14px; }
  .hiw__steps::before { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--tall { grid-row: auto; }
  .gallery__item img { max-height: 440px; }
  .ty-steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 132px; }
  .ty-hero { padding-top: 138px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .wrap-wide { width: min(100% - 24px, var(--wrap-wide)); }
  .hero__frame-wrap { max-width: 100%; }
  .value__panel { padding: 30px 22px 34px; }
  .experience__moments { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .ty-hero__ctas .btn { width: 100%; }
  .hiw__cta .btn { width: 100%; }
  .trust__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin-inline: -20px;
    padding-inline: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .trust__list::-webkit-scrollbar { display: none; }
  .trust__list li { flex: 0 0 auto; }
  .cards-5, .who__grid, .reviews__grid { grid-template-columns: 1fr; }
  .review--wide { grid-column: auto; }
  .oneplace__board { grid-template-columns: 1fr; }
  .oneplace__pill, .oneplace__pill--wide { grid-column: span 1; }
  .walkthrough { grid-template-columns: 1fr 1fr; }
  .walk-card:last-child { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { padding: 17px 26px; }
  .btn--lg { padding: 18px 30px; }
  .gallery__item figcaption { left: 12px; right: 12px; bottom: 12px; }
  .modal__card { padding: 30px 22px 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__frame { animation: none; }
}

/* ---------- Print (thank-you page) ---------- */
@media print {
  .nav, .footer, .ty-support, .walkthrough { display: none; }
  body { background: #fff; }
}

/* ============================================================
   Legal pages (privacy / terms / refund)
   ============================================================ */
.legal {
  max-width: 720px;
}

.legal__updated {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--gray);
}

.legal__prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.8rem);
  color: var(--ink);
  margin: 2.4em 0 0.6em;
  letter-spacing: 0.01em;
}

.legal__prose h2:first-child { margin-top: 0; }

.legal__prose p {
  color: var(--gray);
  line-height: 1.75;
  margin: 0 0 1em;
}

.legal__prose ul {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  color: var(--gray);
  line-height: 1.75;
}

.legal__prose li { margin-bottom: 0.5em; }

.legal__prose li::marker { color: var(--accent); }

.legal__prose strong { color: var(--ink); }

@media (max-width: 900px) {
  .legal__prose h2 { margin-top: 1.9em; }
}

/* ============================================================
   MOBILE POLISH PASS — scoped to ≤900px only.
   Desktop (≥1024px) is untouched: every rule below lives inside
   a max-width media query. No negative margins, no absolute
   positioning, no structural redesigns — responsive sizing,
   spacing, and alignment only.
   ============================================================ */

/* ---------- ≤900px: collapse the two-column grids ---------- */
@media (max-width: 900px) {

  /* HERO — was locked at two ~50% columns at every width (structural
     bug). Stack text above the product visual; visual gets near-full
     width. Reuses the site's standard grid gap scale. */
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__copy { max-width: 560px; }

  /* PRICING — display:contents flattening was inheriting the desktop
     56px grid gap, putting 56px between every line. Give the flattened
     flow its own compact rhythm: image ↔ price/CTA read as one unit. */
  .pricing__grid { gap: 30px; }
  .pricing__content .eyebrow { margin-bottom: 12px; }
  .pricing__visual { margin-block: 2px; }
  .pricing__price { margin-top: 22px; }
  .pricing__content .btn { margin-top: 20px; }
  .pricing__note { margin-top: 12px; }

  /* Thank-you hero — same never-collapses bug as the sales hero. */
  .ty-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .ty-hero__aside { max-width: 560px; }

  /* WHY / EXPERIENCE — already single-column at ≤860px; tighten gaps
     so image and copy read as one composition. */
  .why__grid { gap: 28px; }
  .experience__moments { gap: 16px; }

  /* Problem section — tighten the desktop-scale column gap. */
  .problem__grid { gap: 34px; }

  /* Card grids that stay multi-column on tablets: roomier gaps and
     smaller card padding than desktop so they don't feel crowded. */
  .cards-5, .who__grid, .reviews__grid { gap: 16px; }
  .cards-5 .feature-card, .who-card, .review { padding: 26px 22px; }

  /* Before → After cards: trim the generous desktop padding. */
  .ba__card { padding: 26px 22px; }

  /* Value panel: trim desktop vertical rhythm slightly. */
  .value__panel { padding-block: 34px 40px; }
  .value__points { gap: 16px; }

  /* One-place board: 4-col at ≤1080px is tight on ~700–900px
     tablets; 2 columns with span-2 keeps pills readable. */
  .oneplace__board { grid-template-columns: repeat(2, 1fr); }
  .oneplace__pill, .oneplace__pill--wide { grid-column: span 2; }
}

/* ---------- ≤680px: phones ---------- */
@media (max-width: 680px) {

  /* Section rhythm: keep the clamp's *ratio* but lower its ceiling so
     phone sections breathe without desktop-scale gaps. */
  .section { padding: 58px 0; }
  .section--tight { padding: 46px 0; }
  .hero { padding-bottom: 48px; }
  .value { padding: 46px 0 40px; }
  .final-cta { padding: 32px 0 64px; }

  /* Editorial scale: full-width CTAs, centered section headers,
     slightly smaller display type so headlines don't create
     1–2-word lines. */
  .section-head { text-align: center; }
  .section-head--center { margin-inline: auto; }
  .section-head .lede { margin-inline: auto; }
  .display-xl { font-size: 2.45rem; }
  .display-lg { font-size: 2.05rem; }
  .display-md { font-size: 1.62rem; }
  .value__lede { margin-inline: auto; }

  /* Pricing: the one-cohesive-purchase-block target —
     image → small gap → $30 → small gap → terms → moderate → CTA.
     Zero the grid gap (every flattened child is a grid item) and
     give each step its own explicit margin for exact rhythm. */
  .pricing__grid { row-gap: 0; }
  .pricing__content .eyebrow { margin-bottom: 12px; }
  .pricing__visual { margin-block: 24px 0; max-width: 520px; margin-inline: auto; }
  .pricing__price { margin-top: 24px; }
  .pricing__terms { margin-top: 6px; }
  .pricing__content .btn { margin-top: 26px; width: 100%; }
  .pricing__note { margin-top: 10px; text-align: center; }
  .pricing__content { text-align: center; }
  .pricing__content h2 { margin-inline: auto; }
  .pricing__content .pricing__lede { margin-inline: auto; }

  /* Full-width, comfortable tap targets for every key CTA. */
  .pricing__content .btn,
  .value__panel .btn,
  .final-cta__card .btn { width: 100%; max-width: 420px; }

  /* Hero: full-width CTAs already exist; tighten rhythm + note. */
  .hero__grid { gap: 26px; }
  .hero__ctas { gap: 12px; }
  .hero__note { margin-top: 16px; }

  /* Cards single-column already; stop cards touching with a clear
     14px rhythm and trim inner padding for phone widths. */
  .cards-5, .who__grid, .reviews__grid, .experience__moments { gap: 14px; }
  .cards-5 .feature-card, .who-card, .review { padding: 22px 18px; }
  .walkthrough { gap: 14px; }
  .step { padding: 26px 22px; }
  .ba__card { padding: 24px 18px; }

  /* Value panel on phones. */
  .value__panel { padding: 26px 20px 30px; }
  .value__points { gap: 14px; margin-bottom: 26px; }

  /* Before→After flow strip: let it wrap centered instead of a
     left-aligned line. */
  .ba__flow { justify-content: center; }

  /* Transformation strip + gallery breathing room. */
  .gallery { gap: 14px; }

  /* Footer: single column already at ≤680; align left, tighten. */
  .footer__grid { gap: 24px; }
  .footer { padding-bottom: 28px; }

  /* Thank-you steps + note cards. */
  .ty-steps { gap: 14px; }
  .ty-hero__grid { gap: 26px; }
  .ty-note { padding: 22px 18px; }

  /* Trust strip already horizontal-scrolls; slightly tighter chips. */
  .trust__list { gap: 18px; }
}

/* ---------- ≤480px: small phones (320–430px) ---------- */
@media (max-width: 480px) {
  .wrap { width: calc(100% - 40px); }
  .wrap-wide { width: calc(100% - 40px); }

  .display-xl { font-size: 2.2rem; }
  .display-lg { font-size: 1.9rem; }

  .hero { padding-top: 122px; }
  .ty-hero { padding-top: 128px; }

  /* Keep CTAs full-width but never cramped by the tighter wrap. */
  .hero__ctas .btn,
  .ty-hero__ctas .btn,
  .hiw__cta .btn,
  .pricing__content .btn,
  .value__panel .btn,
  .final-cta__card .btn { width: 100%; }

  /* Reviews + feature cards: a touch more inner air relative to the
     narrower screen so text never hugs the card edge. */
  .review, .who-card, .cards-5 .feature-card { padding: 20px 17px; }

  /* Value media + pricing visual: full content width, centered. */
  .value__media, .pricing__visual { width: 100%; }
  .why__media img, .experience__media img { width: 100%; }

  /* Walkthrough 2-col grid at 320px makes very narrow cards —
     drop to a single comfortable column. */
  .walkthrough { grid-template-columns: 1fr; }
  .walk-card:last-child { grid-column: auto; }

  .ba__flow { gap: 7px 8px; }
}

/* ---------- ≤430px: compact nav brand so the lockup + burger always
   fit narrow phones (was overflowing ~7px at 320px) ---------- */
@media (max-width: 430px) {
  .brand { gap: 9px; }
  .brand__mark { width: 30px; height: 30px; flex: 0 0 30px; }
  .brand__name { font-size: 0.88rem; }
  .brand small { font-size: 0.56rem; }
}

/* Hardening: clip any residual layout overflow on mobile so no
   scroll area can ever appear (hidden keeps working as fallback). */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; overflow-x: clip; }
}
