/* =============================================================
   CHOKOOMANIA · styles.css
   Palette + type straight from the brand manual:
   cream/chocolate base · strawberry pink brand color ·
   violet/magenta jewel accents · Grandstander + Poppins + Caveat
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* brand palette (Manual de Identidad, sec. 07) */
  --marfil:      #FFF8E0;   /* fondo suave */
  --crema:       #FFEFB4;   /* base clara */
  --paper:       #FFFFFF;
  --choco:       #250102;   /* base · texto */
  --choco-vino:  #6B0306;   /* apoyo */
  --fresa:       #F864A8;   /* color de marca */
  --fresa-deep:  #C9256E;   /* fresa AA para texto sobre fondos claros */
  --violeta:     #640DF4;   /* acento energía */
  --magenta:     #9001C5;   /* acento premium */

  --ink:         var(--choco);
  --ink-soft:    #4a2325;
  --ink-mute:    #7d5a5b;
  --cream-text:  #FFF4D6;
  --line:        rgba(37, 1, 2, 0.12);
  --line-light:  rgba(255, 244, 214, 0.16);

  /* type (Manual, sec. 08) */
  --display: "Grandstander", "Poppins", sans-serif;
  --sans:    "Poppins", system-ui, sans-serif;
  --script:  "Caveat", cursive;

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --radius: 26px;
  --radius-sm: 16px;

  /* easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--marfil);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--fresa); color: var(--choco); }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.1rem;
  background: var(--choco); color: var(--cream-text);
  z-index: 9999; border-radius: 999px; font-weight: 500;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

.kicker {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--choco-vino);
}
.kicker-light { color: var(--fresa-deep); }
.daily .kicker-light { color: var(--fresa); }

/* Scroll reveals — opacity gate ONLY when JS is confirmed present */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
/* defensive rule (skill gotcha A.4.5) */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography helpers
   ============================================================= */
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title em {
  font-style: normal;
  color: var(--fresa-deep);
}
.section-sub {
  max-width: 56ch;
  color: var(--ink-mute);
  font-size: 1.02rem;
  margin-top: .9rem;
}
.section-head {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: .55rem;
  justify-items: center;
  text-align: center;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.section { position: relative; padding-block: var(--section-pad); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-out),
              background-color .35s var(--ease-out), color .35s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--fresa);
  color: var(--choco);
  box-shadow: 0 6px 18px rgba(248, 100, 168, .35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(248, 100, 168, .45); }

.btn-ghost {
  border: 2px solid var(--choco);
  color: var(--choco);
  background: transparent;
}
.btn-ghost:hover { background: var(--choco); color: var(--cream-text); }

.btn-jewel {
  background: linear-gradient(120deg, var(--violeta), var(--magenta) 85%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(100, 13, 244, .35);
}
.btn-jewel:hover { box-shadow: 0 14px 30px rgba(144, 1, 197, .45); }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out),
              backdrop-filter .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(255, 248, 224, .92);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(37, 1, 2, .06);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-solid {
    background: rgba(255, 248, 224, .78);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
  }
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: none;
  gap: 1.9rem;
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a {
  position: relative;
  padding-block: .35rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--fresa);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }

.nav-right { display: flex; align-items: center; gap: .9rem; }
.btn-nav { display: none; padding: .6rem 1.3rem; font-size: .9rem; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .55);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  transition: border-color .3s var(--ease-out);
}
.lang-toggle:hover { border-color: var(--fresa); }
.lang-opt { position: relative; color: var(--ink-mute); transition: color .3s var(--ease-out); }
.lang-opt.is-active { color: var(--choco); }
.lang-opt.is-active::after {
  content: "";
  position: absolute;              /* no layout shift when the underline moves */
  left: 0; right: 0; bottom: -4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--fresa-deep);
}
.lang-sep { color: var(--ink-mute); }

