/* ============================================================
   Dermacure-style storefront, design system
   Palette: near-neutral warm greys + cap gold, measured from
   the product photography. Type: Archivo / Inter.
   ============================================================ */

:root {
  /* ---------------------------------------------------------
     Palette derived from the Dermacure product photography.
     Those assets measure L* 82-92 at C* 0-6, hue ~20deg: a
     near-achromatic studio world. Neutrals below sit at C* 1-2
     so the photography supplies the warmth instead of fighting
     it. The only saturated colour in the assets is the bottle
     cap gold, #c88200 (L*60 C*69 h74), so that is the accent.
     --------------------------------------------------------- */

  /* ink and text */
  --sage: #1a1a18;          /* primary ink, 16.03:1 on ground     */
  --sage-deep: #8a5a00;     /* button hover fill, 5.45:1 w/ cream */
  --ink: #1a1a18;
  --ink-soft: #3d3a36;
  --muted: #6f6862;         /* secondary text, 5.04:1 on ground   */

  /* surfaces */
  --cream: #f7f5f3;         /* page ground, L*96.6 C*1.2          */
  --surface: #ffffff;       /* cards, L*100 against photo L*86    */
  --soft: #efebe8;          /* tint band, L*93.3                  */
  --pale: #efebe8;
  --deep-pale: #e2dcd7;
  --line: rgba(26, 26, 24, 0.12);
  --line-strong: #8b827c;   /* UI component borders, 3.46:1       */

  /* accent, taken from the cap */
  --gold: #c88200;          /* surfaces and graphics, never text  */
  --gold-deep: #8a5a00;     /* gold text, 5.45:1 on ground        */
  --gold-wash: #f3e7d2;     /* chips and washes                   */

  /* semantic, deliberately not the brand accent */
  --danger: #b8483a;        /* form errors on light, 4.80:1        */
  --danger-on-dark: #f0b4a6;/* form errors on the ink panel        */        

  /* aliases so older rules keep resolving */
  --rust: #c88200;
  --rust-deep: #8a5a00;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wordmark: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-w: 800;
  --display-track: -0.035em;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Second face. The packaging wordmark is a fine high-contrast roman, so a
     serif is the authentic counterpart to the Archivo grotesque. Used only
     for the accented phrase inside a heading, never for whole headings. */
  --accent-font: "Instrument Serif", Georgia, "Times New Roman", serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;

  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--sage);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

/* WCAG 2.4.7. The resets below strip the UA ring, so it is restored
   for keyboard users only. Gold-deep measures 5.45:1 on the ground
   and 3.1:1 against the ink button fill. */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .icon-btn:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
/* on the ink CTA panel the ring needs to lift off the dark fill */
.cta :focus-visible, .drawer-foot :focus-visible { outline-color: var(--gold); }

/* skip link, WCAG 2.4.1 bypass blocks */
.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- layout ---------- */

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

section { padding-block: clamp(64px, 9vw, 130px); }

.section-tint { background: var(--soft); }
.section-pale { background: var(--pale); }

/* ---------- type ---------- */

/* Product names carry acronyms and regulated terms (SPF, PDRN, PPM) and
   ingredient proper nouns (Vitamin C). Forcing lowercase on those reads as a
   typo and misstates label wording, so name renderers opt out. Editorial
   headings keep the lowercase display treatment. */
.preserve-case, .preserve-case * { text-transform: none !important; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: var(--display-w);
  letter-spacing: var(--display-track);
  line-height: 0.92;
  text-transform: lowercase;
  margin: 0;
  font-stretch: 105%;
}

h3, h4 { letter-spacing: -0.025em; line-height: 1.02; }

h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4.8vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.1; }
h4 { font-size: 1.05rem; letter-spacing: 0.02em; }

p { margin: 0; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: "–"; opacity: 0.7; }

.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); max-width: 54ch; }

.small { font-size: 0.85rem; color: var(--muted); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(32px, 4.5vw, 62px);
}
.section-head > div { max-width: 40ch; }
.section-head .eyebrow { margin-bottom: 14px; }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--sage);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sage-deep);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 26, 24, 0.22); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--sage);
  border: 1px solid var(--line-strong);
}
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { color: var(--cream); box-shadow: none; }

.btn-light { --btn-bg: var(--cream); --btn-fg: var(--sage); }
.btn-light::after { background: var(--gold-wash); }
.btn-light:hover { color: var(--sage); }

