/* Coffee Majesty: main stylesheet (v0.4 redesign)
 * Brand colours and type come from the brand pack (02-website/code/brand.css and the brand guide).
 * Layout follows a catalogue-first structure: top bar, category menu, brand tiles, category tiles,
 * service panels and product rows. See /styleguide/ on local and staging.
 *
 * Shape language: 6 px controls, 14 px cards, 24 px panels. Gold is used for hairlines, rings and
 * ornaments; small gold text uses --cm-gold-text (light backgrounds) or --cm-gold-light (dark).
 */

/* Fonts: served from this site, Latin subset. SIL Open Font License, see fonts/OFL-*.txt */
/* Fonts: served from this site, Latin subset. SIL Open Font License, see fonts/OFL-*.txt */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jost-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ----------------------------------------------------------------- Tokens */
:root {
  /* Brand colours (brand pack) */
  --cm-espresso: #24140D;      /* text, dark backgrounds, main buttons */
  --cm-espresso-deep: #1A0E08; /* button hover */
  --cm-ivory: #F7F0E3;         /* text on dark, soft panels */
  --cm-paper: #FBF8F2;         /* page background */
  --cm-gold: #B48B40;          /* lines, borders, ornament; 3.1:1 on white, so no small text */
  --cm-gold-light: #D2B889;    /* gold on dark backgrounds */
  --cm-gold-text: #8C6828;     /* small gold text and links on white and paper (4.8:1) */
  --cm-cocoa: #66544A;         /* secondary text */
  --cm-muted: var(--cm-cocoa); /* the brand pack's name for cocoa */

  /* Added for the website */
  --cm-white: #FFFFFF;         /* header, cards, product photos (shot on white) */
  --cm-line: #E6DCC9;          /* hairlines and card borders */
  --cm-card-line: #ECE4D6;     /* product card border */
  --cm-sand: #F1E8D8;          /* second soft panel colour */
  --cm-cream: #FAF6EE;         /* placeholder photo background */
  --cm-gold-deep: #7A5A20;     /* small gold text on ivory and sand (5.2:1 or more) */
  --cm-espresso-raised: #2C1810; /* gradients on dark sections */
  --cm-espresso-glow: #4A2D1E;   /* warm glow on dark accents; ivory 11:1, light gold 6.5:1 */
  --cm-cream-deep: #F3E7D3;    /* lower edge of light gradients; cocoa 5.9:1, deep gold 5.2:1 */
  --cm-latte: #EFE2CC;         /* rental banner; cocoa 5.6:1, espresso 13.9:1 */
  --cm-icon: #B48B40;          /* line illustrations and decorative icons (gold) */
  --cm-icon-soft: #C6A66C;     /* large placeholder drawings in product photos (decorative) */
  --cm-field-border: #9A8977;  /* form fields, 3.4:1 on white */
  --cm-on-dark-soft: #DDD2BF;  /* secondary text on espresso */
  --cm-on-dark-line: rgba(210, 184, 137, 0.22); /* hairlines on dark */
  --cm-panel-gold: #74551C;    /* kept for the style guide */
  --cm-ill: #A8957F;           /* line illustrations on white (decorative) */
  --cm-instock: #293D32;   --cm-instock-bg: #E8F0EB; /* v1.3: the client's forest; 10 : 1 on its tint */
  --cm-preorder: #74551C;  --cm-preorder-bg: #F5ECD8;
  --cm-out: #66544A;       --cm-out-bg: #EFE8E0;
  --cm-error: #A3341F;     --cm-error-bg: #FBEAE6;
  --cm-whatsapp: #1FA855;  --cm-whatsapp-hover: #178F47; /* floating button only */
  --cm-whatsapp-mark: #25D366;                         /* the WhatsApp icon on dark buttons */

  /* v1.3: the client's two greens, used very little: thin rings, a few small icon circles, stock labels.
     Backgrounds, buttons, headings and the footer stay in the brand colours. */
  --cm-forest: #293D32;        /* small green text and icons; 11.6 : 1 on white */
  --cm-sage: #A3C2B1;          /* thin rings only (decorative), never text: 1.9 : 1 on white */
  --cm-sage-tint: #EEF4F0;     /* small icon circles; forest 10.4 : 1 */

  /* Gold from the logo's foil gradient: ornaments only, never behind small text */
  --cm-foil: linear-gradient(135deg, #F4E3B0 0%, #DAB76D 24%, #B88E44 50%, #E3C785 76%, #A47C37 100%);

  /* Type */
  --cm-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --cm-text: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
  --fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);   /* 56 px, brand guide */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);   /* 40 px, brand guide */
  --fs-display: clamp(2.5rem, 1.5rem + 3.6vw, 4.35rem); /* home hero only */
  --fs-h3: 1.5rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* Layout and shape */
  --container: 1280px;
  --gutter: clamp(1rem, 3.5vw, 2rem);
  --radius: 6px;
  --radius-card: 14px;
  --radius-box: 24px;
  --shadow-sm: 0 1px 2px rgba(36, 20, 13, 0.05);
  --shadow-card: 0 1px 2px rgba(36, 20, 13, 0.04), 0 18px 40px -18px rgba(36, 20, 13, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(26, 14, 8, 0.45);
  --shadow-soft: 0 1px 2px rgba(36, 20, 13, 0.04), 0 22px 50px -28px rgba(120, 86, 40, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-height: 68px;
  --mobile-bar: 0px;
}

@media (min-width: 768px) {
  :root { --header-height: 84px; }
}
@media (max-width: 767.98px) {
  :root { --mobile-bar: 64px; }
}

/* ------------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  padding-bottom: calc(var(--mobile-bar) + env(safe-area-inset-bottom));
  background: var(--cm-paper);
  color: var(--cm-espresso);
  font-family: var(--cm-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, .h1, .h2, .h3 {
  margin: 0 0 0.5em;
  font-family: var(--cm-display);
  font-weight: 600;
  font-variant-numeric: lining-nums; /* Cormorant's default old-style figures make "1 kg" read as "I kg" */
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--cm-gold-text); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--cm-espresso); }

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

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

::selection { background: var(--cm-gold-light); color: var(--cm-espresso); }

code {
  padding: 0.1em 0.35em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--cm-ivory);
  border-radius: 4px;
}

/* ---------------------------------------------------------------- Helpers */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--cm-espresso);
  color: var(--cm-ivory);
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--cm-ivory); }

.icon { display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -0.25em; }
.icon--lg { width: 2.25rem; height: 2.25rem; }
.ill { display: block; flex: none; stroke-width: 1.5; } /* line weight for the drawings in partials/illustrations.php */

.label {
  margin: 0 0 1rem;
  font-family: var(--cm-text);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cm-cocoa);
}

/* Section eyebrow: a short gold rule, then small capitals */
.eyebrow {
  display: block;
  margin: 0 0 0.9rem;
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--eyebrow, var(--cm-gold-text));
}
.eyebrow::before { content: ""; display: inline-block; width: 2rem; height: 1px; margin-right: 0.85rem; vertical-align: 0.3em; background: currentColor; }
/* v0.7: a rule ending in a small diamond, as on either side of "Bangladesh" in the wordmark */
@supports ((mask-image: url("x.svg")) or (-webkit-mask-image: url("x.svg"))) {
  .eyebrow::before {
    width: 2.625rem;
    height: 7px;
    vertical-align: 0.18em;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 7'%3E%3Cpath d='M0 3.5h33' stroke='%23000'/%3E%3Cpath d='M37.5.5l3 3-3 3-3-3z'/%3E%3C/svg%3E") 0 50% / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 7'%3E%3Cpath d='M0 3.5h33' stroke='%23000'/%3E%3Cpath d='M37.5.5l3 3-3 3-3-3z'/%3E%3C/svg%3E") 0 50% / 100% 100% no-repeat;
  }
}
.eyebrow--on-dark { color: var(--cm-gold-light); }

.small { font-size: var(--fs-small); }

/* "To confirm" marker for details still missing (local and staging only) */
.tbc {
  display: inline-block;
  padding: 0 0.45em;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  max-width: 100%;
  color: var(--cm-gold-text);
  background: rgba(180, 139, 64, 0.08);
  border: 1px dashed var(--cm-gold);
  border-radius: 4px;
}

/* ---------------------------------------------------------------- Top bar */
.topbar {
  font-size: 0.8125rem;
  color: var(--cm-cocoa);
  background: var(--cm-ivory);
  border-bottom: 1px solid var(--cm-line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: 38px; padding-block: 0.35rem; }
.topbar__text { margin: 0; }
.topbar__sep { margin-inline: 0.6rem; color: var(--cm-gold); }
.topbar a { color: var(--cm-espresso); text-decoration: none; }
.topbar a:hover { color: var(--cm-gold-deep); }
.topbar__links { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--cm-gold-text); }
.topbar .tbc { color: var(--cm-gold-deep); }
@media (max-width: 767.98px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__links { display: none; }
  .topbar__text.has-call .topbar__tagline, .topbar__text.has-call .topbar__sep { display: none; }
}

/* ----------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--cm-line);
  transition: box-shadow 0.25s var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); }
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -16px rgba(36, 20, 13, 0.25); }

/* Phones and tablets: menu button, centred logo, search */
.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--header-height);
}
.site-logo { display: flex; align-items: center; gap: 0.55rem; justify-self: center; text-decoration: none; }
/* Seal beside the client's wordmark: 52 px high on phones, 56 px on tablets, 64 px on desktop */
.site-logo__seal img { display: block; width: 52px; height: 52px; transition: transform 0.6s var(--ease); }
.site-logo__word { position: relative; display: block; }
.site-logo__word img { display: block; width: auto; height: 50px; }
.site-logo:hover .site-logo__seal img { transform: rotate(-8deg) scale(1.04); }
/* A gold shine crosses the wordmark once on load and again on hover (masked to the letters). */
@supports ((mask-image: url("x.svg")) or (-webkit-mask-image: url("x.svg"))) {
  .site-logo__word::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(180, 139, 64, 0) 38%, rgba(203, 165, 89, 0.95) 47%, rgba(255, 236, 190, 1) 50%, rgba(203, 165, 89, 0.95) 53%, rgba(180, 139, 64, 0) 62%) no-repeat;
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-mask: url('../brand/wordmark-espresso.svg') center / contain no-repeat;
    mask: url('../brand/wordmark-espresso.svg') center / contain no-repeat;
    pointer-events: none;
    animation: cm-shine 2.2s 0.9s var(--ease) both;
  }
  .site-logo:hover .site-logo__word::after { animation: cm-shine-again 1.5s var(--ease) both; }
}
@keyframes cm-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes cm-shine-again { from { background-position: 100% 0; } to { background-position: 0 0; } }

