/* Beth Ellen (Google Fonts, SIL Open Font License), self-hosted so the page has no external font request */
@font-face {
  font-family: "Beth Ellen"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/BethEllen.woff2") format("woff2");
}
/* Alte Haas Grotesk: the restored original Helvetica (Neue Haas Grotesk), used for headlines and body text */
@font-face {
  font-family: "Alte Haas Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/AlteHaasGrotesk-Regular.woff") format("woff");
}
@font-face {
  font-family: "Alte Haas Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/AlteHaasGrotesk-Bold.woff") format("woff");
}
:root {
  --icon: 20px;                /* burger, menu X and + all measure this across ... */
  --icon-w: 1.5px;               /* ... and are drawn with this stroke; change here to restyle all three */
  --accent: #d9471e;           /* terracotta / burnt orange-red */
  --text: #362622;             /* brown (espresso) */
  --bg: #ffffff;
  --grid: #362622;
  --cream: #fff8c5;
  --matcha: #a5b713;
  --sky: #b7daf9;
  --headline: var(--text);    /* espresso */
  --muted: #f1f1f1;
  --pad: 14px;
  --font: "Alte Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: var(--font); /* body text: the grotesk */
  --font-head: "Beth Ellen", "Snell Roundhand", "Segoe Script", cursive; /* headlines and section titles */
  /* Type scale: every text on the site uses one of these five sizes */
  --fs-small: 11.2px;    /* footer fine print, small labels */
  --fs-body: 14px;       /* body text, product names and prices, buttons */
  --fs-lead: 21.882px;   /* product page title */
  --fs-title: 27.342px;  /* section titles, menu links */
  --fs-display: clamp(27.342px, 3.71vw, 53.41px); /* big headline: the hero only */
  --fs-heading: var(--fs-title);  /* the other headlines (Essentials, wholesale, Instagram): same size as the section titles like "MORE ESSENTIALS" */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
/* Page is frozen while the cart or menu is open; their own content still scrolls */
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clips sideways overflow without making body a scroll box (keeps the sticky header working) */
}
::selection { background: var(--matcha); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Announcement bar (marquee) ---------- */
.announcement {
  background: var(--sky); /* sky-blue banner, espresso text */
  color: var(--text);
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
}
.announcement__track {
  display: inline-flex;
  /* The first message starts 320px in from the left and drifts to the edge at the loop's own speed (~36px/s), so it can be read as the page loads and there is no change of pace when the loop takes over */
  animation: marquee-in 9s linear both, marquee 38s linear 9s infinite;
}
.announcement__track span { padding-right: 4.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-in { from { transform: translateX(320px); } to { transform: translateX(0); } }
/* Phones: the first message starts 125px in, not almost off the right edge (same ~36px/s) */
@keyframes marquee-in-phone { from { transform: translateX(125px); } to { transform: translateX(0); } }
@media (max-width: 767px) { .announcement__track { animation: marquee-in-phone 3.5s linear both, marquee 38s linear 3.5s infinite; } }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px var(--pad);
  min-height: 49px;
}
.nav__side { flex: 1 1 0; display: flex; align-items: center; gap: 16px; }
.nav__side--right { justify-content: flex-end; }
.icon-btn {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .x-icon { width: var(--icon); height: var(--icon); overflow: visible; fill: none; stroke: currentColor; stroke-width: var(--icon-w); }
.icon-btn .x-icon path { vector-effect: non-scaling-stroke; }
/* The cart is just its count in parentheses, "( 0 )", set in the same 14px type as the rest of the header */
.cart-btn { padding: 8px 0; white-space: pre; letter-spacing: .05em; -webkit-text-stroke: .2px currentColor; } /* thickens the ~1.33px stems to ~1.5px, the burger's line weight */
/* The script logo's visual weight sits low, so the burger and cart ride 3px lower to look centred beside it */
.nav__side .burger, .cart-btn { position: relative; top: 3px; }
.logo { display: block; padding: 0; line-height: 0; }
/* Script wordmark runs diagonally, so it needs more height than a flat logo to stay legible */
.logo img { height: 66px; width: auto; }
[data-cart-open] { position: relative; }

/* ---------- Burger: two lines that fold into an X ---------- */
/* Burger, menu X and + are one family: --icon wide, --icon-w thick, on whole pixels so they stay crisp */
.burger { position: relative; width: 32px; height: 32px; padding: 0; transition: transform .15s ease; }
.burger span {
  position: absolute; left: 6px; right: 6px; height: var(--icon-w); background: currentColor;
  transition: transform .45s cubic-bezier(.65,0,.35,1);
}
.burger span:first-child { top: 12.25px; }
.burger span:last-child { top: 18.25px; }
.burger:active { transform: scale(.88); }
/* every line is --icon long: burger bars, the folded X, the menu X, the + arms */
body.menu-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
/* The ink (not the button box) lines up with the page margin: burger bars and bag sit inside their boxes */
.nav__side .burger { margin-left: -4.5px; } /* ink starts 1.5px in from the page margin */
.nav__side--right .icon-btn { margin-right: 0; }

/* ---------- Menu drawer (desktop: side panel · phones: full screen) ---------- */
/* Contents always fade in together (no stagger, no rise) once the panel is in */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(54,38,34,.2);
  opacity: 0; pointer-events: none; transition: opacity .4s ease; z-index: 40;
}
body.menu-open .drawer-overlay { opacity: 1; pointer-events: auto; transition: opacity .6s cubic-bezier(.33,1,.68,1); }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg);
  z-index: 50;
  display: flex; flex-direction: column;
  /* Desktop: the panel slides in from the left */
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .4s cubic-bezier(.45,0,.55,1), visibility 0s linear .4s;
}
body.menu-open .drawer {
  transform: none;
  visibility: visible;
  transition: transform .6s cubic-bezier(.33,1,.68,1);
}
.drawer__top { display: flex; justify-content: flex-end; min-height: 49px; align-items: center; padding: 14px var(--pad); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a {
  display: block; padding: 7px var(--pad); /* one even rhythm for the menu */
  font-size: var(--fs-title); text-transform: uppercase;
}
.drawer li a:hover { opacity: .6; }
/* Shop row: a "+" that turns into "−" and unfolds the categories underneath */
.nav-sub__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; /* the + sits at the far end of the row */
  padding: 7px var(--pad); border: 0; background: none; color: inherit; cursor: pointer;
  font: inherit; font-size: var(--fs-title); text-transform: uppercase; text-align: left;
}
/* The menu's + and X are drawn the same way: stroked SVG paths, --icon wide, --icon-w thick */
.glyph { width: var(--icon); height: var(--icon); flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: var(--icon-w); }
.glyph path { vector-effect: non-scaling-stroke; }
.nav-sub__bar { transform-box: fill-box; transform-origin: center; transform: rotate(90deg); transition: transform .45s cubic-bezier(.33,1,.68,1); }
.nav-sub.is-open .nav-sub__bar { transform: rotate(0deg); } /* vertical bar folds flat: + becomes − */
.nav-sub__panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .45s cubic-bezier(.33,1,.68,1), visibility 0s linear .45s;
}
.nav-sub.is-open .nav-sub__panel { grid-template-rows: 1fr; visibility: inherit; transition-delay: 0s; } /* inherit: stays hidden (and unclickable) while the menu is closed */
.drawer .nav-sub__panel > ul { overflow: hidden; min-height: 0; margin: 0; }
.drawer .nav-sub__panel a { font-size: var(--fs-lead); padding: 2px var(--pad); }
.drawer .nav-sub__panel li:first-child a { padding-top: 0; }
.drawer .nav-sub__panel li:last-child a { padding-bottom: 9px; }
.drawer__body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer__foot { margin-top: auto; padding: 14px var(--pad); }
.drawer__foot a:hover { opacity: .6; }
.drawer li, .drawer__foot { opacity: 0; transition: opacity .15s ease; }
body.menu-open .drawer li,
body.menu-open .drawer__foot { opacity: 1; transition: opacity .5s cubic-bezier(.37,0,.63,1) .2s; }

