/* ==========================================================================
   Afrikare Cosmetics — styles
   Ivory / charcoal / muted gold. Serif display (Cormorant Garamond), sans body (Jost).
   ========================================================================== */

:root {
  --ivory: #faf7f2;
  --cream: #f2ece3;
  --sand: #e8dfd2;
  --line: #e2d9cc;
  --ink: #141210;
  --ink-2: #3a342e;
  --muted: #6f655b;
  --gold: #9c7b52;
  --gold-soft: #c9ab83;
  --white: #ffffff;
  --success: #2f5d46;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: .01em;
}
.link-underline {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-underline:hover { background-size: 40% 1px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 34px;
  border: 1px solid var(--ink);
  font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  background: transparent; border-radius: 0;
}
.btn svg { font-size: 18px; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover:not(:disabled) { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; font-size: 22px;
  position: relative;
}
.icon-btn:hover { color: var(--gold); }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink); color: #eae3d8;
  text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: 10px var(--gutter);
}
.announce span { margin: 0 .6em; color: var(--gold-soft); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .96);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

.header__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter) 6px;
}
.menu-toggle { justify-self: start; visibility: hidden; }
.header__actions { justify-self: end; display: flex; gap: 2px; }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__word {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em;
}
.logo__sub {
  margin-top: 6px; font-size: 9.5px; font-weight: 500;
  letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-right: -.5em;
}
.logo--light .logo__sub { color: #bdb3a6; }

.site-nav ul {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px;
  padding: 10px var(--gutter) 14px;
}
.site-nav a {
  font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.bag-btn__count, .drawer__count {
  position: absolute; top: 6px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--ink); color: var(--white);
  font-size: 10px; font-weight: 500; line-height: 17px; text-align: center;
}
.drawer__count { position: static; display: inline-block; margin-left: 6px; vertical-align: middle; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- hero ---------- */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(40px, 6vw, 88px);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -.005em;
  margin-bottom: 24px;
}
.hero__lede { max-width: 30ch; font-size: 1.08rem; color: var(--ink-2); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media {
  background: var(--cream);
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1.6s var(--ease); }
.hero__media:hover img { transform: scale(1.03); }

/* ---------- values strip ---------- */
.values { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values ul {
  max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.values li { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.values svg { font-size: 28px; color: var(--gold); stroke-width: 1.1; flex: none; }
.values span { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- sections ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }
.section__head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }

/* shop by need */
.needs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need { position: relative; display: block; overflow: hidden; background: var(--white); aspect-ratio: 3 / 4; }
.need img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.need::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,18,16,.62)); }
.need:hover img { transform: scale(1.05); }
.need__label {
  position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: var(--white);
  font-family: var(--serif); font-size: 1.55rem; line-height: 1.1;
}
.need__label small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }

/* ---------- shop ---------- */
.shop__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.tabs { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.tab {
  border: 0; background: none; padding: 10px 14px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  position: relative;
}
.tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); }
.tab[aria-pressed="true"]::after { transform: scaleX(1); }

.shop__tools { display: flex; gap: 10px; flex-wrap: wrap; }
.field { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white); padding: 0 12px; height: 42px; }
.field svg { font-size: 16px; color: var(--muted); }
.field input, .field select { border: 0; background: transparent; outline: none; height: 100%; font-size: 13px; letter-spacing: .04em; }
.field--search input { width: 170px; }
.field:focus-within { border-color: var(--ink); }
.shop__count { margin: 18px 0 26px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(18px, 2.4vw, 32px);
}
.grid-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--muted); }

.card { display: flex; flex-direction: column; text-align: center; }
.card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--white); aspect-ratio: 4 / 5; overflow: hidden;
}
.card__media picture, .card__media img { width: 100%; height: 100%; }
.card__media img { mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.card__media img.fit-cover { object-fit: cover; }
.card__media img.fit-contain { object-fit: contain; padding: 6%; }
.card:hover .card__media img { transform: scale(1.045); }
.card__quick {
  position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 10px); opacity: 0;
  background: rgba(255,255,255,.92); padding: 9px 18px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card__media:hover .card__quick, .card__media:focus-visible .card__quick { opacity: 1; transform: translate(-50%, 0); }
.card__flag {
  position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--white);
  padding: 5px 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
}
.card__body { padding: 22px 6px 0; display: flex; flex-direction: column; flex: 1; }
.card__name { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; font-weight: 500; }
.card__name a:hover { color: var(--gold); }
.card__tagline { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--muted); }
.card__price { margin: auto 0 18px; padding-top: 12px; font-size: 13.5px; letter-spacing: .08em; }
.card__add { min-height: 46px; max-width: 260px; margin: 0 auto; }

