/* ==========================================================================
   619 Olive Oil – Homepage
   1. Fonts & registered properties
   2. Design tokens
   3. Base
   4. Typography & utilities
   5. Buttons
   6. Header, navigation, mobile menu
   7. Hero slider
   8. Why choose us
   9. Collection (arch niches)
   10. Seasonal favorites
   11. The Gourmets (craft)
   12. Gourmet selection (flavor stage)
   13. Mediterranean spreads
   14. Discovery
   15. Footer & newsletter
   16. Motion states
   17. Responsive
   18. Reduced motion
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Agraham";
  src: url("../assets/fonts/agraham.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* The font ships with very tall metrics (2.2em ascent); normalise them so
     line-height behaves like a regular display face. */
  ascent-override: 92%;
  descent-override: 26%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Avenir";
  src: url("../assets/fonts/avenir-roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir";
  src: url("../assets/fonts/avenir-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Lets the flavor color transition smoothly between selections */
@property --flavor {
  syntax: "<color>";
  inherits: true;
  initial-value: #E6262A;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* Palette – drawn from the logo, labels and product photography */
  --stone: #E9E2D8;
  /* limestone of the product shots */
  --stone-deep: #DCD2C4;
  --paper: #F3EEE7;
  --ink: #1D2A39;
  /* deep brand navy used for text */
  --ink-soft: #4A5563;
  --navy: #21364B;
  /* footer navy */
  --night: #16202B;
  --wine: #7D1028;
  /* primary brand accent */
  --wine-deep: #5C0B1D;
  --wine-light: #E46A82;
  --gold: #C6A05F;
  /* logo gold */
  --gold-light: #DCC08A;
  --teal: #1E5A61;

  --pepper: #E6262A;
  --basil: #AAC90C;
  --garlic: #CB2E8A;
  --lemon: #F09C28;
  --rosemary: #619930;

  /* Type */
  /* --font-display: "DM Serif Display", "Didot", Georgia, serif; */
  --font-display: "Playfair Display", "Didot", Georgia, serif;
  /* --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif; */
  --font-body: "Avenir", "Avenir Next", "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --fs-xl: clamp(2.5rem, 5.5vw, 6rem);
  --fs-l: clamp(3rem, 4.8vw, 5.25rem);
  --fs-m: clamp(1.9rem, 3vw, 3rem);
  --fs-lead: clamp(1.2rem, 1.75vw, 1.7rem);
  --fs-body: clamp(1rem, 0.96rem + 0.18vw, 1.0875rem);
  --fs-small: 0.875rem;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3.75rem);
  --container: 86rem;
  --section-y: clamp(5.5rem, 11vw, 10.5rem);
  --header-h: 6rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

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

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

html:not(.motion-ok) {
  scroll-behavior: auto;
}

html.motion-ok {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul[role="list"],
ol {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Lighter ring wherever the background is dark */
.site-footer :focus-visible,
.discovery :focus-visible,
.seasonal :focus-visible,
.craft__panel :focus-visible,
.hero[data-tone="dark"] :focus-visible,
.site-header[data-tone="dark"]:not(.is-scrolled) :focus-visible,
.site-nav.is-open :focus-visible {
  outline-color: var(--gold-light);
}

::selection {
  background: var(--wine);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

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

.section {
  padding-block: var(--section-y);
}

/* 4. Typography ----------------------------------------------------------- */
/* .display {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: var(--wine);
  text-wrap: balance;
  font-kerning: normal;
} */
.display {
  font-family: var(--font-display);
  font-weight: 500;
    font-style: italic;

  font-optical-sizing: auto;
  color: var(--wine);
  /* thickens hairlines at smaller sizes */
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.display--xl {
  font-size: 6rem;
  line-height: 1.4;
}

.display--l {
  font-size: 9rem;
  line-height: 1.1;
}

.display--m {
  font-size: var(--fs-m);
  line-height: 1.18;
}

.lead {
  font-weight: 500;
  font-size: var(--fs-lead);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* Split-text wrappers created by js/modules/utils.js */
.split-word {
  display: inline-block;
  vertical-align: top;
}

.split-word__inner {
  display: inline-block;
  will-change: transform;
}

/* 5. Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--wine);
  --btn-fg: #fff;
  --btn-bg-hover: var(--wine-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.9rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 0.975rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease-out);
}

/* Fill that rises from the bottom like oil filling a vessel */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-bg-hover);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}

.btn__label {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 1.4;
}

.btn__label::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
}

.btn__label,
.btn__label::after {
  transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) {
  .btn:hover::before {
    transform: translateY(0);
  }

  .btn:hover .btn__label {
    transform: translateY(-100%);
  }
}

.btn:active {
  transform: scale(0.98);
}

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-bg-hover: var(--gold-light);
}

.btn--sm {
  min-height: 2.75rem;
  padding: 0 1.4rem;
  font-size: 0.925rem;
}

/* 6. Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--ink);
  transition: transform 0.6s var(--ease-out), background-color 0.4s ease, color 0.5s ease, box-shadow 0.4s ease;
}

.site-header[data-tone="dark"] {
  color: #fff;
}

.site-header.is-scrolled {
  background-color: var(--stone);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(29, 42, 57, 0.1);
}

/* Note: transform stays "none" when visible so the fixed mobile menu inside
   the header is positioned against the viewport. */
.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height 0.5s var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
  height: 4.75rem;
}

.site-header__logo {
  position: relative;
  z-index: 2;
  flex: none;
  display: block;
}

.site-header__logo img {
  width: auto;
  height: 4.1rem;
  transition: height 0.5s var(--ease-out);
}

.site-header.is-scrolled .site-header__logo img {
  height: 3.1rem;
}

.site-nav {
  flex: 1;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2.4vw, 2.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__cta {
  margin-left: auto;
}

.site-nav__list:focus {
  outline: none;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.site-nav__link[aria-current]::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .site-nav__link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.site-nav__foot {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.menu-toggle__icon {
  position: relative;
  width: 1.75rem;
  height: 0.75rem;
}

.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out), top 0.3s ease;
}

.menu-toggle__icon span:first-child {
  top: 0;
}

.menu-toggle__icon span:last-child {
  top: calc(100% - 1.5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span {
  top: calc(50% - 0.75px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child {
  transform: rotate(-45deg);
}

/* Breadcrumb (shared by inner pages) ------------------------------------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 clamp(2.5rem, 5vh, 3.5rem);
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: 0.6rem;
  opacity: 0.6;
}

.breadcrumb a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}

@media (hover: hover) {
  .breadcrumb a:hover {
    background-size: 100% 1px;
    color: #fff;
  }
}

.breadcrumb [aria-current="page"] {
  color: #fff;
}

.breadcrumb--ink ol {
  color: var(--ink-soft);
}

.breadcrumb--ink [aria-current="page"] {
  color: var(--wine);
}

@media (hover: hover) {
  .breadcrumb--ink a:hover {
    color: var(--ink);
  }
}

/* Text link with a drawn underline */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) {
  .text-link:hover::after {
    transform: scaleX(0);
  }
}

/* 7. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  background: var(--stone);
  color: var(--ink);
  transition: background-color 1.2s ease;
}

/* Dark backdrop while the arch opens, so the doorway reads on any image */
.motion-ok.is-loading .hero,
.hero.is-intro {
  background-color: var(--ink);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.hero__slide.is-active {
  visibility: visible;
  z-index: 2;
}

.hero__slide.is-leaving {
  visibility: visible;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--stone-deep);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transform-origin: 70% 50%;
}

/* Ken Burns drift on the active slide */
.hero__slide.is-active .hero__img {
  transform: scale(1);
  transition: transform 9s cubic-bezier(0.2, 0.55, 0.3, 1);
}

.hero__slide.is-leaving .hero__img {
  transform: scale(1);
}

.hero__media--organic .hero__img {
  transform-origin: 25% 50%;
}

.hero__slide--video .hero__media {
  background: #2a2019;
}

.hero__slide--video .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.66) 0%, rgba(18, 16, 14, 0.32) 48%, rgba(18, 16, 14, 0.08) 100%),
    linear-gradient(0deg, rgba(18, 16, 14, 0.55) 0%, rgba(18, 16, 14, 0) 38%);
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  container-type: size;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.hero__video.is-playing {
  opacity: 1;
}

.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  border: 0;
  /* Scaled slightly so YouTube's overlay chrome falls outside the frame */
  transform: translate(-50%, -50%) scale(1.18);
}

.hero__content {
  position: absolute;
  z-index: 3;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: clamp(7.5rem, 17vh, 11.5rem);
  /* anchored above the slide controls */
  width: min(52rem, 47vw);
}

/* Longer headline (organic slide) steps down a size to stay on two lines */
.display--long {
  font-size: calc(var(--fs-xl) * 0.7);
}

.hero__content--right {
  left: auto;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  width: min(46rem, 46vw);
}

.hero__title {
  font-weight: 400;
  margin: 0;
}

.hero__sub {
  display: block;
  max-width: 24ch;
  margin-top: 1.4rem;
  font-weight: 500;
  font-size: var(--fs-lead);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.hero__text {
  max-width: 32rem;
  margin-top: 1.1rem;
  color: var(--ink-soft);
}

.hero__cta {
  margin-top: 2.2rem;
}

.hero__slide[data-tone="dark"] .display {
  color: #fff;
}

.hero__slide[data-tone="dark"] .hero__sub {
  color: #fff;
}

.hero__slide[data-tone="dark"] .hero__text {
  color: rgba(255, 255, 255, 0.86);
}

.hero__controls {
  position: absolute;
  z-index: 4;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  color: var(--ink);
  transition: color 0.6s ease;
}

.hero[data-tone="dark"] .hero__controls {
  color: #fff;
}

.hero__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 13.5rem));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  flex: 1;
}

.hero__tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 0.75rem;
  row-gap: 0.75rem;
  width: 100%;
  padding-block: 0.5rem;
  text-align: left;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.hero__tab.is-active,
.hero__tab:hover {
  opacity: 1;
}

.hero__tab-num {
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hero__tab-label {
  font-size: 0.95rem;
  font-weight: 500;
}

.hero__tab-bar {
  grid-column: 1 / -1;
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
}

.hero__tab-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0.22;
}

.hero__tab-bar i {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}

.hero__tab.is-done .hero__tab-bar i {
  transform: scaleX(1);
}

.hero__toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(29, 42, 57, 0.25);
  background: var(--paper);
  color: var(--ink);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero[data-tone="dark"] .hero__toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero__toggle svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.hero__toggle .icon-play {
  display: none;
}

.hero__toggle[data-state="paused"] .icon-play {
  display: block;
}

.hero__toggle[data-state="paused"] .icon-pause {
  display: none;
}

@media (hover: hover) {
  .hero__toggle:hover {
    background: var(--ink);
    color: var(--stone);
    border-color: var(--ink);
  }

  .hero[data-tone="dark"] .hero__toggle:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
  }
}

