/* =========================================================
   MDRN Milestone Co. — Brand System
   Palette · Typography · Components (shared across all pages)
   ========================================================= */

:root{
  /* ---- Brand palette (from the MDRN brand guide) ---- */
  --charcoal:#1F1F1F;
  --taupe:#A89F94;
  --greige:#D9D4CB;
  --sage:#A8B5A1;
  --sage-deep:#8A9A82;      /* darker sage for text/accents on light */
  --blush:#F2E9E1;
  --ivory:#FAF8F3;
  --champagne:#E6D6C2;

  /* ---- Semantic tokens ---- */
  --bg:var(--ivory);
  --bg-alt:#F4F0E8;         /* subtle warm panel */
  --ink:var(--charcoal);
  --ink-soft:#4A4744;
  --muted:#7C766E;
  --line:rgba(31,31,31,.10);
  --line-soft:rgba(31,31,31,.06);
  --card:#FFFFFF;

  /* ---- Type ---- */
  --serif:"Playfair Display",Georgia,serif;
  --sans:"Montserrat",system-ui,-apple-system,Segoe UI,sans-serif;

  /* ---- Layout ---- */
  --maxw:1180px;
  --gap:clamp(1.25rem,3vw,2.5rem);
  --radius:14px;
  --radius-lg:22px;
  --shadow:0 18px 50px -24px rgba(31,31,31,.28);
  --shadow-soft:0 10px 30px -18px rgba(31,31,31,.22);
  --ease:cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-weight:400;line-height:1.65;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
::selection{background:var(--sage);color:#fff}

/* ---------- Typography ---------- */
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.08;letter-spacing:-.01em;color:var(--ink)}
h1{font-size:clamp(2.6rem,6vw,4.6rem)}
h2{font-size:clamp(2rem,4.2vw,3.1rem)}
h3{font-size:clamp(1.35rem,2.4vw,1.8rem)}
.eyebrow{
  font-family:var(--sans);font-weight:600;font-size:.72rem;
  letter-spacing:.26em;text-transform:uppercase;color:var(--sage-deep);
  display:inline-flex;align-items:center;gap:.7rem;
}
.eyebrow::before,.eyebrow.center::after{
  content:"";width:26px;height:1px;background:var(--sage-deep);opacity:.6;
}
.eyebrow.center{justify-content:center}
.lead{font-size:clamp(1.05rem,1.6vw,1.22rem);color:var(--ink-soft);line-height:1.7}
.muted{color:var(--muted)}

/* diamond motif (brand mark) */
.diamond{width:9px;height:9px;background:var(--sage);transform:rotate(45deg);display:inline-block;flex:none}

/* ---------- Layout helpers ---------- */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1.15rem,4vw,2.5rem)}
section{padding-block:clamp(3.5rem,8vw,7rem)}
.section-alt{background:var(--bg-alt)}
.center{text-align:center}
.stack>*+*{margin-top:1.1rem}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  font-family:var(--sans);font-weight:600;font-size:.8rem;letter-spacing:.14em;
  text-transform:uppercase;padding:.95rem 1.9rem;border-radius:100px;
  border:1px solid transparent;transition:all .35s var(--ease);white-space:nowrap;
}
.btn-primary{background:var(--charcoal);color:var(--ivory)}
.btn-primary:hover{background:#000;transform:translateY(-2px);box-shadow:var(--shadow-soft)}
.btn-sage{background:var(--sage-deep);color:#fff}
.btn-sage:hover{background:#78896f;transform:translateY(-2px);box-shadow:var(--shadow-soft)}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--line)}
.btn-outline:hover{border-color:var(--charcoal);background:var(--charcoal);color:var(--ivory)}
.btn-ghost{padding-inline:0;letter-spacing:.1em}
.btn-ghost:hover{color:var(--sage-deep)}
.btn-lg{padding:1.1rem 2.4rem;font-size:.82rem}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,248,243,.82);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);transition:box-shadow .3s var(--ease);
}
.site-header.scrolled{box-shadow:0 6px 24px -18px rgba(31,31,31,.4)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;height:74px}
.nav-logo img{height:34px;width:auto}
.nav-links{display:flex;align-items:center;gap:2.1rem;list-style:none}
.nav-links a{
  font-size:.82rem;font-weight:500;letter-spacing:.04em;color:var(--ink-soft);
  position:relative;padding-block:.3rem;transition:color .25s var(--ease);
}
.nav-links a:hover{color:var(--ink)}
.nav-links a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:1.5px;
  background:var(--sage-deep);transition:width .3s var(--ease);
}
.nav-links a:hover::after{width:100%}
.nav-cta{display:flex;align-items:center;gap:1rem}
.nav-toggle{display:none;background:none;border:0;width:40px;height:40px;position:relative}
.nav-toggle span{
  position:absolute;left:8px;right:8px;height:1.6px;background:var(--ink);
  transition:all .3s var(--ease);
}
.nav-toggle span:nth-child(1){top:14px}
.nav-toggle span:nth-child(2){top:20px}
.nav-toggle span:nth-child(3){top:26px}
.nav-toggle.open span:nth-child(1){top:20px;transform:rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){top:20px;transform:rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding-block:clamp(3rem,7vw,5.5rem) clamp(3rem,7vw,6rem)}
.hero-grid{display:grid;grid-template-columns:1.05fr 1.1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.hero h1{margin-block:1.2rem 1.4rem}
.hero .lead{max-width:34ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.9rem}
.hero-note{margin-top:1.4rem;font-size:.8rem;color:var(--muted);display:flex;align-items:center;gap:.55rem}
.hero-visual{position:relative}
.hero-visual img{border-radius:var(--radius-lg)}
.hero-badge{
  position:absolute;background:var(--card);border:1px solid var(--line);
  border-radius:100px;padding:.5rem 1rem;font-size:.72rem;font-weight:600;
  letter-spacing:.08em;box-shadow:var(--shadow-soft);display:flex;align-items:center;gap:.5rem;
}

/* ---------- Marquee of milestones ---------- */
.marquee{background:var(--bg);overflow:hidden}
.marquee-track{display:flex;gap:3rem;padding-block:1.1rem;white-space:nowrap;animation:scroll 34s linear infinite}
.marquee-track span{font-family:var(--serif);font-style:italic;font-size:1.1rem;color:var(--taupe);display:flex;align-items:center;gap:3rem}
.marquee-track span::after{content:"◆";font-size:.55rem;color:var(--sage);font-style:normal;transform:translateY(-2px)}
@keyframes scroll{to{transform:translateX(-50%)}}

/* ---------- Section heading block ---------- */
.section-head{max-width:44rem}
.section-head.center{margin-inline:auto}
.section-head h2{margin-block:1rem .8rem}

/* ---------- Value / problem grid ---------- */
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:2.8rem}
.value-card{
  background:var(--card);border:1px solid var(--line-soft);border-radius:var(--radius);
  padding:2rem 1.7rem;transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.value-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft)}
