/* ==========================================================================
   PARFUMS ÉCLECTIQUES — Main stylesheet
   --------------------------------------------------------------------------
   Built from the Brand Identity Guidelines v1.0.0 (Nov 2025):
   · Monotone base  — #FFFFFF / #232323 / #000000 (+ grey/silver tints)
   · Colour belongs to the fragrance, not the brand: each scent carries its
     own Pantone-inspired gradient (--grad) and ink colour (--ink), set inline
     on the element that shows that scent.
   · Gold foil marks La Collection Privée Olfactive.
   · Typography: Outfit (Latin), Noto Sans Thai (Thai), Noto Sans / Noto Sans
     JP (Greek & Japanese fragrance names) — all served from Google Fonts.

   Table of contents
   01. Design tokens (custom properties)
   02. Reset & base
   03. Typography helpers
   04. Layout: container, sections, grids
   05. Buttons, chips, links
   06. Header & navigation (incl. mobile menu)
   07. Home hero & page banners
   08. Cards (generic, collection, product, journal)
   09. Carousel
   10. Statistics counter
   11. Parallax band & split feature blocks
   12. Forms (contact, newsletter) & validation states
   13. Shop: filters, price table, product dialog
   14. Cart drawer & toast
   15. Journal reader dialog
   16. Map, footer, back-to-top
   17. Scroll-reveal animation
   18. Utilities & accessibility
   19. Responsive breakpoints
   20. Reduced-motion & print
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand neutrals (CI colour palette page) --- */
  --c-white: #ffffff;
  --c-charcoal: #232323;          /* primary dark ground used across the CI */
  --c-black: #000000;
  --c-graphite: #2c2c2c;          /* raised surface on charcoal */
  --c-surface: #f4f4f5;           /* pale studio-backdrop grey from product shots */
  --c-silver: #c9c9c9;            /* silver foil / hairlines on dark */
  --c-line: #e3e3e3;              /* hairline on white */
  --c-line-dark: #3b3b3b;         /* hairline on charcoal */

  /* --- Text colours (all pass WCAG AA on their intended ground) --- */
  --c-text: #232323;              /* 15.9:1 on white */
  --c-muted: #5b5b5b;             /* 6.9:1 on white */
  --c-text-inv: #ffffff;
  --c-muted-inv: #b4b4b4;         /* 8.3:1 on #232323 */

  /* --- Accents --- */
  --c-gold: #d2b06a;              /* gold foil, used on dark grounds only */
  --c-gold-ink: #8a672a;          /* gold for text on white (4.9:1) */
  --c-error: #b3261e;             /* form errors (6.5:1 on white) */
  --c-success: #1e6b3a;

  /* Default fragrance tokens, overridden inline per scent */
  --grad: linear-gradient(135deg, #e9e9e9, #9a9a9a);
  --ink: var(--c-text);

  /* --- Typography --- */
  --ff-base: "Outfit", "Noto Sans Thai", "Noto Sans", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.8vw, 4.75rem);
  --fs-num: clamp(3.5rem, 2.5rem + 5vw, 7rem);   /* oversized section numerals */
  --lh-tight: 1.1;
  --lh-base: 1.65;
  --tracking-caps: 0.14em;

  /* --- Spacing & shape (compact rhythm, per brief) --- */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(2.75rem, 5vw, 4.5rem);
  --gap: clamp(1rem, 2vw, 1.5rem);
  --radius: 4px;
  --nav-h: 72px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 0.2s;
  --dur: 0.45s;
  --dur-slow: 0.85s;

  /* --- Elevation --- */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 14px 34px -14px rgb(0 0 0 / 0.28);

  /* Focus ring colour flips per ground (see .section--dark) */
  --focus: var(--c-charcoal);

  color-scheme: light;
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;                        /* smooth in-page anchors */
  scroll-padding-top: calc(var(--nav-h) + 12px);  /* keep targets clear of fixed nav */
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Thai script needs a taller line box for stacked vowels & tone marks */
:lang(th) body,
body:lang(th) { line-height: 1.8; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Lock scrolling while the mobile menu / cart drawer is open */
body.is-locked { overflow: hidden; }

/* Visible, consistent keyboard focus (WCAG 2.4.7) */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}


/* ==========================================================================
   03. TYPOGRAPHY HELPERS
   ========================================================================== */
