:root {
  --primary: #9a0f0f;
  --primary-rgb: 154,15,15;
  --secondary: #ffe1c1;
  --secondary-rgb: 255,225,193;
  --cream: #fff1dd;
  --ink: #1c1010;
  --muted: #785757;
  --pad: clamp(18px,4vw,66px);
  --header-h: 72px;
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; width: 100%; min-height: 100%; }
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--secondary);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--primary); color: var(--secondary); }

.loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-content: center;
  background: var(--primary); color: var(--secondary);
}
.loader__logo { width: min(520px,70vw); height: auto; display: block; }
.loader__bar { width: 100%; height: 2px; margin-top: 28px; background: rgba(255,255,255,.18); overflow: hidden; }
.loader__bar span { display: block; width: 100%; height: 100%; background: var(--secondary); transform: scaleX(0); transform-origin: left; }
.loader__meta { margin-top: 14px; text-align: right; font-size: 10px; font-weight: 700; letter-spacing: .22em; opacity: .72; }

.grain {
  position: fixed; inset: 0; z-index: 210; pointer-events: none; opacity: .045;
  background-image: radial-gradient(circle at 20% 30%, #000 0 .6px, transparent .8px), radial-gradient(circle at 70% 60%, #000 0 .5px, transparent .8px);
  background-size: 8px 8px,12px 12px; mix-blend-mode: multiply;
}
.cursor { position: fixed; z-index: 1200; left: 0; top: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: difference; }
.cursor--dot { width: 5px; height: 5px; background: white; }
.cursor--ring { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.82); }
.cursor-chip {
  position: fixed;
  z-index: 1199;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 45% 55% 48% 52%;
  background: radial-gradient(circle at 35% 28%, #895037 0 14%, #59301f 48%, #311b17 100%);
  box-shadow: 0 1px 1px rgba(40, 15, 12, .18);
  opacity: 0;
  will-change: transform, opacity;
}

.header {
  position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 72px;
  padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(var(--secondary-rgb),.74); border-bottom: 1px solid rgba(var(--primary-rgb),.07); backdrop-filter: blur(16px);
  transition: background .35s ease,color .35s ease;
}
.header.on-dark { background: rgba(28,8,8,.80); color: var(--secondary); border-color: rgba(255,255,255,.08); }
.logo { position: relative; display: block; width: 104px; height: 28px; justify-self: start; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .3s ease; }
.logo__primary { opacity: 1; }
.logo__light { opacity: 0; }
.header.on-dark .logo__primary { opacity: 0; }
.header.on-dark .logo__light { opacity: 1; }
.nav { display: flex; gap: clamp(18px,2.5vw,42px); align-items: center; }
.nav a,.button,.section-label,.scroll,.cookies__hint,.kicker,.visit-card__top,.hero__micro,.manifesto__small span,.phone,.back-top,.footer__bottom,.footer__links span,.map-progress {
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--primary); color: var(--secondary); }
.button--small { justify-self: end; min-height: 40px; padding: 0 18px; }
.header.on-dark .button--small { background: var(--secondary); color: var(--primary); }

/* Persistent cookie cutout */
.product-layer { position: fixed; inset: 0; z-index: 32; pointer-events: none; opacity: 0; }
.product-shell {
  position: absolute; left: 50%; top: 50%; width: min(38vw,560px); aspect-ratio: 1;
  transform: translate3d(-50%,-50%,0); transform-style: preserve-3d; will-change: transform,opacity;
  display: grid; place-items: center;
}
.product-shell img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; user-select: none; filter: drop-shadow(0 24px 34px rgba(65,10,10,.16)); will-change: transform,opacity; }
.product-shadow { position: absolute; z-index: 1; width: 54%; height: 11%; left: 23%; bottom: 11%; border-radius: 50%; background: rgba(62,10,10,.18); filter: blur(25px); }
.crumb { position: absolute; border-radius: 50% 45% 55% 40%; background: rgba(var(--primary-rgb),.24); }
.crumb--1 { left: 28%; top: 44%; width: 7px; height: 7px; }
.crumb--2 { left: 69%; top: 39%; width: 11px; height: 11px; }
.crumb--3 { left: 74%; top: 61%; width: 8px; height: 8px; }
.crumb--4 { left: 33%; top: 70%; width: 9px; height: 9px; }
.crumb--5 { left: 76%; top: 50%; width: 5px; height: 5px; }

.scene,.section { position: relative; }
.section--dark { background: #150909; color: var(--secondary); }
.hero { height: 185svh; background: var(--secondary); }
.hero__sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 38px; }
.hero__micro { position: absolute; top: 108px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; }
.hero__word { margin: 0; position: relative; z-index: 1; text-align: center; color: var(--primary); font-family: "Anton",Impact,sans-serif; font-size: clamp(120px,21vw,360px); line-height: .76; letter-spacing: -.045em; white-space: nowrap; }
.hero__bottom { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 42px; display: flex; justify-content: space-between; align-items: end; }
.hero__line { margin: 0; color: var(--primary); font-family: "Anton",Impact,sans-serif; font-size: clamp(34px,4.1vw,72px); line-height: .92; letter-spacing: -.02em; }
.scroll { display: flex; align-items: center; gap: 14px; }
.scroll i { width: 72px; height: 1px; background: currentColor; }