/* 8. Why ------------------------------------------------------------------ */
.why {
  position: relative;
}

.why__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 2.5rem;
}

.why__title {
  grid-column: 1 / span 7;
}

.why__statement {
  grid-column: 3 / -1;
  max-width: 26ch;
  font-weight: 500;
  font-size: clamp(1.65rem, 3.35vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}

.why__statement .sw {
  transition: opacity 0.2s linear;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  align-items: center;
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.why__art {
  grid-column: 1 / span 7;
  margin-left: calc(var(--gutter) * -0.5);
}

.why__art img {
  width: 100%;
  mix-blend-mode: multiply;
}

.why__body {
  grid-column: 9 / -1;
}

.why__lead {
  margin-bottom: 2rem;
}

.pillar {
  padding-block: 1.4rem 1.5rem;
  border-top: 1px solid rgba(29, 42, 57, 0.18);
}

.pillar:last-child {
  border-bottom: 1px solid rgba(29, 42, 57, 0.18);
}

.pillar dt {
  font-weight: 500;
  font-size: 1.075rem;
  margin-bottom: 0.45rem;
}

.pillar dd {
  color: var(--ink-soft);
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 1.4rem;
}

.checks li+li {
  margin-top: 0.3rem;
}

/* Tiny arch marker – echoes the Tunisian doorway motif */
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.65rem;
  border-radius: 999px 999px 0 0;
  background: var(--wine);
}

/* 9. Collection ----------------------------------------------------------- */
.collection {
  background: var(--paper);
}

.split-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  align-items: end;
}