.h1, .h2, .h3 {
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: 0.01em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

/* Small uppercase label that sits above headings */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
}
.section--dark .eyebrow,
.section--black .eyebrow,
.banner .eyebrow,
.hero .eyebrow,
.band .eyebrow:not(.gold) { color: var(--c-muted-inv); }

.lede {
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--c-muted);
  max-width: 62ch;
  text-wrap: pretty;
}
.section--dark .lede,
.section--black .lede { color: var(--c-muted-inv); }

.prose p + p { margin-top: 1em; }
.prose p { max-width: 68ch; text-wrap: pretty; }

/* Fragrance code, e.g. ECQ-001 */
.code {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink, var(--c-muted));
}

/* Non-Latin fragrance names (Greek, Japanese) */
.alt-script { font-weight: 400; opacity: 0.9; }

/* Dictionary-entry device borrowed from CI page 3 ("eclectic, adjective") */
.definition { font-weight: 300; }
.definition__word { font-weight: 500; letter-spacing: 0.02em; }
.definition__meta { font-style: italic; opacity: 0.75; margin-inline: 0.4em; }


/* ==========================================================================
   04. LAYOUT
   ========================================================================== */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - (var(--gutter) * 2), 820px); }

/* Sections — compact vertical rhythm */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.7); }
.section--surface { background: var(--c-surface); }
.section--dark {
  background: var(--c-charcoal);
  color: var(--c-text-inv);
  --focus: var(--c-white);
}
.section--black {
  background: var(--c-black);
  color: var(--c-text-inv);
  --focus: var(--c-white);
}

/* Section heading block */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.section-head > div { max-width: 720px; }
.section-head .lede { margin-top: 0.75rem; }

/* Oversized numeral + title lockup (CI section-divider device: "01 ABOUT") */
.num-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.25rem clamp(1rem, 2.5vw, 2rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.num-head__num {
  font-size: var(--fs-num);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.03em;
}
.num-head .eyebrow { margin-bottom: 0.25rem; }

/* Card grids */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Two-column media/text split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}


/* ==========================================================================
   05. BUTTONS, CHIPS, LINKS
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-bd: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;                     /* comfortable touch target */
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn i { transition: transform var(--dur-fast) var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }  /* micro-interaction */

/* Solid charcoal (for light grounds) */
.btn--solid { --btn-bg: var(--c-charcoal); --btn-fg: var(--c-white); --btn-bd: var(--c-charcoal); }
.btn--solid:hover { --btn-bg: var(--c-black); --btn-bd: var(--c-black); }

/* Solid white (for dark grounds) */
.btn--light { --btn-bg: var(--c-white); --btn-fg: var(--c-charcoal); --btn-bd: var(--c-white); }
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--c-white); }

/* Outline — inverts on hover */
.btn--ghost:hover { --btn-bg: currentColor; }
.btn--ghost:hover > * { color: var(--c-white); }
.section--dark .btn--ghost:hover > *,
.section--black .btn--ghost:hover > *,
.hero .btn--ghost:hover > *,
.band .btn--ghost:hover > * { color: var(--c-charcoal); }

.btn[disabled],
.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Text link with animated underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link i { transition: transform var(--dur-fast) var(--ease); }
.link:hover i { transform: translateX(3px); }

/* Filter chips (Shop / Journal) */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 400;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.chip:hover { border-color: var(--c-charcoal); }
.chip[aria-pressed="true"] {
  background: var(--c-charcoal);
  border-color: var(--c-charcoal);
  color: var(--c-white);
}


/* ==========================================================================
   06. HEADER & NAVIGATION
   ========================================================================== */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--c-white);
  color: var(--c-charcoal);
  font-weight: 500;
  transform: translateY(-150%);
  transition: transform var(--dur-fast);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  color: var(--c-text-inv);
  --focus: var(--c-white);
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on the
   header itself would become the containing block of the fixed mobile menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(35 35 35 / 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: opacity var(--dur) var(--ease);
}
/* On the home page the bar starts transparent over the hero photograph */
.site-header--transparent:not(.is-scrolled):not(.menu-open)::before { opacity: 0; }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand lockup: ÉCQ mark + two-line wordmark (CI "full-body" horizontal variation) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark { width: auto; height: 34px; }
.brand__word {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255 255 255 / 0.78);
  transition: color var(--dur-fast);
}
/* Underline grows from the left on hover / current page */
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--c-white); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.25rem; }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  transition: background var(--dur-fast);
}
.icon-btn:hover { background: rgb(255 255 255 / 0.1); }