.nav-burger {
  display: grid;
  gap: 5px;
  padding: .7rem .55rem;
  border-radius: 10px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: var(--choco);
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- Mobile menu --- */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: var(--marfil);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(37, 1, 2, .14);
  padding: 1.4rem var(--gutter) 2rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
}
.mobile-menu.is-open { transform: none; opacity: 1; }
.mobile-menu nav { display: grid; gap: .35rem; }
.mobile-menu a:not(.btn) {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  padding: .55rem 0;
}
.mobile-menu .btn { margin-top: .9rem; justify-self: start; font-size: 1rem; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Splash --- */
.splash {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-content: center; justify-items: center; gap: .8rem;
  background: var(--marfil);
  transition: opacity .5s var(--ease-out), visibility .5s;
  /* safety net: hide via CSS even if JS never runs (gotcha A.9) */
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-berries { width: 110px; animation: splashBounce 1.1s var(--ease-bounce) infinite alternate; }
.splash-script {
  font-family: var(--script);
  font-size: 1.9rem;
  color: var(--choco-vino);
}
@keyframes splashBounce {
  from { transform: translateY(0) rotate(-3deg); }
  to   { transform: translateY(-14px) rotate(3deg); }
}
@keyframes splashSafety {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5rem;
  background: var(--marfil);
}
.hero-halo {
  position: absolute;
  inset: -30% -20%;
  background:
    radial-gradient(42% 36% at 50% 38%, rgba(255, 239, 180, .9), transparent 70%),
    radial-gradient(30% 26% at 78% 72%, rgba(248, 100, 168, .14), transparent 70%),
    radial-gradient(24% 22% at 18% 70%, rgba(144, 1, 197, .10), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.15rem;
  max-width: 900px;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-mute);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .4rem 1rem;
  background: rgba(255, 255, 255, .5);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fresa);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 100, 168, .55); }
  50%      { box-shadow: 0 0 0 7px rgba(248, 100, 168, 0); }
}
.hero-logo {
  width: clamp(270px, 46vw, 600px);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(107, 3, 6, .16));
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.hero-title em { font-style: normal; color: var(--fresa-deep); }
.hero-sub {
  max-width: 52ch;
  color: var(--ink-mute);
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: .4rem; }
.hero-script {
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--fresa);
  transform: rotate(-4deg);
  margin-top: .5rem;
}

/* floating strawberries (signature) */
.hero-berries { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.berry {
  position: absolute;
  width: clamp(54px, 7vw, 110px);
  opacity: .9;
  filter: drop-shadow(0 10px 18px rgba(107, 3, 6, .18));
  animation: berryFloat 7s ease-in-out infinite alternate;
}
.berry-1 { top: 16%; left: 7%;  rotate: -14deg; animation-duration: 8s; }
.berry-2 { top: 62%; left: 12%; width: clamp(40px, 5vw, 78px); rotate: 10deg; animation-duration: 6.4s; animation-delay: -2s; }
.berry-3 { top: 13%; right: 9%; width: clamp(44px, 5.5vw, 86px); rotate: 12deg; animation-duration: 7.2s; animation-delay: -4s; }
.berry-4 { top: 58%; right: 7%; rotate: -8deg; animation-duration: 8.6s; animation-delay: -1.2s; }
.berry-5 { bottom: 6%; left: 48%; width: clamp(36px, 4.5vw, 64px); rotate: 6deg; animation-duration: 6.8s; animation-delay: -3s; }
@keyframes berryFloat {
  from { translate: 0 0; }
  to   { translate: 0 -16px; }
}

/* --- Marquee --- */
.marquee {
  position: relative;
  z-index: 3;
  background: var(--choco);
  color: var(--cream-text);
  transform: rotate(-1.2deg) scale(1.02);
  overflow: hidden;
  padding-block: .85rem;
  box-shadow: 0 14px 34px rgba(37, 1, 2, .22);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeSlide 26s linear infinite;
}
.marquee-seq {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.marquee-seq .m-script {
  font-family: var(--script);
  text-transform: none;
  font-size: 1.5rem;
  color: var(--fresa);
  letter-spacing: 0;
}
.m-berry {
  width: 24px; height: 18px;
  flex: none;
  background: url("assets/img/berries.webp") center / contain no-repeat;
}
@keyframes marqueeSlide {
  to { transform: translateX(-50%); }
}
/* WCAG 2.2.2: hovering or focusing pauses the moving strip */
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

/* --- Menu grid --- */
.menu { background: var(--marfil); }
.menu-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1.4rem;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(37, 1, 2, .05);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  transform-style: preserve-3d;
}
.card:hover {
  box-shadow: 0 26px 48px rgba(248, 100, 168, .22), 0 8px 18px rgba(37, 1, 2, .08);
}
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out), filter .7s var(--ease-out);
}
.card:hover .card-media img {
  transform: scale(1.07);
  filter: saturate(1.15) brightness(1.04);
}
.card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: grid;
  gap: .4rem;
}
.card-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
}
.card-body p { color: var(--ink-mute); font-size: .93rem; }
.price {
  justify-self: start;
  margin-top: .45rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--choco-vino);
  background: var(--crema);
  border-radius: 999px;
  padding: .28rem .95rem;
}
.price small {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .72rem;
  color: var(--ink-mute);
  margin-right: .3rem;
}