.nav-toggle {
  display: none;
  justify-self: start;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.5rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cm-espresso);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.js .nav-toggle { display: inline-flex; }

.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; justify-self: end; }
.site-header .site-header__wa { display: none; background: var(--cm-white); }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--cm-espresso);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.icon-button .icon { width: 1.3rem; height: 1.3rem; }
.icon-button:hover, .icon-button[aria-expanded="true"] { color: var(--cm-espresso); background: var(--cm-ivory); border-color: var(--cm-line); }

.site-nav__list { margin: 0; padding: 0; list-style: none; }
.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--cm-espresso);
}
.site-nav__link:hover { color: var(--cm-gold-text); }
.site-nav__chev { width: 0.9rem; height: 0.9rem; color: var(--cm-gold); transition: transform 0.2s var(--ease); }
.site-nav__sub { margin: 0; padding: 0; list-style: none; }
.site-nav__sub a { display: block; text-decoration: none; color: var(--cm-espresso); }
.site-nav__contact { display: grid; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--cm-line); }
.site-nav__contact a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--cm-espresso); text-decoration: none; }
.site-nav__contact .icon { color: var(--cm-gold); }

@media (min-width: 768px) {
  .site-logo__seal img { width: 56px; height: 56px; }
  .site-logo__word img { height: 54px; }
  .site-header .site-header__wa { display: inline-flex; }
}

/* Phone and tablet menu: a panel under the header */
@media (max-width: 1279.98px) {
  .js .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100vh - var(--header-height) - var(--mobile-bar));
    overflow-y: auto;
    padding: 0.25rem var(--gutter) 1.5rem;
    background: var(--cm-white);
    border-bottom: 1px solid var(--cm-line);
    box-shadow: 0 24px 40px -12px rgba(36, 20, 13, 0.22);
  }
  .js .site-header.is-open .site-nav { display: block; }
  .no-js .site-nav { grid-column: 1 / -1; padding-bottom: 1rem; }
  .site-nav__item + .site-nav__item { border-top: 1px solid var(--cm-line); }
  .site-nav__link { justify-content: space-between; padding: 1rem 0; font-size: 0.875rem; }
  .site-nav__link[aria-current] { color: var(--cm-gold-text); }
  .site-nav__chev { display: none; }
  .site-nav__sub { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: -0.25rem 0 1rem; }
  .site-nav__sub a { padding: 0.35rem 0.8rem; font-size: 0.875rem; color: var(--cm-espresso); background: var(--cm-paper); border: 1px solid var(--cm-line); border-radius: 999px; }
}

/* Desktop: logo, menu with dropdowns, actions in one row */
@media (min-width: 1280px) {
  .site-header__bar { display: flex; gap: 2rem; }
  .js .nav-toggle { display: none; }
  .site-logo { justify-self: auto; }
  .site-logo__seal img { width: 64px; height: 64px; }
  .site-logo__word img { height: 60px; }
  .site-nav { margin-inline: auto; }
  .site-nav__list { display: flex; gap: 1.75rem; }
  .site-nav__item { position: relative; }
  .site-nav__link { min-height: var(--header-height); }
  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--cm-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .site-nav__item:hover > .site-nav__link::after,
  .site-nav__item:focus-within > .site-nav__link::after,
  .site-nav__link[aria-current]::after { transform: scaleX(1); }
  .site-nav__item:hover .site-nav__chev, .site-nav__item:focus-within .site-nav__chev { transform: rotate(180deg); }
  .site-nav__sub {
    position: absolute;
    top: calc(100% + 1px);
    left: -1rem;
    z-index: 50;
    min-width: 15rem;
    padding: 0.5rem;
    background: var(--cm-white);
    border: 1px solid var(--cm-line);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    box-shadow: 0 24px 48px -16px rgba(36, 20, 13, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .site-nav__item:hover > .site-nav__sub,
  .site-nav__item:focus-within > .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
  .site-nav__sub a { padding: 0.6rem 0.85rem; font-size: var(--fs-small); border-radius: 8px; transition: background-color 0.15s ease; }
  .site-nav__sub li:first-child a { font-weight: 500; }
  .site-nav__sub a:hover { color: var(--cm-espresso); background: var(--cm-paper); }
  .site-nav__contact { display: none; }
}

/* Search panel under the header */
.site-search { padding-block: 1rem; background: var(--cm-paper); border-top: 1px solid var(--cm-line); }
.no-js .site-search[hidden] { display: block; }
.site-search__form, .search-form { display: flex; gap: 0.5rem; }
.site-search__form .input, .search-form .input { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0.8rem 1.6rem;
  font-family: var(--cm-text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.2rem; height: 1.2rem; }
.btn--small { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.75rem; letter-spacing: 0.12em; }

.btn--primary { color: var(--cm-ivory); background: var(--cm-espresso); border-color: var(--cm-espresso); }
.btn--primary:hover { color: var(--cm-ivory); background: var(--cm-espresso-deep); border-color: var(--cm-espresso-deep); box-shadow: 0 12px 24px -12px rgba(26, 14, 8, 0.6); }
.btn--outline { color: var(--cm-espresso); background: transparent; border-color: var(--cm-gold); }
.btn--outline:hover { color: var(--cm-espresso); background: var(--cm-ivory); border-color: var(--cm-gold-text); }
.btn--gold {
  color: var(--cm-espresso);
  background: linear-gradient(135deg, #E8D3A2 0%, var(--cm-gold-light) 45%, #C6A367 100%);
  border-color: #C9A86C;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px -12px rgba(180, 139, 64, 0.7);
}
.btn--gold:hover { color: var(--cm-espresso); background: linear-gradient(135deg, #F0DEB4 0%, #DCC496 45%, #CFAE6E 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 28px -12px rgba(180, 139, 64, 0.85); }
.btn--on-dark { color: var(--cm-ivory); background: rgba(247, 240, 227, 0.03); border-color: rgba(210, 184, 137, 0.7); }
.btn--on-dark:hover { color: var(--cm-ivory); background: rgba(247, 240, 227, 0.1); border-color: var(--cm-gold-light); }
.btn--whatsapp .icon { color: var(--cm-whatsapp-mark); }
.btn--outline.btn--whatsapp .icon { color: var(--cm-whatsapp); }
.btn--gold.btn--whatsapp .icon { color: var(--cm-espresso); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--cm-gold-text);
}
.link-arrow .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--cm-espresso); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--on-dark { color: var(--cm-gold-light); }
.link-arrow--on-dark:hover { color: var(--cm-ivory); }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--cm-espresso);
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: 50%;
  box-shadow: 0 6px 16px -6px rgba(36, 20, 13, 0.3);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.2s var(--ease);
}
.round-btn .icon { width: 1.25rem; height: 1.25rem; }
.round-btn:hover { color: var(--cm-ivory); background: var(--cm-espresso); border-color: var(--cm-espresso); transform: scale(1.06); }
.round-btn--wa .icon { color: var(--cm-whatsapp); }
.round-btn--wa:hover .icon { color: var(--cm-whatsapp-mark); }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.95rem;
  margin: 0 0.4rem 0.4rem 0;
  font-size: 0.875rem;
  color: var(--cm-espresso);
  text-decoration: none;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: 999px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.chip:hover { color: var(--cm-espresso); background: var(--cm-ivory); border-color: var(--cm-gold); }

/* -------------------------------------------------------------- Home hero */
.hero {
  --eyebrow: var(--cm-gold-deep);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cm-espresso);
  background:
    radial-gradient(45% 70% at 78% 45%, rgba(210, 184, 137, 0.45) 0%, rgba(210, 184, 137, 0) 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #FBF6EC 0%, var(--cm-cream-deep) 100%);
}
/* Fine gold rings behind the arch, like the rim of the seal */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -12%;
  z-index: -1;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(180, 139, 64, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.18), 0 0 0 71px rgba(180, 139, 64, 0.14);
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(5.5rem, 10vw, 8rem);
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; }
}
.hero__label { color: var(--cm-gold-deep); }
.hero__title {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--cm-espresso);
}
.hero__accent { color: var(--cm-gold-text); } /* large text: 4.2 : 1 or more on the hero cream */
.hero__lead { max-width: 48ch; margin: 1.4rem 0 0; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--cm-cocoa); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__actions--start { justify-content: flex-start; margin-top: 1rem; }
.hero .btn--outline { background: rgba(255, 255, 255, 0.6); }
.hero .btn--outline:hover { background: var(--cm-white); }
.hero__brands {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  overflow: hidden; /* hides the dot in front of the first name on each line */
  font-family: var(--cm-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cm-cocoa);
  border-top: 1px solid rgba(180, 139, 64, 0.3);
}
.hero__brands-list { display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin: 0 0 0 -1.25rem; padding: 0; list-style: none; }
.hero__brands-list li { position: relative; padding-left: 1.25rem; white-space: nowrap; }
.hero__brands-list li::before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: calc(0.625rem - 2px);
  width: 4px;
  height: 4px;
  background: var(--cm-gold);
  border-radius: 50%;
}
@media (max-width: 599.98px) {
  .hero__actions .btn { width: 100%; }
  .hero__brands { font-size: 1.05rem; }
  .hero__brands-list { margin-left: -1.1rem; }
  .hero__brands-list li { padding-left: 1.1rem; }
  .hero__brands-list li::before { left: calc(0.55rem - 2px); }
}