.btn-sm { padding: 10px 18px; font-size: 0.72rem; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--sage), var(--sage));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease), gap 0.3s var(--ease);
}
.link-underline:hover { background-size: 0% 1px; gap: 14px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 245, 243, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Wordmark, outlined vector, extracted from the supplied label artwork.
   Scales cleanly at any size. */
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  height: 13px;
  width: auto;
  display: block;
}
.brand .mark { display: none; }

/* vertical lockup, as the file was supplied */
.brand-vertical img {
  height: auto;
  width: 15px;
  content: url("../img/logo-wordmark-vertical.svg");
}

/* for placement on ink or rust surfaces */
.brand-reversed img { content: url("../img/logo-wordmark-cream.svg"); }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-links a {
  position: relative;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding-block: 6px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--sage);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--sage); color: var(--cream); transform: translateY(-2px); }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 600;
  display: grid; place-items: center;
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.cart-count.is-on { transform: scale(1); }
.cart-count.pop { animation: pop 0.45s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.42); } 100% { transform: scale(1); } }

.burger { display: none; }

/* ---------- mobile nav ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  padding: 24px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav .m-top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); }
.mobile-nav .brand img, .site-footer .brand img { height: 14px; }
.mobile-nav ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 6px; }
.mobile-nav ul a {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  font-size: clamp(2.1rem, 9.5vw, 3.2rem);
  line-height: 1.06;
  display: block;
  opacity: 0;
  transform: translateY(18px);
}
.mobile-nav.is-open ul a { animation: mnav 0.6s var(--ease) forwards; }
.mobile-nav.is-open li:nth-child(1) a { animation-delay: 0.08s; }
.mobile-nav.is-open li:nth-child(2) a { animation-delay: 0.13s; }
.mobile-nav.is-open li:nth-child(3) a { animation-delay: 0.18s; }
.mobile-nav.is-open li:nth-child(4) a { animation-delay: 0.23s; }
.mobile-nav.is-open li:nth-child(5) a { animation-delay: 0.28s; }
.mobile-nav.is-open li:nth-child(6) a { animation-delay: 0.33s; }
@keyframes mnav { to { opacity: 1; transform: translateY(0); } }
.mobile-nav .m-foot { margin-top: auto; display: grid; gap: 14px; }

/* ---------- search overlay ---------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(26, 26, 24, 0.26);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel {
  background: var(--cream);
  padding: clamp(24px, 5vw, 48px) var(--gutter);
  transform: translateY(-16px);
  transition: transform 0.45s var(--ease);
  max-height: 86vh;
  overflow-y: auto;
}
.search-overlay.is-open .search-panel { transform: translateY(0); }
.search-field { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; }
.search-field:focus-within { border-bottom-color: var(--gold-deep); box-shadow: 0 2px 0 0 var(--gold-deep); }
.search-field input {
  flex: 1;
  border: 0; background: none; outline: none; /* ring drawn on .search-field below */
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  text-transform: lowercase;
}
.search-field input::placeholder { color: var(--deep-pale); }
.search-results { margin-top: 26px; display: grid; gap: 4px; }
.search-hit {
  display: flex; align-items: center; gap: 16px;
  padding: 10px; border-radius: 14px;
  transition: background 0.25s var(--ease);
}
.search-hit:hover { background: var(--soft); }
.search-hit img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; background: var(--pale); }
.search-hit .t { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; text-transform: none; font-size: 1.1rem; }

/* ---------- hero ---------- */