.value-card .ic{
  width:44px;height:44px;border-radius:12px;background:var(--blush);
  display:grid;place-items:center;margin-bottom:1.1rem;color:var(--sage-deep);
}
.value-card h3{font-size:1.2rem;margin-bottom:.5rem}
.value-card p{font-size:.92rem;color:var(--muted)}

/* ---------- Shop category filters ---------- */
.shop-filters{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:center;margin-top:2.4rem}
.shop-filters:empty{display:none}
.shop-filters + .product-grid{margin-top:2rem}
.filter-pill{
  font-family:var(--sans);font-size:.76rem;font-weight:600;letter-spacing:.06em;
  padding:.55rem 1.15rem;border-radius:100px;border:1px solid var(--line);
  background:var(--card);color:var(--ink-soft);cursor:pointer;text-decoration:none;white-space:nowrap;
  transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease);
}
.filter-pill:hover{border-color:var(--charcoal);color:var(--ink)}
.filter-pill.active{background:var(--charcoal);color:var(--ivory);border-color:var(--charcoal)}
.product-card.is-hidden{display:none}

/* ---------- Product grid ---------- */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3rem}
.product-card{
  background:var(--card);border:1px solid var(--line-soft);border-radius:var(--radius-lg);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease);
}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.product-thumb{aspect-ratio:4/3;position:relative;overflow:hidden;background:var(--bg-alt)}
.product-thumb .ph{
  position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:1.4rem;
}
.product-thumb .ph .glyph{font-size:2.6rem;line-height:1}
/* per-planner icon chips (replace the ◆ inside product tiles only).
   .product-thumb .ph .tile-icon must out-rank the generic .product-thumb img
   {width:100%;height:100%} rule, or the chip blows up to its intrinsic size. */
