/* Purest Botanics, website proposal v1
   Shared system for Direction A (Linen), Direction B (Stone & Olive) and the collection page.
   Section names mirror Shopify Dawn sections so the build maps 1:1. */

:root {
  --linen: #F4EEE6;
  --linen-2: #EFE7DC;
  --stone: #E7DFD3;
  --stone-2: #DCD2C3;
  --olive: #4F4D33;
  --olive-deep: #3B3A26;
  --wood: #AD8459;
  --wood-soft: #C9AD8A;
  --ink: #3A3828;
  --muted: #7A7362;
  --line: #D6CBBB;
  --white: #FBF8F3;

  --bg: var(--linen);
  --surface: var(--stone);
  --card: var(--stone);

  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--olive);
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}
button, input, select { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 18px;
  display: block;
}
.h1 { font-size: clamp(44px, 6.2vw, 84px); }
.h2 { font-size: clamp(34px, 4.2vw, 56px); }
.h3 { font-size: clamp(24px, 2.2vw, 30px); }
.caps { text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink); max-width: 56ch; }
.muted { color: var(--muted); }
.dots { letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--muted); }

/* Buttons: rectangular, uppercase, like Dawn's button style */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: var(--linen);
  font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  border-radius: 0;
}
.btn:hover, .btn:focus-visible { background: var(--olive-deep); border-color: var(--olive-deep); outline: none; }
.btn--ghost { background: transparent; color: var(--olive); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--olive); color: var(--linen); }
.btn--light { background: var(--linen); color: var(--olive); border-color: var(--linen); }
.btn--light:hover, .btn--light:focus-visible { background: transparent; color: var(--linen); border-color: var(--linen); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.link {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  color: var(--olive);
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--olive); color: var(--linen);
  text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 11px var(--gutter);
}

/* ---------- Header (two rows, like Mainely's Dawn header) ---------- */
.header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: 22px 14px;
}
.header__left, .header__right { display: flex; align-items: center; gap: 22px; }
.header__right { justify-content: flex-end; }
.logo { display: block; width: clamp(170px, 18vw, 240px); }
.logo img { width: 100%; height: auto; }
.icon-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--olive); display: inline-flex; position: relative; }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -4px; right: -8px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--wood); color: var(--white);
  font-size: 10px; line-height: 17px; text-align: center; border-radius: 50%;
}
.nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 40px); padding-bottom: 16px; }
.nav a {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; color: var(--ink);
  padding-block: 4px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--olive); border-color: var(--wood); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .header__top { padding-block: 16px; }
  .nav, .hide-m { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .mobile-nav a { display: block; padding: 12px 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
}

/* ---------- Split banner (Dawn "image with text" as hero) ---------- */
.split-hero { display: grid; grid-template-columns: 1fr 1.15fr; min-height: min(78vh, 760px); }
.split-hero__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 110px) var(--gutter); }
.split-hero__text .lead { margin-top: 26px; }
.split-hero__media { position: relative; min-height: 380px; }
.split-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
}

/* Packshots: lift near-white backgrounds to white so multiply blends them into the card */
.card__media img, .feature__media img, .row__media img, .line-card .thumb img, .tile__media img { filter: brightness(1.045) contrast(1.02); }

/* ---------- Product card ---------- */
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media {
  position: relative; display: block;
  background: var(--card);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.card__media img {
  position: absolute; inset: 9% 12%; width: 76%; height: 82%;
  object-fit: contain; mix-blend-mode: multiply;
  transition: transform .6s ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--linen); color: var(--olive); padding: 5px 9px;
}
.card__add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  border: 0; border-radius: 0; cursor: pointer;
  background: var(--olive); color: var(--linen);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; padding: 14px;
  transform: translateY(100%); transition: transform .3s ease, background .2s;
}
.card:hover .card__add, .card__add:focus-visible { transform: none; outline: none; }
.card__add:hover { background: var(--olive-deep); }
.card__info { padding-top: 16px; display: grid; gap: 4px; }
.card__line { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--wood); }
.card__name { font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--olive); line-height: 1.15; }
.card__price { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (hover: none) { .card__add { transform: none; position: static; } }

/* ---------- Product slider ---------- */
.slider-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.slider-ctrl { display: flex; gap: 10px; align-items: center; }
.arrow {
  width: 46px; height: 46px; border: 1px solid var(--olive); background: transparent; color: var(--olive);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 0;
  transition: background .2s, color .2s;
}
.arrow:hover { background: var(--olive); color: var(--linen); }
.arrow svg { width: 18px; height: 18px; }
.slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .slider { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; } }
@media (max-width: 700px) { .slider { grid-auto-columns: 72%; gap: 14px; } .slider-ctrl .arrow { display: none; } }