.hero__visual { position: relative; justify-self: center; width: min(100%, 420px); }
@media (max-width: 959.98px) {
  .hero__visual { order: -1; width: min(60%, 280px); }
}
@media (max-width: 599.98px) {
  .hero__visual { display: none; }
}
.hero__arch {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 55%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 80%),
    linear-gradient(180deg, #FFFFFF 0%, #F6ECDC 100%);
  border: 1px solid rgba(180, 139, 64, 0.55);
  border-radius: 999px 999px 28px 28px;
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.85),
    inset 0 0 0 11px rgba(180, 139, 64, 0.3),
    0 40px 80px -40px rgba(120, 86, 40, 0.55);
}
.hero__arch > img:not(.hero__crest) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__crest { position: absolute; top: 11%; left: 50%; width: 14%; transform: translateX(-50%); }
.hero__machine { width: 68%; height: auto; margin-top: 12%; color: var(--cm-icon); stroke-width: 0.8; }
.hero__orb {
  position: absolute;
  display: grid;
  place-items: center;
  width: 24%;
  aspect-ratio: 1;
  background: var(--cm-white);
  border: 1px solid rgba(180, 139, 64, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6), 0 20px 40px -18px rgba(120, 86, 40, 0.55);
  animation: cm-float 7s ease-in-out infinite;
}
.hero__orb .ill { width: 58%; height: auto; color: var(--cm-icon); stroke-width: 1.25; }
.hero__orb--grinder { bottom: 14%; left: -10%; }
.hero__orb--cup { top: 30%; right: -9%; animation-delay: -3.5s; }
.hero__visual--photo .hero__orb { display: none; }
@keyframes cm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Feature bar: overlaps the bottom of the hero */
.features { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -6vw, -3.25rem); }
.features__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 1000px) {
  .features__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.features__list > li { border-color: var(--cm-card-line); border-style: solid; border-width: 0; }
@media (max-width: 999.98px) {
  .features__list > li:nth-child(even) { border-left-width: 1px; }
  .features__list > li:nth-child(n + 3) { border-top-width: 1px; }
}
@media (min-width: 1000px) {
  .features__list > li + li { border-left-width: 1px; }
}
.feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 100%;
  padding: clamp(1rem, 2.2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
  color: var(--cm-espresso);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.feature:hover { color: var(--cm-espresso); background: var(--cm-paper); }
.feature__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--cm-gold-text);
  background: var(--cm-ivory);
  border: 1px solid rgba(180, 139, 64, 0.35);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.feature:hover .feature__icon { background: var(--cm-white); transform: scale(1.06); }
.feature__icon .icon { width: 1.35rem; height: 1.35rem; }
.feature__icon--wa { color: var(--cm-whatsapp); }
.feature__text { display: grid; gap: 0.1rem; min-width: 0; }
.feature__text strong { font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.feature__text span { font-size: 0.8125rem; line-height: 1.4; color: var(--cm-cocoa); }
@media (max-width: 599.98px) {
  .feature { flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1rem; }
  .feature__icon { width: 40px; height: 40px; }
}

.cta-box :focus-visible, .site-footer :focus-visible { outline-color: var(--cm-gold-light); }

/* --------------------------------------------------------------- Sections */
.section { padding-block: clamp(3rem, 6.5vw, 5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--flush-top { padding-top: 0; }
.section--ivory { background: var(--cm-ivory); }
.section--white { background: var(--cm-white); }
.section--paper { background: var(--cm-paper); }
.section--ivory .eyebrow { color: var(--cm-gold-deep); }

.section-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-bar h2 { margin: 0; }
.section-bar__text { max-width: 54ch; margin: 0.6rem 0 0; color: var(--cm-cocoa); }
.section-bar .link-arrow { padding-bottom: 0.35rem; }
.section-bar--on-dark h2 { color: var(--cm-ivory); }
.section-more { display: flex; justify-content: center; margin-top: 2rem; }

.sample-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-block: 0 1.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--cm-gold-text);
  background: rgba(180, 139, 64, 0.07);
  border: 1px dashed var(--cm-gold);
  border-radius: var(--radius);
}
.sample-note .icon { width: 1rem; height: 1rem; }

/* ------------------------------------------------------------ Brand tiles */
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}

.brand-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  min-height: clamp(140px, 15vw, 184px);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  overflow: hidden;
  color: var(--cm-espresso);
  text-decoration: none;
  background:
    radial-gradient(90% 110% at 100% 100%, rgba(210, 184, 137, 0.28) 0%, rgba(210, 184, 137, 0) 60%),
    var(--cm-white);
  border: 1px solid var(--cm-card-line);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.brand-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--cm-foil);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.brand-tile:hover { color: var(--cm-espresso); border-color: rgba(180, 139, 64, 0.55); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.brand-tile:hover::before { transform: scaleX(1); }
.brand-tile__text { display: grid; gap: 0.45rem; }
.brand-tile__line { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cm-gold-text); }
.brand-tile__name { font-family: var(--cm-display); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.35rem); font-weight: 600; line-height: 1; }
.brand-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cm-cocoa);
  transition: color 0.2s ease;
}
.brand-tile:hover .brand-tile__cta { color: var(--cm-gold-text); }
.brand-tile__cta .icon { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.brand-tile:hover .brand-tile__cta .icon { transform: translateX(4px); }
.brand-tile__mark {
  position: absolute;
  right: 0.12em;
  bottom: -0.3em;
  z-index: -1;
  font-family: var(--cm-display);
  font-size: clamp(6.5rem, 4rem + 6vw, 9.5rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(180, 139, 64, 0.14);
  pointer-events: none;
  transition: transform 0.5s var(--ease), color 0.3s ease;
}
.brand-tile:hover .brand-tile__mark { color: rgba(180, 139, 64, 0.26); transform: translateY(-6px); }
@media (max-width: 599.98px) {
  .brand-tile { gap: 1rem; min-height: 118px; padding: 1rem; }
  .brand-tile__line { font-size: 0.625rem; letter-spacing: 0.12em; }
  .brand-tile__name { font-size: 1.5rem; }
  .brand-tile__mark { font-size: 5.5rem; }
}
.brand-tile__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.brand-tile--photo { color: var(--cm-ivory); }
.brand-tile--photo:hover { color: var(--cm-ivory); }
.brand-tile--photo .brand-tile__line, .brand-tile--photo .brand-tile__cta { color: var(--cm-gold-light); }
.brand-tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(26, 14, 8, 0.85) 0%, rgba(26, 14, 8, 0.3) 70%);
}

/* ---------------------------------------------------------- Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 639.98px) {
  .cat-tiles > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1100px) {
  .cat-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1rem clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
  color: var(--cm-espresso);
  text-decoration: none;
  background: var(--cm-paper);
  border: 1px solid var(--cm-card-line);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}
.cat-tile:hover { color: var(--cm-espresso); background: var(--cm-white); border-color: var(--cm-line); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.cat-tile__media {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(92px, 9vw, 124px);
  aspect-ratio: 1;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--cm-white);
  border: 1px solid rgba(180, 139, 64, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--cm-white), 0 0 0 7px var(--cm-line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cat-tile:hover .cat-tile__media { border-color: var(--cm-gold); box-shadow: 0 0 0 6px var(--cm-ivory), 0 0 0 7px rgba(180, 139, 64, 0.45); }
.cat-tile__art { width: 62%; height: auto; color: var(--cm-icon); stroke-width: 1.35; transition: transform 0.4s var(--ease); }
.cat-tile:hover .cat-tile__art { transform: scale(1.08); }
.cat-tile__photo { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__count { font-size: 0.8125rem; color: var(--cm-cocoa); }
@media (max-width: 639.98px) {
  .cat-tile { padding: 1.25rem 0.75rem 1.1rem; }
  .cat-tile__media { width: 76px; margin-bottom: 0.75rem; box-shadow: 0 0 0 4px var(--cm-white), 0 0 0 5px var(--cm-line); }
}
.cat-tile__title { font-family: var(--cm-display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); font-weight: 600; line-height: 1.1; }
.cat-tile__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cm-gold-text);
}
.cat-tile__btn .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.2s var(--ease); }
.cat-tile:hover .cat-tile__btn .icon { transform: translateX(4px); }

/* --------------------------------------------------------- Services band */
.services-band {
  --eyebrow: var(--cm-gold-deep);
  position: relative;
  padding-block: clamp(3rem, 6.5vw, 5rem);
  color: var(--cm-espresso);
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--cm-ivory) 0%, var(--cm-cream-deep) 100%);
}
.services-band .link-arrow { color: var(--cm-gold-deep); }
.service-panels { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .service-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
.service-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--cm-espresso);
  text-decoration: none;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s var(--ease);
}
.service-panel:hover { color: var(--cm-espresso); border-color: rgba(180, 139, 64, 0.6); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.service-panel__art {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 0.75rem;
  background: radial-gradient(circle at 50% 40%, var(--cm-white) 0%, var(--cm-ivory) 75%);
  border: 1px solid rgba(180, 139, 64, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--cm-white), 0 0 0 7px var(--cm-line);
}
.service-panel__art .ill { width: 64%; height: auto; color: var(--cm-icon); stroke-width: 1.4; transition: transform 0.4s var(--ease); }
.service-panel:hover .service-panel__art .ill { transform: scale(1.08); }
.service-panel__title { margin: 0; font-size: clamp(1.6rem, 1.35rem + 0.8vw, 1.95rem); color: var(--cm-espresso); }
.service-panel__text { margin: 0; font-size: var(--fs-small); color: var(--cm-cocoa); }
.service-panel__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cm-gold-text);
}
.service-panel__btn .icon { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.service-panel:hover .service-panel__btn .icon { transform: translateX(4px); }
@media (max-width: 599.98px) {
  .service-panel { padding: 1.5rem; }
  .service-panel__art { width: 72px; height: 72px; margin-bottom: 0.25rem; }
}

/* -------------------------------------------------------- Product sections */
.product-section { padding-block: clamp(2.75rem, 6vw, 4.5rem); background: var(--cm-white); }
.product-section--tint { background: var(--cm-paper); }

/* ------------------------------------------------------------ Product grid */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .product-grid--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Home rows: a swipeable row on phones */
@media (max-width: 767.98px) {
  .product-grid--row {
    grid-template-columns: none;
    grid-auto-columns: 68%;
    grid-auto-flow: column;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0.25rem var(--gutter) 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .product-grid--row::-webkit-scrollbar { display: none; }
  .product-grid--row > li { scroll-snap-align: start; }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cm-white);
  border: 1px solid var(--cm-card-line);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.product-card:hover { border-color: var(--cm-line); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 0.45rem 0.45rem 0;
  overflow: hidden;
  background: var(--cm-white);
  border-radius: calc(var(--radius-card) - 5px);
}
.product-card__media--placeholder { isolation: isolate; background: radial-gradient(75% 70% at 50% 42%, var(--cm-white) 0%, var(--cm-cream) 70%, #F4ECDD 100%); }
.product-card__media--placeholder::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(180, 139, 64, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.5), 0 0 0 15px rgba(180, 139, 64, 0.08);
}
.product-card__media img { width: 100%; height: 100%; padding: 8%; object-fit: contain; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__ill { width: 52%; height: auto; color: var(--cm-icon-soft); stroke-width: 1.05; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card__ill { transform: scale(1.06); }
.product-card__tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  padding: 0.2rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cm-espresso);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--cm-line);
  border-radius: 999px;
}
.product-card__quick {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.product-card:hover .product-card__quick, .product-card:focus-within .product-card__quick { opacity: 1; transform: none; }
@media (hover: none) {
  .product-card__quick { opacity: 1; transform: none; }
  .product-card__quick .round-btn { width: 36px; height: 36px; }
}
.product-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.3rem; padding: 0.9rem 1rem 1rem; }
.product-card__meta {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cm-gold-text);
}
.product-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-family: var(--cm-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.product-card__title a { color: var(--cm-espresso); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-card); } /* the whole card is the link */
.product-card__title a:focus-visible { outline: none; }
.product-card__title a:focus-visible::after { outline: 2px solid var(--cm-gold-text); outline-offset: 3px; }
.product-card__stock { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; font-weight: 500; }
.product-card__stock::before { content: ""; flex: none; width: 0.45rem; height: 0.45rem; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.product-card__stock--instock { color: var(--cm-instock); }
.product-card__stock--preorder { color: var(--cm-preorder); }
.product-card__stock--out { color: var(--cm-out); }
.product-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--cm-card-line);
}
.product-card__body > .product-card__stock + .product-card__foot { margin-top: auto; }
.product-card__body .product-card__stock { margin-bottom: 0.5rem; }
.product-card .price { font-size: 1.0625rem; line-height: 1.75rem; }
.product-card .price--request { font-size: 0.875rem; }
.product-card .dots { justify-content: flex-end; }