.tile-icon{width:60px;height:60px;display:block;margin-inline:auto;object-fit:contain}
.product-thumb .ph .tile-icon{width:60px;height:60px;object-fit:contain}
.tile-icon-lg{width:84px;height:84px}
.product-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.product-card:hover .product-thumb img{transform:scale(1.05)}
.product-tag{
  position:absolute;top:.9rem;left:.9rem;z-index:2;background:rgba(250,248,243,.92);
  font-size:.66rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  padding:.35rem .7rem;border-radius:100px;color:var(--sage-deep);
}
.product-body{padding:1.5rem 1.5rem 1.7rem;display:flex;flex-direction:column;flex:1}
.product-body h3{font-size:1.4rem;margin-bottom:.4rem}
.product-body p{font-size:.9rem;color:var(--muted);flex:1}
.product-foot{display:flex;align-items:center;justify-content:space-between;margin-top:1.3rem}
.price{font-family:var(--serif);font-size:1.35rem;color:var(--ink)}
.price s{font-family:var(--sans);font-size:.85rem;color:var(--muted);margin-right:.4rem}

/* ---------- How it works ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3rem;counter-reset:step}
.step{position:relative;padding-top:1.2rem}
.step::before{
  counter-increment:step;content:"0" counter(step);
  font-family:var(--serif);font-size:2.4rem;color:var(--sage);opacity:.55;display:block;margin-bottom:.6rem;
}
.step h3{font-size:1.25rem;margin-bottom:.4rem}
.step p{font-size:.92rem;color:var(--muted)}

/* ---------- Split feature ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.split.rev .split-media{order:2}
.split-media img{border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.split-body .check{list-style:none;margin-top:1.5rem;display:grid;gap:.85rem}
.split-body .check li{display:flex;gap:.7rem;align-items:flex-start;font-size:.95rem;color:var(--ink-soft)}
.split-body .check li::before{content:"";flex:none;margin-top:.5rem;width:7px;height:7px;background:var(--sage);transform:rotate(45deg)}

/* ---------- Testimonials ---------- */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3rem}
.quote{background:var(--card);border:1px solid var(--line-soft);border-radius:var(--radius);padding:1.9rem 1.7rem}
.quote .stars{color:var(--sage-deep);letter-spacing:.2em;font-size:.85rem;margin-bottom:.9rem}
.quote p{font-size:.98rem;color:var(--ink-soft);font-style:italic;line-height:1.6}
.quote .who{margin-top:1.2rem;font-size:.8rem;font-weight:600;letter-spacing:.04em;color:var(--muted)}

/* ---------- FAQ ---------- */
.faq{max-width:46rem;margin:2.6rem auto 0}
.faq-item{border-bottom:1px solid var(--line);padding-block:.4rem}
.faq-q{
  width:100%;background:none;border:0;text-align:left;padding:1.15rem 0;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  font-family:var(--sans);font-size:1.02rem;font-weight:600;color:var(--ink);
}
.faq-q .pm{flex:none;width:22px;height:22px;position:relative;transition:transform .3s var(--ease)}
.faq-q .pm::before,.faq-q .pm::after{content:"";position:absolute;background:var(--sage-deep);inset:10px 0;width:100%;height:1.6px}
.faq-q .pm::after{transform:rotate(90deg);transition:opacity .3s var(--ease)}
.faq-item.open .faq-q .pm::after{opacity:0}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.faq-a p{padding-bottom:1.2rem;color:var(--muted);font-size:.94rem}

/* ---------- CTA band ---------- */
.cta-band{background:var(--charcoal);color:var(--ivory);text-align:center;border-radius:var(--radius-lg)}
.cta-band h2{color:var(--ivory)}
.cta-band .inner{padding:clamp(2.6rem,6vw,4.5rem) 1.5rem}
.cta-band p{color:rgba(250,248,243,.72);max-width:40ch;margin:1rem auto 2rem}