/* ---------- Rich text + pillars ---------- */
.rich { text-align: center; max-width: 900px; margin: 0 auto; }
.rich .lead { margin: 26px auto 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 64px; text-align: center; }
.pillar h3 { font-size: 26px; margin-bottom: 10px; }
.pillar p { color: var(--muted); max-width: 32ch; margin: 0 auto; }
.pillar img { width: 22px; margin: 0 auto 18px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Ritual (replaces Mainely's before/after slider) ---------- */
.ritual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ritual__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.steps { display: grid; gap: 0; margin-top: 36px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__icon { width: 64px; height: 64px; border: 1px solid var(--olive); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--olive); }
.step__icon svg { width: 30px; height: 30px; }
.step h3 { font-size: 24px; letter-spacing: .12em; text-transform: uppercase; }
.step h3 span { color: var(--wood); margin-right: 10px; }
.step p { margin-top: 6px; color: var(--ink); }
.step .link { display: inline-block; margin-top: 12px; }
.sign-off { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--olive); margin-top: 30px; }
@media (max-width: 900px) { .ritual { grid-template-columns: 1fr; } }

/* ---------- Product with image (Lemongrass) ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); }
.feature__media { position: relative; background: var(--card); min-height: 420px; }
.feature__media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.feature__text { padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.feature__text .dots { margin: 18px 0 22px; }
.feature__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; }
.feature__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.feature__list li:last-child { border-bottom: 1px solid var(--line); }
.feature__list b { font-weight: 400; color: var(--olive); }
.feature__list span { color: var(--muted); font-size: 14px; white-space: nowrap; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature__media { min-height: 0; aspect-ratio: 3 / 2; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.review { margin: 0; background: var(--surface); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--wood); letter-spacing: .18em; font-size: 14px; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.35; color: var(--olive); flex: 1; }
.review cite { font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.rating { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.placeholder-note { font-size: 12px; color: var(--muted); margin-top: 22px; text-align: center; font-style: italic; }
@media (max-width: 1100px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Collection rows (Mainely's alternating services cards) ---------- */
.rows { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: 56px; }
.rows--bleed { gap: 0; }
.rows--bleed .row:nth-child(even) .row__text { background: var(--linen-2); }
.rows--bleed .row__media { min-height: 520px; }
.rows--bleed .row__text { padding-inline: clamp(32px, 7vw, 120px); }
.row { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.row:nth-child(even) .row__media { order: 2; }
.row > * { min-width: 0; }
.row__media { position: relative; background: var(--card); min-height: 400px; }
.row__media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.row__text { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.row__text p { margin-top: 16px; max-width: 44ch; }
.row__text .meta { margin-top: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.row__text .btn { align-self: flex-start; margin-top: 30px; }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; } .row:nth-child(even) .row__media { order: 0; } .row__media { min-height: 0; aspect-ratio: 16 / 11; } }

/* ---------- Our Story (Mainely's esthetician bio block) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--olive); color: var(--linen); }
.story__media { position: relative; min-height: 520px; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__text { padding: clamp(48px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; text-align: center; align-items: center; }
.story__text h2 { color: var(--linen); letter-spacing: .2em; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); }
.story__text p { margin-top: 18px; max-width: 42ch; font-size: 17px; }
.story__text .eyebrow { color: var(--wood-soft); }
.story__text .grat { font-family: var(--display); font-style: italic; font-size: 20px; margin-top: 30px; color: var(--wood-soft); }
.story-b__text .signature, .story__text .signature, .signature { font-family: var(--script); font-size: clamp(38px, 4vw, 52px); line-height: 1; margin-top: 6px; color: var(--linen); }
.story__text .btn-row { justify-content: center; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__media { min-height: 0; aspect-ratio: 3 / 2; } }

.photo-todo { background: var(--olive-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.photo-todo img { position: static; width: 46px; height: auto; opacity: .55; }
.photo-todo span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--wood-soft); line-height: 2; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding-block: 22px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); color: var(--olive);
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding-inline: 28px;
}
.marquee span::after { content: "\2022"; color: var(--wood); margin-left: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Retreat banner (Dawn image banner) ---------- */
.retreat { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--linen-2); }
.retreat__media { position: relative; min-height: 560px; overflow: hidden; }
.retreat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 62%; }
.retreat__text { padding: clamp(48px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.retreat__text .where { font-family: var(--display); font-style: italic; font-size: 24px; color: var(--olive); margin-top: 10px; }
.retreat__text .facts { display: flex; gap: 28px; margin: 28px 0 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wood); flex-wrap: wrap; }
.retreat__text p { margin-top: 22px; max-width: 46ch; }
.retreat__text .tag { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--muted); margin-top: 22px; }
@media (max-width: 900px) { .retreat { grid-template-columns: 1fr; } .retreat__media { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Care guide ---------- */
.care { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px; counter-reset: care; }
.care li { list-style: none; border-top: 1px solid var(--olive); padding-top: 18px; }
.care li::before { counter-increment: care; content: "0" counter(care); display: block; font-family: var(--display); font-size: 30px; color: var(--wood); margin-bottom: 8px; }
.care h3 { font-family: var(--body); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--olive); margin-bottom: 8px; line-height: 1.4; }
.care p { font-size: 15px; color: var(--muted); }
.care-list { padding: 0; }
@media (max-width: 1000px) { .care { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .care { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--surface); text-align: center; }
.newsletter .lead { margin: 18px auto 0; }
.form { display: flex; max-width: 520px; margin: 34px auto 0; border: 1px solid var(--olive); }
.form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px 18px; font-size: 15px; outline: none; }
.form input::placeholder { color: var(--muted); }
.form .btn { border: 0; }
.fine { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--olive-deep); color: var(--linen); padding-block: 80px 36px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer .logo { width: 200px; }
.footer__about { margin-top: 20px; max-width: 34ch; color: var(--stone-2); font-size: 15px; }
.footer h4 { font-family: var(--body); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; color: var(--wood-soft); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--linen); font-size: 15px; opacity: .88; }
.footer ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(244, 238, 230, .18); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; letter-spacing: .12em; color: var(--stone-2); }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { border: 1px solid rgba(244, 238, 230, .35); padding: 5px 9px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Toast (quick add feedback) ---------- */
.toast {
  position: fixed; right: 20px; top: 20px; z-index: 100;
  background: var(--olive); color: var(--linen);
  padding: 16px 22px; font-size: 13px; letter-spacing: .08em;
  transform: translateY(calc(-100% - 40px)); visibility: hidden; transition: transform .35s ease, visibility .35s;
  max-width: calc(100vw - 40px);
}
.toast.show { transform: none; visibility: visible; }

/* ---------- Proposal bar (presentation only, not part of the site) ---------- */
:root { --bar-h: 42px; }
.switcher {
  position: sticky; top: 0; z-index: 80; height: var(--bar-h);
  background: var(--wood); color: var(--white);
  font-family: var(--body); font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  overflow-x: auto; scrollbar-width: none;
}
.switcher::-webkit-scrollbar { display: none; }
.switcher__in { display: flex; justify-content: center; align-items: stretch; height: 100%; min-width: max-content; margin: 0 auto; }
.switcher a { display: flex; align-items: center; padding: 0 18px; white-space: nowrap; color: rgba(251,248,243,.82); transition: background .2s, color .2s; }
.switcher a:hover { color: var(--white); background: rgba(0,0,0,.08); }
.switcher a[aria-current="page"] { background: var(--white); color: var(--olive-deep); }
.switcher .switcher__home { font-weight: 500; color: var(--white); letter-spacing: .22em; padding-right: 22px; margin-right: 6px; border-right: 1px solid rgba(251,248,243,.35); }
.header { top: var(--bar-h); }
.toolbar { top: calc(var(--header-h, 0px) + var(--bar-h)); }
@media (max-width: 760px) { .switcher__in { justify-content: flex-start; } .switcher a { padding: 0 13px; } }

/* =========================================================
   COLLECTION PAGE
   ========================================================= */
.crumbs { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 28px; }
.crumbs a:hover { color: var(--olive); }
.col-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: 40px clamp(56px, 7vw, 96px); }
.col-hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.col-hero .lead { margin-top: 22px; }
.col-hero .sub { font-family: var(--display); font-style: italic; font-size: 24px; color: var(--olive); margin-top: 14px; }
@media (max-width: 900px) { .col-hero { grid-template-columns: 1fr; } .col-hero__media { order: -1; } }