/* ------------------------------------------------------------ Split block */
.split {
  display: grid;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin: clamp(3rem, 6.5vw, 5rem) auto;
  overflow: hidden;
  background: var(--cm-ivory);
  border-radius: var(--radius-box);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split__media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(260px, 32vw, 440px);
  overflow: hidden;
  background: radial-gradient(55% 55% at 50% 50%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%), var(--cm-sand);
}
.split__media::before,
.split__media::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
}
.split__media::before { width: min(72%, 330px); border: 1px solid rgba(180, 139, 64, 0.45); }
.split__media::after { width: min(90%, 420px); border: 1px solid rgba(180, 139, 64, 0.2); }
.split__art { width: clamp(130px, 15vw, 200px); height: auto; color: var(--cm-icon); stroke-width: 0.9; }
.split__body { align-self: center; max-width: 38rem; padding: clamp(2rem, 5vw, 4.5rem); }
.split__body h2 { margin-bottom: 0.75rem; }
.split__body p:not(.label):not(.eyebrow) { color: var(--cm-cocoa); }
.split__body .btn { margin-top: 0.75rem; }
.split .eyebrow { color: var(--cm-gold-deep); }

/* ----------------------------------------------------------------- Banner */
.banner {
  --eyebrow: var(--cm-gold-deep);
  position: relative;
  overflow: hidden;
  color: var(--cm-espresso);
  background:
    radial-gradient(45% 90% at 82% 45%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(120deg, var(--cm-latte) 0%, #F4EADB 100%);
}
.banner__inner { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 6.5vw, 5rem); }
@media (min-width: 900px) {
  .banner__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
}
.banner__copy { max-width: 40rem; }
.banner__label { color: var(--cm-gold-deep); }
.banner h2 { color: var(--cm-espresso); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.banner p:not(.label):not(.eyebrow) { max-width: 50ch; margin-bottom: 2rem; color: var(--cm-cocoa); }
.banner__media {
  display: none;
  place-items: center;
  justify-self: center;
  width: clamp(220px, 24vw, 290px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #FBF6EC 70%);
  border: 1px solid rgba(180, 139, 64, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.7), inset 0 0 0 15px rgba(180, 139, 64, 0.22), 0 30px 60px -30px rgba(120, 86, 40, 0.5);
}
@media (min-width: 900px) {
  .banner__media { display: grid; }
}
.banner__media .ill { width: 48%; height: auto; color: var(--cm-icon); stroke-width: 1.05; }

/* ------------------------------------------------------------------ Stats */
.stats { position: relative; padding-block: clamp(1.75rem, 4vw, 2.5rem); color: var(--cm-espresso); background: rgba(255, 255, 255, 0.45); border-top: 1px solid rgba(180, 139, 64, 0.25); }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; margin: 0; padding: 0; list-style: none; text-align: center; }
@media (min-width: 900px) {
  .stats__list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .stats__list li + li { border-left: 1px solid rgba(180, 139, 64, 0.3); }
}
.stats__value { display: block; font-family: var(--cm-display); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; color: var(--cm-gold-deep); }
.stats__label { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--cm-cocoa); }
.stats__tbc { margin: 1.25rem 0 0; text-align: center; }
.stats .tbc { color: var(--cm-gold-deep); }

/* ----------------------------------------------------------- Brand strip */
.brands-title { margin-bottom: 1.25rem; text-align: center; }
.brand-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) {
  .brand-strip { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .brand-strip { grid-template-columns: repeat(8, 1fr); }
}
.brand-strip a {
  display: grid;
  place-items: center;
  min-height: 80px;
  padding: 0.75rem;
  font-family: var(--cm-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  color: var(--cm-espresso);
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
  transition: border-color 0.2s ease, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand-strip a:hover { color: var(--cm-espresso); border-color: var(--cm-gold); box-shadow: var(--shadow-card); transform: translateY(-3px); }

/* --------------------------------------------------------------- CTA box */
.cta-wrap { padding-block: clamp(3rem, 7vw, 5rem); }
.cta-box {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 5vw, 4rem);
  overflow: hidden;
  color: var(--cm-ivory);
  background:
    radial-gradient(70% 140% at 100% 0%, #5A3826 0%, rgba(90, 56, 38, 0) 65%),
    linear-gradient(135deg, #3A2418 0%, var(--cm-espresso) 100%);
  border-radius: var(--radius-box);
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid var(--cm-on-dark-line);
  border-radius: calc(var(--radius-box) - 8px);
  pointer-events: none;
}
.cta-box::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -3.5rem;
  z-index: -1;
  width: 15rem;
  height: 15.6rem;
  background: url('../brand/icon-gold.svg') no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
@media (min-width: 900px) {
  .cta-box { grid-template-columns: 1fr auto; }
}
.cta-box h2 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); color: var(--cm-ivory); }
.cta-box p { margin: 0; max-width: 56ch; color: var(--cm-on-dark-soft); }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ------------------------------------------------- Page heads, breadcrumbs */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head h1 { margin-bottom: 0.4em; }
.page-head__intro { max-width: 60ch; margin: 0; font-size: 1.125rem; color: var(--cm-cocoa); }
.page-head--center { text-align: center; }
.page-head--center .page-head__intro { margin-inline: auto; }
.page-head--center .hero__actions { justify-content: center; margin-top: 2rem; }
.page-head--center .label { color: var(--cm-gold-text); }

.crumb-bar { background: var(--cm-white); border-bottom: 1px solid var(--cm-line); }
.crumb-bar .breadcrumbs ol { margin: 0; padding-block: 0.85rem; }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--cm-cocoa);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--cm-gold); }
.breadcrumbs a { color: var(--cm-cocoa); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cm-espresso); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--cm-espresso); }

/* Page banner: content pages and category pages */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cm-espresso);
  background:
    radial-gradient(40% 120% at 88% 50%, rgba(210, 184, 137, 0.4) 0%, rgba(210, 184, 137, 0) 70%),
    linear-gradient(180deg, #FBF6EC 0%, var(--cm-cream-deep) 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(180, 139, 64, 0), rgba(180, 139, 64, 0.5), rgba(180, 139, 64, 0));
}
.page-hero__inner { display: grid; gap: 2rem; align-items: center; padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; }
}
.page-hero__copy { min-width: 0; max-width: 46rem; }
.page-hero h1 { margin-bottom: 0.35em; color: var(--cm-espresso); }
.page-hero__intro { max-width: 58ch; margin: 0; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--cm-cocoa); }
.page-hero .breadcrumbs ol { margin-bottom: clamp(1.25rem, 3vw, 2rem); color: var(--cm-cocoa); }
.page-hero .breadcrumbs a { color: var(--cm-cocoa); }
.page-hero .breadcrumbs a:hover { color: var(--cm-espresso); }
.page-hero .breadcrumbs [aria-current] { color: var(--cm-gold-deep); }
.page-hero__art {
  display: none;
  place-items: center;
  width: clamp(180px, 17vw, 220px);
  aspect-ratio: 1;
  margin-top: 1.5rem;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #FBF6EC 75%);
  border: 1px solid rgba(180, 139, 64, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.75), inset 0 0 0 13px rgba(180, 139, 64, 0.2), 0 30px 60px -32px rgba(120, 86, 40, 0.5);
}
@media (min-width: 900px) {
  .page-hero__art { display: grid; }
}
.page-hero__art .ill { width: 50%; height: auto; color: var(--cm-icon); stroke-width: 1.15; }