.manifesto { min-height: 120svh; padding: clamp(110px,12vw,190px) var(--pad); display: grid; grid-template-columns: 1fr minmax(0,4fr); gap: 4vw; }
.manifesto__content { align-self: center; }
.manifesto h2,.coffee h2,.story__title,.footer__top h2,.visit-card h2 { margin: 0; font-family: "Anton",Impact,sans-serif; font-weight: 400; line-height: .83; letter-spacing: -.035em; }
.manifesto h2,.coffee h2,.story__title { font-size: clamp(72px,10vw,168px); }
.manifesto__small { max-width: 760px; margin-top: 72px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.manifesto__small p { max-width: 520px; margin: 0; color: #d5b79f; font-size: 17px; line-height: 1.55; }

.cookies { height: 270svh; color: var(--primary); background: linear-gradient(180deg,#ffe5ce 0%,#ffd6b5 100%); transition: background .55s ease; }
.cookies__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; padding: 110px var(--pad) 34px; }
.cookies__top { position: relative; z-index: 44; display: flex; justify-content: space-between; }
.counter { font-family: "Anton",Impact,sans-serif; font-size: 20px; }
.cookies__copy { position: absolute; z-index: 44; left: 50%; bottom: 95px; width: min(760px,calc(100% - 40px)); transform: translateX(-50%); text-align: center; }
.cookies__copy h2 { margin: 0; font-family: "Anton",Impact,sans-serif; font-size: clamp(68px,9.4vw,145px); line-height: .88; letter-spacing: -.03em; }
.cookies__description { max-width: 600px; margin: 12px auto 0; color: rgba(80,25,25,.68); font-size: 15px; line-height: 1.55; }
.cookies__price { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cookie-controls { position: absolute; z-index: 46; left: var(--pad); right: var(--pad); top: 49%; transform: translateY(-50%); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(var(--primary-rgb),.28); background: rgba(255,255,255,.26); cursor: pointer; transition: background .25s ease,border .25s ease; }
.round:hover { background: rgba(255,255,255,.58); }
.flavour-track { display: flex; justify-content: center; align-items: center; gap: 10px; }
.flavour { border: 0; background: none; padding: 8px 10px; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; opacity: .45; cursor: pointer; transition: opacity .2s ease; }
.flavour.active,.flavour:hover { opacity: 1; }
.cookies__hint { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; justify-content: space-between; color: rgba(var(--primary-rgb),.66); }

.coffee { min-height: 128svh; padding: 150px var(--pad); background: linear-gradient(180deg,#f0b18a 0%,#eaa57e 100%); color: var(--ink); }
.coffee__grid { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; }
.coffee__visual { display: flex; align-items: center; justify-content: center; min-height: 700px; }
.coffee-product { position: relative; width: min(38vw,530px); aspect-ratio: 7/9; display: grid; place-items: center; will-change: transform; }
.coffee-product img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(65,10,10,.15)); }
.coffee-product__shadow { position: absolute; z-index: 1; left: 15%; right: 15%; bottom: 7%; height: 7%; border-radius: 50%; background: rgba(55,8,8,.18); filter: blur(22px); }
.coffee__copy p { max-width: 520px; font-size: 17px; line-height: 1.6; color: #5e3232; }
.text-link { display: inline-block; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.story { height: 175svh; background: linear-gradient(180deg,#ffe6ce 0%,#fff1df 100%); color: var(--primary); }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 120px var(--pad) 50px; display: grid; grid-template-columns: 1fr 2fr 1.15fr; align-items: end; gap: 4vw; overflow: hidden; }
.story__note { padding: 28px; border-radius: 24px; background: rgba(255,245,233,.76); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(70,15,15,.06); }
.story__note p { margin: 0; line-height: 1.65; color: #6f5050; }
.story__rule { height: 1px; margin: 22px 0; background: rgba(var(--primary-rgb),.16); }

/* One continuous map - the viewport is pinned by GSAP. */
.visit { position: relative; background: var(--cream); }
.visit__sticky {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.live-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; background: var(--cream); }
.live-map .leaflet-tile-pane { filter: grayscale(.92) sepia(.42) saturate(.76) hue-rotate(325deg) brightness(1.08) contrast(.88); }
.live-map .leaflet-control-attribution { background: rgba(255,241,221,.82)!important; color: #745858!important; font-size: 9px!important; }
.live-map .leaflet-control-attribution a { color: var(--primary)!important; }
.map-tint { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg,rgba(255,225,193,.26),rgba(255,241,221,.06) 55%,rgba(154,15,15,.06)); mix-blend-mode: multiply; }
.visit__top { position: absolute; z-index: 12; top: 32px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: center; color: var(--primary); }
.map-progress { padding: 11px 15px; border-radius: 999px; background: rgba(255,241,221,.78); border: 1px solid rgba(var(--primary-rgb),.12); backdrop-filter: blur(12px); }
.location-pin-ui { position: absolute; z-index: 10; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; }
.location-pin-ui span { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 12px rgba(var(--primary-rgb),.16); }
.location-pin-ui strong { padding: 9px 13px; border-radius: 999px; background: var(--primary); color: var(--secondary); font-size: 10px; letter-spacing: .16em; }
.glass-card { border: 1px solid rgba(255,255,255,.8); background: rgba(255,241,221,.85); backdrop-filter: blur(16px); border-radius: var(--radius); box-shadow: 0 24px 54px rgba(60,12,12,.10); }
.visit-card { position: absolute; z-index: 15; left: var(--pad); top: 50%; width: min(430px,calc(100vw - 40px)); padding: 34px; opacity: 0; visibility: hidden; transform: translateY(-42%) scale(.96); }
.visit-card h2 { margin: 30px 0 20px; font-size: clamp(58px,6vw,98px); line-height: .78; color: var(--primary); }

.visit-photo {
  position: absolute;
  z-index: 14;
  right: var(--pad);
  top: 50%;
  width: min(28vw, 430px);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(34px) scale(.96) rotate(1.2deg);
  overflow: hidden;
}
.visit-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius) - 10px);
}
.visit-card address { font-style: normal; line-height: 1.55; color: #6d4b4b; }
.hours { margin: 26px 0; padding: 22px 0; border-top: 1px solid rgba(var(--primary-rgb),.12); border-bottom: 1px solid rgba(var(--primary-rgb),.12); }
.hours div { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; line-height: 1.8; }
.visit-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.footer { position: relative; z-index: 5; min-height: 100vh; min-height: 100dvh; padding: clamp(90px,10vw,150px) var(--pad) 26px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8vw; }
.footer__top h2 { font-size: clamp(70px,9vw,146px); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer__links > div { display: flex; flex-direction: column; gap: 14px; }
.footer__links a { font-family: "Anton",Impact,sans-serif; font-size: 28px; opacity: .68; transition: opacity .25s ease; }
.footer__links a:hover { opacity: 1; }
.back-top { display: inline-block; margin-top: 55px; }
.footer__brand { margin-top: clamp(70px,10vw,150px); font-family: "Anton",Impact,sans-serif; font-size: clamp(135px,26vw,430px); line-height: .68; letter-spacing: -.05em; white-space: nowrap; }
.footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.17); display: flex; justify-content: space-between; opacity: .54; }
.word-mask {   display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em; }
.word-mask > span { display: inline-block; will-change: transform; }

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .header { grid-template-columns: 1fr auto; height: 64px; }
  .nav { display: none; }
  .button--small { font-size: 9px; min-height: 36px; }
  .logo { width: 94px; height: 25px; }
  .hero__sticky { padding-top: 82px; }
  .hero__micro { top: 84px; }
  .hero__word { font-size: clamp(108px,28vw,220px); }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .manifesto { grid-template-columns: 1fr; gap: 36px; }
  .manifesto__small { grid-template-columns: 1fr; gap: 24px; }
  .product-shell { width: min(61vw,410px); }
  .cookies__copy { bottom: 112px; }
  .cookies__copy h2 { font-size: clamp(62px,18vw,112px); }
  .flavour-track { display: none; }
  .coffee { padding-top: 110px; }
  .coffee__grid { grid-template-columns: 1fr; min-height: auto; }
  .coffee__visual { min-height: 500px; }
  .coffee-product { width: min(74vw,430px); }
  .story__sticky { grid-template-columns: 1fr; align-content: center; gap: 28px; padding-top: 100px; }
  .visit-card { left: 18px; top: auto; bottom: 24px; width: min(430px, calc(100vw - 36px)); transform: translateY(26px) scale(.97); padding: 26px; }
  .visit-photo { right: 18px; top: 28%; width: min(38vw, 310px); transform: translateY(-50%) translateX(24px) scale(.96) rotate(1deg); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { margin-top: 40px; }
  .footer__brand { font-size: clamp(125px,37vw,260px); }
  .cursor { display: none; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }
  .hero { height: 170svh; }
  .hero__micro span:last-child { display: none; }
  .cookies { height: 235svh; }
  .cookies__sticky { padding-top: 86px; }
  .cookie-controls { left: 18px; right: 18px; }
  .round { width: 48px; height: 48px; }
  .cookies__hint span:last-child { display: none; }
  .visit__top { top: 24px; }
  .footer__links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__links a { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: smooth; }
  *,*::before,*::after { animation-duration: .001ms!important; animation-iteration-count: 1!important; }
  .product-layer { position: absolute; }
}

/* --------------------------------------------------------------------------
   V5 stability + interaction overrides
   -------------------------------------------------------------------------- */

html, body {
  overscroll-behavior-y: none;
}

/* Arrow-only product navigation. Product selection never changes from scroll. */
.cookie-controls--arrows {
  grid-template-columns: auto auto;
  justify-content: space-between;
  pointer-events: none;
}
.cookie-controls--arrows .round {
  pointer-events: auto;
}

/* Make sure the persistent PNG remains clean and in front of section artwork. */
.product-layer {
  contain: layout style;
}
.product-shell,
.product-shell img {
  will-change: transform, opacity;
}
.product-shell img {
  backface-visibility: hidden;
  transform-origin: center center;
}

/* Hero start state is always visible. JS owns the reversible fade/scale. */
.hero__word,
.hero__bottom,
.hero__micro {
  opacity: 1;
}

/* Story remains an intentional clean brand moment, not a photo placeholder. */
.story {
  background:
    radial-gradient(circle at 70% 28%, rgba(154,15,15,.05), transparent 20%),
    linear-gradient(180deg,#ffe6ce 0%,#fff1df 100%);
}
.story__title {
  max-width: 720px;
}

/* Lightweight map intro: country-level vector first, real map only later. */
.map-intro {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 44%, rgba(154,15,15,.06), transparent 30%),
    var(--cream);
  transform-origin: 58% 43%;
  will-change: transform, opacity;
  pointer-events: none;
}
.map-intro__art {
  width: min(58vw, 720px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 24px 34px rgba(90,12,12,.08));
}
.morocco-shape {
  fill: var(--primary);
}
.kenitra-ring {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 5;
  opacity: .55;
}
.kenitra-dot {
  fill: var(--secondary);
}
.kenitra-line {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 4;
  stroke-dasharray: 10 9;
}
.kenitra-label {
  fill: var(--primary);
  font-family: "Anton", Impact, sans-serif;
  font-size: 48px;
}
.map-intro__copy {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--primary);
}
.map-intro__copy span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
.map-intro__copy strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(42px, 5vw, 80px);
  line-height: .9;
  font-weight: 400;
}

.live-map {
  opacity: 0;
  z-index: 3;
  will-change: opacity;
}
.map-tint {
  z-index: 5;
  opacity: 0;
  will-change: opacity;
}
.visit__top,
.location-pin-ui,
.visit-card {
  z-index: 12;
}

/* Reduce perceived tile density slightly while keeping the exact streets useful. */
.live-map .leaflet-tile-pane {
  filter: grayscale(.94) sepia(.48) saturate(.58) hue-rotate(325deg) brightness(1.12) contrast(.82);
}
.live-map .leaflet-pane,
.live-map .leaflet-tile {
  backface-visibility: hidden;
}

.visit-card {
  top: 50%;
  transform: translateY(-50%) scale(.975);
  max-height: calc(100% - 72px);
  overflow: auto;
  scrollbar-width: none;
}
.visit-card::-webkit-scrollbar {
  display: none;
}
.visit-card__top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

@media (max-width: 980px) {
  .map-intro__art {
    width: min(82vw, 600px);
  }
  .map-intro__copy {
    bottom: 28px;
  }
  .visit-card {
    top: auto;
    bottom: 18px;
    max-height: calc(100% - 88px);
    transform: translateY(26px) scale(.97);
  }
}

@media (max-width: 560px) {
  .map-intro__art {
    width: 94vw;
  }
  .map-intro__copy strong {
    font-size: 46px;
  }
  .product-shell {
    width: min(66vw, 390px);
  }
  .cookies__hint {
    font-size: 8px;
  }
}


/* --------------------------------------------------------------------------
   V6 final client-ready refinements
   -------------------------------------------------------------------------- */
:root {
  --coffee-blue: #bbd7ec;
  --coffee-blue-deep: #a9cbe5;
}

/* Requested blue replaces the old orange coffee background. */
.coffee {
  background: linear-gradient(180deg, var(--coffee-blue) 0%, var(--coffee-blue-deep) 100%);
  color: var(--primary);
}
.coffee__copy p { color: #4d5260; }
.coffee-product__shadow { background: rgba(50,67,82,.18); }

/* Our Way is now an explicit, understandable three-step ritual. */
.story {
  height: 155svh;
  background: linear-gradient(180deg,#fff1df 0%,#ffe9d2 100%);
}
.story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: 112px var(--pad) 46px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  overflow: hidden;
}
.story__head {
  display: grid;
  grid-template-columns: minmax(130px,.65fr) minmax(280px,1.25fr) 1fr;
  gap: 3vw;
  align-items: start;
}
.story__head p {
  grid-column: 2;
  max-width: 560px;
  margin: 0;
  color: #6d4b4b;
  font-size: 16px;
  line-height: 1.6;
}
.story__steps {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  position: relative;
  z-index: 36;
}
.story-step {
  min-height: 390px;
  padding: 26px;
  border: 1px solid rgba(var(--primary-rgb),.14);
  border-radius: 26px;
  background: rgba(255,245,233,.54);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s ease, background .35s ease;
}
.story-step:hover {
  transform: translateY(-6px);
  background: rgba(255,245,233,.82);
}
.story-step > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.story-step h2 {
  margin: 30px 0 22px;
  color: var(--primary);
  font-family: "Anton",Impact,sans-serif;
  font-size: clamp(52px,5vw,86px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.035em;
}
.story-step p {
  max-width: 330px;
  margin: 0;
  color: #6f5050;
  font-size: 14px;
  line-height: 1.55;
}
.story__closing {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--primary);
}

/* Visit starts directly on one map - no Morocco/SVG intro layer. */
.live-map {
  opacity: 1;
  background: #f7eee4;
}
.map-tint {
  opacity: 1;
  background: linear-gradient(90deg,rgba(255,225,193,.19),rgba(255,241,221,.03) 55%,rgba(154,15,15,.035));
}
.live-map .leaflet-tile-pane {
  filter: grayscale(.94) sepia(.38) saturate(.60) hue-rotate(325deg) brightness(1.10) contrast(.84);
}
.visit-card {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) scale(.975) !important;
  width: min(410px,calc(100vw - 40px));
  max-height: calc(100% - 56px);
  padding: 30px;
}
.visit-card h2 {
  margin: 24px 0 18px;
  font-size: clamp(54px,5.4vw,86px);
}
.visit-card .hours { margin: 20px 0; padding: 18px 0; }

/* Keep the selected cookie visually above the cup. */
.coffee .coffee__visual { position: relative; }

@media (max-width: 980px) {
  .story { height: auto; }
  .story__sticky {
    position: relative;
    height: auto;
    min-height: 100dvh;
    padding-top: 100px;
  }
  .story__head { grid-template-columns: 1fr; gap: 18px; }
  .story__head p { grid-column: 1; }
  .story__steps { grid-template-columns: 1fr; }
  .story-step { min-height: 280px; }
  .visit-card {
    left: 18px;
    top: 50% !important;
    bottom: auto !important;
    width: min(390px,calc(100vw - 36px));
    max-height: calc(100% - 46px);
    transform: translateY(-50%) scale(.975) !important;
  }
}

@media (max-width: 560px) {
  .story-step h2 { font-size: 60px; }
  .visit-card { padding: 22px; }
  .visit-card h2 { font-size: 52px; }
  .hours div { font-size: 12px; }
}
\n\n/* --------------------------------------------------------------------------\n   V8 composition polish\n   - cookie sits lower and larger beside the coffee cup\n   - Our Way content is centered as one balanced composition\n   -------------------------------------------------------------------------- */\n\n/* Give the coffee visual enough breathing room for the cup + floating cookie pair. */\n.coffee__visual {\n  overflow: visible;\n}\n\n/* Center the entire Our Way story instead of weighting it to the left/top. */\n.story__sticky {\n  padding: 104px var(--pad) 44px;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  gap: clamp(22px, 3vh, 34px);\n}\n\n.story__head {\n  width: min(760px, 100%);\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  gap: 12px;\n  text-align: center;\n}\n\n.story__head .section-label {\n  margin: 0;\n}\n\n.story__head p {\n  grid-column: auto;\n  max-width: 620px;\n  margin: 0 auto;\n  text-align: center;\n}\n\n.story__steps {\n  width: min(1120px, 100%);\n  align-self: auto;\n  margin: 0 auto;\n  grid-template-columns: repeat(3, minmax(0, 1fr));\n  gap: clamp(14px, 1.4vw, 22px);\n}\n\n.story-step {\n  min-height: clamp(330px, 42vh, 390px);\n  padding: clamp(22px, 2vw, 28px);\n}\n\n.story-step h2 {\n  font-size: clamp(48px, 4.5vw, 78px);\n}\n\n.story__closing {\n  width: 100%;\n  text-align: center;\n  margin: 0 auto;\n}\n\n@media (max-width: 980px) {\n  .story__sticky {\n    align-items: stretch;\n    justify-content: flex-start;\n    padding: 100px var(--pad) 48px;\n  }\n  .story__head {\n    width: 100%;\n    margin: 0 auto;\n  }\n  .story__steps {\n    width: min(680px, 100%);\n    grid-template-columns: 1fr;\n  }\n  .story-step { min-height: 260px; }\n}\n\n@media (max-width: 560px) {\n  .story__head p { font-size: 15px; }\n  .story-step h2 { font-size: 56px; }\n}\n
/* --------------------------------------------------------------------------
   V10 - OUR WAY full-screen takeover
   Three oversized ritual panels occupy almost the entire viewport.
   -------------------------------------------------------------------------- */
@media (min-width: 981px) {
  .story {
    height: 165svh;
    background: linear-gradient(180deg, #fff1df 0%, #ffe9d2 100%);
  }

  .story__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 92px 18px 18px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    justify-content: stretch;
    gap: 12px;
    overflow: hidden;
  }

  .story__head {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    justify-content: stretch;
    gap: 28px;
    padding: 0 8px;
    text-align: left;
  }

  .story__head .section-label {
    margin: 0;
    white-space: nowrap;
  }

  .story__head p {
    max-width: 720px;
    margin: 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.45;
  }

  .story__steps {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .story-step {
    height: 100%;
    min-height: 0;
    padding: clamp(22px, 2vw, 34px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: rgba(255, 245, 233, .72);
    border: 1px solid rgba(var(--primary-rgb), .16);
  }

  .story-step:nth-child(2) {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
  }

  .story-step:nth-child(2) > span,
  .story-step:nth-child(2) h2,
  .story-step:nth-child(2) p {
    color: var(--secondary);
  }

  .story-step:nth-child(2) p {
    opacity: .84;
  }

  .story-step > span {
    font-size: 11px;
  }

  .story-step h2 {
    margin: auto 0 clamp(24px, 3vh, 42px);
    font-size: clamp(76px, 7.2vw, 138px);
    line-height: .76;
    letter-spacing: -.045em;
  }

  .story-step p {
    max-width: 360px;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.5;
  }

  .story__closing {
    width: 100%;
    margin: 0;
    padding: 2px 8px 0;
    text-align: right;
    font-size: 10px;
  }
}

@media (max-width: 980px) {
  .story__sticky {
    padding-top: 88px;
  }
  .story__steps {
    gap: 12px;
  }
  .story-step {
    min-height: 340px;
  }
}

/* --------------------------------------------------------------------------
   V11 - OUR WAY matches the requested editorial composition
   - left note + intro
   - centered three-card strip
   - closing line on the right
   - large negative space below
   -------------------------------------------------------------------------- */
@media (min-width: 981px) {
  .story {
    height: 148svh;
    background: linear-gradient(180deg, #fff1df 0%, #ffe9d2 100%);
  }

  .story__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 88px 54px 54px;
    display: grid;
    grid-template-columns: 132px minmax(240px, 310px) minmax(720px, 860px) minmax(160px, 220px);
    grid-template-rows: 1fr;
    justify-content: center;
    align-items: stretch;
    gap: clamp(18px, 2vw, 34px);
    overflow: hidden;
  }

  .story__head {
    display: contents;
  }

  .story__head .section-label {
    grid-column: 1;
    align-self: center;
    margin: 0;
    white-space: nowrap;
  }

  .story__head p {
    grid-column: 2;
    align-self: center;
    max-width: 300px;
    margin: 0;
    color: #6d4b4b;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }

  .story__steps {
    grid-column: 3;
    align-self: start;
    width: 100%;
    max-width: 860px;
    height: auto;
    min-height: 0;
    margin: 0;
    padding-top: 2px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    z-index: 36;
  }

  .story-step {
    min-height: 388px;
    height: auto;
    padding: 22px 20px 22px;
    border-radius: 26px;
    border: 1px solid rgba(var(--primary-rgb), .14);
    background: rgba(255, 245, 233, .72);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: none;
  }

  .story-step:hover {
    transform: translateY(-4px);
    background: rgba(255, 245, 233, .86);
  }

  .story-step:nth-child(2) {
    background: rgba(255, 245, 233, .72);
    color: inherit;
    border-color: rgba(var(--primary-rgb), .14);
  }

  .story-step:nth-child(2) > span,
  .story-step:nth-child(2) h2,
  .story-step:nth-child(2) p {
    color: inherit;
  }

  .story-step > span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--primary);
  }

  .story-step h2 {
    margin: 28px 0 18px;
    color: var(--primary);
    font-family: "Anton", Impact, sans-serif;
    font-size: clamp(54px, 4.6vw, 94px);
    font-weight: 400;
    line-height: .82;
    letter-spacing: -.04em;
  }

  .story-step p {
    max-width: none;
    margin: 0;
    color: #6f5050;
    font-size: 14px;
    line-height: 1.55;
  }

  .story__closing {
    grid-column: 4;
    align-self: end;
    justify-self: end;
    width: auto;
    margin: 0;
    padding: 0 0 12px;
    text-align: right;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--primary);
    white-space: nowrap;
  }
}

/* ========================================================================== 
   V12 FINAL - OUR WAY composition matched to approved reference
   Desktop structure:
   - label: top-left
   - intro: top-right
   - 3 large cards: main left area
   - cookie + closing statement: right rail
   ========================================================================== */
@media (min-width: 981px) {
  .story {
    height: 152svh;
    background: linear-gradient(180deg, #fff1df 0%, #ffe9d2 100%);
  }

  .story__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 106px clamp(44px, 4vw, 72px) 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(235px, 17vw, 285px);
    grid-template-rows: clamp(130px, 16vh, 165px) minmax(0, 1fr);
    column-gap: clamp(28px, 3vw, 48px);
    row-gap: clamp(18px, 2vh, 28px);
    align-items: stretch;
    overflow: hidden;
  }

  .story__head {
    display: contents;
  }

  .story__head .section-label {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    margin: 0;
    white-space: nowrap;
  }

  .story__head p {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: stretch;
    width: 100%;
    max-width: 285px;
    margin: 0;
    color: #6d4b4b;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.55;
    text-align: left;
  }

  .story__steps {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: min(64vh, 590px);
    min-height: 430px;
    margin: 0;
    align-self: start;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.25vw, 22px);
    position: relative;
    z-index: 36;
  }

  .story-step,
  .story-step:nth-child(2) {
    height: 100%;
    min-height: 0;
    padding: clamp(25px, 2vw, 34px);
    border: 1px solid rgba(var(--primary-rgb), .14);
    border-radius: 28px;
    background: rgba(255, 245, 233, .58);
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: none;
  }

  .story-step:hover {
    transform: translateY(-4px);
    background: rgba(255, 245, 233, .80);
  }

  .story-step:nth-child(2) > span,
  .story-step:nth-child(2) h2,
  .story-step:nth-child(2) p {
    color: inherit;
    opacity: 1;
  }

  .story-step > span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
  }

  .story-step h2 {
    margin: auto 0 clamp(22px, 2.6vh, 34px);
    color: var(--primary);
    font-family: "Anton", Impact, sans-serif;
    font-size: clamp(68px, 6.15vw, 116px);
    font-weight: 400;
    line-height: .78;
    letter-spacing: -.045em;
  }

  .story-step p {
    max-width: 350px;
    margin: 0;
    color: #6f5050;
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.5;
  }

  .story__closing {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
  }
}

/* Medium desktop / landscape tablet: keep the same hierarchy but prevent squeeze. */
@media (min-width: 981px) and (max-width: 1280px) {
  .story__sticky {
    padding-left: 34px;
    padding-right: 34px;
    grid-template-columns: minmax(0, 1fr) 210px;
    column-gap: 24px;
  }
  .story__steps {
    height: min(61vh, 520px);
    min-height: 400px;
  }
  .story-step {
    padding: 22px;
  }
  .story-step h2 {
    font-size: clamp(58px, 5.9vw, 84px);
  }
  .story__head p {
    font-size: 14px;
  }
  .story__closing {
    white-space: normal;
  }
}

/* Tablet + mobile: release sticky behavior and stack without clipping. */
@media (max-width: 980px) {
  .story {
    height: auto;
    min-height: 0;
  }
  .story__sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    padding: 94px var(--pad) 56px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 26px;
    overflow: visible;
  }
  .story__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    text-align: left;
  }
  .story__head .section-label,
  .story__head p {
    grid-column: 1;
    width: 100%;
    max-width: 620px;
    margin: 0;
    text-align: left;
  }
  .story__steps {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .story-step,
  .story-step:nth-child(2) {
    min-height: 320px;
    height: auto;
    padding: 24px;
    background: rgba(255,245,233,.66);
    color: inherit;
    border: 1px solid rgba(var(--primary-rgb), .14);
  }
  .story-step:nth-child(2) > span,
  .story-step:nth-child(2) h2,
  .story-step:nth-child(2) p {
    color: inherit;
  }
  .story-step h2 {
    margin: 34px 0 24px;
    color: var(--primary);
    font-size: clamp(58px, 14vw, 90px);
    line-height: .8;
  }
  .story__closing {
    width: 100%;
    margin: 6px 0 0;
    padding: 0;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .story__sticky {
    padding: 86px 18px 44px;
    gap: 20px;
  }
  .story__head p {
    font-size: 15px;
    line-height: 1.55;
  }
  .story-step {
    min-height: 285px;
    border-radius: 22px;
    padding: 20px;
  }
  .story-step h2 {
    font-size: clamp(54px, 17vw, 78px);
  }
  .story-step p {
    font-size: 14px;
  }
}

/* V12.1 alignment correction - cards and closing line share one fixed visual band. */
@media (min-width: 1281px) {
  .story__sticky {
    grid-template-rows: clamp(130px, 16vh, 165px) min(64vh, 590px) 1fr;
  }
  .story__steps {
    grid-row: 2;
    height: 100%;
    min-height: 0;
  }
  .story__closing {
    grid-row: 2;
    align-self: end;
    margin-bottom: 10px;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .story__sticky {
    padding-top: 88px;
    padding-bottom: 22px;
    grid-template-rows: 112px min(58vh, 470px) 1fr;
    row-gap: 16px;
  }
  .story__steps {
    grid-row: 2;
    height: 100%;
    min-height: 0;
  }
  .story__closing {
    grid-row: 2;
    align-self: end;
    margin-bottom: 8px;
  }
}

/* --------------------------------------------------------------------------
   V13 - OUR WAY final refinement
   - preserve approved composition
   - prevent headline clipping
   - improve card balance
   - keep cookie and closing line from colliding
   -------------------------------------------------------------------------- */
@media (min-width: 1281px) {
  .story__sticky {
    padding-left: clamp(54px, 4vw, 76px);
    padding-right: clamp(54px, 4vw, 76px);
    grid-template-columns: minmax(0, 1fr) clamp(250px, 17vw, 292px);
    column-gap: clamp(32px, 3vw, 52px);
  }

  .story__steps {
    height: min(61vh, 555px);
    min-height: 420px;
    gap: clamp(16px, 1.3vw, 24px);
  }

  .story-step,
  .story-step:nth-child(2) {
    padding: clamp(24px, 1.7vw, 30px);
  }

  .story-step h2 {
    font-size: clamp(64px, 5.15vw, 98px);
    line-height: .80;
    letter-spacing: -.038em;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .story-step p {
    max-width: 310px;
  }

  .story__closing {
    padding-right: 2px;
    margin-bottom: 14px;
    line-height: 1.35;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .story__sticky {
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 26px;
  }

  .story__steps {
    height: min(56vh, 455px);
    min-height: 380px;
    gap: 14px;
  }

  .story-step,
  .story-step:nth-child(2) {
    padding: 20px;
  }

  .story-step h2 {
    font-size: clamp(52px, 5.25vw, 72px);
    line-height: .80;
    letter-spacing: -.035em;
  }

  .story-step p {
    font-size: 13.5px;
    line-height: 1.5;
  }
}

@media (max-width: 980px) {
  .story__steps {
    max-width: 720px;
  }

  .story-step h2 {
    max-width: 100%;
    overflow-wrap: normal;
  }
}

/* V13.1 - remove the inherited narrow card cap that caused headline clipping. */
@media (min-width: 1281px) {
  .story__steps {
    max-width: none;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .story__sticky {
    grid-template-columns: minmax(0, 1fr) 190px;
    column-gap: 20px;
  }
  .story__steps {
    max-width: none;
  }
  .story-step h2 {
    font-size: clamp(50px, 4.75vw, 66px);
  }
}

/* V13.2 - final headline-fit correction for real laptop widths. */
@media (min-width: 1281px) {
  .story-step h2 { font-size: clamp(64px, 5.05vw, 96px); }
}
@media (min-width: 981px) and (max-width: 1280px) {
  .story-step,
  .story-step:nth-child(2) { padding: 18px; }
  .story-step h2 { font-size: clamp(48px, 4.5vw, 62px); }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .story-step,
  .story-step:nth-child(2) { padding: 16px; }
  .story-step h2 { font-size: clamp(46px, 4.05vw, 56px); }
}

/* Compact desktop (1281–1500): same composition, safer headline scale. */
@media (min-width: 1281px) and (max-width: 1500px) {
  .story__sticky {
    grid-template-columns: minmax(0, 1fr) 205px;
    column-gap: 24px;
  }
  .story-step,
  .story-step:nth-child(2) { padding: 20px; }
  .story-step h2 { font-size: clamp(50px, 4.25vw, 58px); }
}

/* ========================================================================== */
/* HISTORY + MISSION / VALUES - DAPHNÉ ORIGINAL SECTIONS                      */
/* ========================================================================== */
.history {
  position: relative;
  min-height: 118svh;
  background: var(--blue, #bbd7ec);
  color: var(--primary);
  overflow: hidden;
}
.history__inner {
  min-height: 118svh;
  padding: clamp(105px, 10vw, 150px) var(--pad) clamp(70px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.7fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(36px, 5vw, 86px);
  align-items: center;
}
.history__intro {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 500px;
  position: relative;
  z-index: 3;
}
.history__intro .section-label { margin-bottom: 30px; }
.history__intro h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(70px, 7.2vw, 128px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.04em;
}
.history__intro p {
  max-width: 440px;
  margin: 28px 0 0;
  color: #583737;
  font-size: 17px;
  line-height: 1.65;
}
.memory-wall {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 100%;
  height: min(760px, 72vh);
  min-height: 590px;
  align-self: center;
}
.memory-frame {
  position: absolute;
  margin: 0;
  padding: clamp(9px, .75vw, 13px);
  background: #fff8ef;
  border: 1px solid rgba(154,15,15,.12);
  box-shadow: 0 22px 52px rgba(55, 28, 28, .14);
  overflow: hidden;
  transform-origin: 50% 50%;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), box-shadow .42s ease;
}
.memory-frame img {      display: block;
  width: 100%;
  height: auto;}
.memory-frame:hover { z-index: 8; box-shadow: 0 30px 70px rgba(55,28,28,.2); }
.memory-frame--1 { left: 2%; top: 13%; width: 30%;  transform: rotate(-4deg); }
.memory-frame--2 { left: 34%; top: 2%; width: 24%;  transform: rotate(2.5deg); }
.memory-frame--3 { right: 3%; top: 13%; width: 34%;  transform: rotate(-1.5deg); }
.memory-frame--4 { left: 14%; bottom: 2%; width: 24%;  transform: rotate(2deg); }
.memory-frame--5 { right: 12%; bottom: 1%; width: 37%;  transform: rotate(3.5deg); }
.memory-frame--1:hover { transform: rotate(-1deg) translateY(-8px) scale(1.025); }
.memory-frame--2:hover { transform: rotate(.5deg) translateY(-8px) scale(1.025); }
.memory-frame--3:hover { transform: rotate(0deg) translateY(-8px) scale(1.025); }
.memory-frame--4:hover { transform: rotate(0deg) translateY(-8px) scale(1.025); }
.memory-frame--5:hover { transform: rotate(1deg) translateY(-8px) scale(1.025); }
.history__caption {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(154,15,15,.18);
  color: #674747;
}
.history__caption span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.history__caption p { margin: 0; font-size: 13px; }

.values {
  min-height: 118svh;
  background: #9a0f0f;
  color: var(--secondary);
  overflow: hidden;
}
.values__inner {
  min-height: 118svh;
  padding: clamp(110px, 10vw, 160px) var(--pad) clamp(80px, 8vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  grid-template-rows: auto 1fr;
  gap: clamp(45px, 6vw, 100px);
}
.values__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,225,193,.19);
}
.values__top > span:last-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  opacity: .65;
}
.mission-block { align-self: center; max-width: 850px; }
.mission-block__eyebrow {
  margin: 0 0 28px;
  color: #bbd7ec;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}
.mission-block h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(76px, 8.4vw, 154px);
  font-weight: 400;
  line-height: .80;
  letter-spacing: -.045em;
  color: var(--secondary);
}
.mission-block__copy {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgba(255,225,193,.72);
  font-size: 17px;
  line-height: 1.65;
}
.values-grid {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.value-card {
  min-height: 250px;
  padding: clamp(24px, 2vw, 34px);
  border: 1px solid rgba(187,215,236,.22);
  border-radius: 26px;
  background: rgba(187,215,236,.055);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.value-card:nth-child(2), .value-card:nth-child(3) { background: rgba(154,15,15,.16); }
.value-card:hover { transform: translateY(-6px); background: rgba(187,215,236,.11); border-color: rgba(187,215,236,.42); }
.value-card > span {
  color: #bbd7ec;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.value-card h3 {
  margin: 34px 0 12px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(42px, 3.6vw, 70px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.035em;
  color: var(--secondary);
}
.value-card p { margin: 0; color: rgba(255,225,193,.7); font-size: 14px; line-height: 1.55; }

@media (max-width: 1180px) {
  .history__inner { grid-template-columns: minmax(230px,.7fr) minmax(0,1.5fr); column-gap: 32px; }
  .history__intro h2 { font-size: clamp(64px,7vw,94px); }
  .memory-wall { min-height: 520px; height: 62vh; }
  .values__inner { grid-template-columns: 1fr; }
  .mission-block { max-width: 900px; }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .value-card { min-height: 235px; padding: 22px; }
  .value-card h3 { font-size: clamp(38px,4vw,58px); }
}

@media (max-width: 980px) {
  .history { min-height: auto; }
  .history__inner {
    min-height: auto;
    padding: 105px var(--pad) 70px;
    display: block;
  }
  .history__intro { max-width: 720px; }
  .history__intro h2 { font-size: clamp(66px,14vw,112px); }
  .memory-wall { margin-top: 48px; height: 720px; min-height: 0; }
  .history__caption { margin-top: 24px; }
  .values { min-height: auto; }
  .values__inner { min-height: auto; padding: 105px var(--pad) 75px; display: block; }
  .values__top { margin-bottom: 56px; }
  .mission-block h2 { font-size: clamp(70px,14vw,118px); }
  .values-grid { margin-top: 58px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .history__inner { padding-top: 92px; }
  .history__intro p { font-size: 15px; }
  .memory-wall {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .memory-frame,
  .memory-frame--1,.memory-frame--2,.memory-frame--3,.memory-frame--4,.memory-frame--5 {
    position: relative;
    inset: auto;
    width: 100%;
    height: 230px;
    transform: none;
    border-radius: 18px;
  }
  .memory-frame--1 { grid-column: 1 / -1; height: 260px; }
  .memory-frame--5 { grid-column: 1 / -1; }
  .memory-frame:hover { transform: translateY(-4px); }
  .history__caption { flex-direction: column; align-items: flex-start; }
  .values__top { align-items: flex-start; }
  .values__top > span:last-child { display: none; }
  .mission-block h2 { font-size: clamp(62px,18vw,92px); }
  .mission-block__copy { font-size: 15px; }
  .values-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-card { min-height: 210px; }
}

/* ========================================================================== */
/* FINAL FIX - HISTORY GALLERY + VALUES CARD HOVER                            */
/* ========================================================================== */

/* History: use a controlled collage grid so mixed image ratios never overlap. */
.memory-wall {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "frame1 frame2 frame3"
    "frame4 frame4 frame5";
  gap: clamp(24px, 2.4vw, 42px);
  align-items: center;
  align-content: center;
  padding: 18px 0 26px;
  overflow: visible;
}

.memory-frame,
.memory-frame--1,
.memory-frame--2,
.memory-frame--3,
.memory-frame--4,
.memory-frame--5 {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
}

.memory-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.memory-frame--1 { grid-area: frame1; transform: rotate(-2.5deg); }
.memory-frame--2 { grid-area: frame2; transform: rotate(1.5deg); }
.memory-frame--3 { grid-area: frame3; transform: rotate(-1deg); }
.memory-frame--4 {
  grid-area: frame4;
  width: 58%;
  justify-self: center;
  transform: rotate(1.5deg);
}
.memory-frame--5 {
  grid-area: frame5;
  width: 88%;
  justify-self: center;
  transform: rotate(2deg);
}

/* One restrained gallery hover: no dramatic scaling or stacking. */
.memory-frame:hover,
.memory-frame--1:hover,
.memory-frame--2:hover,
.memory-frame--3:hover,
.memory-frame--4:hover,
.memory-frame--5:hover {
  z-index: 2;
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 22px 46px rgba(55, 28, 28, .16);
}

/* Values: simple outlined cards with a clean solid fill on hover. */
.value-card,
.value-card:nth-child(2),
.value-card:nth-child(3) {
  background: transparent;
  border: 1px solid rgba(255, 225, 193, .34);
  box-shadow: none;
  transform: none;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}

.value-card:hover,
.value-card:nth-child(2):hover,
.value-card:nth-child(3):hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: none;
  box-shadow: none;
}

.value-card:hover > span,
.value-card:hover h3,
.value-card:hover p {
  color: var(--primary);
  opacity: 1;
}

/* Tablet: two-column gallery, still no overlap. */
@media (max-width: 980px) {
  .memory-wall {
    margin-top: 48px;
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "frame1 frame2"
      "frame3 frame3"
      "frame4 frame5";
    gap: 22px;
  }

  .memory-frame--3 {
    width: 68%;
    justify-self: center;
  }

  .memory-frame--4,
  .memory-frame--5 {
    width: 100%;
  }
}

/* Mobile: straightforward vertical gallery for reliable responsiveness. */
@media (max-width: 620px) {
  .memory-wall {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 10px 0 18px;
  }

  .memory-frame,
  .memory-frame--1,
  .memory-frame--2,
  .memory-frame--3,
  .memory-frame--4,
  .memory-frame--5 {
    width: 100%;
    height: auto;
    transform: none;
    border-radius: 18px;
  }

  .memory-frame:hover,
  .memory-frame--1:hover,
  .memory-frame--2:hover,
  .memory-frame--3:hover,
  .memory-frame--4:hover,
  .memory-frame--5:hover {
    transform: none;
  }
}


/* ========================================================================== */
/* MOBILE NAV + COMPACT MOBILE HISTORY COLLAGE                                */
/* ========================================================================== */

.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(var(--primary-rgb), .18);
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  position: relative;
  z-index: 1003;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .28s ease, top .28s ease;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle.is-open span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .button--small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header.on-dark .menu-toggle {
    border-color: rgba(255,225,193,.28);
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 98;
    padding-top: var(--header-h);
    background: var(--primary);
    color: var(--secondary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.menu-open .header {
    background: var(--primary);
    color: var(--secondary);
    border-color: rgba(255,225,193,.14);
  }

  body.menu-open .header .logo__primary { opacity: 0; }
  body.menu-open .header .logo__light { opacity: 1; }

  .mobile-menu__inner {
    height: calc(100dvh - var(--header-h));
    min-height: 0;
    padding: 32px var(--pad) 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .mobile-menu__label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
    opacity: .62;
  }

  .mobile-menu__nav {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu__nav a {
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 10px 0 11px;
    border-bottom: 1px solid rgba(255,225,193,.16);
    font-family: "Anton", Impact, sans-serif;
    font-size: clamp(42px, 12vw, 72px);
    line-height: .95;
    text-transform: uppercase;
  }

  .mobile-menu__nav a span {
    min-width: 22px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    opacity: .58;
  }

  .mobile-menu__bottom {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .72;
  }
}

/* Keep the history wall collage-like on phones instead of stacking full width. */
@media (max-width: 620px) {
  .history__inner {
    padding-top: 82px;
    padding-bottom: 46px;
  }

  .memory-wall {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas: none;
    gap: 10px;
    align-items: start;
    padding: 10px 2px 12px;
    margin-top: 28px;
  }

  .memory-frame,
  .memory-frame--1,
  .memory-frame--2,
  .memory-frame--3,
  .memory-frame--4,
  .memory-frame--5 {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 5px;
    margin: 0;
  }

  .memory-frame--1 {
    grid-column: 1 / 4;
    grid-row: 1;
    transform: rotate(-2deg);
  }

  .memory-frame--2 {
    grid-column: 4 / 7;
    grid-row: 1;
    transform: rotate(1.5deg);
  }

  .memory-frame--3 {
    grid-column: 1 / 3;
    grid-row: 2;
    transform: rotate(-1deg);
  }

  .memory-frame--4 {
    grid-column: 3 / 5;
    grid-row: 2;
    transform: rotate(1.5deg);
  }

  .memory-frame--5 {
    grid-column: 5 / 7;
    grid-row: 2;
    transform: rotate(2deg);
  }

  .memory-frame:hover,
  .memory-frame--1:hover,
  .memory-frame--2:hover,
  .memory-frame--3:hover,
  .memory-frame--4:hover,
  .memory-frame--5:hover {
    transform: none;
    box-shadow: 0 12px 26px rgba(55,28,28,.12);
  }

  .history__caption {
    margin-top: 14px;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .mobile-menu__nav a {
    font-size: clamp(38px, 11vw, 54px);
    padding: 8px 0 9px;
  }

  .mobile-menu__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================================================== */
/* V16 - DAPHNÉ ORIGINAL EDITORIAL LAYER                                     */
/* Adds a menu/brochure chapter + stronger social presence without altering   */
/* the existing core sections.                                                */
/* ========================================================================== */

/* Seven desktop nav items: keep it airy without wrapping on medium screens. */
@media (min-width: 981px) {
  .nav { gap: clamp(14px, 1.9vw, 34px); }
  .nav a { white-space: nowrap; }
}

/* -------------------------------------------------------------------------- */
/* Menu + brochure section                                                    */
/* -------------------------------------------------------------------------- */
.menu-feature {
  position: relative;
  min-height: 118svh;
  overflow: hidden;
  background: var(--secondary);
  color: var(--primary);
  isolation: isolate;
}

.menu-feature::before {
  content: "";
  position: absolute;
  width: 34vw;
  aspect-ratio: 1;
  right: -10vw;
  top: 18%;
  border: 1px solid rgba(var(--primary-rgb), .11);
  border-radius: 50%;
  pointer-events: none;
}

.menu-feature::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 12%;
  bottom: 18%;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), .32);
  box-shadow:
    46vw -34vh 0 2px rgba(var(--primary-rgb), .15),
    69vw -8vh 0 4px rgba(var(--primary-rgb), .13),
    20vw -57vh 0 1px rgba(var(--primary-rgb), .16);
  pointer-events: none;
}

.menu-marquee {
  position: relative;
  z-index: 3;
  margin-top: clamp(90px, 8vw, 125px);
  border-top: 1px solid rgba(255,225,193,.22);
  border-bottom: 1px solid rgba(255,225,193,.22);
  background: var(--primary);
  color: var(--secondary);
  overflow: hidden;
  transform: rotate(-1deg) scale(1.018);
  transform-origin: center;
}

.menu-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: daphneTicker 23s linear infinite;
}

.menu-marquee__track span {
  flex: 0 0 auto;
  padding: 14px 22px 13px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(24px, 2.5vw, 46px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .025em;
  white-space: nowrap;
}

@keyframes daphneTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

.menu-feature__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(880px, 78vh);
  padding: clamp(58px, 6vw, 100px) var(--pad) clamp(68px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}

.menu-feature__copy {
  max-width: 720px;
}

.menu-feature__copy .section-label {
  margin-bottom: 28px;
}

.menu-feature__copy h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(84px, 8.6vw, 158px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.045em;
}

.menu-feature__copy > p {
  max-width: 610px;
  margin: 30px 0 0;
  color: #654545;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
}

.menu-feature__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.menu-button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.menu-button--solid {
  background: var(--primary);
  color: var(--secondary);
}

.menu-button--outline {
  background: transparent;
  color: var(--primary);
}

.menu-button:hover { transform: translateY(-2px); }
.menu-button--solid:hover { background: #7d0c0c; }
.menu-button--outline:hover { background: var(--primary); color: var(--secondary); }

.menu-feature__visual {
  position: relative;
  min-height: 660px;
  width: 100%;
}

.print-card {
  position: absolute;
  width: min(27vw, 390px);
  aspect-ratio: 3 / 4;
  padding: clamp(24px, 2.1vw, 34px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(var(--primary-rgb), .16);
  box-shadow: 0 26px 55px rgba(66, 20, 20, .12);
  transition: transform .32s cubic-bezier(.2,.75,.2,1), box-shadow .32s ease;
  overflow: hidden;
}

.print-card::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid currentColor;
  opacity: .12;
  pointer-events: none;
}

.print-card--menu {
  left: 5%;
  top: 4%;
  background: #bbd7ec;
  color: var(--primary);
  transform: rotate(-5deg);
}

.print-card--box {
  right: 3%;
  top: 20%;
  background: var(--primary);
  color: var(--secondary);
  transform: rotate(5.5deg);
}

.print-card:hover {
  z-index: 5;
  box-shadow: 0 34px 70px rgba(66, 20, 20, .18);
}
.print-card--menu:hover { transform: translateY(-10px) rotate(-2deg); }
.print-card--box:hover { transform: translateY(-10px) rotate(2deg); }

.print-card__meta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.print-card strong {
  margin: auto 0 22px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(78px, 7vw, 126px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.04em;
}

.print-card small {
  max-width: 230px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  opacity: .72;
}

.print-card i {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 21px;
}

.menu-feature__stamp {
  position: absolute;
  z-index: 6;
  left: 44%;
  bottom: 4%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  box-shadow: 0 12px 34px rgba(66,20,20,.08);
}

.menu-feature__stamp::before,
.menu-feature__stamp::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), .3);
}
.menu-feature__stamp::before { inset: 7px; }
.menu-feature__stamp::after { inset: 13px; }
.menu-feature__stamp span { font-size: 8px; font-weight: 700; letter-spacing: .22em; }
.menu-feature__stamp b { margin: 4px 0; font-family: "Anton", Impact, sans-serif; font-size: 32px; font-weight: 400; line-height: 1; }

.social-strip {
  position: relative;
  z-index: 4;
  margin: 0 var(--pad);
  padding: 24px 0 30px;
  border-top: 1px solid rgba(var(--primary-rgb), .18);
  display: grid;
  grid-template-columns: minmax(160px, .8fr) repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}

.social-strip__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
}

.social-strip a {
  position: relative;
  padding: 6px 0 9px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(var(--primary-rgb), .26);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(24px, 2.5vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  transition: padding-left .22s ease, border-color .22s ease;
}

.social-strip a:hover {
  padding-left: 10px;
  border-color: var(--primary);
}

.social-strip a span {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  align-self: center;
}

/* -------------------------------------------------------------------------- */
/* Mobile menu socials                                                        */
/* -------------------------------------------------------------------------- */
.mobile-menu__socials {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.mobile-menu__socials a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .82;
}

/* -------------------------------------------------------------------------- */
/* Footer gets an actual Elsewhere column.                                    */
/* -------------------------------------------------------------------------- */
@media (min-width: 981px) {
  .footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3.3vw, 54px);
  }
}

/* -------------------------------------------------------------------------- */
/* Responsive menu chapter                                                    */
/* -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .menu-feature__inner {
    grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
    gap: 34px;
  }
  .print-card { width: min(31vw, 350px); }
  .menu-feature__stamp { width: 108px; height: 108px; }
  .menu-feature__stamp b { font-size: 27px; }
}

@media (max-width: 980px) {
  .menu-feature { min-height: auto; }
  .menu-marquee { margin-top: 82px; }
  .menu-feature__inner {
    min-height: 0;
    padding: 64px var(--pad) 58px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .menu-feature__copy { max-width: 760px; }
  .menu-feature__copy h2 { font-size: clamp(78px, 16vw, 128px); }
  .menu-feature__visual {
    min-height: 610px;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
  .print-card { width: min(45vw, 330px); }
  .print-card--menu { left: 9%; }
  .print-card--box { right: 8%; top: 18%; }
  .menu-feature__stamp { left: 45%; bottom: 1%; }
  .social-strip {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 34px;
  }
  .social-strip__label { grid-column: 1 / -1; margin-bottom: 4px; }
  .social-strip a:last-child { grid-column: 1 / -1; }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .footer__links > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .menu-marquee__track span { padding: 11px 16px 10px; font-size: 23px; }
  .menu-feature__inner { padding: 48px 18px 42px; }
  .menu-feature__copy .section-label { margin-bottom: 20px; }
  .menu-feature__copy h2 { font-size: clamp(66px, 20vw, 94px); }
  .menu-feature__copy > p { margin-top: 22px; font-size: 15px; }
  .menu-feature__actions { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; }
  .menu-button { min-height: 48px; padding: 0 14px; font-size: 8px; gap: 8px; }

  .menu-feature__visual {
    min-height: 430px;
    width: 100%;
    margin-top: 4px;
  }
  .print-card {
    width: 48%;
    max-width: 230px;
    padding: 17px;
    box-shadow: 0 16px 34px rgba(66,20,20,.11);
  }
  .print-card--menu { left: 2%; top: 1%; transform: rotate(-4deg); }
  .print-card--box { right: 2%; top: 15%; transform: rotate(4deg); }
  .print-card strong { font-size: clamp(52px, 15vw, 74px); }
  .print-card small { font-size: 10px; max-width: 120px; }
  .print-card i { width: 36px; height: 36px; right: 16px; bottom: 15px; font-size: 16px; }
  .print-card::after { inset: 7px; }
  .menu-feature__stamp {
    left: 50%;
    bottom: 0;
    width: 86px;
    height: 86px;
    transform: translateX(-50%) rotate(-8deg);
  }
  .menu-feature__stamp b { font-size: 21px; }
  .menu-feature__stamp span { font-size: 6px; }

  .social-strip {
    margin: 0 18px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .social-strip__label { margin-bottom: 12px; }
  .social-strip a,
  .social-strip a:last-child {
    grid-column: auto;
    font-size: 29px;
    padding: 11px 0 12px;
  }

  .mobile-menu__nav a {
    font-size: clamp(34px, 10.4vw, 50px);
    padding-top: 7px;
    padding-bottom: 8px;
  }
  .mobile-menu__socials { margin-top: 18px; }

  .footer__links {
    grid-template-columns: 1fr 1fr;
  }
  .footer__links > div:last-child {
    grid-column: 1 / -1;
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-marquee__track { animation: none; }
  .print-card,
  .menu-button,
  .social-strip a { transition: none; }
}

/* ========================================================================== */
/* V17 - FULL-SITE ART DIRECTION POLISH                                       */
/* Adds stronger editorial moments without changing the approved structure.   */
/* ========================================================================== */

/* Better anchor landings under the fixed header. */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Small global interaction polish. */
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

/* -------------------------------------------------------------------------- */
/* HERO - add a graphic halo + bakery stamp, while keeping the hero clean.    */
/* -------------------------------------------------------------------------- */
.hero__sticky::before {
  content: "BAKED \A DAILY ";
  white-space: pre-line;
  position: absolute;
  z-index: 4;
  right: clamp(24px, 6vw, 68px);
  bottom: clamp(112px, 20vh, 170px);
  width: clamp(96px, 9vw, 138px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--primary-rgb), .36);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--primary);
  font-size: clamp(7px, .65vw, 10px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .17em;
  text-align: center;
  transform: rotate(7deg);
  background: rgba(255, 225, 193, .48);
  backdrop-filter: blur(8px);
  animation: daphne-stamp-float 5.4s ease-in-out infinite;
}

.hero__sticky::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 49%;
  width: clamp(320px, 45vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), .11);
  box-shadow:
    0 0 0 clamp(24px, 3vw, 52px) rgba(var(--primary-rgb), .025),
    0 0 0 clamp(66px, 7vw, 120px) rgba(var(--primary-rgb), .018);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes daphne-stamp-float {
  0%,100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-8px); }
}

/* -------------------------------------------------------------------------- */
/* RITUAL - oversized outlined word gives the dark chapter more identity.     */
/* -------------------------------------------------------------------------- */
.manifesto { overflow: hidden; isolation: isolate; }
.manifesto::before {
  content: "RITUAL";
  position: absolute;
  z-index: 0;
  right: -2vw;
  bottom: -6vw;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(180px, 28vw, 520px);
  line-height: .72;
  letter-spacing: -.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 225, 193, .10);
  opacity: .9;
  pointer-events: none;
}
.manifesto::after {
  content: "BOLD ENOUGH TO SHARE · EASY ENOUGH TO STAY";
  position: absolute;
  z-index: 1;
  right: var(--pad);
  top: clamp(118px, 13vw, 180px);
  max-width: 320px;
  color: rgba(255, 225, 193, .52);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .18em;
  text-align: right;
}
.manifesto__content { position: relative; z-index: 2; }

/* -------------------------------------------------------------------------- */
/* COOKIES - a quieter editorial watermark behind the selected product.       */
/* -------------------------------------------------------------------------- */
.cookies__sticky::before {
  content: "PICK YOUR FAVORITE";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 21%;
  width: 100%;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--primary-rgb), .095);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(80px, 13vw, 210px);
  line-height: .82;
  letter-spacing: -.04em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.cookies__top,
.cookies__copy,
.cookie-controls,
.cookies__hint { position: absolute; }
.cookies__top { left: var(--pad); right: var(--pad); top: 110px; }
.cookies__copy { position: absolute; }
.round {
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 0 var(--primary);
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.round:hover {
  color: var(--secondary);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  transform: scale(1.05);
}

/* -------------------------------------------------------------------------- */
/* COFFEE - graphic rings make the cup/product pairing feel more intentional. */
/* -------------------------------------------------------------------------- */
.coffee { position: relative; overflow: hidden; isolation: isolate; }
.coffee::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: clamp(-130px, -7vw, -70px);
  top: 50%;
  width: clamp(430px, 47vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--primary-rgb), .20);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 clamp(34px, 4vw, 70px) rgba(255,255,255,.07),
    0 0 0 clamp(90px, 9vw, 150px) rgba(var(--primary-rgb), .035);
  pointer-events: none;
}
.coffee::after {
  content: "COFFEE BREAK · COOKIE BREAK · COFFEE BREAK ·";
  position: absolute;
  z-index: 0;
  right: -128px;
  top: 50%;
  color: rgba(var(--primary-rgb), .30);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  transform: rotate(90deg) translateY(-50%);
  transform-origin: center;
  white-space: nowrap;
}
.coffee__grid { position: relative; z-index: 2; }
.coffee-product::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 72%;
  aspect-ratio: 1;
  border: 1px dashed rgba(var(--primary-rgb), .18);
  border-radius: 50%;
  transform: rotate(-8deg);
}