/* ---------- Footer ---------- */
.site-footer{background:var(--charcoal);color:rgba(250,248,243,.72);padding-block:4rem 2.2rem}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.site-footer img{height:38px;margin-bottom:1.1rem}
.footer-brand p{font-size:.9rem;max-width:32ch}
.footer-col h4{font-family:var(--sans);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--sage);margin-bottom:1.1rem}
.footer-col ul{list-style:none;display:grid;gap:.65rem}
.footer-col a{font-size:.9rem;color:rgba(250,248,243,.72);transition:color .25s}
.footer-col a:hover{color:var(--ivory)}
.footer-bottom{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;
  margin-top:3rem;padding-top:1.6rem;border-top:1px solid rgba(250,248,243,.12);
  font-size:.78rem;color:rgba(250,248,243,.5);
}
.placeholder-flag{color:var(--champagne);font-style:italic}

/* =========================================================
   Product page
   ========================================================= */
.breadcrumb{font-size:.78rem;color:var(--muted);letter-spacing:.03em;padding-top:2rem}
.breadcrumb a:hover{color:var(--ink)}
.breadcrumb .diamond{width:5px;height:5px;margin-inline:.55rem;vertical-align:middle}

.pdp-hero{padding-block:2rem clamp(3rem,7vw,5rem)}
.pdp-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.pdp-visual{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;display:grid;place-items:center;text-align:center;position:relative}
.pdp-visual .glyph{font-family:var(--serif);font-size:2.4rem}
.pdp-visual .title{font-family:var(--serif);font-size:clamp(2rem,4vw,3rem);margin-top:.5rem}
.pdp-visual .sub{font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;margin-top:.7rem;opacity:.7}

/* ---------- PDP media gallery (image + video carousel) ---------- */
.pdp-gallery{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.pdp-gallery-main{position:relative;aspect-ratio:4/3;background:#0e0e0e}
.pdp-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;height:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.pdp-gallery-track::-webkit-scrollbar{display:none}
.pdp-gallery-slide{flex:0 0 100%;scroll-snap-align:start;height:100%}
.pdp-gallery-slide img,.pdp-gallery-slide video{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.pdp-gallery-arrow{
  position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;
  background:rgba(250,248,243,.92);border:none;display:grid;place-items:center;cursor:pointer;z-index:2;
  box-shadow:0 2px 8px rgba(0,0,0,.18);font-family:var(--serif);font-size:1.3rem;color:var(--ink);
  transition:background .2s;
}
.pdp-gallery-arrow:hover{background:#fff}
.pdp-gallery-arrow.prev{left:12px}
.pdp-gallery-arrow.next{right:12px}
.pdp-gallery-thumbs{display:flex;gap:.5rem;padding:.7rem;overflow-x:auto;background:var(--bg-alt);scrollbar-width:none}
.pdp-gallery-thumbs::-webkit-scrollbar{display:none}
.pdp-gallery-thumb{
  flex:none;width:56px;height:56px;border-radius:8px;overflow:hidden;border:2px solid transparent;
  cursor:pointer;opacity:.6;transition:opacity .2s,border-color .2s;position:relative;background:#000;padding:0;
}
.pdp-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pdp-gallery-thumb.active{opacity:1;border-color:var(--charcoal)}
.pdp-gallery-thumb .play-badge{
  position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.28);color:#fff;font-size:.8rem;
}
.pdp-price{display:flex;align-items:baseline;gap:.8rem;margin-block:1.3rem}
.pdp-price .now{font-family:var(--serif);font-size:2.4rem}
.pdp-price s{color:var(--muted);font-size:1.1rem}
.pdp-price .save{font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--sage-deep);background:var(--blush);padding:.3rem .6rem;border-radius:100px}
.pdp-buy{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:.4rem}
.pdp-trust{display:grid;gap:.55rem;margin-top:1.6rem}
.pdp-trust li{list-style:none;display:flex;gap:.6rem;align-items:center;font-size:.88rem;color:var(--ink-soft)}
.pdp-trust li .diamond{width:6px;height:6px}
.buy-note{font-size:.74rem;color:var(--muted);margin-top:.9rem}

/* feature list on PDP */
.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:1rem 2.2rem;margin-top:2.6rem}
.feature-list li{list-style:none;display:flex;gap:.8rem;align-items:flex-start;font-size:.95rem;color:var(--ink-soft)}
.feature-list li .fi{flex:none;width:30px;height:30px;border-radius:9px;background:var(--blush);display:grid;place-items:center;color:var(--sage-deep)}
.feature-list li b{font-weight:600;color:var(--ink)}

/* themes strip */
.themes{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.4rem}
.theme-chip{display:flex;align-items:center;gap:.6rem;border:1px solid var(--line);border-radius:100px;padding:.5rem .95rem .5rem .55rem;font-size:.82rem;font-weight:500;background:var(--card)}
.theme-dot{width:22px;height:22px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}

/* included box */
.included{background:var(--card);border:1px solid var(--line-soft);border-radius:var(--radius-lg);padding:clamp(1.8rem,4vw,2.6rem);margin-top:2.6rem}
.included ul{list-style:none;display:grid;gap:.9rem;margin-top:1.2rem}
.included li{display:flex;gap:.7rem;align-items:flex-start;font-size:.95rem;color:var(--ink-soft)}
.included li::before{content:"✓";color:var(--sage-deep);font-weight:700;flex:none}

@media (max-width:960px){
  .pdp-grid{grid-template-columns:1fr}
  .pdp-visual,.pdp-gallery{order:-1}
  .feature-list{grid-template-columns:1fr}
}
@media (max-width:620px){
  .pdp-gallery-arrow{width:32px;height:32px;font-size:1.1rem}
  .pdp-gallery-thumb{width:46px;height:46px}
}

/* ---------- Demo video ---------- */
.demo-frame{
  max-width:920px;margin:2.8rem auto 0;border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow);border:1px solid var(--line-soft);background:#0e0e0e;
}
.demo-bar{
  height:34px;display:flex;align-items:center;gap:7px;padding-inline:14px;
  background:var(--bg-alt);border-bottom:1px solid var(--line-soft);
}
.demo-bar i{width:10px;height:10px;border-radius:50%;background:var(--greige);display:block}
.demo-frame video{display:block;width:100%;height:auto}