.brand-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.brand-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 40px;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  color: var(--cm-espresso);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(180, 139, 64, 0.4);
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.brand-chips strong { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-chips span { padding: 0.1rem 0.55rem; font-size: 0.75rem; color: var(--cm-gold-deep); background: var(--cm-ivory); border-radius: 999px; }
.brand-chips a:hover { color: var(--cm-espresso); background: var(--cm-white); border-color: var(--cm-gold); }
.brand-chips a[aria-current] { color: var(--cm-ivory); background: var(--cm-espresso); border-color: var(--cm-espresso); }
.brand-chips a[aria-current] span { color: var(--cm-espresso); background: var(--cm-gold-light); }
@media (max-width: 599.98px) {
  .brand-chips { flex-wrap: nowrap; margin-inline: calc(-1 * var(--gutter)); padding: 0.1rem var(--gutter) 0.25rem; overflow-x: auto; scrollbar-width: none; }
  .brand-chips::-webkit-scrollbar { display: none; }
  .brand-chips a { white-space: nowrap; }
}

/* --------------------------------------------------------- Category page */
.listing { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
@media (min-width: 1024px) {
  .listing { grid-template-columns: 16rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
}
.listing__main { min-width: 0; }

.filters { background: var(--cm-white); border: 1px solid var(--cm-line); border-radius: var(--radius-card); }
@media (min-width: 1024px) {
  .filters { position: sticky; top: calc(var(--header-height) + 1.25rem); }
}
.filters__summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.filters__summary .icon { color: var(--cm-gold); }
.filters__summary::-webkit-details-marker { display: none; }
.filters__form { padding: 0 1.25rem 1.25rem; }
.filters__group { margin: 0; padding: 1rem 0; border: 0; border-top: 1px solid var(--cm-line); }
.filters__title { margin-bottom: 0.6rem; padding: 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cm-cocoa); }
.filters__check { padding-block: 0.35rem; }
.filters__check span:nth-of-type(1) { flex: 1; }
.filters__count { min-width: 1.75rem; padding: 0 0.45rem; font-size: 0.75rem; text-align: center; color: var(--cm-cocoa); background: var(--cm-paper); border: 1px solid var(--cm-line); border-radius: 999px; }
.filters__actions { display: flex; align-items: center; gap: 1rem; padding-top: 0.5rem; }
.filters__clear { font-size: 0.875rem; }
.js [data-filter-submit] { display: none; }
.js .filters__actions:not(:has(.filters__clear)) { display: none; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.6rem 0.6rem 1.1rem;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
}
.toolbar__count { margin: 0; font-size: var(--fs-small); color: var(--cm-cocoa); }
.toolbar__sort { display: flex; gap: 0.5rem; }
.toolbar__sort .select { width: auto; min-width: 13rem; min-height: 42px; padding-block: 0.45rem; }
.listing .sample-note { margin-top: 0; }

/* ----------------------------------------------------------- Product page */
.product { display: grid; gap: 2rem; padding-block: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .product__info { position: sticky; top: calc(var(--header-height) + 1.5rem); }
}
.gallery { display: grid; gap: 0.75rem; }
@media (min-width: 960px) {
  .gallery { grid-template-columns: 84px minmax(0, 1fr); }
  .gallery__thumbs { grid-row: 1; flex-direction: column; }
}
.gallery__main {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: radial-gradient(70% 65% at 50% 45%, var(--cm-white) 0%, var(--cm-cream) 70%, #F4ECDD 100%);
  border: 1px solid var(--cm-card-line);
  border-radius: var(--radius-box);
}
.gallery__main:has(img) { background: var(--cm-white); }
.gallery__main img { width: 100%; height: 100%; padding: 6%; object-fit: contain; }
.gallery__main .product-card__tag { top: 1rem; left: 1rem; }
.gallery__ill { width: 52%; height: auto; color: var(--cm-icon-soft); stroke-width: 0.7; }
.gallery__thumbs { display: flex; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.gallery__thumbs button {
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  padding: 0.85rem;
  color: var(--cm-gold);
  background: var(--cm-cream);
  border: 1px solid var(--cm-card-line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.gallery__thumbs button:hover { border-color: var(--cm-gold); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--cm-espresso); box-shadow: 0 0 0 1px var(--cm-espresso); }
.gallery__thumbs .ill { width: 100%; height: auto; }

.product__brand { margin-bottom: 0.6rem; color: var(--cm-gold-text); }
.product__title { margin-bottom: 1rem; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
.product__status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 1.25rem; }
.product__lead { font-size: 0.875rem; color: var(--cm-cocoa); }
.product__price { display: flex; align-items: baseline; padding-block: 1.1rem; margin-bottom: 1.5rem; border-block: 1px solid var(--cm-line); }
.product__price .price { font-size: 1.85rem; font-weight: 600; }
.product__price .price--request { font-size: 1.25rem; }
.product .colour-picker { margin-bottom: 1.75rem; }
.product__actions { display: grid; gap: 0.6rem; }
@media (min-width: 480px) {
  .product__actions { grid-template-columns: 1fr 1fr; }
}
.product__call { margin: 0.75rem 0 0; font-size: var(--fs-small); color: var(--cm-cocoa); }
.product__points {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 1.25rem;
  padding: 0.35rem 1.25rem;
  list-style: none;
  font-size: var(--fs-small);
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
}
.product__points li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; padding-block: 0.8rem; }
.product__points li + li { border-top: 1px solid var(--cm-card-line); }
.product__points .icon { width: 1.35rem; height: 1.35rem; color: var(--cm-gold); }
.product__points a { margin-left: auto; font-size: 0.875rem; }
.product__meta { margin: 0; font-size: 0.875rem; color: var(--cm-cocoa); }

.product-details { display: grid; gap: 2rem; padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 960px) {
  .product-details { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; }
}
.tab-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  font-family: var(--cm-display);
  font-size: clamp(1.6rem, 1.35rem + 0.8vw, 2rem);
  font-weight: 600;
}
.tab-title::after { content: ""; flex: 1; height: 1px; background: var(--cm-line); }
.spec-table { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); background: var(--cm-white); border: 1px solid var(--cm-line); border-radius: var(--radius-card); }
.spec-table th, .spec-table td { padding: 0.8rem 1.1rem; text-align: left; }
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--cm-card-line); }
.spec-table th { width: 40%; font-weight: 500; color: var(--cm-cocoa); background: var(--cm-paper); }

/* ------------------------------------------------------------ Search page */
.search-form { max-width: 40rem; margin-top: 1rem; }
.search-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; color: var(--cm-cocoa); }

/* ------------------------------------------------ Empty state and notice */
.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  text-align: center;
  background: var(--cm-white);
  border: 1px dashed var(--cm-gold);
  border-radius: var(--radius-box);
}
.empty-state__art { width: 84px; height: auto; margin-bottom: 0.25rem; color: var(--cm-icon); }
.empty-state h2 { margin: 0; font-size: 2rem; }
.empty-state p { max-width: 52ch; margin: 0 0 0.75rem; color: var(--cm-cocoa); }

.notice {
  padding: 1.25rem 1.5rem;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-left: 3px solid var(--cm-gold);
  border-radius: var(--radius-card);
}
.notice p:last-child { margin-bottom: 0; }

/* ------------------------------------------------ Stock labels and prices */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.8em;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-radius: 999px;
}
.badge::before { content: ""; width: 0.5em; height: 0.5em; background: currentColor; border-radius: 50%; }
.badge--instock { color: var(--cm-instock); background: var(--cm-instock-bg); }
.badge--preorder { color: var(--cm-preorder); background: var(--cm-preorder-bg); }
.badge--out { color: var(--cm-out); background: var(--cm-out-bg); }
.badge--request { color: var(--cm-espresso); background: var(--cm-ivory); }
.badge--request::before { display: none; }

.price { margin: 0; font-size: 1.125rem; font-weight: 600; color: var(--cm-espresso); font-variant-numeric: tabular-nums; }
.price__prefix { margin-right: 0.4em; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cm-cocoa); }
.price--request { font-size: 1rem; font-weight: 500; color: var(--cm-cocoa); }

.dots { display: flex; align-items: center; justify-content: center; gap: 0.3rem; margin: 0; padding: 0; list-style: none; }
.dots li { width: 14px; height: 14px; background: var(--dot); border: 2px solid var(--cm-white); border-radius: 50%; box-shadow: 0 0 0 1px rgba(36, 20, 13, 0.22); }

.colour-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.colour-picker legend { margin-bottom: 0.85rem; padding: 0; font-size: var(--fs-small); color: var(--cm-cocoa); }
.colour-picker legend strong { font-weight: 500; color: var(--cm-espresso); }
.colour-picker__options { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.swatch {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  background: var(--swatch);
  border: 3px solid var(--cm-white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(36, 20, 13, 0.2);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch:hover { box-shadow: 0 0 0 1px var(--cm-gold); }
.swatch:has(input:checked) { box-shadow: 0 0 0 2px var(--cm-espresso); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--cm-gold-text); outline-offset: 3px; }

/* ------------------------------------------------------------------ Forms */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field__label { font-size: 0.875rem; font-weight: 500; }
.field__req { margin-left: 0.35em; font-size: 0.75rem; font-weight: 400; color: var(--cm-cocoa); }
.field__hint { margin: 0; font-size: 0.8125rem; color: var(--cm-cocoa); }
.field__error { margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--cm-error); }

.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  color: var(--cm-espresso);
  background: var(--cm-white);
  border: 1px solid var(--cm-field-border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--cm-cocoa); }
.textarea { min-height: 8rem; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2324140D' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 12px;
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 2px solid var(--cm-gold-text);
  outline-offset: 0;
  border-color: var(--cm-gold-text);
  box-shadow: 0 0 0 5px rgba(180, 139, 64, 0.15);
}
.field--error .input, .field--error .select, .field--error .textarea, [aria-invalid="true"] { border-color: var(--cm-error); }
.input::placeholder, .textarea::placeholder { color: #7A6A5E; }

.check { display: flex; align-items: flex-start; gap: 0.65rem; font-size: var(--fs-small); cursor: pointer; }
.check input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--cm-espresso); }