.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.line-card {
  background: var(--surface); padding: 0; text-align: left; border: 1px solid transparent; cursor: pointer;
  display: flex; flex-direction: column; border-radius: 0; color: inherit;
  transition: border-color .2s, background .2s;
}
.line-card:hover, .line-card.on { border-color: var(--olive); }
.line-card.on { background: var(--linen-2); }
.line-card__media { position: relative; display: block; background: var(--card); aspect-ratio: 4 / 3; overflow: hidden; }
.line-card__media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.045) contrast(1.02); transition: transform .6s ease; }
.line-card:hover .line-card__media img { transform: scale(1.04); }
.line-card__media--trio { display: flex; align-items: center; justify-content: center; gap: 0; padding: 8% 6%; }
.line-card__media--trio img { position: static; inset: auto; width: 46%; height: 108%; margin-inline: -6%; }
.line-card__media--trio img:nth-child(2) { position: relative; z-index: 1; }
.line-card__text { display: block; flex: 1; padding: 28px 28px 32px; background: var(--olive); color: var(--linen); transition: background .2s; }
.line-card:hover .line-card__text, .line-card.on .line-card__text { background: var(--olive-deep); }
.line-card h3 { color: var(--linen); }
.line-card .link { color: var(--wood-soft); }
.line-card h3 { font-size: 28px; }
.line-card .dots { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .2em; color: var(--wood-soft); }
.line-card p { margin-top: 12px; font-size: 15px; color: var(--stone-2); }
.line-card .link { display: inline-block; margin-top: 20px; }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr; } }