/* EN / TH language switch */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.lang-toggle span { opacity: 0.5; transition: opacity var(--dur-fast); }
.lang-toggle span[aria-current="true"] { opacity: 1; }
.lang-toggle .sep { opacity: 0.35; margin-inline: 0.2rem; }

/* Cart item counter badge */
.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  transform: scale(0);
  transition: transform var(--dur) var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* Hamburger (hidden on desktop) — three lines morph into an X */
.nav__toggle { display: none; }
.hamburger { position: relative; width: 22px; height: 14px; }
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast), top var(--dur) var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; }
.hamburger span:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }


/* ==========================================================================
   07. HOME HERO & PAGE BANNERS
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;              /* full-screen, respecting mobile UI bars */
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 5rem;
  overflow: hidden;
  text-align: center;
  color: var(--c-text-inv);
  background: var(--c-black);
  --focus: var(--c-white);
}
/* Background layer is taller than the hero so the parallax shift never reveals an edge */
.hero__bg,
.band__bg,
.banner__bg {
  position: absolute;
  inset: -12% 0;
  background-position: center;
  background-size: cover;
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgb(0 0 0 / 0.15), rgb(0 0 0 / 0.55) 75%),
    linear-gradient(180deg, rgb(0 0 0 / 0.35), transparent 30%, rgb(0 0 0 / 0.5));
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 820px;
}
.hero__mark { height: clamp(64px, 9vw, 96px); width: auto; }
.hero .h1 { font-weight: 500; }
.hero .definition { font-size: var(--fs-lg); color: rgb(255 255 255 / 0.85); max-width: 46ch; }
.hero__tagline {
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.75);
}
.hero .btn-row { justify-content: center; margin-top: 0.5rem; }

/* Scroll cue at the bottom of the hero */
.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255 255 255 / 0.75);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(currentColor, transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Inner-page banner (compact, with parallax photo) */
.banner {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(2.25rem, 5vw, 3.5rem);
  background: var(--c-charcoal);
  color: var(--c-text-inv);
  --focus: var(--c-white);
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(20 20 20 / 0.88), rgb(20 20 20 / 0.45));
}
.banner > .container { position: relative; z-index: 1; }
.banner .lede { color: rgb(255 255 255 / 0.82); margin-top: 1rem; }
.banner .h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }

.breadcrumb { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); margin-bottom: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }


/* ==========================================================================
   08. CARDS
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.section--dark .card,
.section--black .card { background: var(--c-graphite); border-color: var(--c-line-dark); }

.card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.25rem 1.5rem; flex: 1; }
.card__body > .link,
.card__body > .btn { margin-top: auto; align-self: flex-start; }
.card__title { font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.card__text { font-size: 0.975rem; color: var(--c-muted); }
.section--dark .card__text,
.section--black .card__text { color: var(--c-muted-inv); }
.card__media { position: relative; overflow: hidden; background: var(--c-surface); }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }

/* Stretch the card's main link/button over the whole card (single tab stop) */
.card__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Pillar cards (Concept · Craft · Compliance) */
.pillar { padding: 1.5rem; border-top: 2px solid currentColor; background: transparent; border-inline: 0; border-bottom: 0; border-radius: 0; }
.pillar:hover { transform: none; box-shadow: none; }
.pillar__num { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.14em; color: var(--c-muted); }
.section--dark .pillar__num { color: var(--c-muted-inv); }
.pillar .card__title { margin: 0.5rem 0 0.4rem; }

/* Collection-tier cards */
.tier { min-height: 100%; }
.tier__swatch { height: 6px; background: var(--grad); }
.tier__price { font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.06em; }
.tier__meta { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.tier--gold .tier__price { color: var(--c-gold-ink); }

/* Product cards (Shop) */
.product .card__media { aspect-ratio: 4 / 5; }
.product__bar { height: 4px; background: var(--grad); }
.product__name { font-size: 1.25rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.product__name .alt-script { display: block; font-size: 0.9rem; margin-top: 0.15rem; }
.product__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-size: var(--fs-sm); color: var(--c-muted); }
.product__price { font-weight: 500; color: var(--c-text); white-space: nowrap; }
.product__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.92);
  color: var(--c-charcoal);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product__tag--gold { background: var(--c-charcoal); color: var(--c-gold); }