/* -------------------------------------------------------------------------- */
/* OUR WAY - keep the approved layout, add only a clean corner cue.           */
/* -------------------------------------------------------------------------- */
.story-step { position: relative; }
.story-step::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--primary-rgb), .16);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 12px;
  opacity: .55;
  transition: background .22s ease, color .22s ease, opacity .22s ease;
}
.story-step:hover::after {
  background: var(--primary);
  color: var(--secondary);
  opacity: 1;
}

/* -------------------------------------------------------------------------- */
/* HISTORY - tape details make client photos feel like a real memory wall.     */
/* -------------------------------------------------------------------------- */
.history::after {
  content: "BUILT FROM A CRAVING.";
  position: absolute;
  z-index: 0;
  right: 1vw;
  bottom: -1.5vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--primary-rgb), .12);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(92px, 13vw, 230px);
  line-height: .8;
  letter-spacing: -.04em;
  white-space: nowrap;
  pointer-events: none;
}
.history__inner { position: relative; z-index: 1; }
.memory-frame::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -8px;
  width: clamp(38px, 4vw, 62px);
  height: 17px;
  background: rgba(255, 225, 193, .72);
  border: 1px solid rgba(var(--primary-rgb), .08);
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 3px 8px rgba(55,28,28,.05);
  pointer-events: none;
}
.memory-frame:nth-child(even)::before { transform: translateX(-50%) rotate(3deg); }