.toolbar {
  position: sticky; top: var(--header-h, 0px); z-index: 20; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 18px; border-bottom: 1px solid var(--line); margin-top: 56px;
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line); background: transparent; padding: 10px 16px; cursor: pointer; border-radius: 0;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--olive); }
.tab.on { background: var(--olive); color: var(--linen); border-color: var(--olive); }
.tab small { font-size: 10px; opacity: .7; margin-left: 4px; letter-spacing: .1em; }
.toolbar__right { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.select { border: 1px solid var(--line); background: transparent; padding: 10px 34px 10px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-radius: 0; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%234F4D33'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; padding-block: 40px var(--section); }
.grid .card[hidden] { display: none; }
.promo {
  grid-column: span 2; background: var(--olive); color: var(--linen);
  display: grid; grid-template-columns: 1.35fr 1fr; min-height: 100%;
}
.promo__media { position: relative; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 45%; }
.promo__text { padding: 32px 26px; display: flex; flex-direction: column; justify-content: center; }
.promo__text h3 { color: var(--linen); font-size: 30px; letter-spacing: .12em; text-transform: uppercase; }
.promo__text ol { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14px; }
.promo__text ol b { font-weight: 400; color: var(--wood-soft); letter-spacing: .16em; margin-right: 8px; }
.promo__text .btn { margin-top: 26px; align-self: flex-start; padding: 14px 22px; }
.care-tile { grid-column: span 3; background: var(--surface); padding: 40px 44px; display: grid; grid-template-columns: 40px 1fr auto; gap: 28px; align-items: center; }
.care-tile img { width: 34px; }
.care-tile h3 { font-size: 28px; }
.care-tile p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
@media (max-width: 1100px) { .care-tile { grid-column: 1 / -1; } }
@media (max-width: 760px) { .care-tile { grid-template-columns: 1fr; padding: 30px 24px; gap: 16px; } }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } .promo { grid-column: 1 / -1; min-height: 380px; } }
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .promo { grid-template-columns: 1fr; }
  .promo__media { aspect-ratio: 16 / 10; }
  .card__name { font-size: 19px; }
  .toolbar { position: static; }
  .toolbar__right { width: 100%; gap: 10px; flex-wrap: wrap; }
  .toolbar__right #count { flex-basis: 100%; }
  .toolbar__right .select { flex: 1; min-width: 0; }
  .tab { padding: 9px 11px; letter-spacing: .12em; }
}