/* Honeypot: hidden from people, filled in by spam bots */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.15rem 1rem; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.field--full { grid-column: 1 / -1; }
.form-errors { margin-bottom: 1.25rem; padding: 1rem 1.25rem; background: var(--cm-error-bg); border: 2px solid var(--cm-error); border-radius: var(--radius); }
.form-errors p { margin: 0; }
.form-errors ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.form-errors a { font-weight: 500; color: var(--cm-error); }
.form-errors:focus { outline: 3px solid var(--cm-gold-text); outline-offset: 2px; }
.turnstile-slot { display: grid; place-items: center; height: 65px; margin-top: 1.25rem; font-size: 0.8125rem; color: var(--cm-cocoa); background: var(--cm-paper); border: 1px dashed var(--cm-field-border); border-radius: var(--radius); }
.cf-turnstile { margin-top: 1.25rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cm-card-line); }
.form-note { margin: 0; font-size: 0.8125rem; color: var(--cm-cocoa); }
.enquiry-form .check { align-items: center; }

.enquiry-page { display: grid; gap: 2rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 960px) {
  .enquiry-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 3.5rem; align-items: start; }
  .enquiry-page__intro { position: sticky; top: calc(var(--header-height) + 1.5rem); }
}
.enquiry-page__intro h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.enquiry-page__alt { margin: 1.75rem 0 0.6rem; font-weight: 500; }

.thanks__mark { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1.25rem; color: var(--cm-instock); background: var(--cm-instock-bg); border-radius: 50%; box-shadow: 0 0 0 8px rgba(231, 240, 228, 0.5); }
.thanks__mark .icon { width: 2rem; height: 2rem; }
.thanks__note { justify-content: center; max-width: 42rem; margin: 1.25rem auto 0; }

/* ----------------------------------------------------------------- Footer */
.site-footer {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  font-size: var(--fs-small);
  color: var(--cm-on-dark-soft);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(90, 56, 38, 0.7) 0%, rgba(90, 56, 38, 0) 70%),
    var(--cm-espresso);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--cm-foil);
  opacity: 0.75;
}
.site-footer a { color: var(--cm-ivory); text-decoration: none; }
.site-footer a:hover { color: var(--cm-gold-light); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: 2.5rem 1.25rem;
  padding-bottom: 3rem;
}
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
  .site-footer__brand { grid-column: auto; }
}
.site-footer__logo { display: inline-flex; align-items: center; gap: 0.9rem; }
.site-footer__seal img { display: block; width: 84px; height: 84px; }
.site-footer__word { display: block; width: auto; height: 84px; }
.site-footer__about { max-width: 38ch; margin: 1.25rem 0 1.5rem; }
.site-footer__contact { display: grid; gap: 0.7rem; font-style: normal; }
.site-footer__contact p { display: flex; align-items: flex-start; gap: 0.7rem; margin: 0; }
.site-footer__contact .icon { margin-top: 0.15em; color: var(--cm-gold-light); }
.site-footer__heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  font-family: var(--cm-text);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cm-gold-light);
}
.site-footer__heading::before { content: ""; width: 1.25rem; height: 1px; background: currentColor; }
.site-footer__col ul { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.site-footer__col a { transition: color 0.15s ease, padding-left 0.2s var(--ease); }
.site-footer__col a:hover { padding-left: 0.25rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: 0.8125rem;
  border-top: 1px solid var(--cm-on-dark-line);
}
.site-footer__bottom p { margin: 0; }
.site-footer__social { display: flex; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.site-footer__social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--cm-on-dark-line); border-radius: 50%; }
.site-footer__social a:hover { border-color: var(--cm-gold-light); }
.site-footer .tbc { color: var(--cm-gold-light); background: transparent; border-color: rgba(210, 184, 137, 0.6); }

/* ------------------------------------------------------- Boxes and steps */
.card-box {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-box);
  box-shadow: 0 24px 50px -32px rgba(36, 20, 13, 0.28);
}
.card-box > h2 { margin-bottom: 0.4rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.card-box__intro { margin-bottom: 1.5rem; color: var(--cm-cocoa); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 2rem 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps--stacked { grid-template-columns: 1fr; gap: 0; }
.steps__item { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--cm-gold); counter-increment: step; }
.steps__item::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 0.5rem; font-family: var(--cm-display); font-size: 2.25rem; font-weight: 600; font-variant-numeric: lining-nums; line-height: 1; color: var(--cm-gold); }
.steps__item h3 { margin-bottom: 0.35rem; }
.steps__item p { margin: 0; color: var(--cm-cocoa); }
/* Stacked steps: a numbered timeline */
.steps--stacked .steps__item { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1.25rem; padding: 0 0 2rem; border-top: 0; }
.steps--stacked .steps__item::before {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
  font-size: 1.5rem;
  color: var(--cm-gold-text);
  background: var(--cm-white);
  border: 1px solid var(--cm-gold);
  border-radius: 50%;
}
.steps--stacked .steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.5rem;
  bottom: 0;
  left: 1.75rem;
  width: 1px;
  background: linear-gradient(180deg, var(--cm-gold), var(--cm-line));
}
.steps--stacked .steps__item h3 { margin-top: 0.6rem; }
/* v0.8: steps as white cards with a gold top edge and an icon (services page) */
.steps--cards { gap: 1.25rem; }
.steps--cards .steps__item {
  padding: 1.75rem 1.75rem 1.9rem;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-top: 2px solid var(--cm-gold);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.steps--cards .steps__item:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.steps--cards .steps__item > .icon { position: absolute; top: 1.75rem; right: 1.75rem; width: 1.75rem; height: 1.75rem; color: var(--cm-icon); }
.steps--cards .steps__item::before { color: var(--cm-gold-text); }

/* --------------------------------------------------------- Contact page */
.contact-layout { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
}
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.75rem; }
.contact-list { display: grid; gap: 0; margin: 0 0 1.5rem; }
.contact-list > div { padding-block: 0.9rem; border-top: 1px solid var(--cm-card-line); }
.contact-list dt { display: flex; align-items: center; gap: 0.5rem; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cm-cocoa); }
.contact-list dt .icon { color: var(--cm-gold); }
.contact-list dd { margin: 0.3rem 0 0 1.75rem; }
.map-slot { overflow: hidden; aspect-ratio: 4 / 3; background: var(--cm-paper); border: 1px solid var(--cm-line); border-radius: var(--radius-card); }
.map-slot iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-slot__empty { display: grid; place-items: center; align-content: center; gap: 0.5rem; height: 100%; color: var(--cm-cocoa); }
.map-slot__empty .icon { color: var(--cm-gold); }

/* --------------------------------------------------- Services and rental */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--cm-espresso);
  text-decoration: none;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.service-card:hover { color: var(--cm-espresso); border-color: var(--cm-gold); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.service-card__art {
  width: 92px;
  height: 92px;
  padding: 16px;
  margin-bottom: 0.5rem;
  color: var(--cm-icon);
  background: var(--cm-ivory);
  border: 1px solid rgba(180, 139, 64, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--cm-white), 0 0 0 7px var(--cm-line);
}
.service-card__title { margin: 0.25rem 0 0; font-size: 1.85rem; }
.service-card p { margin: 0; color: var(--cm-cocoa); }
.service-card .link-arrow { margin-top: auto; padding-top: 0.75rem; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1024px) {
  /* Steps, then help and other services in the left column; the form beside them. On phones the help
     comes after the form, so the form is reached sooner. */
  .service-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr; gap: 0 4rem; align-items: start; }
  .service-layout__main { grid-column: 1; grid-row: 1; }
  .service-layout__form { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-height) + 1.5rem); }
  .service-layout__aside { grid-column: 1; grid-row: 2; }
}
.service-layout__main > h2 { margin-bottom: 1.75rem; }
.service-layout__note { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--cm-cocoa); }
.highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.75rem;
  overflow: hidden;
  color: var(--cm-espresso);
  background: radial-gradient(80% 140% at 100% 0%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%), var(--cm-ivory);
  border: 1px solid rgba(180, 139, 64, 0.35);
  border-radius: var(--radius-card);
}
.highlight h2 { margin-bottom: 0.35rem; font-size: 1.6rem; color: var(--cm-espresso); }
.highlight p { margin: 0; color: var(--cm-cocoa); }
.highlight .tbc { color: var(--cm-gold-deep); }
.highlight__art { flex: none; width: 76px; height: 76px; padding: 14px; color: var(--cm-icon); background: var(--cm-white); border: 1px solid rgba(180, 139, 64, 0.45); border-radius: 50%; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.plan:hover { border-color: var(--cm-gold); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.plan__art { width: 84px; height: 84px; padding: 16px; color: var(--cm-icon); background: var(--cm-ivory); border: 1px solid rgba(180, 139, 64, 0.45); border-radius: 50%; box-shadow: 0 0 0 6px var(--cm-white), 0 0 0 7px var(--cm-line); }
.plan__name { margin: 0.5rem 0 0; font-size: 1.7rem; }
.plan__prices { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-block: 0.25rem; padding-block: 1rem; border-block: 1px solid var(--cm-line); }
.plan__prices p { display: grid; margin: 0; }
.plan__prices p + p { border-left: 1px solid var(--cm-line); }
.plan__price { font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan__per { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cm-cocoa); }
.plan__includes { display: grid; gap: 0.5rem; width: 100%; margin: 0 0 0.75rem; padding: 0; list-style: none; font-size: var(--fs-small); text-align: left; }
.plan__includes li { display: flex; gap: 0.5rem; }
.plan__includes .icon { margin-top: 0.15em; color: var(--cm-instock); }
.plan .btn { width: 100%; margin-top: auto; }

.booking { display: grid; gap: 1.5rem; }
@media (min-width: 960px) {
  .booking { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3.5rem; align-items: start; }
}
.booking__intro > p { color: var(--cm-cocoa); }

/* ------------------------------ Help card, next steps, other services (v0.8) */
.help-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem 1.35rem 1.4rem;
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 60%), var(--cm-ivory);
  border: 1px solid rgba(180, 139, 64, 0.35);
  border-radius: var(--radius-card);
}
.section--ivory .help-card { background: var(--cm-white); }
.help-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--cm-icon);
  background: var(--cm-white);
  border: 1px solid rgba(180, 139, 64, 0.45);
  border-radius: 50%;
}
.section--ivory .help-card__icon { background: var(--cm-ivory); }
.help-card__icon .icon { width: 1.3rem; height: 1.3rem; }
.help-card__title { margin: 0.2rem 0 0.3rem; font-family: var(--cm-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: var(--cm-espresso); }
.help-card__text { margin: 0 0 1rem; font-size: var(--fs-small); color: var(--cm-cocoa); }
.help-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.help-card__more { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0.9rem 0 0; font-size: var(--fs-small); }
.help-card__text + .help-card__more { margin-top: 0; }
.help-card__more a { display: inline-flex; align-items: center; gap: 0.4rem; overflow-wrap: anywhere; color: var(--cm-espresso); }
.help-card__more .icon { flex: none; width: 1rem; height: 1rem; color: var(--cm-gold); }
.help-card .tbc { color: var(--cm-gold-deep); } /* 4.5 : 1 or more on ivory */

.next-steps { margin-top: 2rem; }
.next-steps__title { margin: 0 0 1.1rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cm-gold-deep); }
.booking__intro .help-card, .booking__intro .service-links { margin-top: 1.75rem; }
.steps--compact .steps__item { grid-template-columns: 2.5rem 1fr; column-gap: 1rem; padding-bottom: 1.25rem; }
.steps--compact .steps__item:last-child { padding-bottom: 0; }
.steps--compact .steps__item::before { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
.steps--compact .steps__item:not(:last-child)::after { top: 2.5rem; left: 1.25rem; }
.steps--compact .steps__item h3 { margin: 0.35rem 0 0.2rem; font-size: 1.3rem; }
.steps--compact .steps__item p { font-size: var(--fs-small); }

.service-layout__aside { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .service-layout__aside { margin-top: 2.5rem; }
}
.service-links ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.service-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: var(--cm-espresso);
  text-decoration: none;
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius-card);
  transition: border-color 0.2s ease, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-links a:hover { color: var(--cm-espresso); border-color: rgba(180, 139, 64, 0.6); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.service-links__art { display: grid; flex: none; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--cm-ivory); border: 1px solid rgba(180, 139, 64, 0.4); border-radius: 50%; }