.split-head>.display {
  grid-column: 1 / span 6;
}

.split-head__aside {
  grid-column: 8 / -1;
}

.split-head__aside p:not(.lead) {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.niches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3.4vw, 3.5rem);
  align-items: end;
  margin: clamp(5rem, 9vw, 8rem) 0 0;
  padding: 0;
  list-style: none;
}

.niche {
  --arch: var(--navy);
}

.niche--robust {
  --arch: #6E1426;
}

.niche--delicate {
  --arch: var(--teal);
}

.niche__link {
  display: grid;
  justify-items: center;
  text-decoration: none;
  color: var(--ink);
}

.niche__arch {
  grid-area: 1 / 1;
  align-self: end;
  position: relative;
  width: 100%;
  aspect-ratio: 0.8;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(60% 45% at 50% 62%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 70%),
    var(--arch);
  overflow: hidden;
  transition: transform 0.8s var(--ease-out);
}

.niche--robust .niche__arch {
  aspect-ratio: 0.8;
}

/* Inner doorway frame */
.niche__arch::after {
  content: "";
  position: absolute;
  inset: 0.75rem 0.75rem 0;
  border: 1px solid rgba(198, 160, 95, 0.4);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transition: border-color 0.6s ease, inset 0.8s var(--ease-out);
}