/* =========================================================
   DIRECTION B · STONE & OLIVE
   More editorial: full-bleed hero, tracked caps, olive bands, centered rhythm.
   ========================================================= */
.dir-b { --bg: #EDE6DB; --surface: #E3DACC; --card: var(--linen); }
.dir-b .h1, .dir-b .h2 { text-transform: uppercase; letter-spacing: .12em; font-weight: 400; }
.dir-b .h1 { font-size: clamp(38px, 5.2vw, 72px); }
.dir-b .h2 { font-size: clamp(28px, 3.2vw, 44px); }
.dir-b .masthead { position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 50; }
.dir-b .header { position: static; background: transparent; border-bottom-color: rgba(244,238,230,.3); transition: background .35s, border-color .35s; }
.dir-b .header.solid { background: var(--bg); border-bottom-color: var(--line); }
.dir-b .header:not(.solid) .nav a, .dir-b .header:not(.solid) .icon-btn { color: var(--linen); }
.dir-b .header:not(.solid) .logo .on-light { display: none; }
.dir-b .header.solid .logo .on-dark { display: none; }
.dir-b .announce { background: var(--olive-deep); }

.full-hero { position: relative; height: min(calc(100vh - var(--bar-h)), 920px); min-height: 620px; color: var(--linen); overflow: hidden; }
.full-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.full-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,38,24,.55) 0%, rgba(40,38,24,0) 30%, rgba(40,38,24,0) 50%, rgba(40,38,24,.7) 100%); }
.full-hero__text { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 90px); z-index: 1; text-align: center; padding-inline: var(--gutter); }
.full-hero__text .h1 { color: var(--linen); }
.full-hero__text p { margin: 18px auto 0; max-width: 52ch; font-size: 18px; color: var(--linen); }
.full-hero__text .btn-row { justify-content: center; }
.full-hero__text .tagline { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(28px, 3vw, 42px); color: var(--linen); }
.full-hero__text .btn-row { margin-top: 28px; }
.btn--outline-light { background: transparent; color: var(--linen); border-color: var(--linen); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { background: var(--linen); color: var(--olive); border-color: var(--linen); }

.dir-b .band { background: var(--olive); color: var(--linen); }
.dir-b .band h2, .dir-b .band h3 { color: var(--linen); }
.dir-b .band .eyebrow { color: var(--wood-soft); }
.dir-b .band .lead, .dir-b .band p { color: var(--linen); }
.dir-b .band .step { border-color: rgba(244,238,230,.22); }
.dir-b .band .step__icon { border-color: var(--wood-soft); color: var(--linen); }
.dir-b .band .link { color: var(--linen); }
.dir-b .band .sign-off { color: var(--wood-soft); }

.ritual-b { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 64px; text-align: center; }
.ritual-b .step__icon { margin: 0 auto 24px; width: 84px; height: 84px; }
.ritual-b .step__icon svg { width: 38px; height: 38px; }
.ritual-b h3 { font-size: 26px; letter-spacing: .16em; text-transform: uppercase; }
.ritual-b p { margin-top: 10px; }
.ritual-b .link { display: inline-block; margin-top: 18px; }
@media (max-width: 800px) { .ritual-b { grid-template-columns: 1fr; gap: 48px; } }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; margin-top: 48px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tile { position: relative; background: var(--linen); display: flex; flex-direction: column; }
.tile__media { position: relative; aspect-ratio: 1 / 1; background: var(--card); }
.tile__media img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__text { padding: 28px 26px 32px; text-align: center; }
.tile__text h3 { font-size: 24px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.tile__text .dots { display: block; margin-top: 10px; font-size: 10px; }
.tile__text .link { display: inline-block; margin-top: 20px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

.quote-b { text-align: center; max-width: 900px; margin: 0 auto; }
.quote-b blockquote { margin: 26px 0 0; font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1.25; color: var(--olive); }
.quote-b cite { display: block; margin-top: 24px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quote-dots { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.quote-dots button { width: 34px; height: 2px; border: 0; padding: 0; background: var(--line); cursor: pointer; border-radius: 0; }
.quote-dots button.on { background: var(--olive); }

.story-b { position: relative; min-height: 640px; display: grid; place-items: center; text-align: center; color: var(--linen); overflow: hidden; }
.story-b > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 88%; }
.story-b::after { content: ""; position: absolute; inset: 0; background: rgba(46,44,28,.74); }
.story-b__text { position: relative; z-index: 1; padding: var(--section) var(--gutter); max-width: 720px; }
.story-b__text h2 { color: var(--linen); }
.story-b__text p { margin-top: 18px; font-size: 18px; }
.story-b__text .grat { font-family: var(--display); font-style: italic; font-size: 20px; margin-top: 30px; color: var(--wood-soft); }

.retreat-b { overflow: hidden; }
.retreat-b__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: var(--section); }
.retreat-b__text { max-width: 560px; }
.retreat-b__text .where { font-family: var(--display); font-style: italic; font-size: 24px; color: var(--wood-soft); margin-top: 12px; }
.retreat-b__text p { margin-top: 20px; font-size: 17px; }
.retreat-b__text .tag { font-family: var(--display); font-style: italic; font-size: 21px; color: var(--wood-soft); }
.retreat-b__text .facts { display: flex; gap: 26px; margin-top: 26px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wood-soft); flex-wrap: wrap; }
.retreat-b__media { margin: 0; justify-self: end; width: min(100%, 500px); aspect-ratio: 4 / 5; overflow: hidden; outline: 1px solid rgba(244,238,230,.25); outline-offset: 14px; }
.retreat-b__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%; }
@media (max-width: 800px) { .retreat-b__grid { grid-template-columns: 1fr; } .retreat-b__media { justify-self: center; } }

/* Phones */
@media (max-width: 600px) {
  .announce { font-size: 10px; letter-spacing: .12em; padding-block: 10px; }
}
@media (max-width: 700px) {
  /* Direction B: the wall logo is the headline, so show the whole image and put the tagline below it */
  .dir-b .masthead { position: sticky; }
  .dir-b .masthead .header:not(.solid) { background: var(--bg); border-bottom-color: var(--line); }
  .dir-b .masthead .header:not(.solid) .icon-btn, .dir-b .masthead .header:not(.solid) .nav a { color: var(--olive); }
  .dir-b .masthead .header:not(.solid) .logo .on-light { display: block; }
  .dir-b .masthead .header:not(.solid) .logo .on-dark { display: none; }
  .full-hero { height: auto; min-height: 0; background: var(--olive); display: flex; flex-direction: column; }
  .full-hero::after { display: none; }
  .full-hero img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .full-hero__text { position: static; padding: 40px var(--gutter) 48px; }
}

/* =========================================================
   DIRECTION C · OLIVE
   Olive-dominant, dramatic. Mainely's scale and green banners,
   with the widely spaced serif capitals of the brand cards.
   ========================================================= */
.dir-c { --bg: var(--olive-deep); --surface: var(--olive); --card: var(--stone); color: var(--linen); }
.dir-c h1, .dir-c h2, .dir-c h3, .dir-c h4 { color: var(--linen); }
.dir-c .eyebrow { color: var(--wood-soft); }
.dir-c .lead { color: var(--stone-2); }
.dir-c .link { color: var(--linen); }
.dir-c .btn { background: var(--linen); color: var(--olive-deep); border-color: var(--linen); }
.dir-c .btn:hover, .dir-c .btn:focus-visible { background: transparent; color: var(--linen); border-color: var(--linen); }
.dir-c .btn--ghost { background: transparent; color: var(--linen); }
.dir-c .btn--ghost:hover { background: var(--linen); color: var(--olive-deep); }

/* Light sections inside C */
.dir-c .light { background: var(--linen); color: var(--ink); }
.dir-c .light h2, .dir-c .light h3 { color: var(--olive); }
.dir-c .light .eyebrow { color: var(--wood); }
.dir-c .light .lead { color: var(--ink); }
.dir-c .light .link { color: var(--olive); }
.dir-c .light .btn { background: var(--olive); color: var(--linen); border-color: var(--olive); }
.dir-c .light .btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); }