/* -------------------------------------------------------------------------- */
/* VALUES - preserve the simple fill hover, add a typographic backdrop.        */
/* -------------------------------------------------------------------------- */
.values { position: relative; isolation: isolate; }
.values::before {
  content: "GOOD THINGS, SHARED.";
  position: absolute;
  z-index: 0;
  left: -1vw;
  bottom: -2.5vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 225, 193, .11);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(110px, 17vw, 290px);
  line-height: .78;
  letter-spacing: -.045em;
  white-space: nowrap;
  pointer-events: none;
}
.values__inner { position: relative; z-index: 1; }
.value-card { position: relative; overflow: hidden; }
.value-card::after {
  content: "0" attr(data-value-index);
  position: absolute;
  right: -6px;
  bottom: -28px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 112px;
  line-height: 1;
  color: rgba(255, 225, 193, .045);
  pointer-events: none;
  transition: color .22s ease;
}
.value-card:hover::after { color: rgba(var(--primary-rgb), .08); }

/* CSS-only numbering fallback for the cards. */
.value-card:nth-child(1)::after { content: "01"; }
.value-card:nth-child(2)::after { content: "02"; }
.value-card:nth-child(3)::after { content: "03"; }
.value-card:nth-child(4)::after { content: "04"; }

/* -------------------------------------------------------------------------- */
/* MENU / BOX - retain v16, make buttons slightly more tactile.           */
/* -------------------------------------------------------------------------- */
.menu-button { position: relative; overflow: hidden; }
.menu-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateY(102%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  z-index: -1;
}
.menu-button--outline:hover::before { transform: translateY(0); }
.menu-button--outline:hover { color: var(--secondary); border-color: var(--primary); }

