/* ============================================================
   Aubri + Liv — Nov 2026 "wine" rebrand layer
   Source: clients/a-and-l/brand/brand-guide/A+L Brand Guide - 2026-11 (Wine) - CURRENT.pdf
   Loaded after the page's own <style>, so it remaps the old
   orange/navy tokens and restyles the surfaces that change.
   ============================================================ */
:root {
  --al-wine:       #5C1F24;
  --al-red:        #AB180D;
  --al-blush:      #FBD6D8;
  --al-cream:      #F8EFE6;
  --al-sand:       #E6D1C1;
  --al-terracotta: #C8745B;
  --al-brown:      #6B4A3A;
  --al-espresso:   #3A2C25;
  --al-wine-deep:  #43161A;

  /* Helvetica only (client, 2026-11-12): every type role is the brand face */
  --al-helv: "Helvetica Neue LT Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display:   var(--al-helv);
  --font-body:      var(--al-helv);
  --font-marketing: var(--al-helv);
  --font-promo:     var(--al-helv);

  /* Old tokens → new palette (every section on the page reads these) */
  --color-orange:      var(--al-red);
  --color-orange-soft: var(--al-blush);
  --color-red:         var(--al-red);
  --color-black:       var(--al-wine);
  --color-ink:         var(--al-espresso);
  --color-ink-soft:    var(--al-brown);
  --color-smoke:       var(--al-brown);
  --color-fog:         #9C8577;
  --color-mist:        #C9B4A6;
  --color-concrete:    var(--al-sand);
  --color-cloud:       #EFE2D7;
  --color-haze:        var(--al-cream);
  --color-paper:       #FFFBF7;
  --color-cream:       var(--al-cream);
  --color-sand:        var(--al-sand);

  --al-grad-hero: linear-gradient(115deg, #FBF5EF 0%, var(--al-cream) 34%, #EAC3AE 62%, var(--al-terracotta) 80%, var(--al-red) 100%);
  --al-grad-wine: linear-gradient(135deg, var(--al-red) 0%, #8A1C17 38%, var(--al-wine) 72%, var(--al-wine-deep) 100%);
  --al-pill: 999px;
}

html, body { background: var(--al-cream); color: var(--al-espresso); }
::selection { background: var(--al-blush); color: var(--al-wine); }

/* Hairlines drawn in near-black become warm */
.feature, .faq, .quote-band, .marquee { border-color: rgba(92, 31, 36, 0.14) !important; }

/* ---------- Sale strip (Black Friday) ---------- */
.sale-strip {
  display: none;
  background: var(--al-grad-wine);
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 16px;
}
.sale-strip a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sale-strip .sep { opacity: .55; margin: 0 10px; }
body.is-sale .sale-strip { display: block; }

/* Sale / no-sale content switches */
[data-sale] { display: none !important; }
body.is-sale [data-sale] { display: revert !important; }
body.is-sale [data-nosale] { display: none !important; }

/* ---------- Top bar: cream, wine wordmark ---------- */
.topbar {
  background: rgba(248, 239, 230, 0.94);
  color: var(--al-wine);
  border-bottom: 1px solid rgba(92, 31, 36, 0.10);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.topbar img.logo { height: 20px; }
.topbar nav a { opacity: 1; color: var(--al-wine); }
.topbar nav a:hover { color: var(--al-red); }
.topbar .cta {
  background: var(--al-wine); color: #fff;
  border-radius: var(--al-pill);
  padding: 12px 22px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em;
}
.topbar .cta:hover { background: var(--al-red); }
.nav-toggle { border-color: rgba(92, 31, 36, 0.25); color: var(--al-wine); }
@media (max-width: 768px) {
  .topbar.open nav {
    background: var(--al-cream) !important;
    border-top: 1px solid rgba(92, 31, 36, 0.12) !important;
  }
  .topbar.open nav a { border-bottom-color: rgba(92, 31, 36, 0.10) !important; }
  .sale-strip { font-size: 10.5px; letter-spacing: 0.12em; padding: 10px 12px; }
  .sale-strip .hide-sm { display: none; }
}

/* ---------- Buttons: wine pills ---------- */
.btn { border-radius: var(--al-pill); font-weight: 700; letter-spacing: 0.02em; }
.btn-primary {
  background: var(--al-wine); color: #fff;
  box-shadow: 0 8px 22px rgba(92, 31, 36, 0.22);
}
.btn-primary:hover { background: var(--al-red); box-shadow: 0 12px 28px rgba(171, 24, 13, 0.28); }
.btn-primary:active { box-shadow: 0 4px 12px rgba(92, 31, 36, 0.28); }
.btn-dark { background: var(--al-wine); }
.btn-outline { color: var(--al-wine); border-color: rgba(92, 31, 36, 0.35); }
.btn-outline:hover { background: rgba(92, 31, 36, 0.06); border-color: var(--al-wine); }
.btn-cream { background: var(--al-cream); color: var(--al-wine); }
.btn-cream:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.45); }

/* ---------- Hero: brand-guide gradient, duo in wine sets ---------- */
.hero {
  background: var(--al-grad-hero);
  color: var(--al-wine);
  min-height: 720px;
}
.hero-photo {
  top: 0; right: 0; bottom: 0;
  width: 48%;
  background-image: url('../assets/rebrand/hero-duo-wine.webp');
  background-size: cover;
  background-position: center 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero-photo::before, .hero-photo::after { display: none; }
.hero-inner { min-height: 720px; padding-top: 96px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--al-red);
}
.hero-eyebrow .chip {
  background: var(--al-red); color: #fff;
  border-radius: var(--al-pill);
  padding: 6px 12px; letter-spacing: 0.16em;
}
.hero-headline { color: var(--al-wine); font-size: 92px; margin-top: 22px; }
.hero-headline em { color: var(--al-red); }
.hero-sub { color: var(--al-brown); font-size: 18px; }
.hero-sub strong { color: var(--al-wine); }
.hero .btn-ghost-light,
.hero .btn-outline-wine {
  background: transparent; color: var(--al-wine);
  border: 1.5px solid rgba(92, 31, 36, 0.35);
}
.hero .btn-ghost-light:hover,
.hero .btn-outline-wine:hover { background: rgba(92, 31, 36, 0.06); border-color: var(--al-wine); }
.hero-fineprint { color: var(--al-brown); opacity: .8; }
.hero-meta { border-top-color: rgba(92, 31, 36, 0.16); }
.hero-stat .num { color: var(--al-wine); }
.hero-stat .lbl { color: var(--al-brown); }

@media (max-width: 1024px) {
  .hero { min-height: 0; }
  .hero-photo {
    position: relative; width: 100%; height: 560px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    background-position: center 20%;
  }
  .hero-inner { min-height: 0; padding-top: 8px; margin-top: -70px; }
  .hero-headline { font-size: clamp(52px, 9vw, 84px); }
}
@media (max-width: 768px) {
  .hero-photo { height: 470px; background-position: center 16%; background-image: url('../assets/rebrand/hero-duo-wine-sm.webp'); }
  .hero-inner { padding-top: 0; margin-top: -60px; }
  .hero-headline { font-size: clamp(42px, 11vw, 60px); margin-top: 14px; }
  .hero-sub { font-size: 16px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--al-wine); color: var(--al-cream); }
.marquee .dot { background: var(--al-terracotta) !important; }

/* ---------- Generic section bits ---------- */
.eyebrow { color: var(--al-terracotta); }
.section-title { color: var(--al-wine); }
.section-title em, .section-title .accent { color: var(--al-red); font-style: normal; }
/* ---------- Feature grid ----------
   One wine cell at a time: "Anywhere" by default, or whichever cell is hovered.
   No !important here, so the page's own :has() hand-off keeps working. */
.features-section { background: var(--color-paper); }
.feature { background: var(--color-paper); transition: background-color .28s cubic-bezier(.22,1,.36,1), color .28s cubic-bezier(.22,1,.36,1); }
.feature h3, .feature p, .feature .num, .feature .glyph { transition: color .28s cubic-bezier(.22,1,.36,1); }
.feature .num { color: var(--al-terracotta); }
.feature.accent .num { color: var(--al-terracotta); }
.feature .glyph { color: var(--al-wine); }
.feature h3 { color: var(--al-wine); }
.feature.dark,
.feature:not(.dark):hover { background: var(--al-wine); }
.feature.dark:hover { background: var(--al-wine); }
.feature.dark h3, .feature:not(.dark):hover h3 { color: #FFFBF7; }
.feature.dark p, .feature:not(.dark):hover p { color: rgba(251, 214, 216, 0.86); }
.feature.dark .num, .feature:not(.dark):hover .num,
.feature:not(.dark):hover.accent .num { color: rgba(251, 214, 216, 0.7); }
.feature.dark .glyph, .feature:not(.dark):hover .glyph { color: var(--al-blush); }
.features-grid:has(.feature:not(.dark):hover) .feature.dark { background: var(--color-paper); }
.features-grid:has(.feature:not(.dark):hover) .feature.dark h3 { color: var(--al-wine); }
.features-grid:has(.feature:not(.dark):hover) .feature.dark p { color: var(--al-brown); }
.features-grid:has(.feature:not(.dark):hover) .feature.dark .num { color: var(--al-terracotta); }
.features-grid:has(.feature:not(.dark):hover) .feature.dark .glyph { color: var(--al-wine); }

/* ---------- Testimonials ---------- */
.tm-stars { color: var(--al-red); }
.tm-title { color: var(--al-wine); }
.tm-tag { background: var(--al-wine) !important; color: #fff !important; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--al-sand); }
.quote-portrait { border-radius: 20px; }
.quote-portrait .ribbon { background: var(--al-wine); border-radius: 14px; }
.quote-portrait .ribbon .av { background: var(--al-red); }
blockquote.pull { color: var(--al-wine); }
blockquote.pull span.accent { color: var(--al-red); }

/* ---------- Closer / pricing ---------- */
.closer { background: var(--al-grad-wine); }
.closer-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 214, 216, 0.28);
  border-radius: 20px;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.closer-card .head .badge { background: var(--al-blush); color: var(--al-wine); border-radius: var(--al-pill); padding: 6px 12px; }
.pricing-row { border-bottom-color: rgba(251, 214, 216, 0.22); }
.pricing-row.free .price, .pricing-row.deal .price { color: var(--al-blush); }
.pricing-row.deal .lbl { font-weight: 700; }
.closer .closer-perks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.closer .closer-perks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; line-height: 1.45; color: rgba(255,255,255,0.92);
}
.closer .closer-perks li::before {
  content: ""; flex: 0 0 8px; height: 8px; margin-top: 8px;
  border-radius: 50%; background: var(--al-blush);
}
.closer .closer-fine {
  margin-top: 18px; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}

/* ---------- FAQ ---------- */
.faq { background: var(--al-cream); }
.faq-title { color: var(--al-wine); }
.faq-help a { color: var(--al-red); }

/* ---------- Footer ---------- */
footer { background: var(--al-wine-deep) !important; color: rgba(248, 239, 230, 0.85) !important; }
footer .col a:hover { color: var(--al-blush) !important; }

/* Sale hero headline is longer, so it runs smaller */
.hero-headline-sale { font-size: 82px; line-height: 0.92; }
@media (max-width: 1024px) { .hero-headline-sale { font-size: clamp(46px, 8vw, 72px); } }
@media (max-width: 768px)  { .hero-headline-sale { font-size: clamp(44px, 13vw, 60px); } }

/* Top-bar CTA: full label on desktop, short label on phones, in both modes */
body.is-sale .topbar .cta .cta-short[data-sale] { display: none !important; }
@media (max-width: 768px) {
  body.is-sale .topbar .cta .cta-full[data-sale] { display: none !important; }
  body.is-sale .topbar .cta .cta-short[data-sale] { display: inline !important; }
}

/* ============================================================
   Polish pass (2026-11-19)
   ============================================================ */
/* Sale rows keep their own layout (display:revert collapsed the flex row) */
body.is-sale .pricing-row[data-sale] { display: flex !important; }

/* Headings: one voice. Every display heading on a light surface is wine. */
.phone-rows-head h2, .phone-row-copy h3, .mobile-features-head h2 { color: var(--al-wine); }
.phone-rows-head h2 em, .mobile-features-head h2 em { color: var(--al-brown); }
.section-title, .phone-rows-head h2, .phone-row-copy h3, .tm-title, .faq-title,
.hero-headline, blockquote.pull, .closer h2 { text-wrap: balance; }
.section-lede, .hero-sub, .feature p, .phone-row-copy p { text-wrap: pretty; }

/* Eyebrow rule matches its label */
.eyebrow::before { background: var(--al-terracotta); }

/* Program card sub-labels: red on a dark photo was unreadable */
.program-card .label .name em { color: var(--al-blush); }

/* No cold white sections: one-time programs sit on warm paper */
.onetime { background: var(--color-paper); }

/* Keyboard focus, visible on cream and on wine */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--al-red); outline-offset: 3px; border-radius: 6px;
}
.closer a:focus-visible, .showcase a:focus-visible, footer a:focus-visible,
.feature-list .row:focus-visible { outline-color: var(--al-blush); }