/* ---------- Device mockups (clean, no decorative props) ---------- */
.device-laptop{width:100%;max-width:560px;margin-inline:auto}
.device-laptop .screen{
  background:#2b2926;border-radius:16px 16px 8px 8px;padding:9px;
  box-shadow:0 24px 54px -28px rgba(31,31,31,.5);
}
.device-laptop .screen img{display:block;width:100%;border-radius:9px}
.device-laptop .deck{
  height:15px;width:116%;margin-left:-8%;
  background:linear-gradient(#ece8e0,#cbc5bb);border-radius:0 0 14px 14px;
  position:relative;box-shadow:0 12px 18px -12px rgba(31,31,31,.45);
}
.device-laptop .deck::before{
  content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:14%;height:5px;background:#bdb7ac;border-radius:0 0 6px 6px;
}

.device-stage{
  background:var(--ivory);border:1px solid var(--line-soft);border-radius:var(--radius-lg);
  padding:clamp(2rem,4vw,3.2rem);display:grid;place-items:center;box-shadow:var(--shadow-soft);
}
.device-phone{width:100%;max-width:248px;margin-inline:auto;position:relative}
.device-phone .screen{
  background:#2b2926;border-radius:38px;padding:10px;position:relative;
  box-shadow:0 24px 54px -28px rgba(31,31,31,.5);
}
.device-phone .screen img{display:block;width:100%;border-radius:28px}
.device-phone .notch{
  position:absolute;top:10px;left:50%;transform:translateX(-50%);
  width:36%;height:17px;background:#2b2926;border-radius:0 0 13px 13px;z-index:2;
}

/* ---------- Brand vignette (non-screenshot visual) ---------- */
.brand-vignette{
  background:var(--bg-alt);border:1px solid var(--line-soft);border-radius:var(--radius-lg);
  padding:clamp(2.8rem,5vw,4rem) clamp(1.6rem,4vw,3rem);box-shadow:var(--shadow-soft);
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.3rem;height:100%;
  justify-content:center;
}
.brand-vignette img{width:clamp(112px,26%,150px);height:auto}
.brand-vignette .vdivider{display:flex;align-items:center;gap:.75rem}
.brand-vignette .vdivider::before,.brand-vignette .vdivider::after{content:"";width:38px;height:1px;background:var(--sage-deep);opacity:.5}
.brand-vignette .vtag{font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,2.1vw,1.55rem);color:var(--ink-soft);line-height:1.45;max-width:22ch}
.brand-vignette .vsmall{font-family:var(--sans);font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:var(--muted)}