/* -------------------------------------------------------------------------- */
/* VISIT - turn the storefront into a labeled editorial photo card.            */
/* -------------------------------------------------------------------------- */
.visit-photo::after {
  content: "COME SAY HI · KÉNITRA";
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 241, 221, .88);
  color: var(--primary);
  backdrop-filter: blur(10px);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
}
.visit-card {
  border-color: rgba(var(--primary-rgb), .11);
  box-shadow: 0 28px 70px rgba(60,12,12,.13);
}
.visit-card .button { transition: transform .22s ease, box-shadow .22s ease; }
.visit-card .button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(var(--primary-rgb), .16); }

/* -------------------------------------------------------------------------- */
/* FOOTER - make the final action obvious, but keep the giant wordmark.        */
/* -------------------------------------------------------------------------- */
.footer { isolation: isolate; }
.footer::before {
  content: "COOKIES · COFFEE · BOXES";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 34px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,225,193,.10);
  border-bottom: 1px solid rgba(255,225,193,.10);
  color: rgba(255,225,193,.42);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.footer__top,
.back-top,
.footer__brand,
.footer__bottom { position: relative; z-index: 1; }
.back-top {
  margin-top: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(255,225,193,.28);
  border-radius: 999px;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.back-top:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------- */
/* Responsive restraint                                                       */
/* -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__sticky::before {
    right: 20px;
    bottom: 126px;
    width: 92px;
    padding: 14px;
  }
  .hero__sticky::after { width: min(72vw, 520px); }
  .manifesto::after { display: none; }
  .manifesto::before { font-size: 38vw; right: -5vw; }
  .cookies__sticky::before { top: 23%; font-size: clamp(72px, 17vw, 150px); }
  .coffee::after { display: none; }
  .coffee::before { width: min(86vw, 620px); left: -22vw; }
  .history::after { font-size: 18vw; }
  .values::before { font-size: 20vw; }
  .footer::before { top: 20px; font-size: 7px; }
}

@media (max-width: 620px) {
  .hero__sticky::before {
    bottom: 112px;
    width: 78px;
    font-size: 6px;
    letter-spacing: .12em;
    background: rgba(255,225,193,.66);
  }
  .hero__sticky::after { width: 86vw; opacity: .7; }
  .manifesto::before { bottom: 3vw; font-size: 42vw; }
  .cookies__sticky::before {
    top: 20%;
    font-size: 21vw;
    opacity: .68;
  }
  .coffee::before {
    width: 108vw;
    left: -54vw;
    opacity: .75;
  }
  .story-step::after { width: 27px; height: 27px; }
  .memory-frame::before { width: 38px; height: 13px; top: -6px; }
  .history::after,
  .values::before { display: none; }
  .visit-photo::after { left: 14px; bottom: 13px; padding: 7px 9px; font-size: 7px; }
  .footer::before { content: "COOKIES · COFFEE · BOXES · KÉNITRA"; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__sticky::before { animation: none; }
}

/* ========================================================================== */
/* V17 REFINED - CLEAN FINAL POLISH                                            */
/* Keep the approved V17 direction. Refine hierarchy, spacing and interaction.*/
/* ========================================================================== */

:root {
  --ease-refined: cubic-bezier(.22,.8,.28,1);
}

html { scroll-behavior: auto; }
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button { -webkit-tap-highlight-color: transparent; }

/* -------------------------------------------------------------------------- */
/* HEADER - same design, cleaner presence.                                     */
/* -------------------------------------------------------------------------- */
.header {
  background: rgba(255, 241, 221, .90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(var(--primary-rgb), .07);
}

.nav a {
  position: relative;
  opacity: .82;
  transition: opacity .22s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease-refined);
}
.nav a:hover,
.nav a:focus-visible { opacity: 1; }
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.button,
.menu-button {
  transition: transform .22s var(--ease-refined), background .22s ease, color .22s ease, box-shadow .22s ease;
}
.button:hover,
.menu-button:hover { transform: translateY(-2px); }
.button--small { box-shadow: 0 8px 18px rgba(var(--primary-rgb), .10); }

/* -------------------------------------------------------------------------- */
/* HERO - retain V17 halo/stamp, make them support rather than compete.        */
/* -------------------------------------------------------------------------- */
.hero__sticky::before {
  width: clamp(88px, 8.2vw, 126px);
  border-color: rgba(var(--primary-rgb), .24);
  background: rgba(255, 225, 193, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: .86;
  animation-duration: 7s;
}

.hero__sticky::after {
  border-color: rgba(var(--primary-rgb), .075);
  box-shadow:
    0 0 0 clamp(24px, 3vw, 52px) rgba(var(--primary-rgb), .016),
    0 0 0 clamp(66px, 7vw, 120px) rgba(var(--primary-rgb), .010);
}

.hero__word {
  text-wrap: nowrap;
}
.hero__line {
  max-width: 560px;
}
.scroll { opacity: .78; }
.scroll:hover { opacity: 1; }

.product-shell img {
  filter:
    drop-shadow(0 12px 18px rgba(62,10,10,.11))
    drop-shadow(0 28px 32px rgba(62,10,10,.08));
}
.product-shadow { opacity: .66; }

/* -------------------------------------------------------------------------- */
/* RITUAL - preserve the giant editorial treatment, remove unnecessary copy.  */
/* -------------------------------------------------------------------------- */
.manifesto::before {
  -webkit-text-stroke-color: rgba(255, 225, 193, .065);
}
.manifesto::after {
  content: none !important;
  display: none !important;
}
.manifesto__content {
  max-width: min(1360px, calc(100% - (2 * var(--pad))));
}
.manifesto__small p {
  max-width: 31ch;
  color: rgba(255,225,193,.72);
}

/* -------------------------------------------------------------------------- */
/* COOKIES - product is the hero; background typography stays understated.     */
/* -------------------------------------------------------------------------- */
.cookies__sticky::before {
  -webkit-text-stroke-color: rgba(var(--primary-rgb), .065);
}
.cookies__copy h2 {
  letter-spacing: -.042em;
}
.cookies__description {
  max-width: 30ch;
}
.cookies__price {
  letter-spacing: .08em;
}
.cookies__hint { opacity: .72; }

.round {
  background: rgba(255, 241, 221, .34);
  border-color: rgba(var(--primary-rgb), .16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}
.round:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

/* -------------------------------------------------------------------------- */
/* COFFEE - keep V17 graphic character, make it quieter and more appetising.   */
/* -------------------------------------------------------------------------- */
.coffee::before {
  border-color: rgba(var(--primary-rgb), .12);
  box-shadow:
    0 0 0 clamp(34px, 4vw, 70px) rgba(255,255,255,.045),
    0 0 0 clamp(90px, 9vw, 150px) rgba(var(--primary-rgb), .020);
}
.coffee::after {
  content: none !important;
  display: none !important;
}
.coffee-product::before {
  border-color: rgba(var(--primary-rgb), .10);
}
.coffee-product img {
  filter: drop-shadow(0 28px 28px rgba(61,31,22,.12));
}
.coffee__copy p {
  max-width: 500px;
}
.text-link { transition: opacity .22s ease; }
.text-link:hover { opacity: .72; }

/* -------------------------------------------------------------------------- */
/* OUR WAY - same composition, cleaner micro-detail.                           */
/* -------------------------------------------------------------------------- */
.story-step {
  transition: transform .28s var(--ease-refined), border-color .22s ease, box-shadow .28s ease;
}
.story-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(65,24,18,.08);
}
.story-step::after {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  right: 20px;
  top: 18px;
  font-size: 16px;
  opacity: .36;
  transition: opacity .22s ease, transform .22s var(--ease-refined);
}
.story-step:hover::after {
  background: transparent;
  color: var(--primary);
  opacity: .75;
  transform: translate(2px,2px);
}
.story__head p { max-width: 32ch; }
.story__closing { letter-spacing: .18em; }

/* -------------------------------------------------------------------------- */
/* HISTORY - keep the scrapbook wall; refine paper and tape.                   */
/* -------------------------------------------------------------------------- */
.history::after {
  -webkit-text-stroke-color: rgba(var(--primary-rgb), .075);
}
.memory-frame {
  box-shadow: 0 16px 38px rgba(55,28,28,.10);
  transition: transform .28s var(--ease-refined), box-shadow .28s ease;
}
.memory-frame::before {
  width: clamp(34px, 3.5vw, 54px);
  height: 14px;
  top: -7px;
  background: rgba(255, 225, 193, .64);
  border-color: rgba(var(--primary-rgb), .055);
  box-shadow: 0 2px 6px rgba(55,28,28,.04);
}
.memory-frame:hover,
.memory-frame--1:hover,
.memory-frame--2:hover,
.memory-frame--3:hover,
.memory-frame--4:hover,
.memory-frame--5:hover {
  transform: translateY(-4px) rotate(0deg);
  box-shadow: 0 22px 48px rgba(55,28,28,.13);
}
.history__caption {
  border-top-color: rgba(var(--primary-rgb), .12);
}

/* -------------------------------------------------------------------------- */
/* VALUES - V17 layout retained, less dashboard-like.                          */
/* -------------------------------------------------------------------------- */
.values::before {
  -webkit-text-stroke-color: rgba(255, 225, 193, .07);
}
.value-card,
.value-card:nth-child(2),
.value-card:nth-child(3) {
  border-radius: 16px;
  border-color: rgba(255, 225, 193, .24);
  background: transparent;
  box-shadow: none;
  transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s var(--ease-refined);
}
.value-card:hover,
.value-card:nth-child(2):hover,
.value-card:nth-child(3):hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}
.value-card h3 { transition: none; }
.value-card:hover h3 { transform: none; }
.mission-block__copy {
  max-width: 34ch;
}

/* -------------------------------------------------------------------------- */
/* MENU / BOX - print-object feel, less hover drama.                      */
/* -------------------------------------------------------------------------- */
.menu-feature__copy > p { max-width: 30ch; }
.menu-button { box-shadow: none; }
.print-card {
  box-shadow: 0 22px 46px rgba(65,24,18,.11);
  transition: transform .28s var(--ease-refined), box-shadow .28s ease;
}
.print-card--menu:hover { transform: translateY(-6px) rotate(-1.5deg); }
.print-card--box:hover { transform: translateY(-6px) rotate(1.5deg); }
.print-card:hover { box-shadow: 0 28px 54px rgba(65,24,18,.14); }
.social-strip a { opacity: .76; }
.social-strip a:hover { opacity: 1; }

/* -------------------------------------------------------------------------- */
/* VISIT - keep the map composition; make labels/cards more editorial.         */
/* -------------------------------------------------------------------------- */
.visit-photo::after {
  left: 18px;
  bottom: 15px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--primary);
  text-shadow: 0 1px 12px rgba(255,241,221,.9);
}
.visit-card {
  border-color: rgba(var(--primary-rgb), .09);
  box-shadow: 0 24px 56px rgba(60,12,12,.10);
}
.visit-card .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(var(--primary-rgb), .12);
}