.product__cta { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text); display: inline-flex; gap: 0.4rem; align-items: center; margin-top: 0.25rem; }
.product:hover .product__cta i { transform: translateX(3px); }
.product__cta i { transition: transform var(--dur-fast) var(--ease); }

/* Catalogue placeholder until a white-background shot exists */
.product__placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f6f6f7, #ececee);
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.product__placeholder svg { width: 44px; color: var(--ink); opacity: 0.55; }

/* Placeholder visual for the One-Shot Exclusive (no product yet) */
.product--placeholder .card__media {
  display: grid;
  place-items: center;
  background: var(--c-charcoal);
  color: var(--c-gold);
}
.product--placeholder .card__media svg { width: 64px; opacity: 0.9; }

/* Journal cards */
.post .card__media { aspect-ratio: 16 / 10; }
.post__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }

/* Contact info cards */
.info-card { padding: 1.5rem; gap: 0.35rem; }
.info-card i { font-size: 1.25rem; margin-bottom: 0.5rem; }
.info-card a { font-weight: 400; overflow-wrap: anywhere; }


/* ==========================================================================
   09. CAROUSEL
   ========================================================================== */
.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;             /* allow vertical page scroll, capture horizontal swipes */
}
.carousel__track {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.carousel__track.is-dragging { transition: none; }

.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: clamp(420px, 52vw, 560px);
  background: var(--c-graphite);
}
.slide__mood { position: relative; overflow: hidden; }
.slide__mood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--c-white);
  color: var(--c-text);
  --focus: var(--c-charcoal);
}
.slide__panel::before {           /* the scent's own gradient as a label strip */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--grad);
}
.slide__bottle { justify-self: center; align-self: center; width: min(180px, 60%); aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.slide__name { font-size: var(--fs-h3); font-weight: 500; line-height: 1.15; color: var(--ink); }
.slide__name .alt-script { font-size: 0.7em; }
.slide__text { font-size: 0.975rem; color: var(--c-muted); }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.carousel__buttons { display: flex; gap: 0.5rem; }
.carousel__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.carousel__btn:hover { background: var(--c-white); color: var(--c-charcoal); }
.carousel__dots { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.carousel__dot {
  width: 28px;
  height: 44px;                    /* tall hit area, slim visual bar */
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
}
.carousel__dot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: currentColor;
  opacity: 0.3;
  transition: opacity var(--dur-fast);
}
.carousel__dot[aria-current="true"]::before { opacity: 1; }


/* ==========================================================================
   10. STATISTICS COUNTER
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
}
.stat { padding: 1.25rem 0 0; border-top: 1px solid var(--c-line-dark); }
.stat__num {
  font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--c-muted-inv); }


/* ==========================================================================
   11. PARALLAX BAND & FEATURE BLOCKS
   ========================================================================== */
.band {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(420px, 70vh, 640px);
  overflow: hidden;
  color: var(--c-text-inv);
  background: var(--c-black);
  --focus: var(--c-white);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.82) 0%, rgb(0 0 0 / 0.35) 60%, rgb(0 0 0 / 0.1));
}
.band > .container { position: relative; z-index: 1; padding-block: var(--section-y); }
.band__content { max-width: 520px; display: grid; gap: 1rem; }
.band .lede { color: rgb(255 255 255 / 0.82); }

/* Fragrance feature (Collaborations & About) */
.feature { --ink: var(--c-text); }
.feature__code { color: var(--ink); }
.feature__name { font-size: var(--fs-h2); font-weight: 500; line-height: 1.05; color: var(--ink); margin: 0.25rem 0 0.75rem; }
.feature__name .alt-script { display: block; font-size: 0.5em; margin-top: 0.25rem; }
.section--dark .feature__name,
.section--black .feature__name,
.section--dark .feature__code,
.section--black .feature__code { color: var(--ink-dark, var(--c-white)); }
.feature__event { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 1rem; }
.section--dark .feature__event,
.section--black .feature__event { color: var(--c-muted-inv); }

.notes { margin-top: 1.25rem; }
.notes__title { font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; margin-bottom: 0.5rem; }
.notes__list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.notes__list li {
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 400;
}
.section--dark .notes__list li,
.section--black .notes__list li { border-color: var(--c-line-dark); }

/* Top/Middle/Base pyramid, in place of one flat chip list */
.notes--pyramid .notes__group + .notes__group { margin-top: 0.75rem; }
.notes__group-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.35rem;
}