/* Phones: the panel fills the screen under the header */
@media (max-width: 767px) {
  /* Phones: no slide, the white panel fades in instead */
  .drawer {
    width: 100%; z-index: 25; padding-top: 47px;
    transform: none; opacity: 0;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  body.menu-open .drawer { opacity: 1; transition: opacity .45s cubic-bezier(.4,0,.2,1); }
  /* Contents have no animation of their own: they appear with the panel's single fade */
  .drawer li, .drawer__foot,
  body.menu-open .drawer li, body.menu-open .drawer__foot { opacity: 1; transition: none; }
  .drawer-overlay { display: none; }
  .drawer__top { display: none; }
  .drawer ul { margin-top: 14px; }
  .drawer__foot { padding-bottom: 28px; }
  /* The header joins the white menu panel, even where the page has tinted it (home outro) */
  body.menu-open .site-header { background-color: var(--bg) !important; }
  /* The wordmark and the bag stay in the header while the menu is open, so the menu keeps its brand */
}

@media (prefers-reduced-motion: reduce) {
  .burger span, .drawer, .drawer li, .drawer__foot, .drawer-overlay { transition: none !important; }
}

/* ---------- Hero statement ---------- */
.statement {
  color: var(--headline);
  padding: 14px var(--pad);
  font-size: var(--fs-display);
  line-height: 1.3;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
}

/* ---------- Section titles ---------- */
.section-title {
  padding: 14px var(--pad);
  margin: 0;
  font-size: var(--fs-title);
  line-height: 1.3;
  font-weight: 400;
  text-transform: uppercase; /* titles in capitals, like the rest of the site */
}

/* ---------- Shop carousel ---------- */
/* Native horizontal scroll with snap points: smooth on trackpads and touch,
   arrows/drag in site.js just move the scroll position. */
/* Comfortable spacing: 42px above the products, 28px below the arrows (+56px on the wholesale section = 84px).
   The cards are capped by the screen height so title-less section = exactly one screen under the header:
   42 above + card + 62 for the name/price + 38 arrows + 28 below = 170px of non-card height. */
.carousel { padding: 42px 0 28px; --hdr: 80px; } /* 42px of air between the hero and the shop */
/* Cards are capped so the whole section (title, link, cards, name + price, arrows) fits under the sticky header: ~285px of it is everything but the card */
.carousel .slide { flex-basis: min(calc((100% - var(--gaps) * var(--gap)) / var(--per)), max(240px, calc(100svh - var(--hdr) - 285px))); }
/* End card: "Ver tienda" as the last slide (phones only; on desktop the link sits above the cards) */
@media (min-width: 768px) { .slide.slide--all { display: none; } }
.slide.slide--all { align-self: flex-start; } /* only as tall as the card itself, so the button does not stay hovered in the empty strip below it */
.slide--all .slide__media {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}

.carousel__track {
  --gap: 14px;
  --per: 2.25;                 /* slides visible at once; the next one peeks in */
  --gaps: 2;                   /* gaps inside the visible width */
  display: flex; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 0 var(--pad);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.carousel__track.is-dragging .slide { pointer-events: none; }
.slide {
  flex: 0 0 calc((100% - var(--gaps) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  display: block;
}
.slide__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--muted);
}
.slide__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none;
}
/* Name and price use the recommended-products style (.product__info) */
.slide .product__info { display: block; padding-left: 0; padding-right: 0; } /* line up with the photo edge */

.carousel__nav {
  display: flex; justify-content: flex-end; align-items: center;
  padding: 28px var(--pad) 0; /* room between the product text and the arrows */
}
/* "Ver tienda": a quiet text link at the top right of the carousel, above the cards */
.carousel__top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 var(--pad) 28px; }
/* Same type as the other big headlines (hero, wholesale, Instagram) */
.carousel__title { margin: 0; font-family: var(--font); font-weight: 400; font-size: var(--fs-heading); text-transform: uppercase; letter-spacing: -.04em; line-height: 1.04; }
.carousel__all.btn-outline {
  padding: 0; border: 0; background: none; color: var(--text); text-transform: uppercase; line-height: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: opacity .3s ease;
}
@media (hover: hover) { .carousel__all.btn-outline:hover { background: none; color: var(--text); opacity: .55; } }
.carousel__arrows { display: flex; gap: 14px; }
.carousel__arrow {
  width: 44px; height: 24px; padding: 0; border: 0; background: none;
  color: var(--text); cursor: pointer;
  transition: opacity .4s ease, transform .4s cubic-bezier(.33,1,.68,1);
}
.carousel__arrow svg { display: block; width: 100%; height: 100%; }
.carousel__arrow[data-dir="-1"]:hover { transform: translateX(-3px); }
.carousel__arrow[data-dir="1"]:hover { transform: translateX(3px); }
.carousel__arrow:disabled { opacity: .25; cursor: default; transform: none; }