.niche__bottle {
  grid-area: 1 / 1;
  align-self: end;
  position: relative;
  z-index: 1;
  width: 78%;
  margin-bottom: -1.5%;
  filter: drop-shadow(0 1.5rem 1.5rem rgba(0, 0, 0, 0.28));
  transition: transform 0.9s var(--ease-out);
}

.niche__name {
  margin-top: 4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1;
  color: var(--ink);
}

.niche__more {
  position: relative;
  margin-top: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--wine);
}

.niche__more::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.25);
  transition: transform 0.6s var(--ease-out);
}

.niches>.niche {
  transition: opacity 0.5s ease;
}

@media (hover: hover) {
  .niche__link:hover .niche__bottle {
    transform: translateY(-1.1rem) rotate(-2.5deg);
  }

  .niche__link:hover .niche__arch::after {
    border-color: rgba(198, 160, 95, 0.95);
    inset: 1.1rem 1.1rem 0;
  }

  .niche__link:hover .niche__more::after {
    transform: scaleX(1);
  }

  .niches:has(.niche__link:hover)>.niche:not(:hover) {
    opacity: 0.55;
  }
}

/* 10. Seasonal ------------------------------------------------------------ */
.seasonal {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8rem var(--gutter);
  background: var(--paper);
  color: #fff;
  overflow: hidden;
}

.seasonal__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #2b1d14;
}

.seasonal__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 48%, rgba(20, 13, 8, 0.62), rgba(20, 13, 8, 0.25) 100%);
}

.seasonal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seasonal__content {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  text-align: center;
}

.seasonal__content .display {
  color: #fff;
}