.credit { margin-top: 1rem; font-size: var(--fs-sm); color: var(--c-muted); }
.section--dark .credit,
.section--black .credit { color: var(--c-muted-inv); }

/* Anatomy list (About → Standards) */
.anatomy { counter-reset: part; display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.anatomy li {
  counter-increment: part;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.25rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-line-dark);
}
.anatomy li::before { content: counter(part, decimal-leading-zero); grid-row: span 2; font-size: var(--fs-sm); font-weight: 500; color: var(--c-muted-inv); }
.anatomy strong { font-weight: 500; letter-spacing: 0.04em; }
.anatomy span { font-size: 0.95rem; color: var(--c-muted-inv); }

/* Large logo showcase (About → The Mark) */
.mark-showcase {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--c-line-dark);
  border-radius: 14px;
  padding: 18%;
}
.mark-showcase svg { width: 100%; height: auto; }

/* Portrait in a circle, as on CI page 9 */
.portrait { width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 20%; justify-self: center; }


/* ==========================================================================
   12. FORMS
   ========================================================================== */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label,
.field legend { font-size: var(--fs-sm); font-weight: 500; }
.field .req { color: var(--c-error); margin-left: 0.15em; }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid #c4c4c4;
  border-radius: 2px;
  background: var(--c-white);
  font-weight: 400;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: #8a8a8a; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-charcoal);
  box-shadow: 0 0 0 3px rgb(35 35 35 / 0.18);
}
.field__hint { font-size: var(--fs-sm); color: var(--c-muted); }
.field__error { display: none; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 400; color: var(--c-error); }
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: var(--c-error); }
.field.is-valid .input,
.field.is-valid .textarea { border-color: var(--c-success); }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin: 0.2rem 0 0; accent-color: var(--c-charcoal); }

/* Honeypot field — hidden from people, visible to naive bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 2px;
  font-weight: 400;
}
.form__status.is-shown { display: flex; }
.form__status--success { background: #e9f4ec; color: var(--c-success); }
.form__status--error { background: #fbeceb; color: var(--c-error); }

/* Newsletter strip */
.newsletter__inner { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 1.5rem 3rem; align-items: center; }
.newsletter__form { display: grid; gap: 0.5rem; }
.newsletter__fields { display: flex; gap: 0.5rem; }
.newsletter__fields .input { flex: 1; }
.newsletter__note { font-size: var(--fs-xs); color: var(--c-muted); }


/* ==========================================================================
   13. SHOP
   ========================================================================== */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.shop-count { font-size: var(--fs-sm); color: var(--c-muted); }
.tier-note { margin: -0.5rem 0 1.5rem; font-size: 0.975rem; color: var(--c-muted); max-width: 70ch; }

/* Formats (50 / 10 / 2 ml) */
.format .card__media { aspect-ratio: 4 / 3; }
.format__size { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }

/* Price comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-white); }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.price-table caption { text-align: left; padding: 1rem 1.25rem 0; font-size: var(--fs-sm); color: var(--c-muted); caption-side: bottom; padding-bottom: 1rem; }
.price-table th,
.price-table td { padding: 0.9rem 1.25rem; text-align: left; border-bottom: 1px solid var(--c-line); font-weight: 400; }
.price-table thead th { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.price-table tbody th { font-weight: 500; }
.price-table td.num { font-variant-numeric: tabular-nums; }

/* Product dialog (native <dialog>: focus handling & Esc come for free) */
.dialog {
  width: min(100% - 2rem, 980px);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35);
  overflow: auto;
}
.dialog::backdrop { background: rgb(0 0 0 / 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in var(--dur) var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--c-charcoal);
  box-shadow: var(--shadow-sm);
}
.dialog__close:hover { background: var(--c-charcoal); color: var(--c-white); }

.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.pd__media { position: relative; min-width: 0; background: var(--c-charcoal); }

/* Product-dialog slideshow: one photo per view on a native horizontal scroll
   (snap points), thin chevrons at the sides, dots centred below. */
.pd-gallery { position: relative; }
.pd-gallery__scroller {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  --focus: var(--c-white);
}
.pd-gallery__scroller::-webkit-scrollbar { display: none; }
.pd-gallery__scroller:focus-visible { outline-offset: -4px; }
.pd-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.pd-slide img,
.pd-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Placeholder slot until a photo exists: charcoal, the mark, the scent's colour strip */
.pd-placeholder {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  background: radial-gradient(circle at 50% 42%, rgb(255 255 255 / 0.07), transparent 60%), var(--c-charcoal);
  color: var(--c-muted-inv);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pd-placeholder svg { width: 52px; color: rgb(255 255 255 / 0.35); }
.pd-placeholder::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); opacity: 0.8; }