.hero { padding-top: clamp(28px, 4vw, 52px); padding-bottom: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(24px, 5vw, 70px); }
.hero-copy h1 { margin: 18px 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--pale);
  aspect-ratio: 5 / 6;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-card {
  position: absolute;
  left: clamp(12px, 3%, 26px);
  bottom: clamp(12px, 3%, 26px);
  right: clamp(12px, 3%, 26px);
  max-width: 340px;
  background: rgba(247, 245, 243, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 18px 40px rgba(26, 26, 24, 0.13);
}
.hero-card img { width: 68px; height: 78px; object-fit: cover; border-radius: 12px; background: var(--soft); }
.hero-card .t { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; text-transform: none; font-size: 1.05rem; line-height: 1.05; }
.hero-card .d { font-size: 0.78rem; color: var(--muted); margin: 5px 0 7px; }
.hero-card .p { font-size: 0.85rem; display: flex; gap: 8px; align-items: baseline; }
.hero-card .p s { color: var(--deep-pale); }

.marquee {
  margin-top: clamp(40px, 6vw, 72px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 18px;
  --speed: 34s;
}
.marquee-track { display: flex; gap: 46px; width: max-content; animation: slide var(--speed) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 46px;
  white-space: nowrap;
}
.marquee span::after { content: "✦"; font-size: 0.7em; opacity: 0.6; }
@keyframes slide { to { transform: translateX(-50%); } }


/* ---------- intro statement ---------- */

.statement p {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  max-width: 24ch;
}
.statement .w { display: inline-block; opacity: 0.2; transition: opacity 0.5s var(--ease); }
.statement.is-in .w { opacity: 1; }

/* ---------- product cards ---------- */

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card-media img { transform: scale(1.055); }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold-wash);
  color: var(--ink);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  z-index: 2;
}
.badge.sold { background: var(--sage); color: var(--cream); opacity: 0.92; }

.card-quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex; gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: translateY(0); }

.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.card-body .name { font-family: var(--display); font-weight: 700; letter-spacing: -0.028em; text-transform: none; font-size: 1.15rem; line-height: 1.06; }
.card-body .cat { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.price { display: flex; gap: 9px; align-items: baseline; font-size: 0.95rem; }
.price s { color: var(--deep-pale); font-size: 0.85rem; }


/* ---------- about / stats ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.about-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--pale); aspect-ratio: 4/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.stats { display: flex; gap: clamp(24px, 5vw, 60px); margin: 30px 0; flex-wrap: wrap; }
.stat .n { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 0.92; }
.stat .l { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--cream); padding: clamp(18px, 2.5vw, 26px); }
.value h4 { margin-bottom: 8px; }
.value p { font-size: 0.88rem; color: var(--muted); }

/* ---------- blog ---------- */

.post-card .post-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; background: var(--soft); }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.post-meta .tag { background: var(--pale); padding: 4px 10px; border-radius: 999px; }
.post-card h3 { margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA ---------- */

.cta { background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 90px) clamp(24px, 5vw, 72px); text-align: center; }
.cta h2 { max-width: 18ch; margin: 16px auto 0; }
.cta p { color: rgba(247, 245, 243, 0.76); max-width: 48ch; margin: 18px auto 30px; }
.cta .eyebrow { color: rgba(247, 245, 243, 0.74); }
.newsletter { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 220px;
  background: rgba(247, 245, 243, 0.10);
  border: 1px solid rgba(247, 245, 243, 0.32);
  color: var(--cream);
  border-radius: 999px;
  padding: 14px 20px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.newsletter input::placeholder { color: rgba(247, 245, 243, 0.58); }
.newsletter input:focus-visible { border-color: var(--cream); background: rgba(247, 245, 243, 0.16); outline: 2px solid var(--gold); outline-offset: 2px; }
.form-note { font-size: 0.82rem; margin-top: 14px; min-height: 20px; }
/* .form-note is a <p>, so inside .cta it would inherit that rule's 30px
   bottom margin. Reserved space for the status message stays (min-height
   prevents a jump when it appears) but the extra margin goes, so the panel
   pads evenly top and bottom. */
.cta .form-note { margin: 14px auto 0; }
.form-note.ok { color: var(--gold-wash); }
.form-note.err { color: var(--danger-on-dark); }

/* ---------- footer ---------- */

.site-footer { background: var(--pale); padding-block: clamp(48px, 6vw, 80px) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.foot-grid h5 { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; }
.foot-grid ul a { transition: opacity 0.25s var(--ease), padding-left 0.3s var(--ease); }
.foot-grid ul a:hover { opacity: 0.65; padding-left: 5px; }
.foot-bottom {
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.82rem; color: var(--muted);
}
.foot-field {
  margin-top: clamp(24px, 4vw, 46px);
  border-radius: var(--radius);
  overflow: hidden;
}
.foot-field img { width: 100%; height: auto; display: block; }

.foot-word {
  font-family: var(--wordmark);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 8vw, 6rem);
  line-height: 0.95;
  color: var(--gold);
  opacity: 0.22;
  margin-top: clamp(24px, 4vw, 46px);
  text-align: center;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  user-select: none;
}

/* ---------- cart drawer ---------- */

.drawer-scrim {
  position: fixed; inset: 0; z-index: 96;
  background: rgba(26, 26, 24, 0.38);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 97;
  width: min(430px, 92vw);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  box-shadow: -20px 0 60px rgba(26, 26, 24, 0.16);
}
.drawer.is-open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-top h3 { font-size: 1.3rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px var(--gutter); display: grid; gap: 16px; align-content: start; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px var(--gutter) 26px; display: grid; gap: 14px; }
.drawer-foot .row { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-foot .row .tot { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; font-size: 1.6rem; }

.line-item { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; }
.line-item img { width: 74px; height: 88px; object-fit: cover; border-radius: 12px; background: var(--soft); }
.line-item .li-name { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; text-transform: none; font-size: 1.05rem; line-height: 1.06; }
.line-item .li-price { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; transition: background 0.25s var(--ease); }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 26px; text-align: center; font-size: 0.85rem; }
.li-remove { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-left: 12px; text-decoration: underline; }
.li-remove:hover { color: var(--sage); }

.empty-cart { text-align: center; padding: 50px 0; color: var(--muted); }

/* ---------- toast ---------- */

.toast-stack { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 99; display: grid; gap: 10px; width: max-content; max-width: 92vw; }
.toast {
  background: var(--ink); color: var(--cream);
  padding: 13px 22px; border-radius: 999px;
  font-size: 0.85rem;
  box-shadow: 0 16px 36px rgba(26, 26, 24, 0.28);
  animation: toastIn 0.45s var(--ease);
}
.toast.out { animation: toastOut 0.35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.97); } }