.service-links__art .ill { width: 62%; height: auto; color: var(--cm-icon); stroke-width: 1.6; }
.service-links__text { display: grid; flex: 1; gap: 0.1rem; min-width: 0; }
.service-links__text strong { font-family: var(--cm-display); font-size: 1.25rem; font-weight: 600; line-height: 1.15; }
.service-links__text span { font-size: var(--fs-small); color: var(--cm-cocoa); }
.service-links a > .icon { flex: none; width: 1.1rem; height: 1.1rem; color: var(--cm-gold); transition: transform 0.2s var(--ease); }
.service-links a:hover > .icon { transform: translateX(4px); }

/* Category side column: filters, then the help card. On phones the help card moves below the products. */
.listing__side { display: contents; }
.listing__side .help-card { order: 2; }
@media (min-width: 1024px) {
  .listing__side { display: grid; gap: 1rem; align-self: start; }
  .listing__side .help-card { order: 0; }
  .listing__side .filters { position: static; }
  .listing__side .help-card { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
}
@media (min-width: 1024px) and (min-height: 820px) {
  .listing__side { position: sticky; top: calc(var(--header-height) + 1.25rem); }
}

/* -------------------------------------------------------------- About */
.about__seal { width: clamp(180px, 22vw, 260px); height: auto; }
.split--about .split__media { background: radial-gradient(55% 55% at 50% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%), var(--cm-sand); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.offer { padding: 2rem 1.75rem; background: var(--cm-white); border: 1px solid var(--cm-line); border-radius: var(--radius-card); }
.offer__art { width: 76px; height: 76px; padding: 13px; margin-bottom: 1rem; color: var(--cm-icon); background: var(--cm-ivory); border: 1px solid rgba(180, 139, 64, 0.45); border-radius: 50%; }
.offer h3 { margin-bottom: 0.35rem; }
.offer p { margin: 0; font-size: var(--fs-small); color: var(--cm-cocoa); }

/* ---------------------------------------------------------------- FAQ */
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { margin-bottom: 0.75rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.faq { background: var(--cm-white); border: 1px solid var(--cm-line); border-radius: var(--radius-card); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq + .faq { margin-top: 0.6rem; }
.faq[open] { border-color: var(--cm-gold); box-shadow: var(--shadow-card); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; font-size: 1.0625rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { flex: none; width: 1.75rem; height: 1.75rem; padding: 0.3rem; color: var(--cm-gold-text); border: 1px solid var(--cm-line); border-radius: 50%; transition: transform 0.25s var(--ease); }
.faq[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 1.35rem 1.35rem; color: var(--cm-cocoa); }
.faq__a p { margin: 0; }
.faq-more { margin-top: 3rem; padding: clamp(1.75rem, 4vw, 2.5rem); text-align: left; background: var(--cm-ivory); border-radius: var(--radius-box); }
.faq-more h2 { margin-bottom: 0.35rem; font-size: 2rem; }

/* --------------------------------------------------- Long text, guides */
.prose { max-width: 46rem; }
.prose h2 { margin: 2.5rem 0 0.6rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { line-height: 1.8; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--cm-gold); }
.prose__lead { padding-left: 1.25rem; font-size: 1.25rem; color: var(--cm-cocoa); border-left: 2px solid var(--cm-gold); }
.prose__updated { margin-top: 2.5rem; font-size: 0.875rem; color: var(--cm-cocoa); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--cm-white); border: 1px solid var(--cm-card-line); border-radius: var(--radius-card); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.post-card__media { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(60% 70% at 50% 50%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(180deg, var(--cm-ivory), var(--cm-cream-deep)); }
.post-card__media::before { content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; border: 1px solid rgba(180, 139, 64, 0.35); border-radius: 50%; }
.post-card__art { width: 76px; height: auto; color: var(--cm-icon); transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__art { transform: scale(1.08); }
.post-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1.35rem 1.35rem 1.5rem; }
.post-card__label { margin: 0; color: var(--cm-gold-text); }
.post-card__title { margin: 0; font-size: 1.6rem; }
.post-card__title a { color: var(--cm-espresso); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { margin: 0; font-size: var(--fs-small); color: var(--cm-cocoa); }
.post-card .link-arrow { margin-top: auto; padding-top: 0.75rem; }
/* v0.8: three guides fill the row; the first guide on the guides page is a large card */
.post-grid--fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.post-grid__featured { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .post-card--featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .post-card--featured .post-card__media { aspect-ratio: auto; min-height: 340px; }
  .post-card--featured .post-card__media::before { width: min(62%, 270px); }
  .post-card--featured .post-card__body { justify-content: center; gap: 0.75rem; padding: clamp(1.75rem, 4vw, 3.25rem); }
  .post-card--featured .post-card__title { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.1; }
  .post-card--featured .post-card__excerpt { font-size: 1.0625rem; }
  .post-card--featured .link-arrow { margin-top: 0.5rem; }
}
.post-card--featured .post-card__art { width: clamp(96px, 10vw, 132px); stroke-width: 1.1; }

.post-layout { display: grid; gap: 2rem; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 46rem) 19rem; justify-content: space-between; gap: 3rem; }
  .post-aside__box { position: sticky; top: calc(var(--header-height) + 1.5rem); }
}
.post__head h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }
.post__head .label { color: var(--cm-gold-text); }
.post__meta { margin: 0 0 1.75rem; padding-bottom: 1.5rem; font-size: 0.875rem; color: var(--cm-cocoa); border-bottom: 1px solid var(--cm-line); }
.post-aside__box { display: grid; gap: 0.75rem; }
.post-aside__box h2 { margin: 0; font-size: 1.6rem; }
.post-aside__box p { margin: 0 0 0.5rem; font-size: var(--fs-small); color: var(--cm-cocoa); }

/* --------------------------------------------- Floating WhatsApp, phone bar */
.float-actions {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}
.float-actions__wa { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.float-actions__label {
  display: none;
  padding: 0.5rem 0.95rem;
  font-size: 0.8125rem;
  color: var(--cm-espresso);
  background: var(--cm-white);
  border: 1px solid var(--cm-line);
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(26, 14, 8, 0.35);
  transition: transform 0.25s var(--ease);
}
@media (min-width: 1024px) {
  .float-actions__label { display: block; }
}
.float-actions__wa:hover .float-actions__label { transform: translateX(-3px); }
.float-actions__btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 12px 28px -8px rgba(26, 14, 8, 0.45);
  transition: transform 0.2s var(--ease), background-color 0.15s ease;
}
.float-actions__btn .icon { width: 28px; height: 28px; }
.float-actions__wa:hover .float-actions__btn, .float-actions__btn:hover { color: #FFFFFF; transform: scale(1.06); }
.float-actions__btn--whatsapp { background: var(--cm-whatsapp); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 12px 28px -8px rgba(26, 14, 8, 0.45); }
.float-actions__wa:hover .float-actions__btn--whatsapp { background: var(--cm-whatsapp-hover); }
.float-actions__btn--messenger { background: var(--cm-espresso); }

.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 45;
  display: none;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--cm-line);
  box-shadow: 0 -10px 30px -12px rgba(36, 20, 13, 0.2);
}
@supports (backdrop-filter: blur(1px)) {
  .mobile-bar { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.6) blur(14px); }
}
.mobile-bar__item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.2rem;
  min-height: 56px;
  padding: 0.3rem 0;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cm-espresso);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.mobile-bar__item:active { background: var(--cm-ivory); }
.mobile-bar__item .icon { width: 1.35rem; height: 1.35rem; color: var(--cm-gold-text); }
.mobile-bar__item--wa .icon { color: var(--cm-whatsapp); }
.no-js .mobile-bar button { display: none; }
@media (max-width: 767.98px) {
  .mobile-bar { display: grid; }
  .float-actions { display: none; }
}

/* Local and staging marker */
.env-flag {
  position: fixed;
  bottom: calc(0.75rem + var(--mobile-bar));
  left: 0.75rem;
  z-index: 30;
  margin: 0;
  padding: 0.3rem 0.6rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cm-ivory);
  background: rgba(36, 20, 13, 0.8);
  border-radius: 4px;
  pointer-events: none;
}