/* Hover photo swap: pure crossfade to the second gallery shot, no movement */
.slide .hover-alt, .product__media .hover-alt {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity .5s cubic-bezier(.33,1,.68,1);
  will-change: opacity;
  pointer-events: none;
}
@media (hover: hover) {
  .slide:hover .hover-alt,
  .slide:focus-visible .hover-alt,
  .product:hover .hover-alt,
  .product:focus-visible .hover-alt { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .slide .hover-alt, .product__media .hover-alt { transition: none; }
  .carousel__track { scroll-behavior: auto; }
}

/* ---------- B2B split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split__item {
  position: relative;
  height: 900px;
  overflow: hidden;
  color: #fff;
  background: var(--muted);
}
.split__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.25), transparent 18%, transparent 62%, rgba(0,0,0,.45));
  pointer-events: none;
}
.split__item { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.split__label { position: absolute; top: 14px; left: var(--pad); right: var(--pad); z-index: 1; }
.split__body {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 14px; z-index: 1;
  max-width: 520px;
}
.split__body p { margin: 0 0 14px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.3; }
.link-underline {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3.5px;
  text-transform: uppercase;
}
.link-underline:hover { opacity: .75; }

/* Main call-to-action buttons: a square outline that fills espresso on hover */
.btn-outline {
  display: inline-block; padding: 11px 20px; border: 1px solid var(--text); background: transparent;
  color: var(--text); text-transform: uppercase; line-height: 1.3; cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
@media (hover: hover) { .btn-outline:hover { background: var(--text); color: var(--bg); } }
.btn-outline:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (hover: none) { .slide--all:active .btn-outline { background: var(--text); color: var(--bg); } }
.slide--all:hover .btn-outline { background: var(--text); color: var(--bg); } /* the whole card is the link */

/* Arrows only show on hover: the arrow slides in from the left and the text
   (and its underline) make room for it. Touch screens just show the label. */
.link-underline::after, .arrow::after {
  content: "→";
  display: inline-block; vertical-align: top;
  max-width: 0; margin-left: 0; overflow: hidden;
  opacity: 0; transform: translateX(-.6em);
  transition: max-width .45s cubic-bezier(.33,1,.68,1), margin-left .45s cubic-bezier(.33,1,.68,1),
              transform .45s cubic-bezier(.33,1,.68,1), opacity .3s ease;
}
@media (hover: hover) {
  .link-underline:hover::after, .link-underline:focus-visible::after,
  .arrow:hover::after, .arrow:focus-visible::after {
    max-width: 1.2em; margin-left: .35em; opacity: 1; transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .link-underline::after, .arrow::after { transition: none; }
}

/* ---------- Instagram grid ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.product { position: relative; display: block; }
.product__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--muted);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media .ig-glyph {
  position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; color: #fff;
  opacity: 0; transition: opacity .2s;
}
.product:hover .ig-glyph { opacity: 1; }
.product__info { padding: 14px var(--pad); transition: color .6s cubic-bezier(.37,0,.63,1); }
.product__info span { display: block; }
.product__info span + span { margin-top: 4px; }
.view-all {
  display: flex; justify-content: flex-end;
  padding: 14px var(--pad) 28px;
}
.view-all a:hover { opacity: .6; }

/* ---------- Instagram: headline + handle on the left, two photos on the right ---------- */
/* Handle column + two larger photos (each ~31% wide instead of a quarter) */
.ig { display: grid; grid-template-columns: 3fr 2.5fr 2.5fr; padding: 84px 0; } /* 3/8 text, 5/8 photos: wholesale mirrors this */
/* Left column: big headline (same style as the hero) with the handle as a small line right under it */
/* Headline at the top of the column with "Follow us" as the line right under it, in its own small style */
.ig__head {
  grid-column: 1; grid-row: 1; align-self: stretch;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 14px;
  padding: 0 28px 0 var(--pad);
}
.ig__headline {
  margin: 0;
  font-size: var(--fs-heading); line-height: 1.3; font-weight: 400;
  text-transform: uppercase; color: var(--headline);
}
.ig > a.ig__photo:nth-of-type(1) { grid-column: 2; grid-row: 1; }
.ig > a.ig__photo:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.ig__handle { margin: 0; font-weight: 400; font-size: var(--fs-body); line-height: 1.3; }
.ig__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--muted); }
.ig__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Hover: a small Instagram glyph fades in at the top right */
.ig__glyph {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; color: #fff;
  opacity: 0; transform: translateY(3px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.33,1,.68,1);
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.25));
}
@media (hover: hover) { .ig__photo:hover .ig__glyph, .ig__photo:focus-visible .ig__glyph { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  /* Phones: symmetric zig-zag on two equal columns, photos full half-width.
     Row 1: photo left, headline + handle right. Row 2: blank left, photo right. */
  .ig { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 56px 0; } /* equal columns whatever the headline wants */
  .ig__head { grid-column: 2; grid-row: 1; align-self: start; gap: 14px; padding: 0 8px 0 14px; } /* headline and handle stay together in the right cell */
  /* The Instagram headline shares --fs-heading with the other section headlines, small enough for "SUPPORT" to fit this column */
  .ig__headline { padding: 0; font-size: var(--fs-heading); line-height: 1.2; }
  .ig__handle { padding: 0; line-height: 1.45; }
  .ig > a.ig__photo:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .ig > a.ig__photo:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .ig__photo { aspect-ratio: 2 / 3; } /* both photos identical */
}
@media (prefers-reduced-motion: reduce) { .ig__glyph { transition: none; } }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--sky);
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px var(--pad);
  flex-wrap: wrap;
}
.newsletter h2 { margin: 0; font-size: var(--fs-body); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.newsletter form { display: flex; gap: 7px; align-items: flex-end; }
.newsletter input {
  background: transparent; border: 0; border-bottom: 1px solid var(--text);
  padding: 0 0 3.5px; width: 156px; color: var(--text); outline: none; border-radius: 0;
}
.newsletter input::placeholder { color: var(--text); opacity: 1; }
.newsletter button {
  background: none; border: 0; border-bottom: 1px solid var(--text);
  padding: 0 0 3.5px; cursor: pointer; color: var(--text); text-transform: uppercase;
}
.newsletter button { transition: opacity .3s ease; }
.newsletter button:hover { opacity: .6; }
.newsletter .thanks { display: none; }
.newsletter.done form { display: none; }
.newsletter.done .thanks { display: block; }

/* ---------- Footer ---------- */
footer.site-footer { padding: 14px var(--pad); position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
}
.footer-logo img { height: 120px; width: auto; }
.footer-grid h2 { margin: 0 0 14px; font-size: var(--fs-body); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.footer-grid h3 { margin: 0; font-size: var(--fs-body); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.footer-grid p { margin: 0 0 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a:hover { opacity: .6; }
.footer-social { display: flex; justify-content: flex-end; gap: 10px; }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { opacity: .6; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 42px; font-size: var(--fs-small); gap: 14px; flex-wrap: wrap;
}

/* ---------- Responsive (mobile metrics taken from the reference at 375px) ---------- */
@media (max-width: 767px) {
  :root { --pad: 8px; --fs-display: clamp(30px, 10.2vw, 44px); } /* sized so the Instagram zig-zag headline fits its half-width column */
  .nav { min-height: 47px; padding-top: 6px; padding-bottom: 6px; }
  .logo img { height: 54px; }
  .footer-logo img { height: 100px; }
  .nav__side { gap: 12px; }
  /* Headline stays clearly bigger than the section titles (27.342px), as on desktop: ~40px on a 375px phone */
  .statement { line-height: 1.15; padding-top: 14px; padding-bottom: 21px; }
  .carousel__track { --gap: 8px; --per: 1.2; --gaps: 1; }
  .carousel__nav { display: none; } /* phones swipe: no arrows */
  .carousel { --hdr: 66px; }
  /* Phones: cards are 4:5, so the width the screen height allows is 4/5 of its height */
  .carousel .slide { flex-basis: min(calc((100% - var(--gaps) * var(--gap)) / var(--per)), max(200px, calc((100svh - var(--hdr) - 235px) * .8))); }
  .slide__media { aspect-ratio: 4 / 5; }
  .split { grid-template-columns: 1fr; }
  .split__item { height: 515px; }
  .split__body p { font-size: var(--fs-body); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .newsletter { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
  .newsletter form { width: 100%; }
  .newsletter input { flex: 1; width: auto; }
  footer.site-footer { padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid > * { padding: 14px var(--pad); }
  .footer-social { justify-content: flex-start; }
  .footer-bottom { padding: 14px var(--pad); margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .announcement__track { animation: none; }
}

/* =========================================================
   Cart + checkout. Same scale as the rest of the site:
   14px body, 0.7px-tracked uppercase labels, 27.342px titles,
   14px spacing unit, 3.5px underline offset. No other sizes.
   ========================================================= */
.label {
  font-size: var(--fs-body); font-weight: 400; letter-spacing: .05em; text-transform: uppercase;
  margin: 0;
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(3,3,3,.25);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40;
}
.cart {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(460px, 85%);
  background: var(--bg);
  z-index: 50;
  transform: translateX(100%);
  transition: transform .3s ease, visibility 0s linear .3s;
  visibility: hidden;
  display: flex; flex-direction: column;
}
body.cart-open .cart { transform: none; visibility: visible; transition: transform .3s ease; }
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
.cart__top {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 49px; padding: 7px var(--pad);
}
.cart__ship { padding: 0 var(--pad) 14px; }
.cart__bar { height: 2px; background: var(--muted); margin-top: 7px; }
.cart__bar i { display: block; height: 100%; width: 0; background: var(--text); transition: width .4s ease; }
.cart__items { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.cart__items:empty { display: none; } /* an empty list must not share the drawer's height with the empty state */
.cart-item {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 14px;
  padding: 14px var(--pad);
}
.cart-item__img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--muted); }
.cart-item__info { display: flex; flex-direction: column; }
.cart-item__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item__rm, .text-btn {
  background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  padding: 0 0 3.5px; cursor: pointer; text-transform: uppercase;
}
.cart-item__rm:hover, .text-btn:hover { opacity: .6; }
.qty {
  display: inline-flex; align-items: center; margin-top: auto; width: max-content; margin-left: -7px;
}
.qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; }
.qty button:hover:not(:disabled) { background: var(--text); color: #fff; } /* brown, not the orange accent */
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 28px; text-align: center; }
.cart__empty { padding: 14px var(--pad); flex: 1; }
.cart__empty p { margin: 0 0 28px; }
.cart__empty-title { font-size: var(--fs-title); line-height: 1.3; text-transform: uppercase; }
.cart__foot { padding: 14px var(--pad); margin-top: auto; }
.cart__row { display: flex; justify-content: space-between; }
.cart__note { margin: 7px 0 14px; }
.cart__checkout, .btn-primary {
  display: block; width: 100%; text-align: center;
  background: var(--text); color: #fff; border: 1px solid var(--text); border-radius: 0;
  padding: 14px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.cart__checkout:hover, .cart__checkout:active,
.btn-primary:hover:not(:disabled), .btn-primary:active:not(:disabled) { background: var(--cream); border-color: var(--cream); color: var(--text); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }

/* ---------- Checkout ---------- */
.back-link:hover { opacity: .6; }
.show-sm { display: none; }
@media (max-width: 767px) { .hide-sm { display: none; } .show-sm { display: inline; } }
.checkout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: calc(100vh - 50px);
}
.checkout__form { padding: 0 var(--pad) 56px; }
.checkout__form > .section-title { padding-left: 0; padding-right: 0; }
.checkout__summary { padding: 0 var(--pad) 28px; }
.checkout__summary-inner { position: sticky; top: 14px; }
.step { padding: 14px 0 28px; }
.step__title { display: flex; gap: 14px; margin: 0 0 28px; }
.step__title span { color: var(--accent); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; }
.fields .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field input, .field select {
  border: 0; border-bottom: 1px solid var(--grid); border-radius: 0;
  background: transparent; padding: 0 0 3.5px; outline: none; font-size: var(--fs-body);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--text); opacity: .4; }
.field select {
  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='%23362622' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 10px;
  padding-right: 20px;
}
.field input:focus, .field select:focus { border-bottom-color: var(--accent); }
.field input:user-invalid, .field select:user-invalid { border-bottom-color: #d12c2c; }
.check { display: flex; gap: 7px; align-items: center; margin-top: 28px; cursor: pointer; }
.check input, .option input { accent-color: var(--accent); width: 14px; height: 14px; margin: 0; }
.options { display: grid; }
.option {
  display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: start;
  padding: 7px 0; cursor: pointer;
}
.option input { margin-top: 2px; }
.option:has(input:checked) { color: var(--accent); }
.option:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.option__desc { display: block; color: var(--text); }
.pay-note { margin: 14px 0 0; }
.summary__title { margin: 0; padding: 14px 0; }
.summary-items { list-style: none; margin: 0; padding: 0; }
.summary-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center;
  padding: 7px 0;
}
.summary-item img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; }
.summary-item__variant { display: block; }
.promo { display: flex; gap: 14px; align-items: flex-end; padding: 28px 0 0; }
.promo .field { flex: 1; }
.promo-msg { padding-top: 7px; }
.promo-msg.ok { color: var(--accent); }
.promo-msg.bad { color: #d12c2c; }
.totals { padding: 14px 0; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand {
  margin-top: 14px;
  font-size: var(--fs-title); line-height: 1.3; text-transform: uppercase;
}
.totals .disc { color: var(--accent); }
.summary-toggle { display: none; }
.checkout-empty, .confirm { padding: 14px var(--pad) 56px; }
.checkout-empty .statement, .confirm .statement { padding: 0 0 28px; }
.confirm__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 28px;
}
.confirm__meta p { margin: 7px 0 0; }

@media (max-width: 1023px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { order: -1; padding-bottom: 0; }
  .checkout__summary-inner { position: static; }
  .summary-toggle {
    display: flex; justify-content: space-between; width: 100%;
    background: none; border: 0; padding: 14px 0; cursor: pointer; color: var(--accent);
  }
  .summary__title { display: none; }
  .checkout__summary:not(.is-open) .summary-body { display: none; }
  .confirm__meta { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .fields { grid-template-columns: 1fr; }
  /* 16px stops iOS Safari zooming into focused fields */
  .field input, .field select { font-size: 16px; }
}

/* =========================================================
   Product page. Metrics measured from the reference:
   crumbs 14px row, 50/50 split, 4:5 photos, sticky info,
   21.882px title, 7px option markers, 44px button at 75%.
   ========================================================= */
.crumbs { display: flex; gap: 7px; padding: 14px var(--pad); }
.crumbs a:hover { opacity: .6; }
.pdp { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.pdp__slide { aspect-ratio: 4 / 5; background: var(--muted); }
.pdp__slide img { width: 100%; height: 100%; object-fit: cover; }
.pdp__controls { display: none; }
.pdp__info { position: sticky; top: 70px; padding: 14px var(--pad); }
.pdp__title {
  margin: 0; font-size: var(--fs-lead); line-height: 1.3; font-weight: 400;
  letter-spacing: .05em; text-transform: uppercase;
}
.pdp__price { margin: 14px 0 0; }
.pdp__body { margin-top: 42px; }
.pdp__body p { margin: 0 0 14px; }
.pdp__form { margin-top: 28px; }
.pdp__opts { border: 0; margin: 0; padding: 0; min-width: 0; }
.pdp__opts legend { padding: 0; margin-bottom: 7px; }
.opt { display: flex; align-items: center; gap: 4px; min-height: 25px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__mark { width: 7px; height: 7px; border: 1px solid var(--text); border-radius: 50%; flex: none; }
.opt input:checked + .opt__mark { background: var(--text); }
.opt input:focus-visible + .opt__mark { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt:hover { color: var(--accent); }
.pdp__qty-label { display: block; margin-top: 14px; }
.pdp__qty { display: flex; align-items: center; margin: 7px 0 0 -7px; }
.pdp__qty button { background: none; border: 0; padding: 7px; cursor: pointer; line-height: 1; }
.pdp__qty button:hover { color: var(--accent); }
.pdp__qty input {
  width: 35px; padding: 7px; text-align: center; border: 0; border-bottom: 1px solid var(--text);
  border-radius: 0; background: transparent; font-size: var(--fs-body); -moz-appearance: textfield;
}
.pdp__qty input::-webkit-outer-spin-button, .pdp__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__add {
  display: block; width: 75%; height: 44px; margin-top: 28px;
  background: var(--text); color: #fff; border: 1px solid var(--text); border-radius: 0;
  text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.pdp__add:hover, .pdp__add:active { background: var(--cream); border-color: var(--cream); color: var(--text); }
.pdp__ship { display: flex; align-items: center; gap: 7px; margin: 28px 0 0; }
.pdp__ship svg { width: 14px; height: 14px; flex: none; }
.pdp__ship b { font-weight: 700; }
.pdp__more {
  margin: 7px 0 0 21px; padding: 0 0 3.5px; background: none; border: 0; border-bottom: 1px solid currentColor;
  border-radius: 0; font-size: var(--fs-small); line-height: 1.3; text-transform: uppercase; cursor: pointer;
}
.pdp__more:hover { opacity: .6; }
.pdp__ship-info { margin: 14px 0 0 21px; max-width: 520px; }
.pdp__ship-info p { margin: 0 0 7px; }
.related { margin-top: 56px; padding-bottom: 112px; }

@media (max-width: 1023px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .pdp__track::-webkit-scrollbar { display: none; }
  .pdp__slide { flex: 0 0 100%; scroll-snap-align: start; }
  .pdp__controls { display: flex; justify-content: space-between; align-items: center; padding: 7px var(--pad) 0; }
  .pdp__dots { display: flex; gap: 7px; }
  .pdp__dots button { width: 7px; height: 7px; padding: 0; border: 1px solid var(--text); background: none; cursor: pointer; }
  .pdp__dots button.is-active { background: var(--text); }
  .pdp__arrows { display: flex; gap: 4px; }
  .pdp__arrows .icon-btn svg { width: 24px; height: 24px; }
  .pdp__info { position: static; padding-top: 28px; }
  .pdp__add { width: 100%; }
}
@media (max-width: 767px) {
  .crumbs { display: none; }
}

/* =========================================================
   Home outro: 2-screen pinned scene. JS tints the page
   white → cream → sky and reveals the line letter by letter.
   ========================================================= */
.outro { position: relative; height: 200vh; }
.outro__stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--pad);
}
.outro__line {
  margin: 0; max-width: 920px; text-align: center;
  font-family: var(--font-head); /* the handwritten signature */
  font-size: var(--fs-title); line-height: 1.35;
}
.outro__line .w { white-space: nowrap; }
@media (max-width: 767px) {
  /* phones: a little more room around the quote, at the sides and between the lines */
  .outro__stage { padding: 0 28px; }
  .outro__line { font-size: 24px; line-height: 1.6; text-wrap: balance; }
}
.outro.is-live .outro__line .c { opacity: 0; }

/* Newsletter + footer: compact sky block that lands at the bottom of the screen */
.finale { background: var(--sky); }

@media (prefers-reduced-motion: reduce) {
  .outro { height: auto; background: var(--sky); }
  .outro__stage { position: static; }
}

/* Scrolling inside the cart / menu never spills over onto the page */
.drawer { overflow-y: auto; overscroll-behavior: contain; }
.cart__items { overscroll-behavior: contain; }
.cart-overlay, .drawer-overlay { touch-action: none; }

/* Instagram handle as section title stays lowercase */
.section-title--handle { text-transform: none; }

/* ---------- Desktop menu close: the X spins a quarter-turn on hover ---------- */
.drawer-x { width: var(--icon); height: var(--icon); padding: 0; transition: transform .15s ease; }
.drawer-x:active { transform: scale(.88); }
.drawer-x__mark { display: block; transition: transform .5s cubic-bezier(.33,1,.68,1); }
@media (hover: hover) {
  .drawer-x:hover .drawer-x__mark { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .drawer-x__mark { transition: none; }
}


/* ---------- Language switch (bottom of the menu, next to the email) ---------- */
.drawer__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.drawer__tagline { text-transform: uppercase; letter-spacing: .05em; }
.lang { display: flex; align-items: baseline; gap: 5px; letter-spacing: .05em; color: rgba(54,38,34,.35); }
.lang button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: inherit;
  transition: color .2s ease;
}
.lang button:hover, .lang button.is-active { color: var(--text); }

/* ---------- Floating mini player (option 3) ---------- */
.pl-mini { position: fixed; left: 14px; bottom: 14px; z-index: 35; transition: opacity .7s cubic-bezier(.33,1,.68,1), transform .7s cubic-bezier(.33,1,.68,1), visibility 0s linear 0s; }
.pl-mini.is-waiting { opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; transition-delay: 0s, 0s, .7s; } /* hidden while the hero is on screen; it floats up into place when the hero has gone */
.pl-mini__tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--text); color: #fff;
  font: inherit; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 10px 24px -12px rgba(54,38,34,.5);
  transition: opacity .25s ease, background .3s ease, color .3s ease;
}
.pl-mini__tag:hover { background: var(--cream); color: var(--text); }
.pl-mini__card {
  position: absolute; left: 0; bottom: 0;
  width: 340px; max-width: calc(100vw - 28px);
  padding: 14px; background: var(--bg);
  box-shadow: 0 20px 50px -20px rgba(54,38,34,.45), 0 0 0 1px rgba(54,38,34,.06);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .35s cubic-bezier(.33,1,.68,1), visibility 0s linear .35s;
}
.pl-mini.is-open .pl-mini__card {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.33,1,.68,1);
}
.pl-mini.is-open .pl-mini__tag { opacity: 0; pointer-events: none; }
.pl-mini__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pl-mini__close { background: none; border: 0; padding: 0; width: 20px; height: 20px; cursor: pointer; color: inherit; }
.pl-mini__close svg { width: 20px; height: 20px; }
.pl-mini__player iframe { display: block; border: 0; border-radius: 12px; }
/* Step aside while the menu or cart is open */
body.menu-open .pl-mini, body.cart-open .pl-mini { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pl-mini__card, .pl-mini { transition: none; } .pl-mini.is-waiting { transform: none; } }

/* ---------- B2B: photo left, calm editorial text right ---------- */
/* Same grid as the Instagram section, mirrored: photo 5/8 on the left, text 3/8 on the right */
.b2b {
  display: grid; grid-template-columns: 5fr 3fr; gap: 0;
  padding: 56px 0 0; align-items: start; /* photo runs to the left edge; 56px + the carousel's 28px = the 84px between sections */
  scroll-margin-top: 24px; /* menu links land with the photo (56px below the section top) right under the 80px sticky header */
}
.b2b__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--muted); }
.b2b__media img { width: 100%; height: 100%; object-fit: cover; }
/* Text sits quietly at the bottom of the photo, in a short readable column */
/* Headline, paragraph and button as one block at the top of the photo, level with it (like the Instagram headline) */
.b2b__copy {
  align-self: start; display: flex; flex-direction: column; gap: 21px;
  padding: 0 var(--pad) 0 28px; /* mirrors the Instagram headline's 28px gap */
}
.b2b__headline {
  margin: 0; font-size: var(--fs-heading); line-height: 1.3; font-weight: 400;
  text-transform: uppercase; color: var(--headline);
}
.b2b__body { max-width: 46ch; }
.b2b__text { margin: 0 0 28px; font-size: var(--fs-body); line-height: 1.3; text-wrap: pretty; } /* no lonely last word */
@media (max-width: 767px) {
  .b2b { grid-template-columns: 1fr; gap: 21px; padding: 56px 0 28px; scroll-margin-top: 10px; } /* 56px above the photo (+28px under the carousel = 84px) and 28px below (+56px of the Instagram section = 84px) */
  .b2b__copy { padding: 0 var(--pad); gap: 21px; }
  .b2b__headline { line-height: 1.15; }
  .b2b__body { max-width: none; }
  .b2b__text { margin-bottom: 21px; }
}

/* The floating "Meneo time" tag covers the bottom-left corner (38px tag + 14px gap),
   so the last footer row ends above it instead of underneath */
body.has-mini .finale { padding-bottom: 66px; } /* room for the music tag, inside the sky block so no other colour shows below it */

/* Text links fade softly on hover (no colour change) */
.drawer li a, .drawer__foot a, .view-all a, .footer-links a, .footer-social a,
.cart-item__rm, .text-btn, .back-link, .crumbs a, .pdp__more { transition: opacity .3s ease; }

/* Type roles (from the brand sheet): HEADLINE = tight neo-grotesque capitals, SUBHEAD = Beth Ellen script */
.statement, .b2b__headline, .ig__headline {
  font-family: var(--font); text-transform: uppercase;
  letter-spacing: -.05em; line-height: .95; /* tight, like the brand sheet */
}
/* Headlines, titles and the menu stay in the grotesk; everything else is the body font */
.section-title, .pdp__title, .cart__empty-title, .drawer li a, .nav-sub__toggle, .step__title { font-family: var(--font); }
/* Beth Ellen only on the home page's section titles; menu, cart, product, checkout and other titles stay grotesk */


/* Hero: a little more room so the tight capitals can breathe */
.statement { padding: 28px var(--pad) 14px; letter-spacing: -.04em; line-height: 1.04; }
.b2b__headline, .ig__headline { letter-spacing: -.04em; line-height: 1.04; } /* wholesale and Instagram headlines: grotesk capitals, same as the hero */


/* ---------- TRIAL: video hero (home). Delete this block and restore the plain <h1 class="statement"> to undo. ---------- */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  height: calc(100svh - 32px); min-height: 460px; /* the whole screen under the announcement bar: the header floats over the video */
  margin-top: calc(-1 * var(--header-h));
  background: #0d0c0b;
  color: #fff;
}

.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* the video as shot; the only effect is the grain below */
.hero__video { transition: opacity 1.5s ease; } /* the two copies dissolve into each other at the loop point */
.hero__video.is-back { opacity: 0; }
/* Dark overlay: an even dim over the whole picture, a little deeper toward the bottom where the headline sits */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, .16) 60%, rgba(0, 0, 0, .16));
}
/* Film grain: fine grey noise over the picture. It is static on purpose: a jittering grain reads as flicker, which is uncomfortable to watch. */
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .36; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncR type='linear' slope='2.2' intercept='-.6'/><feFuncG type='linear' slope='2.2' intercept='-.6'/><feFuncB type='linear' slope='2.2' intercept='-.6'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
.hero .statement {
  position: relative; z-index: 2; color: #fff; width: 100%;
  padding: 28px var(--pad) 28px; font-size: var(--fs-display); line-height: 1.04;
}
@media (min-width: 768px) { .hero .statement__line { display: block; } } /* desktop: one sentence per line */
@media (max-width: 767px) {
  .hero { height: calc(100svh - 32px); min-height: 420px; }
  .hero .statement { padding-bottom: 21px; }
}


