/* ==========================================================================
   Double O Distribution (DOD) Pets — global styles
   Teal/green pet-friendly palette, warm cream base, rounded cards,
   animated shader hero, scroll reveals.
   ========================================================================== */

:root {
  --bg: #faf8f4;
  --ink: #151819;
  --muted: #6c6f76;
  --muted-2: #9aa0a6;
  --primary: #2a7d6e;
  --primary-dark: #1f6356;
  --dark: #1a2a2e;
  --stone-1: #f0ede6;
  --stone-2: #e4dfd6;
  --mint-1: #e8f5f0;
  --amber: #d4803a;
  --accent: #7e3fd6;
  --border: #e8e8e8;
  --border-soft: #dde8e4;

  --r-card: 24px;
  --r-lg: 28px;
  --r-pill: 40px;
  --r-input: 10px;

  --shadow-card: 0 20px 45px -30px rgba(26, 42, 46, .30);
  --shadow-float: 0 30px 60px -30px rgba(26, 42, 46, .40);

  --maxw: 1240px;
  --gutter: 28px;

  --font-head: "Inter", system-ui, sans-serif;
  --font-body: "Host Grotesk", "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
html, body { overflow-x: hidden; }
a[href^="mailto:"], .break-anywhere { overflow-wrap: anywhere; word-break: break-word; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform .35s var(--ease), background .3s, box-shadow .3s;
}
.btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .9; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(42,125,110,.6); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-card); }
.btn--light:hover { transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn--ghost { background: transparent; border: 1px solid var(--border); }
.btn--ghost::before { display: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); transition: gap .3s; }
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(21,24,25,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: -.03em; }
.brand sup { font-size: .5em; top: -.9em; }
.brand .brand__o { color: var(--accent); }
.nav__links { display: flex; gap: 30px; margin-left: 42px; }
.nav__links a { font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--primary); transition: width .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__spacer { flex: 1; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__icon { width: 24px; height: 24px; color: var(--ink); position: relative; }
.cart { position: relative; }
.cart__count {
  position: absolute; top: -8px; right: -10px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600;
  min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px;
}
.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .3s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__left { display: flex; align-items: center; }

/* Home: nav floats over the hero; left links form a white notch tab */
body[data-page="home"] .nav { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: none; backdrop-filter: none; z-index: 20; }
body[data-page="home"] .nav__inner { max-width: none; padding: 0 22px; height: auto; align-items: flex-start; }
body[data-page="home"] .nav__left { background: #fff; margin-left: -22px; padding: 20px 34px 22px 30px; border-radius: 0 0 28px 0; box-shadow: 0 22px 44px -28px rgba(26,42,46,.45); }
body[data-page="home"] .nav__left .nav__links { margin-left: 34px; }
body[data-page="home"] .nav__right { padding-top: 26px; margin-right: 1.5%; }
body[data-page="home"] .nav__right .cart, body[data-page="home"] .nav__right .cart .nav__icon { color: #fff; }
body[data-page="home"] .nav__right .cart .cart__count { background: #fff; color: var(--ink); }

/* ---------- Ghost page title ---------- */
.pagehead { position: relative; padding-top: 60px; }
.ghost-title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(64px, 13vw, 150px); letter-spacing: -.04em;
  color: var(--ink); opacity: .05; text-align: center; line-height: 1;
  user-select: none; pointer-events: none;
}
.ghost-title--left { text-align: left; }

/* Old hero rules removed — hero styles now live in home.css */

/* ---------- Reusable soft shader (contact / faq cards) ---------- */
.hero__shader { position: absolute; inset: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .85; will-change: transform; }
.blob--1 { width: 60vw; height: 60vw; left: 8%; top: 8%;  background: radial-gradient(circle at 30% 30%, #3a9e8c, #1f6356 60%, transparent 72%); animation: drift1 18s var(--ease) infinite alternate; }
.blob--2 { width: 55vw; height: 55vw; right: 2%;  top: 20%; background: radial-gradient(circle at 60% 40%, #5ec4b0, #2a7d6e 55%, transparent 70%); animation: drift2 22s var(--ease) infinite alternate; }
.blob--3 { width: 70vw; height: 60vw; left: 20%; bottom: -20%; background: radial-gradient(circle at 50% 50%, #1a2a2e, #122022 55%, transparent 72%); animation: drift3 26s var(--ease) infinite alternate; }
.blob--4 { width: 40vw; height: 40vw; left: 40%; top: 30%; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.55), transparent 65%); animation: drift1 20s var(--ease) infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate(-6%, -4%) scale(1); } to { transform: translate(10%, 8%) scale(1.15); } }
@keyframes drift2 { from { transform: translate(6%, 0) scale(1.05); } to { transform: translate(-10%, 12%) scale(.9); } }
@keyframes drift3 { from { transform: translate(0, 6%) scale(1); } to { transform: translate(-8%, -6%) scale(1.2); } }

/* ---------- Section shell ---------- */
.section { padding: 92px 0; }
.section--tight { padding: 60px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--border); margin-bottom: 44px; }
.section__title { font-size: clamp(30px, 4.4vw, 46px); }
.section__sub { color: var(--muted); font-size: 17px; margin-top: 10px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; border: none; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1.44; padding: 26px;
  background: linear-gradient(180deg, #faf9f6 0%, #e8f5f0 100%);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); }

/* product image / icon sits in the upper area */
.cat-card__media { position: absolute; left: 0; right: 0; top: 9%; bottom: 36%; display: grid; place-items: center; z-index: 1; }
.cat-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 6%; object-fit: contain; object-position: center; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.cat-card__media .icon svg { width: 48%; height: 48%; color: var(--primary); opacity: .9; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img,
.cat-card:hover .cat-card__media .icon svg { transform: translateY(-6px) scale(1.06); }

/* title + hover-revealed description */
.cat-card__body { position: relative; z-index: 2; text-align: center; }
.cat-card__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 1.55vw, 26px); color: var(--ink); transition: transform .4s var(--ease); }
.cat-card__desc { color: var(--muted); font-size: 14px; line-height: 1.4; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .45s var(--ease), opacity .4s var(--ease), margin-top .45s var(--ease); }
.cat-card:hover .cat-card__title { transform: translateY(-4px); }
.cat-card:hover .cat-card__desc { max-height: 80px; opacity: 1; margin-top: 8px; }

/* top-right arrow button in a white notch */
.cat-card__arrow { position: absolute; top: 0; right: 0; z-index: 3; width: 62px; height: 62px; background: #fff; border-radius: 0 0 0 22px; display: grid; place-items: center; }
.cat-card__arrow i { width: 42px; height: 42px; border-radius: 50%; background: var(--stone-2); color: var(--ink); display: grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease), transform .4s var(--ease); }
.cat-card:hover .cat-card__arrow i { background: var(--primary); color: #fff; transform: rotate(45deg); }
.cat-card__arrow svg { width: 18px; height: 18px; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* Hot picks / product cards — match .cat-card design: taller, arrow notch,
   title centered near the bottom, description fades in on hover. */
.prod-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1.44; padding: 26px;
  background: linear-gradient(180deg, #faf9f6 0%, #e8f5f0 100%);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); }

/* Media area mirrors .cat-card__media EXACTLY */
.prod-card__media {
  position: absolute; left: 0; right: 0; top: 9%; bottom: 36%;
  background: transparent; display: grid; place-items: center; z-index: 1;
  border-radius: 0; aspect-ratio: auto;
}
.prod-card__media .icon svg { width: 46%; height: 46%; color: var(--primary); opacity: .9; }
/* absolutely fill the media zone — the grid row would otherwise grow to the
   image's natural height and overflow the card (portrait shots broke this) */
.prod-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 6%; object-fit: contain; object-position: center; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.prod-card:hover .prod-card__media > img { transform: translateY(-6px); }

/* Hide extra chrome so hot picks read identical to featured categories.
   Price/rating live on the product detail page — the card is a clean visual. */
.prod-card__price, .prod-card__badge, .prod-card__buy, .prod-card__stars { display: none; }

/* Bottom text — title + description reveals on hover, matching .cat-card */
.prod-card__title {
  position: relative; z-index: 2; text-align: center; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(17px, 1.35vw, 22px); color: var(--ink); transition: transform .4s var(--ease);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-card:hover .prod-card__title { transform: translateY(-4px); }
.prod-card__cat { position: relative; z-index: 2; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.4; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .45s var(--ease), opacity .4s var(--ease), margin-top .45s var(--ease); }
.prod-card:hover .prod-card__cat { max-height: 80px; opacity: 1; margin-top: 8px; }

/* Arrow notch — identical treatment to cat-card__arrow */
.prod-card__arrow { position: absolute; top: 0; right: 0; z-index: 4; width: 62px; height: 62px; background: #fff; border-radius: 0 0 0 22px; display: grid; place-items: center; }
.prod-card__arrow i { width: 42px; height: 42px; border-radius: 50%; background: var(--stone-2); color: var(--ink); display: grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease), transform .4s var(--ease); }
.prod-card:hover .prod-card__arrow i { background: var(--primary); color: #fff; transform: rotate(45deg); }
.prod-card__arrow svg { width: 18px; height: 18px; }

/* promo card that sits in the hot-picks grid */
.promo-card {
  position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 100%;
  background: linear-gradient(160deg, #5ec4b0, #2a7d6e 55%, #1a2a2e);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.promo-card h3 { font-size: 24px; }
.promo-card .stars { color: #fff; margin: 8px 0 16px; letter-spacing: 3px; }

/* ---------- Tabs (hot picks) ---------- */
.tabs { display: flex; gap: 26px; }
.tab { font-size: 16px; color: var(--muted); padding: 8px 0; position: relative; transition: color .3s; }
.tab.active { color: var(--primary); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }

/* ---------- Offer split ---------- */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.offer__img { border-radius: var(--r-card); overflow: hidden; background: #f2e8dc; aspect-ratio: 3/2; display:grid; place-items:center; }
.offer__img .icon svg { width: 34%; color: var(--primary); opacity:.6; }
.offer__img img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.offer__card { position: relative; border-radius: var(--r-card); overflow: hidden; padding: 40px; background: linear-gradient(140deg, var(--stone-2) 0%, #a3d9cc 55%, #2a7d6e 100%); display: flex; flex-direction: column; }
.offer__card .tag { color: var(--primary-dark); font-weight: 600; }
.offer__card h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 8px; max-width: 12ch; }
.offer__card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { position: relative; background: var(--stone-1); border-radius: var(--r-card); padding: 34px 28px; padding-top: 70px; }
.benefit .ico { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--stone-2); display: grid; place-items: center; color: var(--primary); }
.benefit .ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 22px; }
.benefit p { color: var(--muted); margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.testi__feature { position: relative; border-radius: var(--r-card); overflow: hidden; background: linear-gradient(180deg, var(--stone-1), var(--stone-2)); padding: 40px; display: flex; flex-direction: column; min-height: 520px; }
.testi__feature .quote { font-size: 28px; font-family: var(--font-head); font-weight: 600; max-width: 16ch; }
.testi__feature .who { margin-top: auto; }
.testi__feature .who b { display: block; }
.testi__feature .portrait { position: absolute; right: 0; bottom: 0; width: 56%; z-index: 1; pointer-events: none; }
.testi__feature .portrait img {
  width: 100%; display: block;
  /* wide soft blend on the left edge only — fully clear before it reaches the face */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 14%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 14%, #000 30%);
}
.testi__feature .who, .testi__feature .logos, .testi__feature .quote, .testi__feature .mark, .testi__feature .stars-sm { position: relative; z-index: 2; }
.mark { font-family: var(--font-head); font-size: 60px; line-height: .5; color: var(--primary); }
.stars-sm { color: var(--amber); letter-spacing: 2px; }
.testi__side { display: flex; flex-direction: column; gap: 22px; }
.testi__card { background: var(--stone-1); border-radius: var(--r-card); padding: 26px; }
.testi__card p { margin: 12px 0 18px; }
.testi__card .person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--stone-2)); flex: 0 0 auto; }
.logos { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 30px; opacity: .55; }
.logos span { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: -.02em; }

/* ---------- Stats (about) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat b { font-family: var(--font-head); font-size: 44px; color: var(--primary); display: block; }
.stat span { color: var(--muted); }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-intro h2 { font-size: clamp(26px,3vw,36px); }
.about-video { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16/8; background: linear-gradient(140deg,#a3d9cc,#2a7d6e); display:grid; place-items:center; margin-top:40px; }
.about-video .play { width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--primary); }
.about-video .play svg { width: 26px; height: 26px; }

/* ---------- Shop page ---------- */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.filter { position: sticky; top: 96px; }
.filter h3 { font-size: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.filter ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.filter li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--muted); cursor: pointer; transition: color .25s; }
.filter li .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border); transition: .25s; }
.filter li.active { color: var(--ink); }
.filter li.active .dot { background: var(--primary); border-color: var(--primary); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 26px; align-items: start; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 14px; }
.pdp__thumb { border-radius: 16px; aspect-ratio: 1; background: #fff; overflow: hidden; cursor: pointer; border: 2px solid var(--border); transition: border-color .25s; }
.pdp__thumb:hover { border-color: var(--stone-2); }
.pdp__thumb.active { border-color: var(--primary); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block; }
.pdp__thumb svg { width: 46%; color: var(--primary); opacity: .7; }
.pdp__main { position: relative; border-radius: var(--r-card); background: #fff; aspect-ratio: 1/1.05; overflow: hidden; display: grid; place-items: center; padding: 22px; }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp__main svg { width: 44%; color: var(--primary); opacity: .85; }
.pdp__off { position: absolute; top: 18px; right: 20px; font-weight: 600; }
.pdp__crumb { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); font-weight: 600; margin-bottom: 6px; }

/* Extra info sections below the PDP top block */
.pdp__short { color: var(--muted); margin: 12px 0 18px; }
.pdp-detail { margin-top: 60px; display: grid; gap: 44px; }
.pdp-section { padding-top: 28px; border-top: 1px solid var(--border); }
.pdp-section:first-child { border-top: none; padding-top: 0; }
.pdp-section__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 16px; color: var(--ink); }
.pdp-section__body { color: var(--muted); max-width: 72ch; }
.pdp-specs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.pdp-specs__grid .spec { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pdp-specs__grid .spec b { font-weight: 600; color: var(--ink); }
.pdp-specs__grid .spec span { color: var(--muted); text-align: right; }
@media (max-width: 700px) {
  .pdp-specs__grid { grid-template-columns: 1fr; }
}
.pdp__info h1 { font-size: clamp(28px, 3.4vw, 42px); }
.pdp__rating { color: var(--muted); margin-top: 8px; }
.pdp__price { margin: 16px 0; font-size: 22px; font-family: var(--font-head); font-weight: 600; }
.pdp__price s { color: var(--muted-2); font-weight: 400; margin-left: 10px; }
.pdp__opts { margin: 22px 0; }
.pdp__opts .row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pdp__opts .row > span { width: 56px; font-weight: 600; }
.chip { border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; font-size: 14px; cursor: pointer; transition: .25s; }
.chip.active, .chip:hover { border-color: var(--primary); color: var(--primary); }
.qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 12px 20px; margin: 20px 0 14px; }
.qty button { width: 26px; height: 26px; font-size: 20px; color: var(--ink); }
.pdp__highlights { margin-top: 30px; }
.pdp__highlights h4 { padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.pdp__highlights ul { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.pdp__highlights li::before { content: "—"; color: var(--primary); margin-right: 10px; }
.prose { max-width: 760px; color: var(--muted); }
.prose h3 { color: var(--ink); margin: 28px 0 12px; }
.prose p { margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.faq-aside { position: relative; border-radius: var(--r-card); overflow: hidden; padding: 34px; background: linear-gradient(160deg, var(--stone-1), var(--stone-2)); min-height: 460px; display: flex; flex-direction: column; }
.faq-aside .brand { font-size: 22px; }
.faq-aside p { color: var(--muted); margin-top: 16px; }
.faq-aside .btn { margin-top: auto; align-self: flex-start; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--stone-1); border-radius: 16px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .pm { color: var(--primary); font-size: 22px; transition: transform .3s; flex: 0 0 auto; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { position: relative; border-radius: var(--r-card); overflow: hidden; padding: 36px; min-height: 460px; background: linear-gradient(160deg, var(--stone-1), var(--stone-2)); display: flex; flex-direction: column; }
.contact-card h2 { font-size: clamp(34px,4vw,54px); }
.contact-card p { color: var(--muted); margin-top: auto; }
.contact-rows { display: flex; flex-direction: column; }
.contact-row { display: flex; align-items: center; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.contact-row .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--stone-1); display: grid; place-items: center; color: var(--primary); flex: 0 0 auto; }
.contact-row small { color: var(--muted); display: block; }
.contact-row b { font-size: 19px; font-weight: 500; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.input, .textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--r-input);
  padding: 15px; font-size: 16px; font-family: inherit; background: transparent; transition: border .25s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--primary); }
.textarea { min-height: 130px; resize: vertical; }
.newsletter-inline { display: flex; background: #fff; border-radius: var(--r-pill); padding: 6px; max-width: 420px; box-shadow: var(--shadow-card); }
.newsletter-inline input { flex: 1; min-width: 0; border: none; background: transparent; padding: 0 18px; font-size: 15px; }
.newsletter-inline input:focus { outline: none; }
.newsletter-inline .btn { white-space: nowrap; flex: 0 0 auto; }

/* Form success state — hide the inputs, show only the thank-you note */
.form--sent > input,
.form--sent > select,
.form--sent > textarea,
.form--sent > button,
.form--sent > .full,
.form--sent > .center { display: none !important; }
.newsletter-inline.form--sent { padding: 16px 22px; justify-content: center; }
[data-note] { margin: 0; color: var(--primary-dark); font-weight: 600; font-size: 15px; text-align: center; width: 100%; }
.form [data-note] { grid-column: 1 / -1; margin-top: 8px; }

/* ---------- Newsletter band ---------- */
/* footer spans nearly full page width, matching the hero's inset margins */
footer > .container { max-width: none; padding: 0 22px; }
.newsband { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--stone-2) 0%, var(--mint-1) 45%, #c2e6dc 100%); padding: 64px 48px 40px; margin-top: 40px; }
.newsband__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .35; }
.newsband::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.12)); pointer-events: none; }
.newsband__wordmark { position: relative; z-index: 2; }
.newsband__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; position: relative; z-index: 2; }
.newsband h2 { font-size: clamp(26px,3.2vw,38px); max-width: 16ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-cols h4 { font-family: var(--font-head); font-size: 15px; margin-bottom: 16px; }
.foot-cols a { display: block; color: var(--muted); padding: 6px 0; font-size: 15px; transition: color .2s; }
.foot-cols a:hover { color: var(--primary); }
.newsband__wordmark { font-family: var(--font-head); font-weight: 800; font-size: clamp(90px, 20vw, 240px); letter-spacing: -.05em; color: rgba(21,24,25,.55); line-height: .8; margin-top: 30px; }
.newsband__wordmark sup { font-size: .18em; top: -2.4em; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; color: var(--muted); font-size: 14px; flex-wrap: wrap; gap: 14px; }
.foot-bottom .links { display: flex; gap: 22px; }

/* ---------- Scroll reveal — subtle fade + lift, per-type variation ---------- */
:root {
  --rv-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --rv-dur: 700ms;
  --rv-stagger: 80ms;
}

/* base — hidden, animates in when .in is added */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity var(--rv-dur) var(--rv-ease) var(--rv-delay, 0ms),
              transform var(--rv-dur) var(--rv-ease) var(--rv-delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* Auto-stagger — grid children get incremental delays via --reveal-i */
[data-reveal] { --rv-delay: calc(var(--reveal-i, 0) * var(--rv-stagger)); }
[data-reveal][data-delay="1"] { --reveal-i: 1; }
[data-reveal][data-delay="2"] { --reveal-i: 2; }
[data-reveal][data-delay="3"] { --reveal-i: 3; }

/* Small per-type variation — same look, slightly different travel amounts */
.reveal--heading { transform: translate3d(0, 20px, 0); }
.reveal--block   { transform: translate3d(0, 26px, 0); }
.reveal--card    { transform: translate3d(0, 30px, 0); }
.reveal--media   { transform: translate3d(0, 28px, 0); }
.reveal--fade    { transform: translate3d(0, 22px, 0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .offer, .testi, .contact-layout, .faq-layout, .about-intro, .newsband__grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 70px 1fr; }
  .pdp__info { grid-column: 1 / -1; }
  .testi__feature { min-height: 420px; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.open .nav__links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px var(--gutter); gap: 6px; border-bottom: 1px solid var(--border); margin: 0; }
  .cat-grid, .prod-grid, .prod-grid--3, .benefits, .stats, .foot-cols, .form { grid-template-columns: 1fr; }
  /* product cards: single column on phones — 2-up is too narrow for real titles */
  .prod-grid, .prod-grid--3 { grid-template-columns: 1fr; }
  .prod-card { aspect-ratio: 1 / 1.18; }
  .prod-card__title { font-size: 17px; -webkit-line-clamp: 2; }
  .prod-card__cat { font-size: 12.5px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter { position: static; }
  .filter ul { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .section { padding: 64px 0; }
  .hero { min-height: 520px; }
  .hero__prodcard { left: 26px; }

  /* Shared footer: allow every grid/flex child to shrink inside a phone. */
  footer > .container { padding-inline: 12px; }
  .newsband { width: 100%; max-width: 100%; padding: 46px 28px 34px; }
  .newsband__grid,
  .newsband__grid > *,
  .foot-cols,
  .foot-cols > * { min-width: 0; max-width: 100%; }
  .newsband h2 { max-width: 100%; overflow-wrap: anywhere; }
  .foot-cols a { overflow-wrap: anywhere; word-break: break-word; }
}

/* ==========================================================================
   Lookbook — full-bleed slider with a floating overlay card
   (argent-loop-infinite-slider style). Scroll-linked; images fill the
   viewport, one centered white card sits on top with text + thumbnail.
   ========================================================================== */
.lookbook { position: relative; height: 320vh; background: var(--dark); }
.lookbook__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* Full-viewport stage */
.lb-stage { position: absolute; inset: 0; }
.lb-slide { position: absolute; inset: 0; will-change: transform, opacity; overflow: hidden; background: #f0ede6; display: grid; place-items: center; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; will-change: transform; }

/* Centered floating card */
.lb-overlay { position: absolute; inset: 0; display: grid; place-items: center; z-index: 20; padding: 0 var(--gutter); pointer-events: none; }
.lb-overlay__card {
  width: min(720px, 84vw); background: #fff;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  padding: 22px; gap: 22px;
  box-shadow: 0 50px 100px -40px rgba(26,42,46,.55);
  pointer-events: auto;
}
.lb-overlay__meta { position: relative; padding: 14px 6px 14px 14px; min-height: 340px; }
.lb-info { position: relative; height: 100%; }
.lb-info__item {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  color: var(--ink); font-family: var(--font-head); will-change: transform, opacity;
}
.lb-info__num { font-weight: 700; font-size: 15px; letter-spacing: .04em; color: var(--primary); }
.lb-info__title { font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .04em; margin-top: 2px; color: var(--ink); }
.lb-info__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; letter-spacing: .06em; color: var(--ink); margin-top: auto; padding-top: 40%; }
.lb-info__desc { font-size: 13px; letter-spacing: .06em; color: var(--ink); margin-top: 26px; }

/* Right thumbnail preview */
.lb-overlay__thumb { position: relative; overflow: hidden; }
.lb-thumb { position: relative; width: 100%; height: 100%; min-height: 340px; overflow: hidden; }
.lb-thumb__img { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
.lb-thumb__img.is-active { opacity: 1; }
.lb-thumb__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .lookbook { height: 280vh; }
  .lb-overlay__card { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .lb-overlay__meta { min-height: 200px; padding: 8px; }
  .lb-info__row { padding-top: 20%; }
  .lb-thumb { min-height: 220px; }
}

/* ==========================================================================
   How ordering works — pinned step cards on an animated dashed route.
   Ruled-paper backdrop, tilted white cards with a pin, marching dashes.
   ========================================================================== */
.hiw { position: relative; padding: 92px 0 40px; overflow: hidden; }
/* ruled notebook lines */
.hiw::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(var(--ink) 1px, transparent 1px);
  background-size: 100% 32px; margin-top: 4px;
}
/* soft side fades so the lines melt into the page */
.hiw::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.hiw .container { position: relative; z-index: 1; }

.hiw__board { position: relative; max-width: 1000px; margin: 0 auto; height: 1130px; }

/* the dashed route between cards */
.hiw__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hiw__path {
  stroke: rgba(42, 125, 110, .35);
  stroke-width: 2; stroke-dasharray: 8 6;
  animation: hiwDash 3s linear infinite;
}
@keyframes hiwDash { to { stroke-dashoffset: -140; } }

/* pinned card */
.hiw-card {
  position: absolute; width: 280px; z-index: 2;
  background: #fff; padding: 10px; border-radius: 25px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 38px -18px rgba(26, 42, 46, .3);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .7s var(--rv-ease-soft, ease);
}
.hiw-card:hover { transform: scale(1.06) rotate(0deg) !important; z-index: 30; box-shadow: 0 28px 55px -20px rgba(26, 42, 46, .45); }

/* per-slot placement + tilt (mirrors the reference layout) */
.hiw-card--p1 { top: 0;      left: 15%;  transform: rotate(8deg); }
.hiw-card--p2 { top: 120px;  right: 15%; transform: rotate(-8deg); }
.hiw-card--p3 { top: 450px;  left: 15%;  transform: rotate(8deg); }
.hiw-card--p4 { top: 570px;  right: 10%; transform: rotate(-8deg); }
.hiw-card--p5 { top: 850px;  left: 15%;  transform: rotate(8deg); }

/* reveal override: keep the tilt while fading in */
.hiw-card[data-reveal] { opacity: 0; }
.hiw-card[data-reveal].in { opacity: 1; }

.hiw-card__pin { display: block; width: 32px; height: 32px; margin: 0 auto 14px; }
.hiw-card__inner { border-radius: 15px; padding: 15px; border: 1px solid; }
.hiw-card__num { display: block; font-size: 34px; line-height: 1; margin-bottom: 18px; font-family: "Comic Sans MS", "Chalkboard SE", cursive; }
.hiw-card__inner h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.05; margin-bottom: 10px; color: var(--ink); }
.hiw-card__inner p { font-size: 13.5px; line-height: 1.45; color: var(--muted); letter-spacing: -.01em; }

/* color themes — all in the site's palette */
.hiw-card--purple .hiw-card__pin, .hiw-card--purple .hiw-card__num { color: var(--primary); }
.hiw-card--purple .hiw-card__inner { background: var(--stone-1); border-color: var(--stone-2); }
.hiw-card--orange .hiw-card__pin, .hiw-card--orange .hiw-card__num { color: var(--amber); }
.hiw-card--orange .hiw-card__inner { background: #fdf4ec; border-color: #f0dcc8; }
.hiw-card--deep .hiw-card__pin, .hiw-card--deep .hiw-card__num { color: var(--dark); }
.hiw-card--deep .hiw-card__inner { background: #e8f5f0; border-color: #c2e6dc; }

/* mobile: stack the cards, hide the route */
@media (max-width: 860px) {
  .hiw__board { height: auto; display: flex; flex-direction: column; gap: 26px; align-items: center; }
  .hiw__route { display: none; }
  .hiw-card { position: static; width: min(320px, 100%); }
  .hiw-card--p1, .hiw-card--p3, .hiw-card--p5 { transform: rotate(2deg); }
  .hiw-card--p2, .hiw-card--p4 { transform: rotate(-2deg); }
}

/* Keep the pinned-card tilt through the reveal lifecycle (reveal's
   transform:none would otherwise flatten the rotation) */
.hiw-card--p1[data-reveal] { transform: translate3d(0, 26px, 0) rotate(8deg); }
.hiw-card--p2[data-reveal] { transform: translate3d(0, 26px, 0) rotate(-8deg); }
.hiw-card--p3[data-reveal] { transform: translate3d(0, 26px, 0) rotate(8deg); }
.hiw-card--p4[data-reveal] { transform: translate3d(0, 26px, 0) rotate(-8deg); }
.hiw-card--p5[data-reveal] { transform: translate3d(0, 26px, 0) rotate(8deg); }
.hiw-card--p1[data-reveal].in { transform: rotate(8deg); }
.hiw-card--p2[data-reveal].in { transform: rotate(-8deg); }
.hiw-card--p3[data-reveal].in { transform: rotate(8deg); }
.hiw-card--p4[data-reveal].in { transform: rotate(-8deg); }
.hiw-card--p5[data-reveal].in { transform: rotate(8deg); }
.hiw-card[data-reveal]:hover { transform: scale(1.06) rotate(0deg) !important; }

@media (max-width: 860px) {
  .hiw-card--p1[data-reveal].in, .hiw-card--p3[data-reveal].in, .hiw-card--p5[data-reveal].in { transform: rotate(2deg); }
  .hiw-card--p2[data-reveal].in, .hiw-card--p4[data-reveal].in { transform: rotate(-2deg); }
}

/* Newsletter pill on phones — compact button, full-width pill */
@media (max-width: 760px) {
  .newsletter-inline { max-width: 100%; }
  .newsletter-inline .btn { padding: 12px 16px; font-size: 14px; }
  .newsletter-inline input { padding: 0 12px; font-size: 14px; }
}

/* Testimonial brand marquee — auto-scrolling strip along the bottom of the
   featured review card (per the reference template). */
.testi__feature { padding-bottom: 78px; }
.testi-marquee {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2;
  overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.testi-marquee__track { display: flex; width: max-content; animation: testiMarq 26s linear infinite; }
.testi-marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.testi-marquee__group span {
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  letter-spacing: -.02em; color: var(--ink); opacity: .45; white-space: nowrap;
}
@keyframes testiMarq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .testi-marquee__track { animation: none; } }

/* ==========================================================================
   Ambient color pass — lift the site out of flat white with soft purple
   atmosphere: fixed page glows, tinted ghost titles, per-section auras.
   ========================================================================== */

/* Page-wide ambient glows (fixed, so they drift past as you scroll) */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(700px 480px at 88% -4%, rgba(42, 125, 110, .20), transparent 70%),
    radial-gradient(760px 560px at -12% 38%, rgba(42, 125, 110, .14), transparent 70%),
    radial-gradient(700px 560px at 108% 82%, rgba(42, 125, 110, .16), transparent 72%);
  background-attachment: fixed;
}

/* Ghost page titles: purple wash instead of grey */
.ghost-title { color: var(--primary); opacity: .14; }

/* Page headers on subpages get their own floating aura */
.pagehead { overflow: visible; }
.pagehead::before {
  content: ""; position: absolute; left: 50%; top: -40px; transform: translateX(-50%);
  width: min(900px, 90vw); height: 320px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 40%, rgba(42, 125, 110, .22), transparent 75%);
}

/* Section auras (scoped with :has so no HTML changes needed) */
.section { position: relative; }
.section:has(.cat-grid)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 440px at 10% 24%, rgba(42, 125, 110, .16), transparent 70%),
    radial-gradient(500px 360px at 92% 78%, rgba(212, 128, 58, .08), transparent 72%);
}
.section:has([data-tabs])::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 420px at 90% 12%, rgba(42, 125, 110, .16), transparent 70%),
    radial-gradient(600px 460px at 6% 88%, rgba(42, 125, 110, .11), transparent 72%);
}

/* Benefits: full soft lavender band */
.section:has(.benefits) {
  background: linear-gradient(180deg, transparent 0%, var(--stone-1) 18%, var(--stone-1) 84%, transparent 100%);
}
.section:has(.benefits) .benefit { background: #fff; box-shadow: 0 16px 36px -26px rgba(26, 42, 46, .3); }
.section:has(.benefits) .benefit .ico { background: var(--stone-1); }

/* Testimonials: gentle aura behind the cards */
.section:has(.testi)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(740px 500px at 50% 55%, rgba(42, 125, 110, .13), transparent 74%);
}

/* Shop layout: give the filter block a soft lavender panel */
.filter { background: var(--stone-1); border: 1px solid var(--border-soft); border-radius: 18px; padding: 22px; }
.filter h3 { border-color: var(--stone-2); }

/* PDP: main image stage picks up a lavender wash instead of stark white */
.pdp__main { background: linear-gradient(180deg, #fff 30%, var(--stone-1) 100%); }

/* ==========================================================================
   Dark purple pass — deep accents so the palette isn't only pale lavender.
   ========================================================================== */

/* Offer card: deep purple gradient, white text, light button */
.offer__card {
  background: linear-gradient(150deg, #122022 0%, var(--dark) 45%, #2a7d6e 100%);
  color: #fff;
}
.offer__card .tag { color: #a3d9cc; }
.offer__card h2 { color: #fff; }
.offer__card .btn--dark { background: #fff; color: var(--ink); }
.offer__card .btn--dark:hover { background: var(--stone-1); }

/* Footer bottom strip: deep purple bar */
.foot-bottom {
  background: var(--dark); color: rgba(255,255,255,.75);
  border-radius: 16px; margin: 14px 0 18px; padding: 18px 26px;
}
.foot-bottom .links a { color: rgba(255,255,255,.75); }
.foot-bottom .links a:hover { color: #fff; }

/* Active shop filter + tabs get the deep tone too */
.filter li.active { color: var(--dark); font-weight: 600; }
.filter li.active .dot { background: var(--dark); border-color: var(--dark); }
.tabs .tab.active { color: var(--dark); font-weight: 600; }
.tabs .tab.active::after { background: var(--dark); }

/* ==========================================================================
   How-ordering-works v2 — 5-step purple ramp + ambient shader blobs.
   Cards deepen from pale lavender (01) to near-black purple (05).
   ========================================================================== */

/* Step 01 — palest lavender */
.hiw-card--s1 .hiw-card__pin, .hiw-card--s1 .hiw-card__num { color: #5ec4b0; }
.hiw-card--s1 .hiw-card__inner { background: #f0f8f5; border-color: #c2e6dc; }

/* Step 02 — soft violet */
.hiw-card--s2 .hiw-card__pin, .hiw-card--s2 .hiw-card__num { color: #3a9e8c; }
.hiw-card--s2 .hiw-card__inner { background: #e4f2ed; border-color: #b0dcd0; }

/* Step 03 — mid purple */
.hiw-card--s3 .hiw-card__pin, .hiw-card--s3 .hiw-card__num { color: var(--primary); }
.hiw-card--s3 .hiw-card__inner { background: linear-gradient(180deg, #d4ece4, #b0dcd0); border-color: #8ecfbe; }

/* Step 04 — deep violet, white text */
.hiw-card--s4 .hiw-card__pin { color: #1f6356; }
.hiw-card--s4 .hiw-card__num { color: #a3d9cc; }
.hiw-card--s4 .hiw-card__inner { background: linear-gradient(165deg, #2a7d6e, #1f6356); border-color: #1f6356; }
.hiw-card--s4 .hiw-card__inner h3 { color: #fff; }
.hiw-card--s4 .hiw-card__inner p { color: rgba(255,255,255,.82); }

/* Step 05 — deepest purple, white text, warm accent number */
.hiw-card--s5 .hiw-card__pin { color: var(--dark); }
.hiw-card--s5 .hiw-card__num { color: #d4803a; }
.hiw-card--s5 .hiw-card__inner { background: linear-gradient(165deg, #1a3d36, var(--dark) 70%, #122022); border-color: #1a3d36; }
.hiw-card--s5 .hiw-card__inner h3 { color: #fff; }
.hiw-card--s5 .hiw-card__inner p { color: rgba(255,255,255,.82); }

/* Ambient shader blobs drifting behind the pinned cards */
.hiw__board::before,
.hiw__board::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hiw__board::before {
  width: 480px; height: 480px; left: -8%; top: 6%;
  background: radial-gradient(circle at 40% 40%, rgba(42, 125, 110, .34), transparent 68%);
  animation: hiwBlobA 16s var(--ease) infinite alternate;
}
.hiw__board::after {
  width: 540px; height: 540px; right: -10%; bottom: 4%;
  background: radial-gradient(circle at 55% 50%, rgba(26, 42, 46, .30), transparent 70%),
              radial-gradient(circle at 30% 70%, rgba(212, 128, 58, .10), transparent 60%);
  animation: hiwBlobB 20s var(--ease) infinite alternate;
}
@keyframes hiwBlobA { from { transform: translate(0, 0) scale(1); } to { transform: translate(9%, 26%) scale(1.18); } }
@keyframes hiwBlobB { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-10%, -22%) scale(.92); } }

@media (prefers-reduced-motion: reduce) {
  .hiw__board::before, .hiw__board::after { animation: none; }
}

/* ==========================================================================
   Mobile refinement pass — fixes overflow, cramped layouts, decorative
   overlays that don't belong on small screens.
   ========================================================================== */

/* Medium screens (tablet phones) — 640px transition */
@media (max-width: 720px) {
  /* Categories 2-up instead of 4-up wall of huge images */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-card__title { font-size: 18px; }
  .cat-card__desc { font-size: 13px; }
  /* Fact strip wraps to 2 rows so items breathe */
  .fact-strip { flex-wrap: wrap; gap: 14px 22px; }
  .fact-strip li { flex: 0 0 calc(50% - 22px); min-width: 0; }
  /* Newsletter pill: tighter button so "Join Now" never clips */
  .newsletter-inline { max-width: 100%; }
  .newsletter-inline .btn { padding: 10px 18px; font-size: 13px; }
  .newsletter-inline input { padding: 0 14px; font-size: 14px; }
  /* Hero prodcard moves out of the way at this width already */
  .hero__prodcard { display: none; }
  /* Bot bot is intrusive at small widths */
  #dodbot { display: none !important; }
}

/* Phones — 480px and below */
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .cat-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  /* Tighter h1 on very small viewports */
  h1, .about-hero__title { font-size: clamp(30px, 8vw, 40px) !important; }
  .section__title { font-size: clamp(24px, 6vw, 32px); }
  /* Product page: main image full-width, thumbs strip below horizontally */
  .pdp { grid-template-columns: 1fr; }
  .pdp__main { grid-column: 1; grid-row: 1; }
  .pdp__thumbs {
    grid-column: 1; grid-row: 2; flex-direction: row;
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  }
  .pdp__thumb { flex: 0 0 64px; height: 64px; }
  .pdp__info { grid-column: 1; grid-row: 3; }
  .pdp-specs__grid { grid-template-columns: 1fr !important; }
  /* Checkout state + zip stack */
  .co-grid { grid-template-columns: 1fr !important; }
  /* Legal TOC single-column, tighter */
  .legal-toc ol { grid-template-columns: 1fr !important; }
  /* Footer credit lines wrap cleanly */
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .foot-bottom .links { justify-content: center; }

  /* Stack the signup controls so native input sizing cannot widen the page. */
  footer > .container { padding-inline: 8px; }
  .newsband { padding: 38px 20px 30px; border-radius: 28px !important; }
  .newsband::after { width: 150px !important; height: 110px !important; right: -12px !important; }
  .newsband h2 { font-size: clamp(24px, 7.5vw, 30px); line-height: 1.08; }
  .newsletter-inline {
    width: 100%; max-width: 100%; min-width: 0;
    flex-direction: column; align-items: stretch; gap: 10px;
    padding: 0; background: transparent; box-shadow: none;
  }
  .newsletter-inline input:not([type="hidden"]) {
    display: block; width: 100%; min-width: 0; height: 48px;
    padding: 0 16px; border-radius: 999px !important;
  }
  .newsletter-inline .btn {
    width: 100%; min-width: 0; min-height: 48px;
    justify-content: center; padding: 12px 16px;
  }
  .foot-cols { gap: 24px; }
  .foot-cols h4 { margin-bottom: 8px; }
  .foot-cols a { padding-block: 4px; }
}

/* Everywhere — long emails and URLs never break layout */
.contact-row b a,
.co-line__meta small,
.legal-contact a,
.legal-prose a[href^="mailto:"],
.funnel-sec__contacts a { overflow-wrap: anywhere; word-break: break-word; }