/* Thin chevrons at the left / right edges */
.pd-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-white);
  opacity: 0.85;
  translate: 0 -50%;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.5));
  transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease);
  --focus: var(--c-white);
}
.pd-arrow svg { width: 18px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pd-arrow--prev { left: 0.5rem; }
.pd-arrow--next { right: 0.5rem; }
.pd-arrow:hover { opacity: 1; }
.pd-arrow--prev:hover { transform: translateX(-2px); }
.pd-arrow--next:hover { transform: translateX(2px); }

/* Dots centred at the bottom; the current one is an open ring */
.pd-dots {
  position: absolute;
  inset: auto 0 0.75rem 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  pointer-events: none;
}
.pd-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  --focus: var(--c-white);
}
.pd-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-white);
  opacity: 0.75;
  translate: -50% -50%;
  box-shadow: 0 0 3px rgb(0 0 0 / 0.45);
  transition: all var(--dur-fast) var(--ease);
}
.pd-dot:hover::before { opacity: 1; }
.pd-dot[aria-current="true"]::before { width: 11px; height: 11px; background: transparent; border: 1.5px solid var(--c-white); opacity: 1; }

/* Desktop: photos fill the full height of the column beside the text */
@media (min-width: 961px) {
  .pd__media { align-self: stretch; }
  .pd-gallery,
  .pd-gallery__scroller,
  .pd-slide,
  .pd-slide img,
  .pd-placeholder { height: 100%; }
}
/* Phones: a square frame keeps the text in view */
@media (max-width: 640px) {
  .pd-slide img,
  .pd-placeholder { aspect-ratio: 1 / 1; }
}

.pd__body { position: relative; display: grid; align-content: start; gap: 0.85rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.pd__body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad); }
.pd__name { font-size: var(--fs-h2); font-weight: 500; line-height: 1.05; color: var(--ink); }
.pd__name .alt-script { display: block; font-size: 0.5em; margin-top: 0.3rem; }
.pd__story { color: var(--c-muted); }

.sizes { border: 0; margin: 0.25rem 0 0; padding: 0; }
.sizes legend { font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase; margin-bottom: 0.5rem; padding: 0; }
.sizes__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.sizes__opts:has(:nth-child(1):nth-last-child(1)) { grid-template-columns: minmax(0, 33%); } /* a single size (e.g. a 50ml-only one-shot) stays button-sized, not full width */
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-opt label {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.1rem;
  min-height: 64px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.size-opt label b { font-weight: 500; }
.size-opt label small { font-size: var(--fs-sm); color: var(--c-muted); }
.size-opt input:hover + label { border-color: var(--c-charcoal); }
.size-opt input:checked + label { border-color: var(--c-charcoal); background: var(--c-charcoal); color: var(--c-white); }
.size-opt input:checked + label small { color: var(--c-muted-inv); }
.size-opt input:focus-visible + label { outline: 2px solid var(--c-charcoal); outline-offset: 3px; }

.buy-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: 2px; }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; }
.qty button:hover { background: var(--c-surface); }
.qty output,
.qty input { width: 2.5rem; text-align: center; font-weight: 500; border: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd__small { font-size: var(--fs-sm); color: var(--c-muted); }


/* ==========================================================================
   14. CART DRAWER & TOAST
   ========================================================================== */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgb(0 0 0 / 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1101;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  color: var(--c-text);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur);
  --focus: var(--c-charcoal);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--c-line); }
.drawer__title { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.25rem; }
.drawer__foot { padding: 1.25rem; border-top: 1px solid var(--c-line); display: grid; gap: 0.75rem; }
.drawer .icon-btn:hover { background: var(--c-surface); }

.cart-empty { display: grid; place-items: center; gap: 1rem; padding: 3rem 0; text-align: center; color: var(--c-muted); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.cart-line img { width: 64px; height: 80px; object-fit: cover; border-radius: 2px; }
.cart-line__name { font-weight: 500; line-height: 1.2; color: var(--ink); }
.cart-line__meta { font-size: var(--fs-sm); color: var(--c-muted); }
.cart-line .qty { margin-top: 0.5rem; }
.cart-line .qty button { width: 36px; height: 36px; }
.cart-line__price { font-weight: 500; text-align: right; }
.cart-line__remove { display: block; margin-top: 0.5rem; margin-left: auto; padding: 0.25rem 0; border: 0; background: none; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); text-decoration: underline; min-height: 32px; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 500; }
.cart-note { font-size: var(--fs-xs); color: var(--c-muted); }