/* branded tile for products without a photo */
.tile {
  width: 100%; height: 100%; aspect-ratio: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 10%; text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--cream) 70%),
    var(--cream);
  color: var(--ink-2);
}
.tile__mark {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold-soft); color: var(--gold);
  font-family: var(--serif); font-size: 2rem; line-height: 1;
}
.tile__brand { font-size: 10px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-right: -.42em; }
.tile__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; max-width: 16ch; }
.line__media .tile { padding: 6px; gap: 0; }
.line__media .tile__mark { width: 34px; height: 34px; font-size: 1.1rem; }
.line__media .tile__brand, .line__media .tile__name { display: none; }

/* ---------- how ---------- */
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.how__steps li { padding: 34px clamp(16px, 3vw, 40px); text-align: center; border-right: 1px solid var(--line); }
.how__steps li:last-child { border-right: 0; }
.how__num { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.how__steps h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.how__steps p { color: var(--ink-2); max-width: 30ch; margin: 0 auto; }

/* ---------- story ---------- */
.story {
  max-width: var(--wrap); margin: clamp(64px, 9vw, 120px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--cream);
}
.story__media { background: var(--white); min-height: 420px; overflow: hidden; }
.story__media picture, .story__media img { width: 100%; height: 100%; }
.story__media img { object-fit: cover; mix-blend-mode: multiply; }
.story__text { padding: clamp(36px, 6vw, 88px); align-self: center; }
.story__text .section__title { margin-bottom: 22px; }
.story__text p { color: var(--ink-2); margin-bottom: 28px; max-width: 46ch; }

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__grid > div { padding: 34px 26px; text-align: center; border-right: 1px solid var(--line); }
.why__grid > div:last-child { border-right: 0; }
.why__grid h3 { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.why__grid p { color: var(--ink-2); font-size: .95rem; }

/* ---------- share ---------- */
.share {
  max-width: 760px; margin: clamp(64px, 9vw, 120px) auto 0; padding: 0 var(--gutter);
  text-align: center;
}
.share .section__title { margin-bottom: 16px; }
.share p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 28px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.contact__card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 140px; padding: 24px; text-align: center;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13px; letter-spacing: .06em; transition: border-color .3s;
}
.contact__card svg { font-size: 26px; color: var(--gold); stroke-width: 1.2; }
a.contact__card:hover, .contact__card a:hover { border-color: var(--ink); color: var(--gold); }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(72px, 10vw, 130px); background: var(--ink); color: #d9d1c5; }
.footer__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 34px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px;
}
.footer__brand .logo { align-items: flex-start; color: var(--white); margin-bottom: 14px; }
.footer__brand .logo__word, .footer__brand .logo__sub { margin-right: 0; }
.footer__brand p:not(.logo) { max-width: 34ch; font-size: .95rem; color: #bdb3a6; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.site-footer nav a { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--gold-soft); }
.footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #2d2925; font-size: 12px; color: #9a9086; letter-spacing: .04em; }

/* ---------- layers: quick view + drawer ---------- */
.layer { position: fixed; inset: 0; z-index: 100; }
.layer[hidden] { display: none; }
.layer__backdrop { position: absolute; inset: 0; background: rgba(20, 18, 16, .45); opacity: 0; transition: opacity .3s var(--ease); }
.layer.is-open .layer__backdrop { opacity: 1; }
.layer__close { position: absolute; top: 10px; right: 10px; z-index: 2; }

.qv__panel {
  position: absolute; left: 50%; top: 50%;
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--ivory);
  transform: translate(-50%, -46%); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.qv.is-open .qv__panel { transform: translate(-50%, -50%); opacity: 1; }
.qv__body { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { background: var(--white); aspect-ratio: 4 / 5; }
.qv__media picture, .qv__media img { width: 100%; height: 100%; }
.qv__media img { mix-blend-mode: multiply; }
.qv__media img.fit-cover { object-fit: cover; }
.qv__media img.fit-contain { object-fit: contain; padding: 5%; }
.qv__info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.qv__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.qv__tagline { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.qv__price { margin: 18px 0 4px; font-size: 1.05rem; letter-spacing: .06em; }
.qv__note { font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.qv__note[hidden] { display: none; }
.qv__desc { margin-top: 14px; color: var(--ink-2); }
.qv__size { margin-top: 16px; font-size: 13px; letter-spacing: .06em; color: var(--ink-2); }
.qv__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.qv__actions .btn { flex: 1; min-width: 180px; }
.qv__benefits { margin-top: 24px; display: grid; gap: 6px; }
.qv__benefits li { position: relative; padding-left: 20px; font-size: .95rem; color: var(--ink-2); }
.qv__benefits li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.qv__more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.qv__more summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.qv__more summary::-webkit-details-marker { display: none; }
.qv__more summary::after { content: "+"; font-size: 16px; line-height: 1; }
.qv__more[open] summary::after { content: "–"; }
.qv__more p { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
.qv__small { margin-top: 22px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* option pills */
.opts { border: 0; margin: 20px 0 0; padding: 0; }
.opts__legend { padding: 0; margin-bottom: 10px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.opts__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-size: 13px; letter-spacing: .03em; transition: border-color .2s, background .2s, color .2s;
}
.opt:hover { border-color: var(--ink); }
input:checked + .opt { background: var(--ink); color: var(--white); border-color: var(--ink); }
input:focus-visible + .opt { outline: 2px solid var(--gold); outline-offset: 2px; }

/* quantity */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); height: 50px; }
.qty__btn { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; font-size: 16px; }
.qty__btn:hover { color: var(--gold); }
.qty__value { min-width: 28px; text-align: center; font-size: 14px; }
.qty--sm { height: 34px; border-color: var(--line); }
.qty--sm .qty__btn { width: 32px; font-size: 13px; }

/* drawer */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: -20px 0 50px rgba(20,18,16,.08);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-size: 1.7rem; }
.drawer__lines { flex: 1; overflow-y: auto; padding: 8px 26px; }
.bag__empty { padding: 48px 0; text-align: center; display: grid; gap: 16px; justify-items: center; color: var(--ink-2); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__media { background: var(--white); aspect-ratio: 4 / 5; overflow: hidden; }
.line__media picture, .line__media img { width: 100%; height: 100%; }
.line__media img { object-fit: contain; mix-blend-mode: multiply; }
.line__name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; }
.line__variant { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.line__unit { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.line__row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.line__remove { border: 0; background: none; padding: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--ink); }
.line__total { font-size: 13.5px; white-space: nowrap; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 26px 22px; background: var(--white); }
.order-details { margin-bottom: 14px; }
.order-details summary { cursor: pointer; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.field-row { display: grid; gap: 4px; margin-top: 10px; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.field-row input, .field-row textarea { border: 1px solid var(--line); background: var(--ivory); padding: 10px 12px; font-size: 14px; color: var(--ink); resize: vertical; border-radius: 0; }
.field-row input:focus, .field-row textarea:focus { outline: none; border-color: var(--ink); }
.order-details__hint { margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.drawer__total strong { font-weight: 500; font-size: 15px; letter-spacing: .04em; text-transform: none; }
.drawer__note { font-size: 12px; color: var(--gold); margin-bottom: 8px; }
.drawer__note[hidden], .drawer__warn[hidden] { display: none; }
.btn--wa { margin-top: 12px; }
.drawer__warn { margin-top: 10px; font-size: 12.5px; color: #8a3b2e; }
.drawer__small { margin-top: 10px; font-size: 11.5px; color: var(--muted); text-align: center; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white); padding: 14px 22px;
  font-size: 13px; letter-spacing: .04em; max-width: calc(100vw - 32px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- about page ---------- */
.page-hero { max-width: 880px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gutter) 0; text-align: center; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
.prose { max-width: 720px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) 0; }
.prose p { font-size: 1.08rem; color: var(--ink-2); margin-bottom: 1.4em; }
.prose .pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3;
  color: var(--ink); text-align: center; margin: 1.6em 0; padding: 1em 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.prose h2 { font-family: var(--serif); font-size: 2rem; margin: 1.6em 0 .6em; }
.about-media { max-width: var(--wrap); margin: clamp(40px, 6vw, 80px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-media picture { background: var(--white); aspect-ratio: 4 / 5; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.center { text-align: center; margin-top: 40px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }
.notfound h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 16px; }
.notfound p { color: var(--ink-2); margin-bottom: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .needs__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid > div:nth-child(2) { border-right: 0; }
  .why__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .values ul { grid-template-columns: repeat(2, 1fr); }
  .values li { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .menu-toggle { visibility: visible; }
  .header__inner { padding: 12px var(--gutter); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .45s var(--ease);
  }
  .site-nav.is-open { max-height: 480px; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 2px; padding: 12px var(--gutter) 22px; }
  .site-nav a { display: inline-block; padding: 12px 0; font-size: 12.5px; }
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__text { text-align: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .story { grid-template-columns: 1fr; }
  .story__media { min-height: 300px; }
  .how__steps { grid-template-columns: 1fr; }
  .how__steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .qv__body { grid-template-columns: 1fr; }
  .qv__media { aspect-ratio: 1 / 1; }
  .footer__inner { grid-template-columns: 1fr; }
  .site-footer nav ul { justify-content: flex-start; }
  .about-media { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .announce { font-size: 10px; letter-spacing: .14em; }
  .logo__word { font-size: 1.45rem; letter-spacing: .26em; margin-right: -.26em; }
  .logo__sub { font-size: 8.5px; }
  .values ul { grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px var(--gutter); }
  .values span { font-size: 9.5px; letter-spacing: .12em; }
  .values svg { font-size: 22px; }
  .needs__grid { gap: 10px; }
  .need__label { left: 12px; right: 12px; bottom: 12px; font-size: 1.2rem; }
  .need__label small { font-size: 9px; letter-spacing: .12em; }
  .shop__bar { flex-direction: column; align-items: stretch; }
  .tabs { justify-content: center; }
  .tab { padding: 8px 9px; font-size: 10.5px; letter-spacing: .14em; }
  .tab::after { left: 9px; right: 9px; }
  .shop__tools { justify-content: center; }
  .field--search { flex: 1; }
  .field--search input { width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 34px 12px; }
  .card__name { font-size: 1.08rem; }
  .card__tagline { font-size: .9rem; }
  .card__price { font-size: 12.5px; margin-bottom: 12px; }
  .card__add { min-height: 42px; padding: 0 8px; font-size: 10px; letter-spacing: .14em; }
  .card__quick { display: none; }
  .tile__mark { width: 44px; height: 44px; font-size: 1.4rem; }
  .tile__name { font-size: 1.05rem; }
  .why__grid { grid-template-columns: 1fr; }
  .why__grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .why__grid > div:last-child { border-bottom: 0; }
  .qv__panel { top: auto; bottom: 0; left: 0; width: 100vw; max-height: 92vh; transform: translateY(100%); }
  .qv.is-open .qv__panel { transform: none; }
  .about-media { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .header__inner { padding-left: 10px; padding-right: 10px; }
  .icon-btn { width: 36px; }
  .logo__word { font-size: 1.25rem; letter-spacing: .2em; margin-right: -.2em; }
  .logo__sub { letter-spacing: .36em; margin-right: -.36em; }
}

/* ---------- bag drawer additions ---------- */
.drawer__small svg { font-size: 14px; vertical-align: -2px; margin-right: 4px; }
.drawer__small--left { text-align: left; margin: 0 0 12px; }
.link-underline--sm { font-size: 10.5px; letter-spacing: .14em; padding-bottom: 2px; }
#checkout.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- checkout ---------- */
.page-hero--tight { padding-bottom: 8px; }
.checkout__empty { text-align: center; padding: 48px var(--gutter); display: grid; gap: 20px; justify-items: center; color: var(--ink-2); }
.checkout__empty[hidden], .checkout__layout[hidden] { display: none; }
.checkout__layout {
  max-width: 1120px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--gutter) 0;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start;
}
.fs { border: 0; margin: 0 0 28px; padding: 0; }
.fs legend { padding: 0; margin-bottom: 6px; font-family: var(--serif); font-size: 1.6rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.checkout .field-row { margin-top: 14px; }
.checkout .field-row input, .checkout .field-row select {
  border: 1px solid var(--line); background: var(--white); padding: 12px 14px; font-size: 15px; color: var(--ink);
  border-radius: 0; width: 100%; height: 48px;
}
.checkout .field-row input:focus, .checkout .field-row select:focus { outline: none; border-color: var(--ink); }
.checkout .field-row input:user-invalid, .checkout .field-row select:user-invalid { border-color: #a5483a; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.link-inline { text-decoration: underline; text-underline-offset: 3px; }
.checkout__error { background: #fbeeea; color: #8a3b2e; border-left: 2px solid #a5483a; padding: 12px 14px; margin-bottom: 20px; font-size: 14px; }
.checkout__error[hidden] { display: none; }
.checkout__secure { margin-top: 14px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.checkout__secure svg { font-size: 16px; flex: none; margin-top: 2px; color: var(--gold); }
.checkout__summary { background: var(--cream); padding: clamp(22px, 3vw, 34px); position: sticky; top: 130px; }
.checkout__summary h2 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.sum-lines { border-top: 1px solid var(--line); }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sum-line__media { position: relative; background: var(--white); aspect-ratio: 1; }
.sum-line__media picture, .sum-line__media img { width: 100%; height: 100%; }
.sum-line__media img { object-fit: contain; mix-blend-mode: multiply; }
.sum-line__qty { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 11px; line-height: 20px; text-align: center; padding: 0 5px; }
.sum-line__name { font-family: var(--serif); font-size: 1.08rem; line-height: 1.2; }
.sum-line__variant { font-size: 12.5px; color: var(--muted); }
.sum-line__total { font-size: 13.5px; white-space: nowrap; }
.sum-totals { margin: 16px 0 22px; }
.sum-totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.sum-totals dt { color: var(--ink-2); }
.sum-totals dd { margin: 0; }
.sum-totals__grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; font-size: 16px !important; }
.sum-totals__grand dt { color: var(--ink); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; align-self: center; }
.sum-totals__grand dd { font-weight: 500; }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 860px) {
  .checkout__layout { grid-template-columns: 1fr; }
  .checkout__summary { position: static; order: -1; }
}
@media (max-width: 560px) {
  .row2 { grid-template-columns: 1fr; }
}

/* Short screens: let the whole bag panel scroll instead of squashing the item list */
@media (max-height: 640px) {
  .drawer__panel { overflow-y: auto; }
  .drawer__lines { flex: 0 0 auto; overflow: visible; }
}

/* Story section: lifestyle photo, shown as-is and focused on the face/serum */
.story__media img { mix-blend-mode: normal; object-position: 50% 35%; }

/* ---------- Our story (expandable) ---------- */
.story__more summary { list-style: none; cursor: pointer; display: block; }
.story__more summary::-webkit-details-marker { display: none; }
.story__more summary .eyebrow { display: block; }
.story__more summary .section__title { display: block; margin-bottom: 22px; }
.story__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.story__toggle::after { content: "+"; font-size: 16px; line-height: 1; letter-spacing: 0; }
.story__more[open] .story__toggle::after { content: "–"; }
.story__close, .story__more[open] .story__open { display: none; }
.story__more[open] .story__close { display: inline; }
.story__more summary:hover .story__toggle { color: var(--gold); }
.story__body { padding-top: 26px; animation: storyIn .5s var(--ease); }
.story__body p { color: var(--ink-2); margin-bottom: 1.1em; max-width: 52ch; }
.story__body p:last-child { margin-bottom: 0; }
@keyframes storyIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Footer credit */
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__credit a { color: #d9d1c5; border-bottom: 1px solid #5a524a; padding-bottom: 1px; transition: color .2s, border-color .2s; }
.footer__credit a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