/* Type scale */
.c-display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .07em; line-height: .94;
  font-size: clamp(54px, 9vw, 144px);
}
.c-hero .c-display { font-size: clamp(48px, 6.3vw, 124px); white-space: nowrap; }
.c-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .12em; line-height: 1;
  font-size: clamp(40px, 6vw, 92px);
}
.c-rule-free { margin: 0; }

/* Header + announcement */
.dir-c .announce { background: var(--wood); color: var(--white); }
.dir-c .header { background: var(--olive-deep); border-bottom-color: rgba(244,238,230,.14); }
.dir-c .nav a { color: var(--stone-2); }
.dir-c .nav a:hover, .dir-c .nav a[aria-current="page"] { color: var(--linen); border-color: var(--wood-soft); }
.dir-c .icon-btn { color: var(--linen); }
.dir-c .mobile-nav a { border-color: rgba(244,238,230,.14); }

/* Hero (Mainely-style banner) */
.c-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(82vh, 760px); }
.c-hero__text { padding: clamp(40px, 5vw, 80px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.c-hero__text .lead { margin-top: 34px; font-size: 19px; }
.c-hero__media { position: relative; min-height: 420px; }
.c-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
@media (max-width: 900px) { .c-hero { grid-template-columns: 1fr; min-height: 0; } .c-hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; } }

/* Big marquee */
.dir-c .marquee { background: var(--olive); border-color: rgba(244,238,230,.14); padding-block: 30px; }
.dir-c .marquee span { color: var(--linen); font-size: clamp(36px, 5.6vw, 84px); font-weight: 400; letter-spacing: .1em; }
.dir-c .marquee span::after { color: var(--wood-soft); }

/* Product cards on olive */
.dir-c .card__line { color: var(--wood-soft); }
.dir-c .card__name { color: var(--linen); }
.dir-c .card__price { color: var(--stone-2); }
.dir-c .arrow { border-color: var(--linen); color: var(--linen); }
.dir-c .arrow:hover { background: var(--linen); color: var(--olive-deep); }

/* Ritual with giant numerals */
.c-ritual { background: var(--olive); }
.c-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(48px, 6vw, 88px); }
.c-step { border-top: 1px solid rgba(244,238,230,.25); padding-top: 22px; }
.c-step .num { font-family: var(--display); font-weight: 400; font-size: clamp(96px, 12vw, 190px); line-height: .85; color: var(--wood-soft); display: block; }
.c-step h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: .16em; text-transform: uppercase; font-weight: 400; margin-top: 18px; }
.c-step p { margin-top: 10px; color: var(--stone-2); font-size: 17px; }
.c-step .link { display: inline-block; margin-top: 20px; }
@media (max-width: 800px) { .c-steps { grid-template-columns: 1fr; } }