/* -------------------------------------------------------------------------- */
/* FOOTER - preserve scale; simplify the final action.                         */
/* -------------------------------------------------------------------------- */
.footer::before {
  color: rgba(255,225,193,.32);
  border-color: rgba(255,225,193,.075);
}
.back-top {
  width: fit-content;
  margin-top: 50px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid rgba(255,225,193,.30);
  border-radius: 0;
  background: transparent;
  color: inherit;
  transition: opacity .22s ease, border-color .22s ease, transform .22s var(--ease-refined);
}
.back-top:hover {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  transform: translateY(-2px);
}
.footer__links a { opacity: .72; }
.footer__links a:hover { opacity: 1; }

/* -------------------------------------------------------------------------- */
/* MOBILE - keep the approved layout, only clean proportions/clutter.          */
/* -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .header {
    background: rgba(255, 241, 221, .94);
  }
  .hero__sticky::before {
    width: 84px;
    right: 18px;
    opacity: .72;
  }
  .hero__sticky::after {
    opacity: .52;
  }
  .cookies__sticky::before {
    -webkit-text-stroke-color: rgba(var(--primary-rgb), .05);
  }
  .coffee::before {
    border-color: rgba(var(--primary-rgb), .09);
  }
  .story-step:hover { transform: none; box-shadow: none; }
  .value-card:hover,
  .value-card:nth-child(2):hover,
  .value-card:nth-child(3):hover { transform: none; }
}

@media (max-width: 620px) {
  .hero__sticky::before {
    display: none;
  }
  .hero__sticky::after {
    opacity: .38;
  }
  .manifesto::before {
    opacity: .55;
  }
  .cookies__sticky::before {
    opacity: .45;
  }
  .coffee::before {
    opacity: .50;
  }
  .story-step::after {
    font-size: 13px;
    right: 14px;
    top: 14px;
  }
  .memory-frame::before {
    width: 30px;
    height: 11px;
  }
  .value-card,
  .value-card:nth-child(2),
  .value-card:nth-child(3) {
    border-radius: 12px;
  }
  .visit-photo::after {
    display: none;
  }
  .footer::before {
    opacity: .58;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__sticky::before { animation: none; }
  .memory-frame,
  .story-step,
  .value-card,
  .print-card,
  .button,
  .menu-button { transition: none !important; }
}

/* ========================================================================== */
/* FINAL HOSTING PASS - PERFORMANCE + FOOTER + COFFEE ACTIONS                 */
/* ========================================================================== */