.toast {
  position: fixed;
  left: 50%;
  top: calc(var(--nav-h) + 0.75rem);
  z-index: 1200;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  max-width: calc(100% - 2rem);
  padding: 0.85rem 1.25rem;
  border-radius: 2px;
  background: var(--c-charcoal);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 400;
  box-shadow: var(--shadow-md);
  translate: -50% -12px;
  opacity: 0;
  transition: translate var(--dur) var(--ease), opacity var(--dur);
  pointer-events: none;
}
.toast.is-shown { translate: -50% 0; opacity: 1; }


/* ==========================================================================
   15. JOURNAL READER
   ========================================================================== */
.reader { width: min(100% - 2rem, 760px); }
.reader__media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.reader__body { padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1rem; }
.reader__title { font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; }
.reader__content p { color: #3c3c3c; }
.reader__content p + p { margin-top: 1em; }


/* ==========================================================================
   16. MAP, FOOTER, BACK-TO-TOP
   ========================================================================== */
.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  aspect-ratio: 16 / 10;
  background: var(--c-surface);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);     /* keep the monochrome look */
  transition: filter var(--dur-slow) var(--ease);
}
.map:hover iframe,
.map:focus-within iframe { filter: grayscale(0); }

.site-footer {
  background: var(--c-black);
  color: var(--c-muted-inv);
  padding-block: 1.1rem;
  font-size: var(--fs-sm);
  --focus: var(--c-white);
}
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.footer__row p { margin: 0; }

.social { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--c-muted-inv);
  text-decoration: none;
  transition: color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast) var(--ease);
}
.social a:hover { color: var(--c-white); background: rgb(255 255 255 / 0.08); transform: translateY(-2px); }
.social--dark a { color: var(--c-charcoal); }
.social--dark a:hover { color: var(--c-white); background: var(--c-charcoal); }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: var(--c-charcoal);
  color: var(--c-white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur), background var(--dur-fast);
  --focus: var(--c-charcoal);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-black); }
.to-top:hover i { transform: translateY(-2px); }
.to-top i { transition: transform var(--dur-fast) var(--ease); }


/* ==========================================================================
   17. SCROLL-REVEAL
   Only applied once JS has confirmed it can run (html.js), so content is
   never hidden for visitors without JavaScript.
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease) var(--d, 0s), transform var(--dur-slow) var(--ease) var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }


/* ==========================================================================
   18. UTILITIES & ACCESSIBILITY
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.muted { color: var(--c-muted); }
.gold { color: var(--c-gold); }
.divider { height: 1px; background: var(--c-line); border: 0; margin: 0; }
[hidden] { display: none !important; }


/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */

/* ---- Tablet & small laptop ---- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}

/* ---- Navigation collapses to hamburger ---- */
@media (max-width: 960px) {
  .nav__toggle { display: inline-grid; }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--c-charcoal);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links li { border-bottom: 1px solid var(--c-line-dark); }
  .nav__links a {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
  }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { font-weight: 600; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; }
}

/* ---- Phones ---- */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .brand__word { display: none; }         /* the mark alone carries the brand on small screens */
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 220px auto; }
  .slide__bottle { display: none; }
  .carousel__controls { flex-direction: column-reverse; align-items: stretch; }
  .carousel__buttons { justify-content: space-between; }
  .newsletter__fields { flex-direction: column; }
  .sizes__opts { grid-template-columns: 1fr; }
  .size-opt label { min-height: 52px; grid-template-columns: 1fr auto; align-items: center; }
  .footer__row { justify-content: center; text-align: center; }
  .num-head { grid-template-columns: 1fr; }
}

/* ---- Large screens: slightly roomier container ---- */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}


/* ==========================================================================
   20. REDUCED MOTION & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg, .band__bg, .banner__bg { transform: none !important; }
}

@media print {
  .site-header, .to-top, .newsletter, .carousel__controls, .drawer, .scrim, .map { display: none !important; }
  body { color: #000; }
  .section--dark, .section--black, .banner, .band, .hero { background: #fff !important; color: #000 !important; }
}
