/* ===========================================================
   Zenbowl — Design tokens
   =========================================================== */

@font-face {
  font-family: 'Aktiv Grotesk';
  src: url('../assets/fonts/AktivGrotesk-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aktiv Grotesk';
  src: url('../assets/fonts/AktivGrotesk-Medium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aktiv Grotesk';
  src: url('../assets/fonts/AktivGrotesk-SemiBold.woff') format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aktiv Grotesk';
  src: url('../assets/fonts/AktivGrotesk-Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Paquito';
  src: url('../assets/fonts/Paquito-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Paquito';
  src: url('../assets/fonts/Paquito-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Paquito';
  src: url('../assets/fonts/Paquito-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Azo Sans';
  src: url('../assets/fonts/AzoSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Azo Sans Md';
  src: url('../assets/fonts/AzoSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  /* brand colors */
  --cream:        #fdf6f0;
  --cream-soft:   #f7ecdf;
  --pale-yellow:  #fcf1bb;
  --pale-blue:    #d4eff8;
  --wine:         #750909;
  --wine-deep:    #4c0505;
  --ink:          #241211;

  /* type families */
  --font-heading: 'Paquito', 'Georgia', serif;
  --font-body:    'Aktiv Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-accent:  'Azo Sans Md', 'Azo Sans', 'Helvetica Neue', Arial, sans-serif;

  /* one uniform running-text size, used everywhere body copy appears */
  --fs-body:    clamp(0.95rem, 0.86rem + 0.2vw, 1.0625rem);
  --fs-caption: clamp(0.78rem, 0.74rem + 0.12vw, 0.85rem);
  --lh-body: 1.65;

  /* layout */
  --header-h: 92px;
  --edge: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--edge);
}
.section-inner--wide { max-width: 1440px; }

.section-kicker {
  margin: 0 0 10px;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}

/* ===========================================================
   Buttons — one shared look, everywhere
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-body);
  letter-spacing: 0.01em;
  background: var(--wine);
  color: var(--cream);
  border: 1.5px solid var(--wine);
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--cream);
  color: var(--wine);
  border-color: var(--wine);
}
.btn:active { transform: scale(.97); }

/* ===========================================================
   Header
   =========================================================== */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: transparent;
  pointer-events: none; /* let clicks pass through the empty bar; children opt back in below */
}
.site-header * { pointer-events: auto; }

.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--edge);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 30px);
  justify-self: start;
}

.nav-link {
  position: relative;
  font-size: calc(var(--fs-body) * 0.667);
  font-weight: 500;
  padding-block: 6px;
  color: var(--ink);
}
.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

.logo { justify-self: center; display: block; transition: opacity .3s var(--ease); }
.logo:hover { opacity: 0.75; }
.logo-mark { height: calc(clamp(26px, 2.6vw, 36px) * 0.667); width: auto; }

.header-cta {
  justify-self: end;
  font-size: calc(var(--fs-body) * 0.667); /* .btn's padding is in em, so it scales down with this automatically */
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: start; }
}

/* ===========================================================
   Hero
   =========================================================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.hero--pinned {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  will-change: opacity;
}

.hero-spacer { height: 0; }

.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: clamp(48px, 10vh, 96px) var(--edge) clamp(48px, 9vh, 96px);
  text-align: center;
}

.hero-headline {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.005em;
  font-size: clamp(2.6rem, 7vw, 6rem);
  text-shadow: 0 6px 40px rgba(20, 8, 7, 0.3);
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .word { display: inline-block; transform: translateY(115%); opacity: 0; }

.hero-cta {
  margin-top: auto;
  opacity: 0;
  transform: translateY(14px);
}

.hero-scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 34px;
  border: 1.5px solid rgba(253, 246, 240, 0.75);
  border-radius: 999px;
  z-index: 2; opacity: 0;
}
.hero-scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px;
  background: var(--cream); border-radius: 50%;
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 1; }
  70%, 100% { transform: translateY(14px); opacity: 0; }
}

body.is-ready .hero-headline .word { animation: riseWord 1.05s var(--ease) forwards; }
body.is-ready .hero-headline .line:nth-child(1) .word { animation-delay: .15s; }
body.is-ready .hero-headline .line:nth-child(2) .word:nth-child(1) { animation-delay: .30s; }
body.is-ready .hero-headline .line:nth-child(2) .word:nth-child(2) { animation-delay: .42s; }
body.is-ready .hero-cta { animation: fadeUp .8s var(--ease) .8s forwards; }
body.is-ready .hero-scroll-cue { animation: fadeTag .8s var(--ease) 1.5s forwards; }

@keyframes riseWord { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeTag { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-headline .word, .hero-cta, .hero-scroll-cue { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-media { transform: none !important; }
}

/* Mobile: the video shows at its own aspect ratio, full device width, no cropping —
   the hero is never pinned/faded on these widths, so the next section starts right
   after the video with no reserved gap. */
@media (max-width: 720px) {
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 1280 / 722;
  }
}

/* ===========================================================
   Reveal-on-scroll (shared, subtle)
   =========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible .reveal-item:nth-child(1) { transition-delay: .03s; }
.reveal-stagger.is-visible .reveal-item:nth-child(2) { transition-delay: .11s; }
.reveal-stagger.is-visible .reveal-item:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.is-visible .reveal-item:nth-child(4) { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===========================================================
   Bestsellers — curved drag carousel
   =========================================================== */

.bestsellers {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vh, 120px) 0 clamp(40px, 6vh, 72px);
}