.seasonal__content p {
  max-width: 36rem;
  margin: 1.6rem auto 2.4rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

/* 11. The Gourmets -------------------------------------------------------- */
.gourmets {
  position: relative;
  background: var(--stone);
  padding-bottom: 0;
  overflow: hidden;
}

.center-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.center-head .display {
  margin-bottom: 1.6rem;
}

.center-head .lead {
  margin-bottom: 1rem;
}

.center-head p:not(.lead) {
  color: var(--ink-soft);
}

.sketch {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.sketch--millstone {
  top: 4rem;
  left: -2rem;
  width: clamp(11rem, 22vw, 22rem);
}

.sketch--press {
  top: 2.5rem;
  right: -1.5rem;
  width: clamp(11rem, 22vw, 21rem);
}

.gourmets .container {
  position: relative;
  z-index: 1;
}

.craft {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.craft__media {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
}

.craft__media-inner {
  position: absolute;
  inset: -5% 0;
}

.craft__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 20%;
}

.craft__panel {
  background: var(--wine);
  color: #fff;
  padding: clamp(3rem, 5.5vw, 5.5rem) clamp(1.75rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.craft__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-m);
  line-height: 1.05;
  margin-bottom: 2.4rem;
  max-width: 14ch;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem 2.75rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding-block: 1.5rem;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  transform-origin: left;
  transform: scaleX(var(--line, 1));
}

.step__num {
  padding-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.step__icon {
  width: 2.75rem;
  height: 2.75rem;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step__text h4 {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.step__text p {
  color: rgba(255, 255, 255, 0.78);
}

/* 12. Gourmet selection --------------------------------------------------- */
.flavors {
  position: relative;
  padding-block: var(--section-y);
  background: var(--stone);
  background: color-mix(in oklab, var(--flavor) 10%, var(--stone));
  transition: --flavor 0.9s var(--ease-out);
  overflow: hidden;
}

.sketch--hamsa {
  top: 3rem;
  right: 4%;
  width: clamp(6.5rem, 11vw, 11rem);
}

.flavors__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flavors__head {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 1rem;
  align-items: end;
}

.flavors__head .display {
  grid-column: 1 / span 7;
}

.flavors__head .lead {
  grid-column: 1 / span 6;
  margin-top: 0.75rem;
}

.flavors__head p:not(.lead) {
  grid-column: 1 / span 5;
  color: var(--ink-soft);
}

.flavors__stage {
  position: relative;
  width: 100%;
  height: clamp(26rem, 48vw, 42rem);
  margin-top: clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.flavors__word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20rem, 20vw, 15rem);
  /* refined per word by flavors.js */
  line-height: 1;
  color: var(--flavor);
  color: color-mix(in oklab, var(--flavor) 82%, var(--ink));
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.flavors__word span {
  display: block;
  transform: translateY(-4%);
}

.flavors__word .char {
  display: inline-block;
}

.flavors__bottles {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.flavor {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 0;
}

.flavor[hidden] {
  display: none;
}

.flavor img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2rem 1.75rem rgba(29, 20, 10, 0.25));
}

.flavor figcaption {
  margin-top: 0.4rem;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

.flavor figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ink);
}

.flavors__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.flavor-tab {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 50%;
  opacity: 0.6;
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}

.flavor-tab img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s var(--ease-out);
}

.flavor-tab span {
  grid-area: 1 / 1;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.flavor-tab[aria-selected="true"] {
  opacity: 1;
  transform: scale(1.1);
}

.flavor-tab[aria-selected="true"] img {
  transform: rotate(-24deg);
}

@media (hover: hover) {
  .flavor-tab:hover {
    opacity: 1;
  }

  .flavor-tab:hover img {
    transform: rotate(40deg);
  }
}

.flavors__cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* 13. Spreads ------------------------------------------------------------- */
.spreads {
  position: relative;
  background: var(--paper);
}

.spreads__banner {
  position: relative;
  height: clamp(22rem, 58vw, 48rem);
  overflow: hidden;
  background: var(--stone-deep);
}

.spreads__banner img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.spreads__body {
  position: relative;
  overflow: hidden;
}

.sketch--fibula {
  top: 3.5rem;
  left: 3%;
  width: clamp(6.5rem, 12vw, 12rem);
}

.sketch--rings {
  top: 4rem;
  right: 3%;
  width: clamp(7rem, 14vw, 14rem);
}

.spreads__body .container {
  position: relative;
  z-index: 1;
}

.jars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
  list-style: none;
}

.jar {
  text-align: center;
}

.jar__img {
  width: 100%;
  transition: transform 0.9s var(--ease-out);
}

.jar__name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 1.025rem;
}

.jar__name img {
  width: 1.6rem;
  height: auto;
  transition: transform 0.8s var(--ease-out);
}

@media (hover: hover) {
  .jar:hover .jar__img {
    transform: translateY(-0.9rem) rotate(-2deg) scale(1.02);
  }

  .jar:hover .jar__name img {
    transform: rotate(180deg) scale(1.15);
  }
}

/* 14. Discovery ----------------------------------------------------------- */
.discovery {
  position: relative;
  background: var(--night);
  color: var(--stone);
}

.discovery__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 4vh, 3.5rem);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.discovery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 3rem;
}

.discovery__head .display {
  color: var(--stone);
}

.discovery__head .lead {
  color: var(--gold-light);
}

.discovery__viewport {
  overflow: hidden;
}

.discovery__track {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 3rem);
  width: max-content;
  margin: 0;
  padding: 0 var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  list-style: none;
}

.moment figure {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.moment__img {
  position: relative;
  overflow: hidden;
  background: #233142;
}

.moment__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.2s var(--ease-out);
}

.moment--tall .moment__img {
  width: clamp(16rem, 25vw, 26rem);
  height: min(56vh, 36rem);
  border-radius: 999px 999px 0 0;
}