/* Design switch (v1.4): local and staging only, so the client can compare Classic (v1.3) and Café on the same
   pages. The same block is in main.css and cafe.css. See config/looks.php */
.look-picker {
  position: fixed;
  bottom: calc(2.6rem + var(--mobile-bar));
  left: 0.75rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #FBF8F2;
  background: rgba(36, 20, 13, 0.92);
  border: 1px solid rgba(210, 184, 137, 0.45);
  border-radius: 999px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}
.look-picker__label { padding: 0 0.45rem 0 0.6rem; font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: #D2B889; }
.look-picker a { display: inline-grid; place-items: center; min-height: 32px; padding: 0 0.75rem; color: #FBF8F2; text-decoration: none; border-radius: 999px; }
.look-picker a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.12); }
html[data-look="classic"] .look-picker a[data-look="classic"],
html[data-look="cafe"] .look-picker a[data-look="cafe"] { color: #24140D; background: #D2B889; }
.look-picker :focus-visible { outline: 2px solid #D2B889; outline-offset: 2px; }
@media print {
  .look-picker, .env-flag { display: none; }
}

/* ------------------------------------------------------------------ Motion (v0.7)
 * Everything that moves on its own runs only under html.motion. The small script in head.php sets it before
 * the page paints, when the browser has IntersectionObserver and the visitor has not asked for less motion.
 * Without it the page is complete and still. One easing (--ease); entrances 0.8 to 1.2 s; loops slow and small. */
@keyframes cm-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cm-arch { from { opacity: 0; transform: translateY(44px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes cm-pop { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }
@keyframes cm-show { to { opacity: 1; transform: none; stroke-opacity: 1; } }
@keyframes cm-spin { to { transform: rotate(1turn); } }
@keyframes cm-ping { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.65); } }
@keyframes cm-btn-shine { to { left: 130%; } }
@keyframes cm-steam {
  0% { opacity: 0; transform: translateY(3px) scaleY(0.8); }
  35% { opacity: 1; }
  75% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-4px) scaleY(1.05); }
}

/* Page load: the hero copy rises in line by line, the arch follows, then the two orbs pop in */
.motion .hero__copy > *, .motion .page-hero__copy > * { animation: cm-rise 0.9s var(--ease) both; }
.motion .hero__copy > :nth-child(2), .motion .page-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.motion .hero__copy > :nth-child(3), .motion .page-hero__copy > :nth-child(3) { animation-delay: 0.2s; }
.motion .hero__copy > :nth-child(4), .motion .page-hero__copy > :nth-child(4) { animation-delay: 0.32s; }
.motion .hero__copy > :nth-child(5), .motion .page-hero__copy > :nth-child(5) { animation-delay: 0.44s; }
.motion .hero__arch, .motion .page-hero__art { animation: cm-arch 1.2s var(--ease) 0.15s both; }
.motion .hero__orb--grinder { animation: cm-pop 0.8s var(--ease) 0.75s both, cm-float 7s ease-in-out 1.6s infinite; }
.motion .hero__orb--cup { animation: cm-pop 0.8s var(--ease) 0.9s both, cm-float 7s ease-in-out 4.6s infinite; }
.motion .features__list { animation: cm-rise 1s var(--ease) 0.45s both; }

/* A soft light passes once across the arch, like the shine on the logo */
.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 60%) no-repeat;
  background-size: 250% 100%;
  background-position: 100% 0;
  pointer-events: none;
}
.motion .hero__arch::after { animation: cm-shine 1.8s var(--ease) 2s both; }

/* Line drawings (illustration_inline): main.js draws the lines when the drawing scrolls into view,
   then the soft fills fade in. The steam over the cup rises in a slow loop. */
.motion [data-draw]:not(.is-drawn) { stroke-opacity: 0; }
.motion [data-draw] .ill-fill { transition: opacity 1.4s ease 1s; }
.motion [data-draw]:not(.is-drawn) .ill-fill { opacity: 0; }
.motion .ill-steam { transform-box: fill-box; transform-origin: 50% 100%; animation: cm-steam 3.6s ease-in-out infinite; }
.motion .ill-steam:nth-last-child(2) { animation-delay: -1.2s; }
.motion .ill-steam:nth-last-child(3) { animation-delay: -2.4s; }

/* Scroll reveal: sections and cards rise in as they reach the screen; cards in a row follow each other.
   data-reveal="left", "right" or "zoom" change the direction. */
.motion [data-reveal],
.motion .section-bar,
.motion :is(.product-grid:not(.product-grid--row), .post-grid, .plan-grid, .offer-grid) > li {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.motion [data-reveal="left"] { transform: translateX(-36px); }
.motion [data-reveal="right"] { transform: translateX(36px); }
.motion [data-reveal="zoom"] { transform: scale(0.92); }
.motion :is(.product-grid, .post-grid, .plan-grid, .offer-grid) > li:nth-child(4n + 2) { --i: 1; }
.motion :is(.product-grid, .post-grid, .plan-grid, .offer-grid) > li:nth-child(4n + 3) { --i: 2; }
.motion :is(.product-grid, .post-grid, .plan-grid, .offer-grid) > li:nth-child(4n + 4) { --i: 3; }
.motion [data-reveal].is-visible,
.motion .section-bar.is-visible,
.motion :is(.product-grid, .post-grid, .plan-grid, .offer-grid) > li.is-visible { opacity: 1; transform: none; }
/* The gold rule in front of a section's eyebrow draws in after the heading */
.motion .section-bar .eyebrow::before { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) 0.35s; }
.motion .section-bar.is-visible .eyebrow::before { clip-path: inset(0); }
/* If main.js does not run, everything shows after a moment */
.motion:not(.motion-ready) :is([data-reveal], .section-bar, [data-draw], .ill-fill),
.motion:not(.motion-ready) :is(.product-grid, .post-grid, .plan-grid, .offer-grid) > li,
.motion:not(.motion-ready) .section-bar .eyebrow::before { animation: cm-show 0.6s 2.5s forwards; }
.motion:not(.motion-ready) .section-bar .eyebrow::before { clip-path: none; }

/* Dotted rings, like the rim of the seal, turn slowly around the round drawings */
.page-hero__art, .banner__media { position: relative; }
.page-hero__art::before, .banner__media::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 2px dotted rgba(180, 139, 64, 0.42);
  border-radius: 50%;
  pointer-events: none;
}
.motion .page-hero__art::before, .motion .banner__media::before { animation: cm-spin 90s linear infinite; }

/* Buttons: a band of light crosses the dark and gold buttons on hover; arrows nudge forward */
.btn--primary, .btn--gold { position: relative; isolation: isolate; overflow: hidden; }
.btn--primary::after, .btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  z-index: -1;
  width: 50%;
  background: linear-gradient(90deg, rgba(255, 236, 190, 0), rgba(255, 236, 190, 0.22), rgba(255, 236, 190, 0));
  transform: skewX(-20deg);
  pointer-events: none;
}
.motion .btn--primary:hover::after, .motion .btn--gold:hover::after { animation: cm-btn-shine 0.9s var(--ease); }
.btn > .icon:last-child:not(:first-child) { transition: transform 0.25s var(--ease); }
.btn:hover > .icon:last-child:not(:first-child) { transform: translateX(4px); }

/* The WhatsApp button sends out three soft rings a little after the page opens, then rests */
.float-actions__btn--whatsapp { position: relative; }
.motion .float-actions__btn--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--cm-whatsapp);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: cm-ping 2.4s ease-out 3s 3;
}

/* Reading progress: a thin gold line under the sticky header, where the browser can tie it to scrolling */
@keyframes cm-progress { to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .motion .site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cm-gold-light), var(--cm-gold));
    transform: scaleX(0);
    transform-origin: 0 50%;
    animation: cm-progress linear both;
    animation-timeline: scroll(root);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------- Green accents (v1.3)
   The client's two greens, used very little on the v0.8 design: sage for a few thin rings and the small
   feature circles, forest for the icons in those circles, stock labels, the chosen brand chip and ticks. */
.hero::before { outline: 1px solid rgba(163, 194, 177, 0.85); outline-offset: 70px; } /* a thin sage line at the outer edge of the v0.8 band (an outline, so it does not tint the band) */
.hero__orb { border-color: var(--cm-sage); box-shadow: 0 0 0 6px rgba(238, 244, 240, 0.85), 0 20px 40px -18px rgba(120, 86, 40, 0.55); }

.feature__icon { color: var(--cm-forest); background: var(--cm-sage-tint); border-color: rgba(163, 194, 177, 0.8); }
.feature__icon--wa { color: var(--cm-whatsapp); }

.cat-tile__media { box-shadow: 0 0 0 6px var(--cm-white), 0 0 0 7px rgba(163, 194, 177, 0.6); }
.cat-tile:hover .cat-tile__media { box-shadow: 0 0 0 6px var(--cm-ivory), 0 0 0 7px var(--cm-sage); }
.service-panel__art { box-shadow: 0 0 0 6px var(--cm-white), 0 0 0 7px rgba(163, 194, 177, 0.6); }
.product-card__media--placeholder::before { outline: 1px solid rgba(163, 194, 177, 0.5); outline-offset: 14px; }

.brand-chips a[aria-current] { background: var(--cm-forest); border-color: var(--cm-forest); }
.brand-chips a[aria-current] span { color: var(--cm-forest); }
.check input, .filters input[type="checkbox"] { accent-color: var(--cm-forest); }