.bestsellers-bg {
  margin: 0;
  position: absolute;
  top: clamp(48px, 9vh, 100px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pale-blue);
  font-size: clamp(2.6rem, 11vw, 9.5rem);
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.carousel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(300px, 34vw, 420px);
  margin-top: clamp(24px, 5vh, 56px);
  overflow: hidden;
}

.carousel-hint {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6em 1.1em;
  background: var(--cream);
  border: 1px solid rgba(117, 9, 9, 0.18);
  border-radius: 999px;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.carousel-hint-arrow { display: inline-block; animation: hintNudge 1.6s ease-in-out infinite; }
.carousel-hint-arrow:last-child { animation-direction: alternate-reverse; }
@keyframes hintNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
.carousel-hint.is-hidden { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }

.carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.carousel-stage.is-dragging { cursor: grabbing; }

.carousel-item {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
  will-change: transform;
  pointer-events: none;
}

.carousel-item-img {
  height: clamp(150px, 19vw, 270px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.carousel-item-img img {
  height: 100%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 22px 26px rgba(36, 18, 17, 0.28));
}

.carousel-item-name {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--wine);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  white-space: nowrap;
}

.products-cta { display: flex; justify-content: center; margin-top: clamp(4px, 1vh, 14px); position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .carousel-hint-arrow { animation: none; }
}

/* ===========================================================
   Menu modal
   =========================================================== */

.menu-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu-modal.is-open {
  visibility: visible; opacity: 1;
  transition: opacity .4s var(--ease), visibility 0s linear 0s;
}

.menu-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 8, 7, 0.6);
  backdrop-filter: blur(0px);
  transition: backdrop-filter .45s var(--ease);
}
.menu-modal.is-open .menu-modal-backdrop { backdrop-filter: blur(10px); }

.menu-modal-panel {
  position: relative;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 92vh;
  background: var(--cream);
  box-shadow: 0 40px 90px -30px rgba(20, 8, 7, 0.55);
  transform: scale(0.92) translateY(18px);
  opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
  display: flex;
}
.menu-modal.is-open .menu-modal-panel { transform: scale(1) translateY(0); opacity: 1; }

.menu-modal-scroll {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-modal-scroll img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 900px);
  max-height: 92vh;
  object-fit: contain;
}

.menu-modal-close {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--wine);
  font-size: 1rem;
  border: 1px solid rgba(117,9,9,0.2);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.menu-modal-close:hover { background: var(--wine); color: var(--cream); }

@media (max-width: 780px) {
  .menu-modal-panel { max-width: 96vw; max-height: 90vh; }
  .menu-modal-scroll img { max-width: 96vw; max-height: 90vh; }
}

/* ===========================================================
   About
   =========================================================== */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--cream-soft);
}
.about-media { overflow: hidden; min-height: 420px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.about-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 8vw, 100px) var(--edge);
}
.about-heading {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  color: var(--wine);
}
.about-text {
  margin: 0 0 1.1em;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  max-width: 46ch;
}
.about-text:last-of-type { margin-bottom: 0; }

.about-signature {
  margin: 1.3em 0 0;
  font-size: var(--fs-body);
  line-height: 1.5;
  max-width: 46ch;
  font-weight: 700;
  color: var(--wine);
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { min-height: 340px; order: -1; }
  .about-copy { padding-block: 48px; }
  .about-text, .about-signature { max-width: none; }
}

/* ===========================================================
   Reviews / social proof
   =========================================================== */

.reviews { padding: clamp(72px, 12vh, 140px) 0; }
.reviews-heading {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--wine);
}

.reviews-track-wrap {
  position: relative;
  margin-top: clamp(32px, 5vh, 56px);
  padding-inline: var(--edge);
}

.reviews-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
}

.review-card {
  flex: 1 1 clamp(240px, 22vw, 300px);
  max-width: 340px;
  background: var(--cream);
  border: 1.5px solid var(--wine);
  border-radius: 28px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-author { margin: 0; font-family: var(--font-body); font-weight: 700; color: var(--wine); font-size: var(--fs-body); }
.review-stars { margin: 0; color: var(--wine); letter-spacing: 2px; font-size: 0.9rem; }
.review-text { margin: 4px 0 0; font-size: var(--fs-body); line-height: var(--lh-body); flex: 1; }

/* ===========================================================
   Footer
   =========================================================== */

.site-footer {
  background: var(--wine);
  color: var(--cream);
  padding: clamp(56px, 9vh, 96px) var(--edge);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}

.footer-brand {
  filter: brightness(0) invert(1);
  opacity: 0.96;
  flex: 1 1 260px;
}
.footer-logo { width: clamp(200px, 24vw, 340px); height: auto; }

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 260px;
}
.footer-info-line {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--cream);
  opacity: 0.94;
}