.moment--wide .moment__img {
  width: clamp(20rem, 36vw, 38rem);
  height: min(42vh, 27rem);
}

.moment--low .moment__img {
  width: clamp(15rem, 22vw, 23rem);
  height: min(34vh, 21rem);
}

.moment--wide {
  align-self: flex-start;
}

.moment--low {
  align-self: flex-end;
}

.moment figcaption {
  font-size: 0.95rem;
  color: rgba(233, 226, 216, 0.72);
}

@media (hover: hover) {
  .moment:hover .moment__img img {
    transform: scale(1.04);
  }
}

.moment--end {
  width: clamp(16rem, 26vw, 26rem);
  padding-right: var(--gutter);
}

.moment--end .display {
  color: var(--gold-light);
}

/* 15. Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--navy);
  color: var(--stone);
  padding-top: clamp(5rem, 9vw, 8rem);
}

.site-footer a {
  text-decoration: none;
}

.site-footer__top {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer__logo img {
  width: auto;
  height: clamp(7.5rem, 13vw, 12.5rem);
}

.site-footer__motto {
  color: var(--gold);
  max-width: 17ch;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(233, 226, 216, 0.16);
}

.site-footer__heading {
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-light);
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col li+li {
  margin-top: 0.45rem;
}

.site-footer__col a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s ease;
}

@media (hover: hover) {
  .site-footer__col a:hover {
    color: #fff;
    background-size: 100% 1px;
  }
}

.newsletter__intro {
  color: rgba(233, 226, 216, 0.75);
  max-width: 30rem;
}

.newsletter__field {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid rgba(233, 226, 216, 0.4);
  transition: border-color 0.3s ease;
}

.newsletter__field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.newsletter__field:focus-within::after {
  transform: scaleX(1);
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 1.6rem 0 0.8rem;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 1.15rem;
  outline: none;
}

.newsletter__label {
  position: absolute;
  left: 0;
  top: 1.6rem;
  font-size: 1.15rem;
  color: rgba(233, 226, 216, 0.6);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.4s var(--ease-out), color 0.3s ease;
}

.newsletter__input:focus+.newsletter__label,
.newsletter__input:not(:placeholder-shown)+.newsletter__label {
  transform: translateY(-1.35rem) scale(0.72);
  color: var(--gold-light);
}

.newsletter__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  margin-bottom: 0.35rem;
  padding: 0 0.25rem;
  font-weight: 500;
  color: var(--stone);
  transition: color 0.3s ease;
}

.newsletter__submit svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) {
  .newsletter__submit:hover {
    color: var(--gold-light);
  }

  .newsletter__submit:hover svg {
    transform: translateX(0.35rem);
  }
}

.newsletter__status {
  min-height: 1.6em;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.newsletter.is-invalid .newsletter__field {
  border-color: var(--wine-light);
}

.newsletter.is-invalid .newsletter__status {
  color: #F2A7B6;
}

.newsletter.is-success .newsletter__status {
  color: var(--gold-light);
}

.newsletter.is-loading .newsletter__submit {
  pointer-events: none;
  opacity: 0.6;
}

.newsletter.is-loading .newsletter__submit svg {
  animation: nudge 0.9s var(--ease-in-out) infinite;
}

@keyframes nudge {
  50% {
    transform: translateX(0.4rem);
  }
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding-block: 1.75rem;
  border-top: 1px solid rgba(233, 226, 216, 0.16);
  font-size: 0.9rem;
  color: rgba(233, 226, 216, 0.7);
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(233, 226, 216, 0.3);
  color: var(--stone);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.5s var(--ease-out);
}

.socials svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

@media (hover: hover) {
  .socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
  }
}

/* The colored shards of the 619 labels */
.label-band {
  height: 0.875rem;
  background: linear-gradient(100deg,
      var(--garlic) 0 17%,
      #2B47A6 17% 33%,
      #1E8C8C 33% 50%,
      var(--lemon) 50% 64%,
      var(--pepper) 64% 81%,
      var(--wine) 81% 100%);
}