/* ---------- shop page ---------- */

.page-head { padding-block: clamp(44px, 6vw, 84px) clamp(26px, 3vw, 44px); }
.page-head h1 { max-width: 16ch; margin: 14px 0 16px; }
.crumbs { font-size: 0.78rem; letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase; }
.crumbs a:hover { color: var(--sage); text-decoration: underline; }

.toolbar {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  padding-block: 18px; border-block: 1px solid var(--line);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.chip.is-on { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.sort select {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 9px 14px; background: transparent; cursor: pointer;
  font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.result-count { font-size: 0.8rem; color: var(--muted); }
.no-results { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- product detail ---------- */

.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 62px); align-items: start; }
.pdp-gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4/5; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp-thumbs button { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: var(--surface); transition: border-color 0.3s var(--ease); }
.pdp-thumbs button.is-on { border-color: var(--gold-deep); border-width: 2px; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 12px 0 14px; }
.pdp-price { display: flex; gap: 12px; align-items: baseline; font-size: 1.35rem; margin-bottom: 18px; }
.pdp-price s { font-size: 1rem; color: var(--deep-pale); }
.pdp-price .save { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--gold-wash); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.pdp-buy { display: flex; gap: 12px; align-items: center; margin: 24px 0; flex-wrap: wrap; }
.pdp-buy .qty { margin-top: 0; height: 48px; padding-inline: 4px; }
.pdp-buy .qty button { width: 36px; height: 46px; }

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; text-align: left; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; }
.acc-btn .ic { transition: transform 0.4s var(--ease); }
.acc-item.is-open .acc-btn .ic { transform: rotate(45deg); }
.acc-panel { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.acc-panel .inner { padding-bottom: 20px; color: var(--muted); font-size: 0.92rem; }
.acc-panel ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }

.ship-note { display: flex; gap: 10px; align-items: center; font-size: 0.84rem; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); }

/* ---------- article ---------- */

.article { max-width: 720px; margin-inline: auto; }
.article h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 42px 0 14px; }
.article p { margin-bottom: 18px; color: var(--ink); }
.article p.intro { font-size: 1.12rem; color: var(--muted); }
.article ul { color: var(--ink); padding-left: 20px; display: grid; gap: 8px; margin-bottom: 20px; }
.article-hero { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--soft); margin-bottom: clamp(28px, 4vw, 48px); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.pull {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; text-transform: lowercase;
  font-size: clamp(1.3rem, 2.7vw, 1.9rem); line-height: 1.1;
  border-left: 3px solid var(--gold); padding-left: 22px; margin: 34px 0;
}

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  background: transparent;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px var(--gold-wash); background: var(--surface); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field .err { font-size: 0.74rem; color: var(--danger); display: none; }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-block { display: grid; gap: 22px; }
.info-block .i h5 { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 500; }
.info-block .i p, .info-block .i a { font-family: var(--display); font-weight: 700; letter-spacing: -0.028em; font-size: 1.3rem; }
/* addresses and phone numbers keep their source casing: "NSW 2195", not "nsw 2195" */