/* --- Product of the day --- */
.daily {
  background: var(--choco);
  color: var(--cream-text);
  --scallop: var(--choco);
}
.daily .section-title { color: var(--cream-text); }
.daily .section-title em { color: var(--fresa); }
.daily .section-sub { color: rgba(255, 244, 214, .66); }
.daily-halo {
  position: absolute; inset: 0;
  background:
    radial-gradient(38% 42% at 16% 18%, rgba(100, 13, 244, .22), transparent 70%),
    radial-gradient(34% 40% at 86% 82%, rgba(144, 1, 197, .20), transparent 70%),
    radial-gradient(30% 34% at 78% 12%, rgba(248, 100, 168, .12), transparent 70%);
  pointer-events: none;
}
.daily-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.daily-card {
  display: grid;
  gap: 0;
  background: rgba(255, 248, 224, .045);
  border: 1px solid var(--line-light);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.daily-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.daily-media img { width: 100%; height: 100%; object-fit: cover; }
.daily-badge {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  background: var(--fresa);
  color: var(--choco);
  font-family: var(--display);
  font-weight: 700;
  font-size: .82rem;
  padding: .42rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(37, 1, 2, .35);
}
.daily-body {
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  display: grid;
  gap: .9rem;
  align-content: center;
  justify-items: start;
}
.daily-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--cream-text);
}
.daily-desc { color: rgba(255, 244, 214, .72); max-width: 44ch; }
.daily-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-block: .3rem .5rem;
}
.daily-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--fresa);
}
.daily-deal {
  display: inline-flex;
  flex-direction: column;
  gap: .1rem;
  font-size: .88rem;
  color: rgba(255, 244, 214, .8);
  border-left: 3px solid var(--magenta);
  padding-left: .85rem;
}
.daily-deal b {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fresa);
}

/* scalloped candy edges */
.scallop-top::before,
.scallop-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 22px;
  background-image: radial-gradient(circle at 50% 100%, var(--scallop, var(--choco)) 54%, transparent 56%);
  background-size: 44px 22px;
  background-repeat: repeat-x;
  z-index: 2;
  pointer-events: none;
}
.scallop-top::before { top: -21px; }
.scallop-bottom::after {
  bottom: -21px;
  background-image: radial-gradient(circle at 50% 0%, var(--scallop, var(--choco)) 54%, transparent 56%);
}

/* --- Story --- */
.story { background: var(--marfil); }
.story-flags {
  display: flex;
  gap: .6rem;
  margin-top: -.2rem;
}
.story-flags svg {
  width: 33px; height: 22px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(37, 1, 2, .18), 0 0 0 1px var(--line);
}
.story-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2.6rem;
  align-items: center;
}
.story-text { display: grid; gap: 1rem; justify-items: start; }
.story-p { color: var(--ink-soft); max-width: 54ch; }
.story-facts {
  display: flex;
  gap: 2.2rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}
.story-facts dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--fresa-deep);
  line-height: 1;
}
.story-facts dd { font-size: .85rem; color: var(--ink-mute); margin: .2rem 0 0; }
.story-media { position: relative; }
.story-media .story-photo {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 30px 60px rgba(107, 3, 6, .18);
}
.story-badge {
  position: absolute;
  width: clamp(110px, 14vw, 170px);
  right: -1.2rem;
  bottom: -2rem;
  rotate: 8deg;
  filter: drop-shadow(0 16px 30px rgba(37, 1, 2, .3));
}

/* --- Chicago skyline band --- */
.skyline-band { margin: 0; }
.skyline-band img {
  width: 100%;
  height: clamp(130px, 18vw, 240px);
  object-fit: cover;
  display: block;
}