/* Header over the full-screen video: transparent, white ink (logo inverted) until the hero has scrolled behind it */
:root { --header-h: 80px; } /* site.js sets the real value */
@media (max-width: 767px) { :root { --header-h: 66px; } }
/* The colour fade only runs for the moment the header leaves/enters the video (site.js adds .header-fade briefly); at any other time the outro blend drives the header colour frame by frame and a transition would make it lag */
header.site-header.header-fade { transition: background-color .35s ease, color .35s ease; }
header.site-header.header-fade .logo img { transition: filter .35s ease; }
body.hero-top header.site-header { background-color: transparent; color: #fff; }
body.hero-top .logo img { filter: invert(1); }
body.hero-top.menu-open header.site-header { color: var(--text); }
body.hero-top.menu-open .logo img { filter: none; }


/* Desktop: the three products fill the row as three equal columns, so there is nothing to scroll and no arrows.
   Cards are 4:5 like the packshots, and capped in height so the whole section still fits the screen. */
@media (min-width: 768px) {
  .carousel__nav { display: none; }
  .carousel__track { --per: 3; --gaps: 2; overflow-x: hidden; }
  .carousel .slide { flex-basis: calc((100% - var(--gaps) * var(--gap)) / var(--per)); }
  .carousel .slide__media { aspect-ratio: 4 / 5; max-height: max(300px, calc(100svh - var(--hdr) - 235px)); }
}


/* ---------- Brand mascot ---------- */
/* Footer: the mascot is the footer mark (sized by .footer-logo img) */
/* Empty cart: the mascot above the message */
.cart__mascot { display: block; height: 130px; width: auto; margin: 14px 0 21px; }
/* 404: the mascot above the headline */
.nf__mascot { display: block; height: 180px; width: auto; margin: 0 0 14px var(--pad); }
.checkout-empty .nf__mascot { margin-left: 0; }