/* ---------- Review ask strip (product pages) ---------- */
.review-ask{
  display:flex;align-items:center;justify-content:center;gap:1.2rem;flex-wrap:wrap;
  text-align:center;background:var(--bg-alt);border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);padding:1.5rem 1.9rem;
}
.review-ask p{font-size:.95rem;color:var(--ink-soft);margin:0;max-width:52ch}
.review-ask .diamond{width:7px;height:7px;vertical-align:middle}

/* ---------- Scroll reveal ---------- */
.demo-note{text-align:center;margin-top:1.1rem;font-size:.8rem;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:.5rem}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;text-align:left}
  .hero-visual{margin-top:.5rem}
  .value-grid,.product-grid,.steps,.quotes{grid-template-columns:1fr 1fr}
  /* odd tile count: let the last card span both columns instead of sitting alone, skinny, in one */
  .product-grid > *:last-child:nth-child(odd){grid-column:1 / -1}
  .split{grid-template-columns:1fr}
  .split.rev .split-media{order:0}
  .footer-top{grid-template-columns:1fr 1fr}
  .nav-links,.nav-cta .btn{display:none}
  .nav-toggle{display:block}
  .nav.mobile-open .nav-links{
    display:flex;position:absolute;top:74px;left:0;right:0;flex-direction:column;
    gap:0;background:var(--bg);border-bottom:1px solid var(--line);padding:.5rem 0;
  }
  .nav.mobile-open .nav-links li{width:100%}
  .nav.mobile-open .nav-links a{display:block;padding:1rem clamp(1.15rem,4vw,2.5rem)}
}
@media (max-width:620px){
  .value-grid,.steps,.quotes{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  /* category pills: one swipeable row instead of a tall stack */
  .shop-filters{
    flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;
    margin-inline:calc(-1 * clamp(1.15rem,4vw,2.5rem));
    padding-inline:clamp(1.15rem,4vw,2.5rem);padding-bottom:.5rem;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
  }
  .shop-filters::-webkit-scrollbar{display:none}
  /* product grid: stay 2-up rather than collapsing to a single tall column,
     and tighten each card so it stays legible at ~half the width */
  .product-grid{gap:1rem}
  .product-card .product-body{padding:1.1rem 1.1rem 1.3rem}
  .product-card .product-body h3{font-size:1.1rem}
  .product-card .product-body p{font-size:.82rem}
  .product-tag{font-size:.6rem;padding:.3rem .6rem;top:.6rem;left:.6rem}
  .product-thumb .ph .tile-icon{width:44px;height:44px}
  .price{font-size:1.1rem}
  .product-foot{flex-direction:column;align-items:flex-start;gap:.5rem}
  .product-foot .btn-ghost{font-size:.8rem;padding:0}
  /* homepage only: show a curated first 8, hide the rest behind "View All" */
  #planners .product-grid > *:nth-child(n+9){display:none}
  .mobile-view-all{display:flex;justify-content:center;margin-top:2rem}
}
@media (min-width:621px){
  .mobile-view-all{display:none}
}

/* =========================================================
   Guides — long-form editorial pages (shared by every guide)
   ========================================================= */
.guide-hero{padding-block:clamp(2rem,5vw,3.4rem) clamp(1.6rem,3vw,2.4rem);text-align:center}
.guide-hero h1{max-width:20ch;margin-inline:auto}
.guide-hero .lead{max-width:60ch;margin-inline:auto;margin-top:1rem}
.guide-meta{margin-top:1.4rem;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap;align-items:center}

.guide-body{max-width:720px;margin-inline:auto;padding-bottom:clamp(2rem,5vw,3.5rem)}
.guide-body h2{font-size:clamp(1.5rem,3vw,2rem);margin:2.8rem 0 .5rem;scroll-margin-top:90px}
.guide-body h2:first-child{margin-top:0}
.guide-body h3{font-family:var(--sans);font-size:1rem;font-weight:600;letter-spacing:.02em;margin:1.9rem 0 .6rem}
.guide-body p{color:var(--ink-soft);line-height:1.75;margin:0 0 1.05rem}
.guide-body a:not(.btn){color:var(--sage-deep);text-underline-offset:3px}
.guide-phase-tag{display:inline-block;font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--sage-deep);background:var(--bg-alt);border:1px solid var(--line-soft);border-radius:100px;padding:.34rem .85rem;margin-bottom:.15rem}

