/* Groomi website mockup, October 2026.
   Brand: Hannah's final guidelines (lowercase wordmark in Fern or Oat, Oat and Paper lead, pink is the accent,
   one Butter call to action). Layout reference: quantumbody.io (glass chips, stacked feature list).
   Shape rule: buttons, chips and inputs are full pill; images, cards and glass panels are 16px. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-italic.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/InstrumentSans-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/InstrumentSans-italic.woff2) format("woff2"); }

:root {
  --fern: #1E3B2F;
  --fern-2: #264a3b;
  --fern-deep: #14281F;
  --oat: #F3ECE0;
  --oat-2: #E9E1D2;
  --paper: #FAF8F3;
  --stage: var(--oat-2); /* behind brush cut-outs: Hannah (27 Oct) found white too harsh, asked for oat or green */
  --bone: #EAE2D3;   /* hero wall and section, graded into the photo */
  --rasp: #9D2F56;
  --blush: #E58AAB;
  --butter: #F2C94C;
  --champagne: #AE8D55;      /* champagne gold (Charlotte, 6 Nov): the steel comb's metal accent, on light grounds */
  --champagne-soft: #D8BE8E; /* same gold on Fern */
  --champagne-ink: #7E6232;  /* gold for small text and the stars: 4.4:1+ on Oat 2 */
  --body: #3C4A43;
  --line: rgba(30, 59, 47, .14);
  --line-on-fern: rgba(243, 236, 224, .16);
  --glass: linear-gradient(135deg, rgba(243,236,224,.15), rgba(243,236,224,.05));

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", Arial, sans-serif;

  --display: clamp(3.5rem, 1.8rem + 6.4vw, 7.25rem);
  --h1: clamp(2.5rem, 1.7rem + 3.4vw, 4rem);
  --h2: clamp(2rem, 1.6rem + 1.6vw, 2.5rem);
  --h3: 1.625rem;
  --body-size: 1.125rem;
  --small: .875rem;

  --r: 16px;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--oat); color: var(--body);
  font: 400 var(--body-size)/1.5 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rasp); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--butter); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; color: var(--fern); margin: 0; letter-spacing: -.015em; }
.display { font-size: var(--display); line-height: 1; letter-spacing: -.025em; }
.h1 { font-size: var(--h1); line-height: 1.05; }
.h2 { font-size: var(--h2); line-height: 1.1; }
.h3 { font-size: var(--h3); line-height: 1.15; }
/* the one italic turn per headline */
.turn { font-style: italic; color: var(--rasp); padding-right: .04em; }
.label { font: 600 .75rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rasp); margin: 0 0 1rem; }
/* kicker: tracked caps led by a short rule */
.kicker { display: inline-flex; align-items: center; gap: .75rem; font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rasp); margin: 0 0 1.5rem; }
.kicker::before { content: ""; width: 24px; height: 1.5px; background: var(--champagne); flex: none; }
.dark .kicker::before, .coats__card .kicker::before { background: var(--champagne-soft); }
.lede { font-size: 1.1875rem; max-width: 36ch; margin: 1.5rem 0 0; }
p { margin: 0; }
.prose p + p { margin-top: 1em; }