@media (prefers-reduced-motion: reduce) {
  .feature, .feature h3, .feature p, .feature .num, .feature .glyph { transition: none; }
}

/* Phone feature cards: no side stripe, one accent, warm paper */
.mf-card { background: var(--color-paper); border-color: rgba(92, 31, 36, 0.12); }
.mf-card::before { display: none; }
.mf-icon { color: var(--al-red); }
.mf-card h3 { color: var(--al-wine); }

/* Sale pricing card ends on its last visible row, no dangling rule */
body.is-sale .closer-card .pricing-row:not([data-sale]):not([data-nosale]) { border-bottom: 0; padding-bottom: 0; }

/* One-time programs: five cards (Postpartum added Nov 2026) sit on one row on wide screens */
@media (min-width: 1181px) {
  .onetime-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .onetime-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .onetime-foot > :last-child { width: 100%; justify-content: center; text-align: center; }
}
.onetime-card[data-program="postpartum"] .onetime-label .ns { font-size: clamp(18px, 1.55vw, 23px); letter-spacing: 0; }

/* One-time cards: price and button sit on the card floor so every card lines up */
.onetime-body { flex: 1; }
.onetime-foot { margin-top: auto; padding-top: 6px; }
@media (min-width: 1181px) {
  /* Names wrap to two lines in the five-across row; reserve both so bullets start level */
  .onetime-body h3 { min-height: calc(2 * 1.2em); line-height: 1.2; }
}
.hero-eyebrow .chip { white-space: nowrap; }

/* ---------- What's in the app: five short cells + offer cell (11/20) ---------- */
.hero-heart { color: var(--al-red); }
.app-grid .feature { min-height: 0; }
.app-grid .feature h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.1; margin-top: 18px; }
.app-grid .feature p { font-size: 16px; margin-top: 8px; }
.app-grid .app-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; align-items: flex-start; }
.app-grid .app-cta h3 { margin-top: 0; }