/* Checklists */
.guide-list{list-style:none;padding:0;margin:0 0 1.2rem}
.guide-list li{position:relative;padding-left:1.7rem;margin-bottom:.72rem;color:var(--ink-soft);line-height:1.65}
.guide-list li::before{content:"";position:absolute;left:.25rem;top:.62em;width:7px;height:7px;background:var(--sage);transform:rotate(45deg)}
.guide-list li b{color:var(--ink);font-weight:600}

/* Table of contents */
.guide-toc{background:var(--bg-alt);border:1px solid var(--line-soft);border-radius:var(--radius-lg);padding:1.5rem 1.8rem;margin-bottom:2.6rem}
.guide-toc h2{font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 .9rem}
.guide-toc ol{margin:0;padding-left:1.1rem;columns:2;column-gap:2rem}
.guide-toc li{margin-bottom:.42rem;font-size:.93rem;break-inside:avoid}
.guide-toc a{color:var(--ink-soft);text-decoration:none}
.guide-toc a:hover{color:var(--sage-deep);text-decoration:underline}

/* Pull-out note */
.guide-note{background:var(--card);border:1px solid var(--line);border-left:3px solid var(--sage);border-radius:var(--radius);padding:1.15rem 1.4rem;margin:1.5rem 0 1.6rem}
.guide-note p{margin:0;font-size:.95rem}
.guide-note p + p{margin-top:.7rem}

/* Inline email capture */
.guide-optin{background:var(--bg-alt);border:1px solid var(--line-soft);border-radius:var(--radius-lg);padding:1.9rem 1.8rem;margin:2.8rem 0;text-align:center}
.guide-optin h3{font-family:var(--serif);font-size:1.4rem;font-weight:500;margin:.2rem 0 .5rem;letter-spacing:normal}
.guide-optin p{max-width:44ch;margin-inline:auto;font-size:.95rem}

/* Closing product CTA */
.guide-cta{background:var(--charcoal);border-radius:var(--radius-lg);padding:clamp(2rem,4vw,2.8rem);text-align:center;margin-top:3rem}
.guide-cta h2{color:var(--ivory);margin:0 0 .6rem;font-size:clamp(1.5rem,3vw,2rem)}
.guide-cta p{color:var(--greige);max-width:48ch;margin-inline:auto}
.guide-cta .buy-note{color:var(--taupe);margin-top:.9rem;font-size:.85rem}

@media (max-width:620px){
  .guide-toc ol{columns:1}
  .guide-toc{padding:1.3rem 1.4rem}
}

.sale-tag{display:inline-block;margin-left:.5rem;padding:.15rem .5rem;border-radius:999px;background:var(--sage-deep,#7F9077);color:#fff;font-family:var(--sans);font-size:.62rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;vertical-align:middle;white-space:nowrap}
.pdp-price .sale-tag{font-size:.68rem;margin-left:0;white-space:normal;max-width:100%}
.pdp-price{flex-wrap:wrap;max-width:100%}
.sale-bar{background:#1F1F1F;color:#fff;text-align:center;font-family:var(--sans);font-size:.78rem;letter-spacing:.04em;padding:.55rem 1rem}

/* Sale visibility (Cyber Week) */
[data-sale] s{text-decoration:line-through;text-decoration-color:#D62828;text-decoration-thickness:2px;color:var(--muted,#777)}
.sale-tag{background:#C8102E!important;color:#fff!important}
.sale-bar{background:#C8102E!important;color:#fff!important;font-weight:600}
.buy-note[data-sale] b{color:#C8102E}