/* dark surfaces */
.dark { background: var(--fern); color: rgba(243,236,224,.82); }
.dark .display, .dark .h1, .dark .h2, .dark .h3 { color: var(--oat); }
.dark .turn, .dark .kicker, .dark .label { color: var(--blush); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--fern); --fg: var(--oat);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 52px; padding: 0 1.6rem; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); white-space: nowrap;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--fern-2); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--butter { --bg: var(--butter); --fg: var(--fern); }
.btn--butter:hover { background: #f5d266; box-shadow: 0 12px 28px -12px rgba(242,201,76,.6); }
.btn--ghost { --bg: transparent; --fg: var(--fern); box-shadow: inset 0 0 0 1.5px var(--fern); }
.btn--ghost:hover { background: rgba(30,59,47,.06); }
.dark .btn--ghost { --fg: var(--oat); box-shadow: inset 0 0 0 1.5px rgba(243,236,224,.55); }
.dark .btn--ghost:hover { background: rgba(243,236,224,.08); }
.link {
  font-weight: 600; color: var(--fern); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.dark .link { color: var(--oat); }
.ph { font-size: 1.25em; line-height: 1; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(243,236,224,.9); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
/* home: header floats clear over the bone hero, then picks up a bone glass once you scroll */
.site-header--clear { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--clear.is-stuck { background: rgba(234,226,211,.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.nav { height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.75rem; }
/* the wordmark never goes under 120px wide (guidelines) */
.brand { display: block; }
.brand img { width: 148px; height: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--fern); padding: .4rem 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--rasp); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: .35rem; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 0; background: transparent; color: var(--fern); cursor: pointer; text-decoration: none; position: relative; }
.icon-btn:hover { background: rgba(30,59,47,.07); }
.icon-btn .ph { font-size: 1.4rem; }
.basket-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rasp); color: var(--paper); font: 600 11px/18px var(--sans); text-align: center; transform: scale(0); transition: transform .35s var(--ease); }
.basket-count.has-items { transform: scale(1); }
.menu-btn { display: none; }

/* mobile menu */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,36,29,.45); opacity: 0; transition: opacity .35s var(--ease); }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 380px); background: var(--oat); padding: 1.25rem var(--gutter) 2rem; transform: translateX(-102%); transition: transform .45s var(--ease); display: flex; flex-direction: column; gap: 2rem; }
.drawer__panel img { width: 132px; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.drawer__links a { display: block; font: 400 2.25rem/1.25 var(--serif); color: var(--fern); text-decoration: none; padding: .2rem 0; }

/* ---------- home: hero ---------- */
/* Full bleed, no frame. The photo is pinned to the bottom edge and spans the viewport; its wall was graded
   to --bone, so the section colour above it is the same wall. Fur drifts on a canvas over everything. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bone); color: var(--fern); min-height: max(100dvh, 640px); }
.hero__photo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; }
.hero__photo img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); }
.hero__fur { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero__inner { position: relative; min-height: inherit; padding-top: calc(var(--nav-h) + clamp(1.25rem, 4vh, 3rem)); }
/* centred column: the wordmark leads at full size, the headline and CTAs sit under it */
.hero__copy { position: relative; z-index: 4; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { width: clamp(260px, 32vw, 520px); height: auto; margin-bottom: clamp(1.25rem, 3.5vh, 2.25rem); }
.hero__copy .display { font-size: clamp(2.75rem, 1.2rem + 3.6vw, 5.25rem); padding-bottom: .06em; }
.hero__copy p { margin-top: 1rem; max-width: 46ch; font-size: 1.1875rem; color: var(--body); text-wrap: balance; }
.hero__ctas { display: flex; align-items: center; justify-content: center; gap: 1.75rem; margin-top: 1.6rem; flex-wrap: wrap; }
/* social proof under the CTAs: a frosted pill with the live Trustpilot rating */
.hero__tp { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: .3rem .6rem; margin-top: 1.25rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(30,59,47,.1); color: var(--fern); text-decoration: none; font-size: .9375rem; transition: background-color .25s var(--ease); }
.hero__tp:hover { background: rgba(255,255,255,.8); }
.hero__tp strong { font-weight: 600; }
.hero__tp > span:last-child { color: #4d5a53; }
/* the big wordmark does the header's job at the top of the home page; the header mark returns once you scroll */
.site-header--clear .brand { transition: opacity .4s var(--ease), visibility .4s; }
.site-header--clear:not(.is-stuck) .brand { opacity: 0; visibility: hidden; }
.hero__brush { position: absolute; z-index: 2; right: 3%; top: calc(var(--nav-h) + 30vh); width: clamp(200px, 20vw, 340px); transform: rotate(-16deg); }
.hero__brush img { width: 100%; filter: drop-shadow(0 34px 28px rgba(90,64,30,.28)) drop-shadow(0 8px 10px rgba(90,64,30,.18)); }

/* light glass chips */
.gchip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .8rem;
  padding: .65rem 1.1rem .65rem .65rem; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 20px 40px -22px rgba(90,64,30,.35);
  color: var(--fern); max-width: 270px;
}
.gchip__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(30,59,47,.07); color: var(--champagne); flex: none; }
.gchip__icon .ph { font-size: 1.35rem; }
.gchip strong { display: block; font: 600 .9375rem/1.25 var(--sans); }
.gchip span { display: block; font-size: .8125rem; line-height: 1.35; color: #4d5a53; margin-top: .1rem; }
.gchip--a { left: 4%; top: calc(var(--nav-h) + 40vh); }
@media (max-width: 1200px) { .gchip--a { display: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gchip { background: rgba(250,248,243,.96); }
}

/* ---------- home: proof strip (marquee) ---------- */
/* Two identical tracks slide left by one track width plus the gap, so the loop has no seam. */
.proof { --gap: clamp(2rem, 4vw, 3.5rem); position: relative; display: flex; align-items: center; background: var(--fern); color: var(--oat); border-bottom: 1px solid var(--line-on-fern); }
.proof__viewport { flex: 1; min-width: 0; display: flex; gap: var(--gap); overflow: hidden; padding: 1.15rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.proof__track { flex: none; display: flex; align-items: center; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.proof__track li { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-size: 1rem; font-weight: 500; }
.proof__track .ph { color: var(--champagne-soft); font-size: 1.3rem; }
.proof__toggle { flex: none; width: 40px; height: 40px; margin: 0 var(--gutter) 0 .5rem; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgba(243,236,224,.1); color: var(--oat); cursor: pointer; transition: background .2s; }
.proof__toggle:hover { background: rgba(243,236,224,.18); }
.proof__toggle:focus-visible { outline-color: var(--butter); }
@media (prefers-reduced-motion: no-preference) {
  .proof__track { animation: marquee 38s linear infinite; }
  .proof:hover .proof__track, .proof:focus-within .proof__track, .proof.is-paused .proof__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
}
/* no motion: one static, wrapping row and no pause button */
@media (prefers-reduced-motion: reduce) {
  .proof__viewport { flex-wrap: wrap; justify-content: center; row-gap: .75rem; padding-inline: var(--gutter); -webkit-mask-image: none; mask-image: none; }
  .proof__track { flex-wrap: wrap; justify-content: center; row-gap: .75rem; }
  .proof__track[aria-hidden], .proof__toggle { display: none; }
}

/* ---------- home: manifesto + band ---------- */
.manifesto { background: var(--fern); padding: clamp(5rem, 10vw, 9rem) 0; overflow-x: clip; }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.manifesto__big { font: 400 clamp(1.9rem, 1rem + 2.6vw, 3.25rem)/1.15 var(--sans); letter-spacing: -.02em; color: var(--oat); max-width: 24ch; }
.manifesto__small { font-size: 1.125rem; color: rgba(243,236,224,.72); max-width: 38ch; }
.band { background: var(--oat); padding: clamp(3rem, 6vw, 5.5rem) 0 0; overflow: hidden; }
.band__title { font: 400 clamp(3.5rem, 1rem + 10.5vw, 12rem)/.92 var(--serif); letter-spacing: -.035em; color: var(--fern); margin: 0; padding-bottom: .1em; }

/* ---------- home: stacked features with a sticky media card ---------- */
.feat { background: var(--oat); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(5rem, 9vw, 8rem); }
.feat__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.feat__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feat__row { border-bottom: 1px solid var(--line); }
.feat__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; border: 0; background: none; text-align: left; cursor: pointer; font: 400 clamp(1.75rem, 1.1rem + 1.9vw, 2.75rem)/1.1 var(--serif); letter-spacing: -.01em; color: rgba(30,59,47,.58); transition: color .35s var(--ease); }
.feat__btn .ph { font-size: 1.5rem; color: var(--rasp); opacity: 0; transform: translateX(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.feat__btn:hover, .feat__row.is-active .feat__btn { color: var(--fern); }
.feat__row.is-active .feat__btn .ph { opacity: 1; transform: none; }
.feat__desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.feat__desc > p { overflow: hidden; max-width: 46ch; font-size: 1.0625rem; }
.feat__row.is-active .feat__desc { grid-template-rows: 1fr; }
.feat__row.is-active .feat__desc > p { padding-bottom: 1.5rem; }
.feat__cta { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.feat__cta small { font-size: var(--small); color: #5a6760; }
.feat__media { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--stage); }
.feat__media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease); display: grid; place-items: center; }
.feat__media figure.is-active { opacity: 1; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.feat__media figure.is-active img { transform: none; }
.feat__media img.contain { width: 78%; height: auto; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(90,64,30,.16)); }
.feat__media img.tilt { rotate: -12deg; }
.feat__tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border-radius: 999px; background: rgba(20,40,31,.55); color: var(--oat); font-size: .875rem; font-weight: 500; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(243,236,224,.18); }
.feat__tag .ph { color: var(--champagne-soft); }

/* ---------- home: full-bleed coats carousel ---------- */
.coats { position: relative; min-height: min(92vh, 900px); overflow: hidden; color: var(--oat); display: grid; isolation: isolate; }
.coats__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); z-index: -2; }
.coats__slide.is-active { opacity: 1; }
.coats__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.coats__slide.is-active img { transform: scale(1); }
.coats::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,40,31,.55) 0%, rgba(20,40,31,0) 38%, rgba(20,40,31,0) 55%, rgba(20,40,31,.7) 100%); }
.coats__inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); min-height: inherit; }
.coats__head { grid-column: 1 / -1; justify-self: end; text-align: right; }
.coats__head .display { color: var(--oat); font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.coats__head .turn { color: var(--blush); }
.coats__card { grid-column: 2; grid-row: 3; justify-self: end; width: min(440px, 100%); padding: 1.75rem; border-radius: var(--r); background: var(--glass), rgba(20,40,31,.42); border: 1px solid rgba(243,236,224,.2); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.coats__card .kicker { margin-bottom: 1rem; color: var(--blush); }
.coats__card h3 { font: 400 2.5rem/1 var(--serif); color: var(--oat); margin: 0; }
.coats__card p { margin-top: .75rem; font-size: 1.0625rem; color: rgba(243,236,224,.85); min-height: 3em; }
.coats__ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-on-fern); }
.coats__ctrl small { font-size: .8125rem; color: rgba(243,236,224,.7); max-width: 22ch; }
.coats__arrows { display: flex; gap: .5rem; }
.coats__arrows button { width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--oat); color: var(--fern); cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease), background .25s; }
.coats__arrows button:hover { background: #fff; }
.coats__arrows button:active { transform: scale(.94); }
.coats__dots { display: flex; gap: .35rem; margin-top: 1rem; }
.coats__dots span { height: 3px; flex: 1; border-radius: 2px; background: rgba(243,236,224,.25); overflow: hidden; }
.coats__dots span.is-active { background: var(--oat); }
/* autoplay: the active dot fills over the slide's time on screen; its animationend advances the slide */
.coats__dots i { display: block; height: 100%; background: var(--oat); transform: scaleX(0); transform-origin: left; }
.coats.is-auto .coats__dots span.is-active { background: rgba(243,236,224,.25); }
.coats.is-auto .coats__dots span.is-active i { animation: coat-fill 6.5s linear both; }
/* as specific as the rule above, or its animation shorthand resets the play state to running */
.coats.is-auto .coats__card:hover span.is-active i, .coats.is-auto .coats__card:focus-within span.is-active i, .coats.is-auto.is-paused .coats__dots span.is-active i { animation-play-state: paused; }
@keyframes coat-fill { to { transform: none; } }

/* ---------- product spotlight ---------- */
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section--paper { background: var(--paper); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.spot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.spot__stage { background: var(--stage); border-radius: var(--r); aspect-ratio: 6 / 5; display: grid; place-items: center; overflow: hidden; position: relative; }
.spot__stage img { width: 76%; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.spot__stage img.is-swapping { opacity: 0; transform: translateY(10px) rotate(-2deg); }
.price { font: 400 2rem/1 var(--serif); color: var(--fern); margin: 1.5rem 0 0; }
.swatches { display: flex; gap: .75rem; margin: 1.75rem 0 0; padding: 0; border: 0; }
.swatches legend { font-size: var(--small); font-weight: 600; color: var(--fern); margin-bottom: .75rem; padding: 0; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch label { display: inline-flex; align-items: center; gap: .6rem; height: 44px; padding: 0 1.1rem 0 .5rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 500; color: var(--fern); transition: box-shadow .2s; }
.swatch label::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch input:checked + label { box-shadow: inset 0 0 0 2px var(--fern); }
.swatch input:focus-visible + label { outline: 2px solid var(--rasp); outline-offset: 3px; }
.spot__ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ---------- reviews and ratings ---------- */
/* stars fill to the score: --r is the rating out of 5. Grey base stars with a solid raspberry copy on top,
   cut to the score's width (solid colours, so it holds up in forced-colours mode too) */
.stars { --r: 5; position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: .08em; white-space: nowrap; color: rgba(30,59,47,.18); }
.stars::before { content: "★★★★★"; position: absolute; top: 0; left: 0; bottom: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: var(--champagne-ink); }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 2.5rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.reviews__head .h1 { max-width: 14ch; }
.ratings { display: flex; gap: 1rem; flex-wrap: wrap; }
.rating { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.25rem .9rem 1.1rem; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--fern); text-decoration: none; transition: box-shadow .25s var(--ease); }
.rating:hover { box-shadow: inset 0 0 0 1.5px var(--fern); }
.rating__score { font: 400 2.5rem/1 var(--serif); }
.rating__meta { display: grid; gap: .2rem; font-size: .9375rem; font-weight: 600; }
.rating__meta small { font-size: .8125rem; font-weight: 400; color: #5a6760; }
.rating--small { margin-top: 1.75rem; }
.quotes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.quote { margin: 0; padding: 1.5rem; border-radius: var(--r); background: var(--paper); display: flex; flex-direction: column; gap: 1rem; }
.quote blockquote { margin: 0; font: 400 1.25rem/1.35 var(--serif); color: var(--fern); }
.quote figcaption { margin-top: auto; display: grid; gap: .1rem; font-size: .9375rem; }
.quote figcaption strong { color: var(--fern); font-weight: 600; }
.quote figcaption span { font-size: .8125rem; color: #5a6760; }
.reviews__source { margin-top: 1.5rem; font-size: var(--small); color: #5a6760; }
.reviews__source .link { margin-left: .5rem; }

/* product page: rating under the title, then the full review block */
.pdp-rating { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; color: var(--fern); text-decoration: none; font-size: .9375rem; }
.pdp-rating strong { font-weight: 600; }
.pdp-rating span:last-child { color: #5a6760; text-decoration: underline; text-underline-offset: 3px; }
.pdp-reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pdp-reviews__summary { position: sticky; top: calc(var(--nav-h) + 24px); }
.score { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.score__num { font: 400 4.5rem/1 var(--serif); color: var(--fern); }
.score__meta { display: grid; gap: .35rem; color: #5a6760; font-size: .9375rem; }
.score__meta .stars { font-size: 1.25rem; }
.bars { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .45rem; max-width: 340px; }
.bars li { display: grid; grid-template-columns: 4.25rem 1fr 1.5rem; align-items: center; gap: .75rem; font-size: .875rem; color: var(--fern); }
.bars li span:last-child { text-align: right; color: #5a6760; }
.bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--rasp) var(--p), rgba(30,59,47,.12) 0); }
.pdp-reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.review { padding: 1.5rem; border-radius: var(--r); background: var(--paper); display: flex; flex-direction: column; gap: .75rem; }
.review header { display: flex; justify-content: space-between; align-items: center; }
.review time { font-size: .8125rem; color: #5a6760; }
.review h3 { margin: 0; font: 600 1.0625rem/1.3 var(--sans); color: var(--fern); }
.review p { font-size: 1rem; }
.review footer { margin-top: auto; padding-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--fern); }
.pdp-reviews__list .reviews__source { grid-column: 1 / -1; margin-top: .25rem; }

/* FAQ: the live groomi.co.uk questions, in the shared accordion */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__list { margin-top: 0; }
.faq__list .acc__body p + p { margin-top: .75em; }

/* bath range rail */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.rail-ctrl { display: flex; gap: .5rem; }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--fern); color: var(--fern); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.rail-ctrl button:hover { background: rgba(30,59,47,.06); }
.rail-ctrl button:disabled { opacity: .3; cursor: default; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .25rem 0 .5rem; margin-top: 2.5rem; }
.rail::-webkit-scrollbar { display: none; }
.flavour { scroll-snap-align: start; text-decoration: none; color: inherit; display: block; }
.flavour__pack { aspect-ratio: 3 / 4; border-radius: 34% 34% var(--r) var(--r) / 16% 16% var(--r) var(--r); background: var(--oat); box-shadow: 0 30px 40px -30px rgba(30,59,47,.4); position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.flavour:hover .flavour__pack { transform: translateY(-6px); }
.flavour__cap { height: 18%; background: var(--fern); margin: 0 30%; border-radius: 0 0 10px 10px; }
.flavour__band { margin-top: auto; margin-bottom: 22%; background: var(--band); padding: 1.1rem 1rem; text-align: center; }
.flavour__band span { font: italic 400 1.9rem/1 var(--serif); color: var(--fern); }
.flavour__band small { display: block; margin-top: .45rem; font: 600 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fern); opacity: .75; }
.flavour__shot { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: color-mix(in srgb, var(--band) 38%, var(--paper)); }
.flavour__shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.flavour:hover .flavour__shot img { transform: translateY(-6px); }
.flavour__note { display: block; padding: .2rem .15rem 0; font-size: var(--small); color: #5a6760; }
.flavour__meta { display: flex; justify-content: space-between; padding: .9rem .15rem 0; color: var(--fern); }
.flavour__meta strong { font-weight: 600; }
.bath-note { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: var(--small); color: #5a6760; }
.bath-note span { display: inline-flex; align-items: center; gap: .4rem; }
.bath-note .ph { color: var(--champagne); }

/* ---------- home: story ---------- */
.story { padding: clamp(5rem, 9vw, 8rem) 0; }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--oat); display: grid; place-items: center; }
.story__img img { width: 84%; height: auto; filter: drop-shadow(0 24px 22px rgba(20,40,31,.18)); }
.story__copy .prose { margin-top: 1.75rem; max-width: 46ch; color: rgba(243,236,224,.8); }
.story__copy .link { display: inline-block; margin-top: 2rem; }
/* "Read our story" opens the rest of the story in place */
.story__more summary { list-style: none; cursor: pointer; }
.story__more summary::-webkit-details-marker { display: none; }
.story__more .prose { margin-top: 1.5rem; }
.when-open { display: none; }
details[open] > summary .when-open { display: inline; }
details[open] > summary .when-closed { display: none; }


/* ---------- home: scroll-grow image ---------- */
/* the photo opens from a card on the right to full bleed as you scroll */
.grow { position: relative; background: var(--fern-deep); }
.grow__pin { position: relative; height: 100dvh; overflow: hidden; display: grid; align-items: center; }
.grow__media { position: absolute; inset: 0; clip-path: inset(18% 7% 18% 46% round var(--r)); }
.grow__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* darker on the left, where the headline crosses the photo */
.grow__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,31,.62) 0%, rgba(20,40,31,.3) 45%, rgba(20,40,31,.12) 75%); }
.grow__text { position: relative; z-index: 2; }
.grow__text .display { color: var(--oat); max-width: 9ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
    .grow { height: 220vh; view-timeline-name: --grow; }
    .grow__pin { position: sticky; top: 0; }
    .grow__media { animation: grow-open linear both; animation-timeline: --grow; animation-range: contain 0% contain 70%; }
    .grow__text { animation: grow-text linear both; animation-timeline: --grow; animation-range: contain 30% contain 70%; }
    @keyframes grow-open { to { clip-path: inset(0 0 0 0 round 0); } }
    @keyframes grow-text { to { opacity: 0; transform: translateY(-40px); } }
  }
}

/* ---------- coat notes ---------- */
.notes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.note-feature { text-decoration: none; color: inherit; display: block; }
.note-feature > summary { list-style: none; cursor: pointer; }
.note-feature > summary::-webkit-details-marker { display: none; }
.note-feature__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; color: var(--rasp); }
.note-feature__more .ph { transition: transform .35s var(--ease); }
.note-feature[open] .note-feature__more .ph { transform: rotate(180deg); }
.note-body { margin: 1.25rem 0 0; font-size: 1rem; max-width: 56ch; }
.routine { display: grid; gap: 1rem; margin: 0 0 1.25rem; }
.routine dt { font-weight: 600; color: var(--fern); }
.routine dd { margin: .2rem 0 0; }
.note-feature__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.note-feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.note-feature:hover img { transform: scale(1.03); }
/* the feature card is type on Fern rather than a photo */
.note-feature__tile { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem); transition: background-color .4s var(--ease); }
.note-feature__tile .display { font-size: clamp(2.5rem, 1.4rem + 3vw, 4.5rem); max-width: 9ch; }
.note-feature:hover .note-feature__tile { background: var(--fern-2); }
.note-feature h3 { margin-top: 1.25rem; }
.note-feature p { margin-top: .5rem; max-width: 52ch; }
.note-list { list-style: none; margin: 0; padding: 0; }
.note-list details { border-bottom: 1px solid var(--line); }
.note-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.5rem 0; color: var(--fern); }
.note-list summary::-webkit-details-marker { display: none; }
.note-list li:first-child summary { padding-top: 0; }
.note-list .note-body { margin: -.25rem 0 0; padding: 0 0 1.5rem 1.1rem; color: var(--body); }
.note-list .note-body li + li { margin-top: .4rem; }
.note-list .h3 { font-size: 1.5rem; transition: color .25s; }
.note-list small { display: block; margin-top: .35rem; font: 400 .9375rem/1.4 var(--sans); color: #5a6760; }
.note-list .ph { font-size: 1.25rem; transition: transform .35s var(--ease); }
.note-list summary:hover .h3 { color: var(--rasp); }
.note-list details[open] summary .ph { transform: rotate(180deg); }

/* ---------- footer (light, oversized logo) ---------- */
.site-footer { background: var(--oat-2); color: var(--body); padding: clamp(4rem, 7vw, 6rem) 0 1.5rem; font-size: 1rem; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.signup .h3 { font-size: 1.75rem; color: var(--fern); }
.signup .h3 .turn { color: var(--rasp); }
.field { display: grid; gap: .5rem; margin-top: 1.5rem; max-width: 440px; }
.field label { font-size: var(--small); font-weight: 600; color: var(--fern); }
.field__row { display: flex; align-items: center; border-bottom: 1.5px solid var(--fern); }
.field input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; padding: 0; color: var(--fern); font-size: 1.0625rem; }
.field input::placeholder { color: #5f6c65; }
.field input:focus { outline: none; }
.field__row:focus-within { border-bottom-color: var(--rasp); box-shadow: 0 1.5px 0 var(--rasp); }
.field__row:has(input[aria-invalid="true"]) { border-bottom-color: var(--rasp); }
.field__submit { border: 0; background: none; color: var(--fern); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; height: 52px; padding: 0 0 0 1rem; }
.field__submit:hover { color: var(--rasp); }
.field__help { font-size: var(--small); color: #5a6760; }
.field__error { font-size: var(--small); color: var(--rasp); font-weight: 600; display: none; }
.field__error.is-shown { display: block; }
.signup__done { display: none; color: var(--fern); margin-top: 1.5rem; }
.signup.is-done form { display: none; }
.signup.is-done .signup__done { display: block; }
.footer-col h2 { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-ink); margin: .5rem 0 1.25rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-col a { text-decoration: none; color: var(--fern); }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--fern); text-decoration: none; }
.socials a:hover { background: rgba(30,59,47,.06); }
.footer-mark { margin-top: clamp(3rem, 7vw, 6rem); }
.footer-mark img { width: 100%; height: auto; }
.footer-base { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; font-size: var(--small); color: #5a6760; }
.footer-base em { font-family: var(--serif); font-size: 1.1em; color: var(--rasp); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; background: var(--fern); color: var(--oat); border-radius: 999px; padding: .85rem 1.4rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 18px 40px -16px rgba(20,36,29,.6); font-size: 1rem; white-space: nowrap; visibility: hidden; transform: translate(-50%, calc(100% + 40px)); transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.is-shown { visibility: visible; transform: translate(-50%, 0); transition: transform .5s var(--ease); }
.toast__link { color: var(--butter); font-weight: 600; text-underline-offset: 3px; }

/* ---------- shop ---------- */
.page-head { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: 2rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.chip { height: 42px; padding: 0 1.1rem; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--fern); font-weight: 500; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--fern); }
.chip[aria-pressed="true"] { background: var(--fern); color: var(--oat); box-shadow: none; }
/* sticky toolbar under the header: chips on the left, search on the right */
.shop-tools { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(243,236,224,.92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.shop-tools__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: .75rem; padding-bottom: .75rem; }
.shop-tools .chips { margin-top: 0; }
.shop-search { position: relative; flex: none; width: min(280px, 100%); }
.shop-search .ph { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--fern); font-size: 1.15rem; pointer-events: none; }
.shop-search input { width: 100%; height: 42px; padding: 0 1rem 0 2.75rem; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--fern); font-size: 1rem; }
.shop-search input::placeholder { color: #5f6c65; }
.shop-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--fern); }
.shop-search input::-webkit-search-cancel-button { cursor: pointer; }
.page-head + .shop-tools { margin-top: -.5rem; }
/* category headings break the grid into four short runs when everything is shown */
.grid__head { grid-column: 1 / -1; margin: 1.5rem 0 -1.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); font: 400 var(--h2)/1.1 var(--serif); color: var(--fern); display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem; }
.grid__head:first-child, .grid__head.is-lead { margin-top: 0; padding-top: 0; border-top: 0; }
.grid__head small { font: 400 var(--small)/1.4 var(--sans); color: #5a6760; }
.grid__head[hidden] { display: none; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; font-size: var(--small); color: #5a6760; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.75rem 1.25rem; }
.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__img { border-radius: var(--r); background: var(--paper); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; position: relative; container-type: inline-size; }
.card[data-cat="tools"] .card__img { background: var(--stage); }
.card__img > img { width: 78%; transition: transform .7s var(--ease); }
.card__img > img.photo { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__img > img { transform: scale(1.04); }
/* live-store pack shots on white: multiply drops the white into the card colour, no box edge */
/* the brush card: both colours, the pink in front */
.card__img--duo { background: var(--oat-2); }
.card__img > img.duo { position: absolute; inset: 0; margin: auto; width: 58%; translate: 7% 16%; rotate: -12deg; filter: drop-shadow(0 22px 20px rgba(90,64,30,.18)); }
.card__img > img.duo--back { width: 48%; translate: -14% -24%; rotate: 13deg; }
.card__img > img.shot { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tile-fern { background: var(--fern); padding: 1.5rem; place-items: end start; }
.tile-fern span { font: italic 400 1.6rem/1.15 var(--serif); color: var(--oat); max-width: 12ch; }
.card--wide { grid-column: span 2; grid-row: span 2; }
.card--wide .card__img { aspect-ratio: auto; flex: 1; min-height: 0; }
.card--wide .card__img > img.photo { position: absolute; inset: 0; }
.card h2 { font: 600 1.0625rem/1.3 var(--sans); color: var(--fern); margin: 1rem 0 .25rem; }
.card .from { font-size: 1rem; color: var(--body); }
.card .note { font-size: var(--small); color: #5a6760; margin-top: .15rem; }
/* typographic pack tile for products still waiting on new-brand pack shots */
.pack { width: 56%; aspect-ratio: 3 / 5; background: var(--oat); border-radius: 34% 34% 18px 18px / 14% 14% 18px 18px; display: flex; flex-direction: column; box-shadow: 0 30px 40px -28px rgba(30,59,47,.45), inset 0 0 0 1px rgba(30,59,47,.06); transition: transform .7s var(--ease); }
.card:hover .pack { transform: translateY(-4px); }
.pack__cap { height: 16%; margin: 0 28%; background: var(--fern); border-radius: 0 0 8px 8px; }
.pack__body { margin-top: auto; margin-bottom: 18%; padding: .75rem .5rem; background: var(--band, var(--oat-2)); text-align: center; }
/* sized to the card so long names (Gingerbread, Detangling) stay inside the band on phones */
.pack__body span { font: italic 400 clamp(.9rem, 7.4cqi, 1.2rem)/1.05 var(--serif); color: var(--fern); display: block; }
.pack__body small { display: block; margin-top: .35rem; font: 600 .6875rem/1.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fern); opacity: .75; }
.pack--tub { aspect-ratio: 1 / 1; width: 54%; border-radius: 14px; }
.pack--tub .pack__cap { height: 14%; margin: 0; border-radius: 14px 14px 0 0; }
.pack--tub .pack__body { margin-bottom: 14%; }
.empty { display: none; text-align: center; padding: 4rem 1rem; }
.empty.is-shown { display: block; }

/* ---------- product page ---------- */
.crumbs { font-size: var(--small); color: #5a6760; padding: 1.5rem 0; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--fern); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: clamp(4rem, 7vw, 7rem); }
.gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; position: sticky; top: calc(var(--nav-h) + 20px); }
.thumbs { display: grid; gap: .75rem; align-content: start; list-style: none; margin: 0; padding: 0; }
.thumbs button { position: relative; width: 88px; aspect-ratio: 1; border-radius: 12px; border: 0; padding: 0; overflow: hidden; background: var(--stage); cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; display: grid; place-items: center; transition: box-shadow .2s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button img.contain { width: 84%; height: auto; object-fit: contain; }
.thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--fern); }
.thumbs button[aria-current="true"] img { opacity: .85; }
.stage { border-radius: var(--r); background: var(--stage); aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; }
.stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.stage img.contain { width: 80%; height: auto; object-fit: contain; }
.stage img.is-swapping { opacity: 0; }
.buy .tagline { font: 400 1.75rem/1.2 var(--serif); color: var(--fern); margin-top: .75rem; }
.buy .price { margin-top: 1.25rem; }
.buy .desc { margin-top: 1.5rem; max-width: 46ch; }
.qty-row { display: flex; gap: .75rem; margin-top: 2rem; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 44px; height: 52px; border: 0; background: transparent; cursor: pointer; color: var(--fern); display: grid; place-items: center; }
.qty button .ph { font-size: 1.05rem; }
.qty button:disabled { color: rgba(30,59,47,.3); cursor: default; }
.qty output { min-width: 1.5rem; text-align: center; font-weight: 600; color: var(--fern); }
.qty-row .btn { flex: 1; }
.assure { list-style: none; margin: 1.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.25rem; font-size: .9375rem; color: var(--fern); }
.assure li { display: flex; gap: .6rem; align-items: center; }
.assure .ph { color: var(--champagne); font-size: 1.35rem; flex: none; }
.acc { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 0; font-weight: 600; color: var(--fern); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ph { transition: transform .35s var(--ease); }
.acc details[open] summary .ph { transform: rotate(45deg); }
.acc .acc__body { padding: 0 0 1.4rem; font-size: 1rem; max-width: 52ch; }
.acc .acc__body ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.acc .acc__body li + li { margin-top: .35rem; }
/* accordion opens and closes smoothly where the browser can animate to height: auto */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .acc, .notes, .story__more { interpolate-size: allow-keywords; }
    .notes details::details-content, .story__more::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
    .notes details[open]::details-content, .story__more[open]::details-content { block-size: auto; }
    .acc details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
    .acc details[open]::details-content { block-size: auto; }
  }
}

/* phone buy bar: a glass pill that rises once the main button is out of view */
.buybar { display: none; }
@media (max-width: 900px) {
  .buybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .5rem .5rem 1.25rem; border-radius: 999px; background: rgba(250,248,243,.88); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -18px rgba(20,36,29,.45); transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease); }
  .buybar.is-shown { transform: none; }
  .buybar__meta { min-width: 0; display: grid; line-height: 1.25; }
  .buybar__meta strong { font-size: .9375rem; color: var(--fern); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__meta > span { font-size: .8125rem; color: #5a6760; }
  .buybar .btn { height: 46px; padding: 0 1.3rem; }
  .has-buybar .toast { bottom: 88px; }
}

.stroke { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.stroke__img { grid-column: 1 / 6; border-radius: var(--r); overflow: hidden; }
.stroke__img img { width: 100%; height: 100%; object-fit: cover; }
.stroke__img--product { background: var(--oat); display: grid; place-items: center; align-self: center; aspect-ratio: 3 / 2; }
.stroke__img--product img { width: 78%; height: auto; object-fit: contain; }
.stroke__copy { grid-column: 7 / 13; align-self: center; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: s; display: grid; gap: 1.75rem; }
.steps li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; counter-increment: s; }
.steps li::before { content: counter(s); font: italic 400 2.75rem/1 var(--serif); color: var(--champagne-soft); }
.steps h3 { margin: .2rem 0 .3rem; font: 600 1.0625rem/1.3 var(--sans); color: var(--oat); }
.steps p { font-size: 1rem; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pair-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem; background: var(--stage); border-radius: var(--r); padding: 1.5rem; text-decoration: none; color: inherit; transition: transform .5s var(--ease); }
.pair-card:hover { transform: translateY(-4px); }
.pair-card img { width: 100%; }
.pair-card h3 { font: 400 1.75rem/1.1 var(--serif); color: var(--fern); margin: 0; }
.pair-card p { margin-top: .5rem; font-size: 1rem; }
.pair-card .from { margin-top: 1rem; font-weight: 600; color: var(--fern); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .reveal.is-in { opacity: 1; transform: none; }
  .hero__copy > * { animation: rise 1s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .1s; }
  .hero__copy > :nth-child(3) { animation-delay: .2s; }
  .hero__copy > :nth-child(4) { animation-delay: .3s; }
  .hero__copy > :nth-child(5) { animation-delay: .4s; }
  .hero__photo img { animation: settle 2.4s var(--ease) both; transform-origin: 50% 100%; }
  .hero__brush { animation: brush-in 1.4s var(--ease) both .35s; }
  .hero__brush img { animation: float 7s ease-in-out infinite 1.8s; }
  .gchip { animation: chip-in 1s var(--ease) both; animation-delay: calc(.9s + var(--i, 0) * .15s); }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.05); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes brush-in { from { opacity: 0; transform: translateY(40px) rotate(-4deg) scale(.94); } to { opacity: 1; transform: rotate(-16deg); } }
  @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(1.4deg); } }
  @keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 1.4rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { gap: .5rem; }
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .brand { justify-self: center; grid-column: 2; }
  .brand img { width: 128px; }
  .nav-tools { grid-column: 3; }
  .nav-tools a[aria-label="Your account"] { display: none; }

  .hero { min-height: 0; }
  /* phones: no floating brush (it read as stranded on the empty wall); the dog sits right under the CTAs instead,
     its faded top edge tucking under the Trustpilot pill */
  .hero__inner { padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: calc(100vw * 1053 / 1000 - 3.5rem); }
  .hero__copy { max-width: none; }
  .hero__copy .display { font-size: clamp(2.9rem, 1.6rem + 6vw, 4.5rem); }
  .hero__photo img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .hero__brush { display: none; }
  .gchip { max-width: 220px; padding: .5rem .8rem .5rem .5rem; gap: .6rem; }
  .gchip__icon { width: 34px; height: 34px; border-radius: 10px; }
  .gchip strong { font-size: .8125rem; }
  .gchip span { font-size: .75rem; }
  .gchip--a { display: none; }

  .manifesto__grid, .feat__grid, .story__grid, .notes, .spot, .pdp, .pair, .pdp-reviews, .faq { grid-template-columns: minmax(0, 1fr); }
  .pdp-reviews__summary, .faq__head { position: static; }
  .feat__media { position: relative; top: 0; order: -1; aspect-ratio: 4 / 3; }
  .coats__inner { grid-template-columns: minmax(0, 1fr); }
  .coats__head { justify-self: start; text-align: left; }
  .coats__card { grid-column: 1; }
  .spot__stage { order: -1; }
  .grow__pin { height: auto; padding: 4.5rem 0; display: block; }
  .grow__media { position: relative; clip-path: none; margin: 2rem var(--gutter) 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
  .grow__text .display { max-width: none; }

  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 72px; order: 2; overflow-x: auto; scrollbar-width: none; padding: 2px; }
  .thumbs button { width: 72px; }
  .stroke__img, .stroke__copy { grid-column: 1 / -1; }
  .stroke__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem .9rem; }
  .card--wide { grid-column: 1 / -1; grid-row: auto; }
  .card--wide .card__img { aspect-ratio: 4 / 3; flex: none; }
  .card h2 { font-size: .9375rem; }
  .rail { grid-auto-columns: 72%; }
  /* quotes become a swipeable row; the full review list stacks */
  .quotes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) .25rem; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: start; }
  .pdp-reviews__list { grid-template-columns: minmax(0, 1fr); }
  .ratings { width: 100%; }
  .rating { flex: 1 1 100%; }
  /* toolbar: one sideways-scrolling row of chips, search full width underneath */
  .shop-tools__inner { flex-direction: column; align-items: stretch; gap: .6rem; padding-top: .6rem; padding-bottom: .7rem; }
  .shop-tools .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .shop-tools .chips::-webkit-scrollbar { display: none; }
  .shop-tools .chip { flex: none; height: 38px; }
  .shop-search { width: 100%; }
  .grid__head { margin-bottom: -.75rem; }
  .rail-ctrl { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .assure { grid-template-columns: 1fr; }
  .pair-card { grid-template-columns: 1fr; }
  .coats { min-height: 0; }
  .coats__inner { min-height: 640px; padding-top: 2.5rem; }
  .coats__card { padding: 1.35rem; }
  .coats__card h3 { font-size: 2rem; }
  .toast { left: 16px; right: 16px; transform: translateY(calc(100% + 40px)); justify-content: space-between; white-space: normal; }
  .toast.is-shown { transform: none; }
}