/* --- Find us --- */
.findus { background: var(--paper); }
.findus-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2.4rem;
  align-items: start;
}
.sched-wrap { display: grid; gap: 1.6rem; justify-items: start; }
.sched {
  border-collapse: separate;   /* border-collapse: collapse kills border-radius */
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--marfil);
  font-size: .95rem;
}
.sched th, .sched td {
  text-align: left;
  padding: .8rem 1.1rem;
}
.sched tbody th, .sched tbody td { border-top: 1px solid var(--line); }
.sched thead th {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--crema);
}
.sched tbody td:first-child { font-weight: 600; }
.sched tr.is-today {
  background: rgba(248, 100, 168, .14);
}
.sched tr.is-today td:first-child { color: var(--choco-vino); }
.today-chip {
  display: inline-block;
  margin-left: .55rem;
  background: var(--fresa);
  color: var(--choco);
  font-family: var(--display);
  font-weight: 700;
  font-size: .68rem;
  padding: .12rem .6rem;
  border-radius: 999px;
  vertical-align: middle;
}
.findus-media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;   /* portrait: balances the tall weekly table */
  object-fit: cover;
  width: 100%;
  box-shadow: 0 24px 50px rgba(37, 1, 2, .14);
}

/* --- Newsletter --- */
.newsletter {
  background: var(--crema);
  --scallop: var(--crema);
}
.news-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: .6rem;
}
.news-berries { width: 88px; margin-bottom: .4rem; }
.news-form {
  display: flex;
  width: min(100%, 520px);
  margin-top: 1.6rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: .35rem;
  gap: .35rem;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.news-form:focus-within {
  border-color: var(--fresa);
  box-shadow: 0 10px 30px rgba(248, 100, 168, .25);
}
.news-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .65rem 1.1rem;
  font: inherit;
  color: var(--ink);
}
.news-form input[type="email"]::placeholder { color: var(--ink-mute); }
.news-form .btn { flex: none; }
.news-form.is-sending .btn { opacity: .65; pointer-events: none; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.news-status {
  min-height: 1.6em;
  font-weight: 500;
  margin-top: .6rem;
  color: var(--choco-vino);
}
.news-status.is-ok { color: #1d7a3d; }
.news-status.is-err { color: #b3261e; }
.news-privacy { font-size: .78rem; color: var(--ink-mute); max-width: 46ch; }

/* --- Footer --- */
.footer {
  background: var(--choco);
  color: rgba(255, 244, 214, .78);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 2rem;
}
.footer a { transition: color .3s var(--ease-out); }
.footer a:hover { color: var(--fresa); }
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 2.6rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand { display: grid; gap: 1rem; justify-items: start; max-width: 34ch; }
.footer-brand img { width: 96px; }
.footer-brand p { font-size: .92rem; }
.footer-script {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--fresa);
  transform: rotate(-3deg);
}
.footer-col { display: grid; gap: .55rem; align-content: start; font-size: .93rem; }
.footer-col h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--cream-text);
  margin-bottom: .35rem;
}
.footer-base {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255, 244, 214, .62);
}
.footer-credits { text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   7. Credits page
   ============================================================= */
.page-credits main {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5rem;
  display: grid;
  gap: 1.2rem;
}
.page-credits h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.credits-list { display: grid; gap: .9rem; }
.credits-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: .95rem 1.2rem;
  font-size: .92rem;
}
.credits-list a { color: var(--choco-vino); text-decoration: underline; text-underline-offset: 3px; }
.credits-back {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .daily-card { grid-template-columns: 1.05fr 1fr; }
  .daily-media { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .story-grid { grid-template-columns: 1.1fr 1fr; }
  .findus-grid { grid-template-columns: 1.15fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .btn-nav { display: inline-flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none; }
  /* 3×3 bento: the feature card fills a 2×2 block, six cards tile perfectly */
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .card-feature { grid-column: span 2; grid-row: span 2; }
  .card-feature .card-media { aspect-ratio: auto; flex: 1; min-height: 0; }
  .card-feature .card-body { flex: none; }
}

@media (max-width: 959.98px) {
  .nav-links { display: none; }
}

@media (max-width: 959.98px) {
  /* keep floating berries out of the text column on phones and tablets */
  .berry { opacity: .55; }
  .berry-1 { top: 9%; left: 2%; width: 46px; }
  .berry-2 { top: 70%; left: 3%; width: 38px; }
  .berry-3 { top: 12%; right: 3%; width: 42px; }
  .berry-4 { top: 76%; right: 3%; width: 46px; }
  .berry-5 { display: none; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
  .berry { animation: none; }
  .splash-berries { animation: none; }
  /* marquee, hovers, reveals and transitions stay — they are micro */
}