/* 16. Motion states ------------------------------------------------------- */
/* Only hidden when JS + motion are available; failsafe reveals after 3.5s. */
.motion-ok.is-loading .site-header,
.motion-ok.is-loading .hero__content,
.motion-ok.is-loading .hero__controls {
  opacity: 0;
  animation: failsafe-reveal 0.01s 3.5s forwards;
}

@keyframes failsafe-reveal {
  to {
    opacity: 1;
  }
}

/* First frame of the intro: the hero opens from an arch-shaped doorway */
.motion-ok.is-loading .hero__slide.is-active .hero__media {
  clip-path: inset(16% 32% 0% 32% round 40vw 40vw 0vw 0vw);
  animation: failsafe-clip 0.01s 3.5s forwards;
}

@keyframes failsafe-clip {
  to {
    clip-path: inset(0% 0% 0% 0% round 0vw 0vw 0vw 0vw);
  }
}

/* Pinned horizontal gallery (desktop/tablet, set by animations.js) */
.discovery.is-pinned .discovery__pin {
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(3rem, 8vh, 6rem);
}

/* 17. Responsive ---------------------------------------------------------- */
@media (min-width: 1600px) {
  :root {
    --header-h: 6.75rem;
  }
}

@media (max-width: 1180px) {
  .site-nav__list {
    gap: 1.35rem;
  }

  .why__body {
    grid-column: 8 / -1;
  }
}

/* Tablet & mobile navigation */
@media (max-width: 1023px) {
  :root {
    --header-h: 4.75rem;
  }

  .site-header__logo img {
    height: 3.25rem;
  }

  .site-header.is-scrolled .site-header__inner {
    height: 4.25rem;
  }

  .site-header.is-scrolled .site-header__logo img {
    height: 2.75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 3rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--wine);
    color: #fff;
    visibility: hidden;
    clip-path: inset(0 0 100% 0 round 0 0 50% 50%);
    transition: clip-path 0.8s var(--ease-in-out), visibility 0s 0.8s;
    overflow-y: auto;
  }

  .site-nav.is-open {
    visibility: visible;
    clip-path: inset(0 0 0 0 round 0 0 0 0);
    transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .site-nav__link {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 9vw, 4.25rem);
    line-height: 1.1;
    letter-spacing: 0;
  }

  .site-nav__link::after {
    height: 2px;
  }

  .site-nav__cta {
    margin: 1.75rem 0 0;
  }

  .site-nav .btn--wine {
    --btn-bg: var(--paper);
    --btn-fg: var(--wine);
    --btn-bg-hover: var(--gold-light);
  }

  .site-nav__foot {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    color: var(--gold-light);
    font-size: 0.95rem;
  }

  .site-nav__foot img {
    height: 3rem;
    width: auto;
  }

  body.menu-open .site-header {
    color: #fff;
    background-color: transparent;
    box-shadow: none;
  }

  .hero__content,
  .hero__content--right {
    width: min(36rem, 60vw);
  }

  .why__title {
    grid-column: 1 / -1;
  }

  .why__statement {
    grid-column: 1 / -1;
  }

  .why__art {
    grid-column: 1 / -1;
    margin: 0 auto;
    max-width: 40rem;
  }

  .why__body {
    grid-column: 1 / -1;
    margin-top: 2.5rem;
  }

  .split-head>.display,
  .split-head__aside {
    grid-column: 1 / -1;
  }

  .craft {
    grid-template-columns: 1fr;
  }

  .craft__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .flavors__head .display,
  .flavors__head .lead,
  .flavors__head p:not(.lead) {
    grid-column: 1 / -1;
  }

  .jars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter {
    grid-column: 1 / -1;
  }
}