/* ---------- v7 (16 Nov): the comb edge + comb seal. Gold leaves the logo and lives in elements cut from Hannah's comb-edge i ---------- */
.comb-edge, .site-footer::before { display: block; height: 14px; background: var(--champagne);
  -webkit-mask: url(img/comb-edge-tile.svg) repeat-x left bottom / 25.2px 14px; mask: url(img/comb-edge-tile.svg) repeat-x left bottom / 25.2px 14px; }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; }
.comb-seal { --seal-ink: var(--oat); color: var(--champagne); position: absolute; z-index: 2; width: clamp(72px, 7vw, 96px); height: auto; transform: rotate(-8deg); pointer-events: none; }
.stage { position: relative; }
.stage .comb-seal { top: 18px; right: 18px; }
.hero__brush .comb-seal { top: -34px; right: -6px; transform: rotate(8deg); }

/* ---------- basket drawer (Shopify checkout via cart permalink) ---------- */
.drawer--bag .drawer__panel { left: auto; right: 0; width: min(92vw, 440px); transform: translateX(102%); gap: 1.25rem; padding-bottom: 1.5rem; }
.drawer--bag.is-open .drawer__panel { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; }
.bag__lines { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; border-top: 1px solid var(--line); }
.bag-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "img qty rm"; gap: .35rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.bag-line__img { grid-area: img; width: 64px; height: 64px; border-radius: 12px; background: var(--stage); display: grid; place-items: center; overflow: hidden; align-self: start; }
.drawer__panel .bag-line__img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.bag-line__info { grid-area: info; display: grid; gap: .1rem; font-size: .9375rem; }
.bag-line__info strong { color: var(--fern); font-weight: 600; }
.bag-line__info small { color: #5a6760; font-size: var(--small); }
.bag-line__qty { grid-area: qty; display: inline-flex; align-items: center; justify-self: start; height: 38px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.bag-line__qty button { width: 36px; height: 38px; border: 0; background: none; color: var(--fern); cursor: pointer; display: grid; place-items: center; }
.bag-line__qty button[disabled] { opacity: .35; cursor: default; }
.bag-line__qty output { min-width: 1.5rem; text-align: center; font-weight: 600; color: var(--fern); }
.bag-line__rm { grid-area: rm; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: #5a6760; cursor: pointer; display: grid; place-items: center; align-self: start; }
.bag-line__rm:hover { background: rgba(30,59,47,.06); color: var(--rasp); }
.bag__empty { display: none; gap: 1rem; justify-items: start; color: var(--fern); }
.bag__foot { display: grid; gap: .75rem; }
.bag__row { display: flex; justify-content: space-between; align-items: baseline; color: var(--fern); font-size: 1.0625rem; }
.bag__row strong { font: 400 1.75rem/1 var(--serif); }
.bag__note { font-size: var(--small); color: #5a6760; }
.bag__checkout { width: 100%; }
.drawer--bag.is-empty .bag__lines, .drawer--bag.is-empty .bag__foot { display: none; }
.drawer--bag.is-empty .bag__empty { display: grid; }
html.bag-open { overflow: hidden; }

/* shop cards: add-to-basket row under each product */
.card-buy { display: flex; gap: .5rem; margin-top: .75rem; align-items: center; flex-wrap: wrap; }
.card-buy select { height: 40px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; color: var(--fern); padding: 0 .9rem; font: 500 .875rem var(--sans); max-width: 100%; }
.card-buy .btn { height: 40px; padding: 0 1.1rem; font-size: .875rem; }
.card .card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.card--wide .card__link { min-height: 0; }

/* ---------- cookie banner ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto; background: var(--paper); color: var(--fern); border-radius: var(--r); box-shadow: 0 24px 48px -20px rgba(20,36,29,.45), inset 0 0 0 1px var(--line); padding: 1.1rem 1.25rem; display: grid; gap: .9rem; font-size: .9375rem; }
.cookies p { line-height: 1.45; }
.cookies__btns { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.cookies .btn { height: 44px; padding: 0 1.25rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--fern); text-decoration: underline; }
body.has-buybar .cookies { bottom: 96px; }