/* ---------- 404 ---------- */

.err-page { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.err-code { font-family: var(--display); font-weight: 900; letter-spacing: -0.05em; font-size: clamp(6rem, 26vw, 18rem); line-height: 0.78; color: var(--pale); }

/* ---------- reveal ---------- */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-media { aspect-ratio: 4/5; }
  .about-grid, .pdp, .contact-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-actions > .btn { display: none; }
  .brand img { height: 13px; }
  .nav-actions { gap: 8px; }
}

@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2, .values, .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .hero-card { position: static; max-width: none; margin-top: 12px; box-shadow: none; }
  .hero-media { border-radius: var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}


/* ---------- copy-deck states ---------- */

/* product withheld pending regulatory review */
.badge.hold {
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line-strong);
}

/* price not yet confirmed: show the size instead of a fabricated number */
.price-pending { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.02em; }

/* policy pages not yet published: listed, not linked */
.pending { color: var(--deep-pale); cursor: default; }

.foot-contact {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.foot-contact p { margin-bottom: 6px; }
.foot-contact a:hover { opacity: 0.66; }

/* routine finder + routine notes cards */
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile h3 { font-size: 1.1rem; }
.tile p { color: var(--muted); font-size: 0.92rem; }
.tile .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
}

/* routine guide paths */
.path { border-top: 1px solid var(--line); padding: clamp(20px, 3vw, 30px) 0; }
.path h3 { margin-bottom: 12px; }
.path p { color: var(--muted); font-size: 0.94rem; margin-bottom: 8px; }
.path strong { color: var(--sage); font-weight: 600; }

.pair-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.pair-table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pair-table td:first-child { width: 38%; padding-right: 20px; font-weight: 500; }
.pair-table td:last-child { color: var(--muted); }

.disclaimer {
  background: var(--soft);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--gold);
}

/* PDP spec rows */
.spec { border-top: 1px solid var(--line); padding: 12px 0; display: grid; grid-template-columns: 120px 1fr; gap: 16px; font-size: 0.9rem; }
.spec dt { color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; padding-top: 2px; }
.spec dd { margin: 0; }

.hold-notice {
  background: var(--soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

@media (max-width: 620px) {
  .spec { grid-template-columns: 1fr; gap: 4px; }
  .pair-table td:first-child { width: auto; }
}


/* ---------- composed banners ----------
   The supplied banners carry their own headline, body copy and CTA baked
   into the pixels. Cropping them to a frame ratio cuts the headline off,
   so these hold native aspect ratio and are never object-fit: cover.
   Heroes are 1200x1440 (5:6), the collection band is 1120x544 (2.06:1).  */

.banner {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.banner img { width: 100%; height: auto; display: block; }
a.banner:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(26, 26, 24, 0.12); }

/* full-width landscape band */
.banner-band { max-width: 1120px; margin-inline: auto; }

/* portrait hero banner beside copy */
.banner-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}
.banner-split .banner { max-width: 520px; }

/* three routine banners, one per concern */
.routine-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(22px, 3.5vw, 48px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.routine-row .banner { max-width: 340px; }
.routine-row h3 { margin-bottom: 12px; }
.routine-row p { color: var(--muted); font-size: 0.94rem; margin-bottom: 8px; }
.routine-row strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .banner-split, .routine-row { grid-template-columns: 1fr; }
  .banner-split .banner, .routine-row .banner { max-width: 420px; }
}


/* ---------- two-tone headings ----------
   One phrase per heading shifts face, weight and tone: Archivo 800 ink
   against Instrument Serif italic in --muted (5.04:1 on the ground). The
   contrast is tonal, not chromatic, so the gold accent stays the only
   saturated colour on the site. */

.tone {
  font-family: var(--accent-font);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  /* the serif carries less negative tracking and needs a slight optical bump
     to match Archivo 800's cap height */
  letter-spacing: -0.005em;
  font-size: 1.07em;
}

/* on the ink panel the second tone has to lift, not recede */
.cta .tone { color: var(--gold-wash); }

/* the hero headline is large enough to take a wider optical size */
h1 .tone { font-size: 1.05em; }


/* pricing is issued on enquiry, so the PDP offers both routes */
.pdp-enquire {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -6px 0 22px;
}
.pdp-enquire .small { flex-basis: 100%; color: var(--muted); }