/* Phones and portrait tablets: image above, headline on stone below */
@media (max-width: 767px),
(max-width: 1023px) and (orientation: portrait) {
  .hero {
    min-height: 36rem;
  }

  /* Image sits in the upper part, text on stone below */
  .hero__slide[data-tone="light"] .hero__media {
    bottom: 36%;
  }

  .hero__slide[data-tone="light"] .hero__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(to top, var(--stone) 0%, rgba(233, 226, 216, 0) 100%);
  }

  .hero__media--extra .hero__img {
    object-position: 74% 50%;
  }

  .hero__media--organic .hero__img {
    object-position: 22% 50%;
  }

  .hero__media--video .hero__img {
    object-position: 38% 50%;
  }

  .hero__slide--video .hero__media::after {
    background: linear-gradient(0deg, rgba(18, 16, 14, 0.85) 0%, rgba(18, 16, 14, 0.35) 55%, rgba(18, 16, 14, 0.1) 100%);
  }

  .hero__content,
  .hero__content--right {
    left: var(--gutter);
    right: var(--gutter);
    top: auto;
    bottom: 6.5rem;
    width: auto;
    max-width: 40rem;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-y: 5rem;
    --fs-l: clamp(2.2rem, 9.2vw, 3.4rem);
    --fs-xl: clamp(2.6rem, 12vw, 3.6rem);
  }

  .display--l,
  .display--m {
    line-height: 1.26;
    font-size: var(--fs-xl);
  }

  .display--xl {
    line-height: 1.16;
    font-size: var(--fs-xl);
  }

  /* Menu button stays legible over any hero image */
  .menu-toggle {
    padding: 0 0.95rem;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
  }

  body.menu-open .menu-toggle {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .hero__sub {
    max-width: none;
  }

  .sketch--hamsa,
  .sketch--fibula,
  .sketch--rings {
    display: none;
  }

  .site-footer__motto {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }

  .hero__sub {
    margin-top: 0.85rem;
    font-size: 1.15rem;
  }

  .hero__text {
    display: none;
  }

  .hero__cta {
    margin-top: 1.4rem;
  }

  .hero__controls {
    gap: 1rem;
    bottom: 1.25rem;
  }

  .hero__tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .hero__tab-label {
    display: none;
  }

  .hero__toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .why__statement {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
  }

  .niches {
    display: flex;
    gap: 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 3rem var(--gutter) 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .niches::-webkit-scrollbar {
    display: none;
  }

  .niche {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .seasonal {
    padding-block: 6rem;
  }

  .sketch--millstone,
  .sketch--press {
    top: 1.5rem;
    width: 8.5rem;
    opacity: 0.45;
  }

  .sketch--millstone {
    left: -2.5rem;
  }

  .sketch--press {
    right: -2.5rem;
  }

  .sketch--hamsa {
    top: 1.5rem;
    width: 4.5rem;
    opacity: 0.45;
  }

  .sketch--fibula,
  .sketch--rings {
    top: 1.5rem;
    width: 5.5rem;
    opacity: 0.45;
  }

  .craft__panel {
    padding: 3rem var(--gutter);
  }

  .step {
    grid-template-columns: 2rem 2.4rem 1fr;
    gap: 0.9rem;
  }

  .step__icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .flavors__stage {
    height: 27rem;
  }

  .flavors__tabs {
    gap: 0.4rem;
    flex-wrap: nowrap;
  }

  .flavor-tab {
    width: 4rem;
    height: 4rem;
  }

  .flavor-tab span {
    font-size: 0.68rem;
  }

  .jars {
    column-gap: 1rem;
  }

  .jar__name {
    flex-direction: column;
    font-size: 0.925rem;
    gap: 0.4rem;
    line-height: 1.3;
  }

  .jar__name img {
    width: 1.3rem;
  }

  /* Native swipe gallery on small screens */
  .discovery__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .discovery__viewport::-webkit-scrollbar {
    display: none;
  }

  .discovery__track {
    align-items: flex-start;
    padding-left: var(--gutter);
  }

  .moment {
    scroll-snap-align: start;
    scroll-margin-left: var(--gutter);
  }

  .moment--wide,
  .moment--low {
    align-self: flex-start;
  }

  .moment--tall .moment__img,
  .moment--wide .moment__img,
  .moment--low .moment__img {
    width: 78vw;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .moment--wide .moment__img,
  .moment--low .moment__img {
    aspect-ratio: 4 / 5;
  }

  .moment__img img {
    transform: none;
  }

  .moment--end {
    width: 70vw;
    align-self: center;
  }

  .site-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Short landscape screens */
@media (max-height: 800px) and (min-width: 768px) {
  .hero__text {
    display: none;
  }

  .hero__sub {
    margin-top: 0.9rem;
  }

  .hero__cta {
    margin-top: 1.6rem;
  }
}

/* 18. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__img,
  .hero__slide.is-active .hero__img {
    transform: none;
  }

  .hero__slide {
    transition: opacity 0.01ms;
  }

  .moment__img img {
    transform: none;
  }
}