.footer-socials { display: flex; gap: 12px; margin-top: 10px; }
.social-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(253, 246, 240, 0.55);
  border-radius: 50%;
  color: var(--cream);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.social-icon img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.social-icon:hover { background: var(--cream); border-color: var(--cream); }
.social-icon:hover img { filter: none; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: right; }
}

/* ===========================================================
   WIP note (kept only if a future section needs a spacer)
   =========================================================== */

/* ===========================================================
   Accessibility + privacy utilities
   =========================================================== */

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

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--wine);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, input):focus-visible {
  outline: 3px solid var(--pale-yellow);
  outline-offset: 4px;
}

.footer-utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.footer-utility-links button {
  padding: 0;
  color: var(--cream);
  font-size: var(--fs-caption);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.accessibility-trigger {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 82;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  box-shadow: 0 12px 35px rgba(36, 18, 17, .26);
  font-size: 1.45rem;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.accessibility-trigger:hover { transform: translateY(-3px); background: var(--wine-deep); }
body.cookie-visible .accessibility-trigger { bottom: 190px; }

.accessibility-panel {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 83;
  width: min(360px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid rgba(117, 9, 9, .2);
  border-radius: 26px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(36, 18, 17, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.97);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.accessibility-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
body.cookie-visible .accessibility-panel { bottom: 256px; }
.accessibility-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.accessibility-panel h2 { margin: 0; color: var(--wine); font-family: var(--font-heading); font-size: 1.55rem; }
.panel-close,
.utility-modal-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 9, 9, .22);
  border-radius: 50%;
  background: transparent;
  color: var(--wine);
}
.accessibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.accessibility-grid button {
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(117, 9, 9, .2);
  border-radius: 16px;
  background: var(--cream-soft);
  color: var(--wine);
  font-size: .86rem;
  font-weight: 600;
}
.accessibility-grid button:hover,
.accessibility-grid button[aria-pressed="true"] { background: var(--wine); color: var(--cream); }

.utility-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.utility-modal.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.utility-modal-backdrop { position: absolute; inset: 0; background: rgba(36, 18, 17, .68); backdrop-filter: blur(8px); }
.utility-modal-card {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 30px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 35px 90px rgba(20, 8, 7, .42);
}
.utility-modal-close { position: absolute; top: 16px; left: 16px; }
.utility-modal-card h2 { margin: 0 0 18px; color: var(--wine); font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); }
.utility-modal-card a { color: var(--wine); font-weight: 700; text-decoration: underline; }
.utility-kicker { margin: 0 0 8px; color: var(--wine); font-family: var(--font-accent); font-size: .72rem; letter-spacing: .16em; }
.utility-note { padding-top: 16px; border-top: 1px solid rgba(117, 9, 9, .18); font-size: var(--fs-caption); opacity: .75; }

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(117, 9, 9, .2);
  border-radius: 28px;
  background: rgba(253, 246, 240, .97);
  color: var(--ink);
  box-shadow: 0 25px 70px rgba(36, 18, 17, .25);
  backdrop-filter: blur(16px);
}
.cookie-banner[hidden] { display: none; }
.cookie-copy h2 { margin: 0 0 6px; color: var(--wine); font-family: var(--font-heading); font-size: clamp(1.45rem, 3vw, 2.1rem); }
.cookie-copy p:last-child { max-width: 68ch; margin: 0; font-size: .92rem; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; max-width: 390px; }
.cookie-actions .btn { font-size: .85rem; }
.cookie-secondary,
.cookie-link {
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--wine);
  font-weight: 600;
}
.cookie-secondary { border: 1px solid var(--wine); background: transparent; }
.cookie-link { text-decoration: underline; text-underline-offset: 4px; }

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(117, 9, 9, .16);
}
.cookie-option h3 { margin: 0 0 4px; color: var(--wine); font-size: 1rem; }
.cookie-option p { margin: 0; font-size: .88rem; }
.cookie-option input { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--wine); }
.always-on { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--pale-blue); color: var(--wine); font-size: .72rem; font-weight: 700; }
.cookie-save { margin-top: 18px; width: 100%; }

html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-text-3 { font-size: 137.5%; }
html.a11y-high-contrast { filter: contrast(1.32); }
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-highlight-links a { text-decoration: underline !important; text-decoration-thickness: 3px !important; text-underline-offset: 4px !important; }

@media (max-width: 760px) {
  .cookie-banner { grid-template-columns: 1fr; bottom: 12px; left: 12px; right: 12px; gap: 16px; border-radius: 22px; }
  .cookie-actions { justify-content: stretch; max-width: none; }
  .cookie-actions > * { flex: 1 1 130px; }
  .accessibility-trigger { right: 12px; bottom: 12px; }
  .accessibility-panel { right: 12px; bottom: 76px; width: calc(100vw - 24px); }
  body.cookie-visible .accessibility-trigger { bottom: 290px; }
  body.cookie-visible .accessibility-panel { bottom: 354px; max-height: calc(100svh - 370px); overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .accessibility-panel,
  .utility-modal,
  .skip-link { transition: none; }
}