/* Big quote */
.c-quote { text-align: center; max-width: 1100px; margin: 0 auto; }
.c-quote blockquote { margin: 28px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; color: var(--linen); }
.c-quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--wood-soft); }
.dir-c .quote-dots button { background: rgba(244,238,230,.25); }
.dir-c .quote-dots button.on { background: var(--linen); }
.dir-c .placeholder-note { color: var(--stone-2); }

/* Collections rows on olive, edge to edge */
.dir-c .rows--bleed .row { background: var(--olive); }
.dir-c .rows--bleed .row:nth-child(even) .row__text { background: #45432D; }
.dir-c .row__text p { color: var(--stone-2); }
.dir-c .row__text .meta { color: var(--wood-soft); }
.dir-c .row__text .h2 { font-size: clamp(36px, 4.4vw, 64px); text-transform: uppercase; letter-spacing: .1em; font-weight: 400; }

/* Story */
.dir-c .story-b__text { max-width: 1000px; }
.dir-c .story-b__text p { font-size: 19px; max-width: 46ch; margin-inline: auto; }

/* Retreat */
.dir-c .retreat-b { background: var(--olive); }
.dir-c .retreat-b__text { max-width: 620px; }
.dir-c .retreat-b__text p { color: var(--stone-2); }

/* Newsletter + footer */
.dir-c .newsletter { background: var(--olive); }
.dir-c .newsletter .form { border-color: var(--linen); }
.dir-c .newsletter input { color: var(--linen); }
.dir-c .newsletter input::placeholder { color: var(--stone-2); }
.dir-c .fine { color: var(--stone-2); }
.dir-c .footer { background: #2E2D1D; }
.dir-c .light .feature { background: var(--linen-2); }
.dir-c .story-b__text .signature { font-size: clamp(38px, 4vw, 52px); max-width: none; }
@media (max-width: 800px) { .rows--bleed .row__media { min-height: 0; } }

/* v5: C marquee smaller on beige; light product cards */
.dir-c .marquee { background: var(--stone); border-color: var(--line); padding-block: 22px; }
.dir-c .marquee span { color: var(--olive); font-size: clamp(22px, 2.6vw, 36px); letter-spacing: .14em; }
.dir-c .marquee span::after { color: var(--wood); }
.dir-c .light .card__line { color: var(--wood); }
.dir-c .light .card__name { color: var(--olive); }
.dir-c .light .card__price { color: var(--ink); }
.dir-c .light .arrow { border-color: var(--olive); color: var(--olive); }
.dir-c .light .arrow:hover { background: var(--olive); color: var(--linen); }

/* =========================================================
   DIRECTION C · SKINCARE COLLECTION
   ========================================================= */
.dir-c .crumbs { color: var(--stone-2); padding-top: 0; margin-bottom: 34px; }
.dir-c .crumbs a:hover { color: var(--linen); }
.c-hero--col .sub { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--wood-soft); margin-top: 18px; }
.c-hero--col .c-hero__media img { object-position: center; }

.c-steptabs { display: grid; grid-template-columns: .7fr 1fr 1fr 1fr; border: 1px solid var(--olive); margin-top: clamp(32px, 4vw, 52px); }
.c-tab {
  background: transparent; border: 0; border-left: 1px solid var(--olive); border-radius: 0;
  padding: 22px 26px; text-align: left; cursor: pointer; color: var(--olive);
  display: flex; align-items: baseline; gap: 16px; transition: background .2s, color .2s;
}
.c-tab:first-child { border-left: 0; }
.c-tab .n { font-family: var(--display); font-size: clamp(40px, 4.2vw, 68px); line-height: 1; color: var(--wood); }
.c-tab .l { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.c-tab small { margin-left: auto; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.c-tab:hover:not(.on) { background: var(--stone); }
.c-tab.on { background: var(--olive); color: var(--linen); }
.c-tab.on .n { color: var(--wood-soft); }
.c-tab.on small { color: var(--stone-2); }
@media (max-width: 760px) {
  .c-steptabs { grid-template-columns: 1fr 1fr; }
  .c-tab:nth-child(3) { border-left: 0; }
  .c-tab:nth-child(n+3) { border-top: 1px solid var(--olive); }
  .c-tab { padding: 16px 16px; gap: 10px; }
}

.dir-c .toolbar { background: var(--linen); justify-content: flex-end; margin-top: 18px; }
.dir-c .light .line-card h3, .dir-c .light .promo__text h3 { color: var(--linen); }
.dir-c .light .line-card .link { color: var(--wood-soft); }
.dir-c .light .promo .btn { background: var(--linen); color: var(--olive-deep); border-color: var(--linen); }
.dir-c .light .promo .btn:hover { background: transparent; color: var(--linen); }
.dir-c .care-tile { background: var(--stone); }
.dir-c .announce { background: var(--olive); color: var(--stone-2); }