/* Reduce compositing cost while keeping the approved V17 look. */
.header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.coffee__actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.coffee__actions .text-link {
  margin-top: 0;
}

/* Footer: exactly two columns. Socials become compact icon links. */
.footer__links {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(38px, 5vw, 82px) !important;
}

.footer__links > div:last-child {
  grid-column: auto !important;
  margin-top: 0 !important;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.footer__social {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255,225,193,.24);
  opacity: .76 !important;
  transition: opacity .22s ease, background .22s ease, color .22s ease, transform .22s ease !important;
}

.footer__social:hover {
  opacity: 1 !important;
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__social:last-child svg path {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 980px) {
  .header {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }
  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .coffee__actions {
    gap: 18px;
  }
  .footer__links {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  .footer__socials {
    gap: 9px;
  }
  .footer__social {
    width: 38px;
    height: 38px;
  }
}

/* Final performance cleanup: preserve the texture without expensive blend
   compositing across the entire viewport. */
.grain {
  mix-blend-mode: normal;
  opacity: .028;
}
.word-mask > span {
  will-change: auto;
}

/* Map performance: tint with a simple overlay instead of filtering/scaling all
   Leaflet tiles during the zoom animation. This removes a common scroll hitch. */
.live-map .leaflet-tile-pane {
  filter: none !important;
}
.map-tint {
  background:
    linear-gradient(90deg, rgba(255,225,193,.20), rgba(255,241,221,.08) 55%, rgba(154,15,15,.035)),
    rgba(255,225,193,.09) !important;
  pointer-events: none;
}
.visit .glass-card,
.map-progress {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.visit .glass-card {
  background: rgba(255,241,221,.94) !important;
}

/* ========================================================================== */
/* FINAL MOBILE ICON FIX - use SVGs instead of Unicode arrows/emojis          */
/* ========================================================================== */
.ui-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.12em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  pointer-events: none;
}

.button .ui-icon,
.menu-button .ui-icon,
.text-link .ui-icon,
.social-strip .ui-icon,
.mobile-menu__socials .ui-icon,
.footer__links .ui-icon,
.back-top .ui-icon {
  width: 14px;
  height: 14px;
}

.round .ui-icon {
  width: 18px;
  height: 18px;
  vertical-align: 0;
}

.print-card i .ui-icon {
  width: 18px;
  height: 18px;
  vertical-align: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__socials a,
.footer__links a,
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 620px) {
  .button .ui-icon,
  .menu-button .ui-icon,
  .text-link .ui-icon,
  .social-strip .ui-icon,
  .mobile-menu__socials .ui-icon,
  .footer__links .ui-icon,
  .back-top .ui-icon {
    width: 13px;
    height: 13px;
  }
}


/* Decorative corner mark */
.story-step::after {
  content: "" !important;
  width: 9px !important;
  height: 9px !important;
  right: 20px !important;
  top: 20px !important;
  border: 0 !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  border-radius: 0 !important;
  transform: rotate(0deg) !important;
  background: transparent !important;
  opacity: .45 !important;
}
.story-step:hover::after {
  background: transparent !important;
  color: inherit !important;
  opacity: .8 !important;
}

/* Context-aware SVG icon colors */
:root {
  --icon-filter-light: brightness(0) saturate(100%) invert(93%) sepia(27%) saturate(442%) hue-rotate(324deg) brightness(103%) contrast(98%);
  --icon-filter-brand: brightness(0) saturate(100%) invert(11%) sepia(77%) saturate(5877%) hue-rotate(357deg) brightness(91%) contrast(105%);
}

img.ui-icon,
img.social-icon {
  display: inline-block !important;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Light/cream icons on red or dark surfaces. */
.button img.ui-icon,
.menu-button--solid img.ui-icon,
.print-card--box img.ui-icon,
.mobile-menu img.ui-icon,
.mobile-menu img.social-icon,
.footer img.ui-icon,
.footer img.social-icon,

/* Red icons on light surfaces. */
.menu-button--outline img.ui-icon,
.print-card--menu img.ui-icon,
.social-strip img.ui-icon,
.text-link img.ui-icon,
.round img.ui-icon {
  filter: var(--icon-filter-brand) !important;
}

/* Header button reverses to cream on dark chapters; the icon reverses too. */
.header.on-dark .button--small img.ui-icon {
  filter: var(--icon-filter-brand) !important;
}

/* Back-to-top sits on the dark footer. */
.back-top img.ui-icon {
  filter: var(--icon-filter-light) !important;
}

/* Keep icon sizing deterministic across browsers. */
img.ui-icon { width: 14px; height: 14px; vertical-align: -0.10em; }
.round img.ui-icon { width: 20px; height: 20px; vertical-align: 0; }
.print-card i img.ui-icon { width: 22px; height: 22px; vertical-align: 0; }
img.social-icon { width: 22px; height: 22px; vertical-align: 0; }

/* Keyboard accessibility without changing the visual language. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Avoid costly hover/magnetic effects on touch devices. */
@media (hover: none), (pointer: coarse) {
  .magnetic,
  .button,
  .menu-button,
  .print-card,
  .story-step,
  .memory-frame {
    transform-style: flat;
  }
  .cursor { display: none !important; }
}

/* Keep outline-button icon contrast after the button fills on hover. */
.menu-button--outline:hover img.ui-icon,
.menu-button--outline:focus-visible img.ui-icon {
  filter: var(--icon-filter-light) !important;
}

/* Header WhatsApp shortcut. */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(32, 143, 90, .24);
  border-radius: 999px;
  color: #176d45;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.whatsapp-link svg { width: 16px; height: 16px; fill: currentColor; }
.whatsapp-link:hover { background: #208f5a; border-color: #208f5a; color: #fff8ec; }
@media (max-width: 980px) {
  .header__actions .whatsapp-link { width: 40px; min-height: 40px; padding: 0; }
  .header__actions .whatsapp-link span { display: none; }
  .header__actions .whatsapp-link svg { width: 18px; height: 18px; }
}

/* Homepage content managed from the store settings and live menu. */
.cake-feature{position:relative;padding:clamp(54px,8vw,112px) var(--pad);background:#fff7eb;border-top:1px solid rgba(var(--primary-rgb),.14);border-bottom:1px solid rgba(var(--primary-rgb),.14)}
.cake-feature[hidden],#homepage-closed-message[hidden],#homepage-cake-availability[hidden]{display:none!important}
.cake-feature__inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);align-items:center;gap:clamp(30px,7vw,100px)}
.cake-feature__art{min-height:320px;display:grid;place-items:center;border-radius:28px;background:#ffe4c7;overflow:hidden}
.cake-feature__art img{display:block;width:100%;height:clamp(280px,38vw,520px);object-fit:contain}
.cake-feature__copy .kicker{margin:0 0 10px;color:var(--primary);font-size:10px;letter-spacing:.2em}
.cake-feature__copy h2{margin:0;color:var(--primary);font:400 clamp(42px,6vw,82px)/.92 Anton,Impact,sans-serif}
.cake-feature__copy>p:not(.kicker){max-width:42ch;color:rgba(80,25,25,.72);font-size:15px;line-height:1.6}
.cake-feature__copy>strong{display:block;margin:20px 0;color:var(--primary);font-size:14px;letter-spacing:.1em}
.cake-feature__copy .text-link{display:inline-flex;align-items:center;gap:10px}
.cake-feature__availability{color:#a31818!important;font-weight:700}
.visit-closed-message{margin:0 0 18px;padding:12px 14px;border:1px solid rgba(var(--primary-rgb),.16);border-radius:10px;background:rgba(var(--primary-rgb),.06);color:#6d4b4b;font-size:12px;line-height:1.5}
@media(max-width:760px){.cake-feature{padding:38px var(--pad)}.cake-feature__inner{grid-template-columns:1fr;gap:22px}.cake-feature__art{min-height:220px;border-radius:20px}.cake-feature__art img{height:clamp(210px,64vw,330px)}.cake-feature__copy h2{font-size:clamp(42px,13vw,64px)}.cake-feature__copy>p:not(.kicker){font-size:13px}}
