:root {
  --olive: #95996d;
  --olive-dark: #4f5434;
  --olive-deep: #373b25;
  --olive-soft: #d9dcc6;
  --terracotta: #c58a57;
  --brown: #844e26;
  --cream-yellow: #f1e6b2;
  --cream: #f8f3e8;
  --paper: #fffdf7;
  --ink: #313021;
  --muted: #6e6a5d;
  --line: rgba(79, 84, 52, 0.18);
  --shadow: 0 20px 55px rgba(74, 54, 34, 0.13);
  --radius-lg: 2rem;
  --radius-md: 1.2rem;
  --container: 74rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: "Fredoka", ui-rounded, "Avenir Next", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  color: white;
  background: var(--brown);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: .45rem 1rem;
  gap: .55rem;
  color: var(--cream);
  background: var(--olive-deep);
  text-align: center;
  font-size: clamp(.74rem, 2vw, .84rem);
  letter-spacing: .025em;
}

.announcement-dot {
  width: .42rem;
  height: .42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 .24rem rgba(197, 138, 87, .17);
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(79, 84, 52, .1);
  background: rgba(248, 243, 232, .92);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 4.85rem;
  gap: clamp(1rem, 3vw, 2rem);
}

.brand {
  display: grid;
  width: 9.4rem;
  height: 4rem;
  place-items: center;
}
.brand img { width: 100%; height: 100%; object-fit: contain; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.1rem);
}

.primary-nav a, .footer-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.42rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .7rem; }

.language-switcher {
  display: flex;
  padding: .18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
}

.language-switcher button {
  min-width: 2.15rem;
  min-height: 2.15rem;
  padding: .2rem .45rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 600;
}
.language-switcher button[aria-pressed="true"] { color: white; background: var(--olive-dark); }

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: .55rem .85rem;
  gap: .55rem;
  border-radius: 999px;
  color: white;
  background: var(--brown);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: .68rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; margin-block: 4px; border-radius: 2px; background: var(--olive-dark); transition: transform 180ms ease, opacity 180ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  padding: clamp(3.6rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 2% 12%, rgba(241, 230, 178, .72) 0 12rem, transparent 12.1rem),
    linear-gradient(180deg, var(--cream), #f6efe1);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, .85fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--brown);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; font-weight: 500; line-height: 1.08; }

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  color: var(--olive-dark);
  font-size: clamp(2.65rem, 4.8vw, 4.15rem);
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 1.2rem;
  color: var(--olive-dark);
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  letter-spacing: -.035em;
}

h1 em, h2 em {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.02em;
}

.hero-text {
  max-width: 35rem;
  margin: 0 0 1.45rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.hero-actions, .location-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .72rem 1rem;
  gap: .7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: white; background: var(--brown); }
.button-secondary { border-color: var(--line); color: var(--olive-dark); background: rgba(255, 253, 247, .6); }
.button-light { color: var(--brown); background: var(--cream); }
.button-outline-light { border-color: rgba(255,255,255,.35); color: var(--cream); background: transparent; }

.opening-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.25rem;
  gap: .45rem .7rem;
  color: var(--olive-dark);
  font-size: .83rem;
}
.opening-label { padding: .22rem .58rem; border-radius: 999px; color: white; background: var(--terracotta); font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }

.hero-copy { position: relative; }
.hero-visual { position: relative; width: min(100%, 30rem); justify-self: end; }
.hero-image-wrap { aspect-ratio: .94; overflow: hidden; border: .7rem solid rgba(255,253,247,.82); border-radius: 48% 48% 1.8rem 1.8rem; background: var(--terracotta); box-shadow: var(--shadow); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero-caption {
  position: absolute;
  bottom: 1rem;
  left: -1.5rem;
  display: grid;
  min-width: 10.5rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: .8rem;
  color: white;
  background: rgba(49,48,33,.76);
  backdrop-filter: blur(10px);
}
.hero-caption span { font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-caption strong { font-size: .98rem; font-weight: 500; }

.hero-seal { position: absolute; right: .8rem; top: .8rem; width: 4.5rem; height: auto; pointer-events: none; }
.hero-seal img { display: block; width: 100%; height: auto; }

.entry-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,253,247,.76);
  box-shadow: 0 10px 30px rgba(74,54,34,.07);
}

.entry-nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-width: 0;
  min-height: 5.1rem;
  padding: .9rem 1rem;
  gap: .8rem;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}
.entry-nav a:last-child { border-right: 0; }
.entry-nav a:hover, .entry-nav a:focus-visible { color: white; background: var(--olive-dark); }
.entry-nav strong, .entry-nav small { display: block; }
.entry-nav strong { font-size: .92rem; font-weight: 500; }
.entry-nav small { margin-top: .12rem; color: var(--muted); font-size: .72rem; }
.entry-nav a:hover small, .entry-nav a:focus-visible small { color: rgba(255,255,255,.72); }
.entry-number { color: var(--terracotta); font-size: .67rem; }

.menu-section { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .72fr); align-items: end; margin-bottom: 2.2rem; gap: 2rem; }
.section-heading > p { max-width: 32rem; margin: 0; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; }
.product-card { position: relative; min-width: 0; min-height: 29rem; overflow: hidden; border-radius: var(--radius-md); background: var(--olive-soft); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.75,.25,1); }
.product-card:hover img { transform: scale(1.025); }
.product-copy { position: absolute; right: .85rem; bottom: .85rem; left: .85rem; padding: .85rem .95rem; border-radius: .85rem; color: var(--cream); background: rgba(49,48,33,.76); backdrop-filter: blur(10px); }
.product-copy > span { color: var(--cream-yellow); font-size: .66rem; }
.product-copy h3 { margin: .12rem 0 .35rem; font-size: 1.12rem; }
.product-copy p { margin: 0; color: rgba(255,255,255,.78); font-size: .78rem; line-height: 1.45; }

.classics { color: var(--cream); background: var(--olive-dark); }
.classics-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 7rem); }
.eyebrow-light { color: var(--cream-yellow); }
.classics h2 { color: var(--cream); }
.classics-intro > p:last-child { max-width: 30rem; color: rgba(255,255,255,.7); }
.classics-list { border-top: 1px solid rgba(255,255,255,.18); }
.classic-item { display: grid; grid-template-columns: 2.5rem 1fr; padding: 1.45rem 0; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.classic-item > span { color: var(--cream-yellow); font-size: .7rem; }
.classic-item h3 { margin-bottom: .35rem; font-size: 1.18rem; }
.classic-item p { max-width: 34rem; margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; }
.classic-link { text-decoration: none; border-radius: .35rem; }
.classic-link h3 { display: flex; justify-content: space-between; gap: 1rem; }
.classic-link h3 i { color: var(--cream-yellow); font-style: normal; font-weight: 400; }
.classic-link:hover { background: rgba(255,255,255,.045); }
.classic-link:focus-visible { outline: 2px solid var(--cream-yellow); outline-offset: 5px; }

.story { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1fr); gap: clamp(3rem,8vw,7rem); }
.story-lead { margin-top: 0; color: var(--ink); font-size: clamp(1.08rem,1.8vw,1.28rem); line-height: 1.5; }
.story-copy > p:not(.story-lead) { color: var(--muted); }
.name-story { display: flex; flex-wrap: wrap; align-items: center; margin-top: 1.7rem; padding: 1.05rem; gap: .55rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--brown); background: var(--paper); }
.name-story strong { color: var(--olive-dark); font-size: 1.08rem; }
.story-notes { display: grid; margin-top: 1rem; gap: .8rem; }
.story-notes article { display: grid; grid-template-columns: auto 1fr; padding: 1rem; gap: .85rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,253,247,.72); }
.story-notes article > span { display: grid; width: 2.25rem; aspect-ratio: 1; border-radius: 50%; color: var(--cream); background: var(--brown); place-items: center; }
.story-notes article:nth-child(2) > span { background: var(--olive-dark); }
.story-notes h3 { margin: .05rem 0 .35rem; color: var(--olive-dark); font-size: 1rem; }
.story-notes p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.58; }

.location { padding-top: 0; background: var(--cream); }
.location-card { position: relative; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(17rem,.85fr); padding: clamp(2rem,6vw,4.5rem); overflow: hidden; gap: clamp(2rem,7vw,6rem); border-radius: var(--radius-lg); color: var(--cream); background: var(--brown); }
.location-card::after { position: absolute; top: -10rem; right: -8rem; width: 24rem; aspect-ratio: 1; border: 3rem solid rgba(241,230,178,.1); border-radius: 50%; content: ""; }
.location-copy, .location-details { position: relative; z-index: 1; }
.location h2 { color: var(--cream); }
.location-copy > p:not(.eyebrow) { max-width: 32rem; color: rgba(255,255,255,.75); }
.location-details { margin: 0; }
.location-details > div { padding-block: .95rem; border-bottom: 1px solid rgba(255,255,255,.2); }
.location-details > div:first-child { padding-top: 0; }
.location-details > div:last-child { border-bottom: 0; }
.location-details dt { margin-bottom: .25rem; color: var(--cream-yellow); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.location-details dd { margin: 0; }

.site-footer { padding: 3.2rem 0 calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.footer-top { display: grid; grid-template-columns: minmax(14rem,1fr) auto minmax(14rem,.75fr); align-items: start; gap: clamp(2rem,6vw,5rem); }
.footer-brand img { width: 10.5rem; height: 4.7rem; object-fit: contain; }
.footer-brand p { max-width: 24rem; margin: .55rem 0 0; color: var(--muted); font-size: .84rem; }
.footer-nav { display: grid; gap: .55rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 2.5rem; padding-top: 1rem; gap: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }

.whatsapp-float { position: fixed; z-index: 60; right: max(1rem,env(safe-area-inset-right)); bottom: max(1rem,env(safe-area-inset-bottom)); display: grid; width: 3.35rem; aspect-ratio: 1; border: .24rem solid var(--cream); border-radius: 50%; color: white; background: #2e7250; box-shadow: 0 9px 25px rgba(49,48,33,.22); place-items: center; transition: transform 180ms ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-3px); }
.whatsapp-float svg { width: 1.5rem; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(.9rem); transition: opacity 550ms ease, transform 550ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .nav-toggle { display: block; }
  .header-whatsapp { display: none; }
  .primary-nav {
    position: absolute;
    top: calc(100% + .45rem);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: .55rem;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { min-height: 3rem; padding: .72rem .8rem; border-radius: .7rem; color: var(--ink); font-size: .94rem; }
  .primary-nav a:hover, .primary-nav a:focus-visible { background: var(--cream); }
  .primary-nav a::after { display: none; }
  .hero-grid, .classics-grid, .story-grid, .location-card { grid-template-columns: 1fr; }
  .hero-copy { max-width: 43rem; }
  .hero-visual { width: min(82%,28rem); margin-inline: auto; justify-self: center; }
  .section-heading { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card-featured { grid-row: span 2; }
  .product-card { min-height: 22rem; }
  .product-card-featured { min-height: 45rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  }

@media (max-width: 680px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .section { padding-block: 4rem; }
  .header-inner { min-height: 4.35rem; gap: .65rem; }
  .brand { width: 7.5rem; height: 3.5rem; }
  .header-actions { gap: .45rem; }
  .language-switcher button { min-width: 1.9rem; min-height: 2rem; padding-inline: .32rem; }
  .nav-toggle { width: 2.55rem; height: 2.55rem; padding: .58rem; }
  .hero { padding-top: 3.2rem; }
  h1 { font-size: clamp(2.15rem,9.5vw,2.55rem); }
  h2 { font-size: clamp(1.9rem,8.7vw,2.55rem); }
  .hero-actions .button { flex: 1 1 11rem; }
  .hero-visual { width: calc(100% - 1.5rem); }
  .hero-caption { left: -.75rem; }
  .hero-seal { position: static; width: 3.5rem; margin: 0 0 .75rem; }
  .entry-nav { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .entry-nav a { min-height: 4.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .entry-nav a:last-child { border-bottom: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card-featured { min-height: 0; aspect-ratio: 1.05; }
  .classic-item { grid-template-columns: 2rem 1fr; }
  .location-card { padding: 2rem 1.25rem; border-radius: 1.5rem; }
  .location-actions .button { flex: 1 1 12rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Registered mark and approved desktop logo alignment */
.brand {
  position: relative;
  transform: translateY(-.68rem);
}
.registered-mark {
  position: absolute;
  top: 54%;
  left: 76%;
  right: auto;
  color: var(--olive-dark);
  font-size: .58rem;
  font-weight: 600;
  line-height: 1;
}

@media (min-width: 961px) {
  .brand { transform: translateY(-.72rem); }
}

.product-copy .product-link {
  display: inline-flex;
  margin-top: .65rem;
  color: var(--cream-yellow);
  font-size: .73rem;
  font-weight: 500;
  text-underline-offset: .22rem;
  text-decoration-line: underline;
}

/* Flavor preview */
.flavor-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 4%, rgba(241, 230, 178, .82) 0 11rem, transparent 11.1rem),
    linear-gradient(180deg, #f7f0e4 0%, var(--cream) 100%);
}

.flavor-preview::before {
  position: absolute;
  top: 7rem;
  left: -8rem;
  width: 18rem;
  aspect-ratio: 1;
  border: 2.7rem solid rgba(149, 153, 109, .07);
  border-radius: 50%;
  content: "";
}

.flavor-heading, .flavor-category-key, .home-flavor-grid, .flavor-preview-footer { position: relative; z-index: 1; }

.flavor-category-key {
  display: flex;
  flex-wrap: wrap;
  margin: -.8rem 0 2rem;
  gap: .55rem;
}

.flavor-category-key > span {
  display: inline-flex;
  align-items: center;
  padding: .45rem .7rem;
  gap: .42rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 247, .7);
  font-size: .72rem;
}

.category-dot { width: .48rem; height: .48rem; border-radius: 50%; }
.category-dot-milk { background: var(--terracotta); }
.category-dot-yogurt { background: var(--olive); }
.category-dot-sorbet { background: #d7a529; }

.home-flavor-grid, .catalog-flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.flavor-card, .catalog-flavor-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(79, 84, 52, .1);
  border-radius: 1.5rem;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 15px 42px rgba(74, 54, 34, .08);
  isolation: isolate;
}

.flavor-card { min-height: 25rem; padding: 1rem; }
.home-flavor-grid > button.flavor-card { width: 100%; text-align: left; cursor: pointer; }
.catalog-flavor-card { width: 100%; min-height: 28rem; padding: 1rem; font: inherit; cursor: pointer; }
.flavor-card-milk { background: linear-gradient(145deg, #fffaf0, #eee5d5); }
.flavor-card-yogurt { background: linear-gradient(145deg, #f8f3df, #e2e5c9); }
.flavor-card-sorbet { background: linear-gradient(145deg, #fff5d2, #f0d997); }

.flavor-card::after, .catalog-flavor-card::after {
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -24%;
  width: 78%;
  aspect-ratio: 1;
  border: 1.7rem solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  content: "";
}

.flavor-index {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  color: var(--brown);
  font-size: .68rem;
  letter-spacing: .08em;
}

.flavor-image, .catalog-flavor-image {
  display: grid;
  min-height: 0;
  place-items: center;
}

.flavor-image { height: 19rem; margin-top: -.15rem; }
.catalog-flavor-image { height: 21rem; }
.flavor-image img, .catalog-flavor-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(75, 52, 31, .13));
  transition: transform 400ms cubic-bezier(.2,.75,.25,1);
}
.flavor-card:hover img, .flavor-card:focus-visible img, .catalog-flavor-card:hover img, .catalog-flavor-card:focus-visible img { transform: translateY(-.3rem) scale(1.035); }

.flavor-card-copy, .catalog-flavor-copy {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: auto;
  padding: .85rem .9rem;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 1rem;
  background: rgba(255, 253, 247, .7);
  backdrop-filter: blur(10px);
}

.flavor-card-copy span, .catalog-flavor-copy span { grid-column: 1; color: var(--brown); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.flavor-card-copy h3, .catalog-flavor-copy h3 { grid-column: 1; margin: .16rem 0 0; color: var(--olive-dark); font-size: 1.12rem; }
.flavor-card-copy i, .catalog-flavor-copy i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--brown); font-style: normal; }

.flavor-preview-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 1.6rem;
  padding: 1.25rem;
  gap: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255,253,247,.72);
}
.flavor-preview-footer p { max-width: 45rem; margin: 0; color: var(--muted); font-size: .86rem; }

/* Dedicated flavors page */
.flavors-page-main { background: var(--cream); }
.flavor-page-hero {
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(241,230,178,.75) 0 10rem, transparent 10.1rem),
    linear-gradient(180deg, var(--cream), #f2e9da);
}
.flavor-page-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(25rem, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.flavor-page-copy h1 { max-width: 12ch; }
.back-link { display: inline-flex; align-items: center; margin-bottom: 2rem; gap: .45rem; color: var(--muted); font-size: .8rem; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { color: var(--brown); }

.flavor-collage { position: relative; min-height: 31rem; }
.flavor-collage::before { position: absolute; top: 5%; right: 4%; width: 78%; aspect-ratio: 1; border-radius: 50%; content: ""; background: rgba(255,253,247,.65); box-shadow: var(--shadow); }
.collage-scoop { position: absolute; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(74,54,34,.16)); }
.collage-scoop-one { z-index: 2; bottom: -4%; left: -2%; width: 61%; transform: rotate(-5deg); }
.collage-scoop-two { z-index: 1; top: -4%; right: -2%; width: 57%; transform: rotate(6deg); }
.collage-scoop-three { z-index: 3; right: 9%; bottom: -8%; width: 45%; }

.flavor-catalog-section { background: var(--paper); }
.catalog-toolbar { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 2rem; gap: 2rem; }
.catalog-toolbar h2 { margin-bottom: 0; }
.flavor-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.flavor-filters button { min-height: 2.5rem; padding: .52rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--cream); cursor: pointer; font-size: .75rem; }
.flavor-filters button[aria-pressed="true"] { border-color: var(--olive-dark); color: white; background: var(--olive-dark); }

.availability-card { display: grid; grid-template-columns: auto 1fr; align-items: start; margin-top: 1.5rem; padding: 1.3rem; gap: 1rem; border-radius: 1.25rem; color: var(--cream); background: var(--olive-dark); }
.availability-card > span { color: var(--cream-yellow); font-size: 1.25rem; }
.availability-card h2 { margin: 0 0 .4rem; color: var(--cream); font-size: 1.2rem; letter-spacing: -.01em; }
.availability-card p { max-width: 52rem; margin: 0; color: rgba(255,255,255,.72); font-size: .86rem; }

.flavor-dialog {
  width: min(62rem, calc(100% - 2rem));
  max-height: min(48rem, calc(100dvh - 2rem));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 1.75rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(33,31,22,.35);
}
.flavor-dialog::backdrop { background: rgba(37, 38, 24, .68); backdrop-filter: blur(6px); }
.flavor-dialog { overscroll-behavior: contain; }
.dialog-close { position: sticky; z-index: 4; top: .8rem; float: right; width: 2.7rem; height: 2.7rem; margin: .8rem .8rem -3.5rem 0; border: 1px solid var(--line); border-radius: 50%; color: var(--olive-dark); background: rgba(255,253,247,.9); cursor: pointer; font-size: 1.45rem; line-height: 1; }
.dialog-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr); min-height: 34rem; }
.dialog-visual { display: grid; padding: 2rem; background: linear-gradient(145deg, #f7edda, #e8e3c7); place-items: center; }
.dialog-visual img { width: 100%; max-height: 30rem; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(74,54,34,.16)); }
.dialog-copy { align-self: center; padding: clamp(2rem,5vw,4rem); }
.dialog-copy h2 { margin-bottom: 1rem; }
.dialog-copy > p:not(.eyebrow):not(.dialog-note) { color: var(--muted); font-size: .98rem; line-height: 1.7; }
.dialog-note { margin: 1.2rem 0; color: var(--brown); font-size: .76rem; }

@media (max-width: 1080px) {
  .primary-nav { gap: 1rem; }
  .home-flavor-grid, .catalog-flavor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flavor-page-hero-grid { grid-template-columns: minmax(0, .85fr) minmax(21rem, 1fr); }
}

@media (max-width: 960px) {
  .flavor-page-hero-grid { grid-template-columns: 1fr; }
  .flavor-page-copy { max-width: 42rem; }
  .flavor-collage { width: min(100%, 38rem); min-height: 27rem; margin-inline: auto; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .flavor-filters { justify-content: flex-start; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-visual { min-height: 22rem; }
}

@media (max-width: 680px) {
  .registered-mark { top: 54%; left: 77%; right: auto; }
  .home-flavor-grid, .catalog-flavor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .home-flavor-grid > .flavor-card:last-child:nth-child(odd),
  .catalog-flavor-grid > .catalog-flavor-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - .325rem);
  }
  .flavor-card, .catalog-flavor-card { min-height: 0; padding: .55rem; border-radius: 1.15rem; }
  .flavor-image, .catalog-flavor-image { height: auto; aspect-ratio: 1; }
  .flavor-index { top: .68rem; left: .68rem; }
  .flavor-card-copy, .catalog-flavor-copy { padding: .62rem; border-radius: .78rem; }
  .flavor-card-copy span, .catalog-flavor-copy span { font-size: .56rem; }
  .flavor-card-copy h3, .catalog-flavor-copy h3 { font-size: .88rem; line-height: 1.12; }
  .flavor-preview-footer { grid-template-columns: 1fr; padding: 1rem; }
  .flavor-preview-footer .button { width: 100%; }
  .flavor-category-key { margin-top: 0; }
  .flavor-page-hero-grid { gap: 1.35rem; }
  .flavor-collage {
    display: none;
  }
  .flavor-page-hero { padding-top: 2.4rem; }
  .flavor-page-copy h1 { font-size: clamp(2.15rem, 9.5vw, 2.7rem); }
  .catalog-toolbar { margin-bottom: 1.3rem; }
  .flavor-filters { flex-wrap: nowrap; margin-inline: -.62rem; padding: 0 .62rem .35rem; overflow-x: auto; scrollbar-width: none; }
  .flavor-filters::-webkit-scrollbar { display: none; }
  .flavor-filters button { flex: 0 0 auto; }
  .flavor-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 1.25rem; }
  .dialog-visual { min-height: 17rem; padding: 1rem; }
  .dialog-visual img { max-height: 16rem; }
  .dialog-copy { padding: 1.35rem; }
}

/* Expanded menu worlds */
.menu-more-heading { margin: 3rem 0 1.2rem; }
.menu-more-heading h3 { margin-bottom: 0; color: var(--olive-dark); font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.menu-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.menu-category-card {
  display: grid;
  min-width: 0;
  padding: .75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  color: var(--ink);
  background: linear-gradient(145deg, #fffaf0, #eee7d8);
  box-shadow: 0 12px 35px rgba(74,54,34,.07);
  cursor: pointer;
  text-align: left;
}
.menu-category-image { display: grid; aspect-ratio: 1; place-items: center; }
.menu-category-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 13px 16px rgba(74,54,34,.13)); transition: transform 300ms ease; }
.menu-category-card:hover img, .menu-category-card:focus-visible img { transform: translateY(-.2rem) scale(1.025); }
.menu-category-copy { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: .75rem .8rem; gap: .5rem; border-radius: .85rem; background: rgba(255,253,247,.78); }
.menu-category-copy strong { color: var(--olive-dark); font-size: .92rem; font-weight: 500; }
.menu-category-copy i { color: var(--brown); font-style: normal; }
.menu-dialog .dialog-visual { background: linear-gradient(145deg, #f8efdc, #e1e3c8); }

.flavor-home-filters button {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: .42rem .68rem;
  gap: .42rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,253,247,.7);
  cursor: pointer;
  font-size: .72rem;
}
.flavor-home-filters button[aria-pressed="true"] { border-color: var(--olive-dark); color: white; background: var(--olive-dark); }

/* Spaghetti-Eis and waffle catalogs */
.specialty-page-main { background: var(--cream); }
.specialty-hero {
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(241,230,178,.78) 0 10rem, transparent 10.1rem),
    linear-gradient(180deg, var(--cream), #f1e8d7);
}
.waffles-hero { background: radial-gradient(circle at 92% 14%, rgba(197,138,87,.14) 0 13rem, transparent 13.1rem), linear-gradient(180deg, var(--cream), #f4ead9); }
.specialty-hero-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(25rem,1.1fr); align-items: center; gap: clamp(2rem,6vw,5rem); }
.specialty-hero-art { position: relative; display: grid; min-height: 31rem; place-items: center; }
.specialty-hero-art::before { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; content: ""; background: rgba(255,253,247,.7); box-shadow: var(--shadow); }
.specialty-hero-art img { position: relative; z-index: 1; width: min(100%,33rem); max-height: 32rem; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(74,54,34,.16)); }
.specialty-catalog { background: var(--paper); }
.spaghetti-origin { background: var(--paper); }
.origin-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.origin-facts article { min-width: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--cream); }
.origin-facts strong { display: block; margin-bottom: .45rem; color: var(--brown); font-family: Georgia,serif; font-size: clamp(1.35rem,2.5vw,2rem); }
.origin-facts article:nth-child(2) strong { color: var(--olive); }
.origin-facts p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.origin-story { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 1rem; padding: clamp(1.4rem,3vw,2.2rem); gap: clamp(1.5rem,4vw,3rem); border-radius: 1.4rem; background: #efe6d7; }
.origin-story article + article { padding-left: clamp(1.5rem,4vw,3rem); border-left: 1px solid rgba(126,113,77,.24); }
.origin-story h3 { margin: 0 0 .65rem; color: var(--brown); font-family: Georgia,serif; font-size: clamp(1.3rem,2.2vw,1.85rem); }
.origin-story p { margin: 0; color: var(--ink); font-size: .88rem; line-height: 1.65; }
.specialty-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.specialty-card { position: relative; display: grid; min-width: 0; padding: .8rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.4rem; color: var(--ink); background: linear-gradient(145deg,#fffaf0,#ece5d6); box-shadow: 0 15px 42px rgba(74,54,34,.08); cursor: pointer; text-align: left; }
.specialty-index { position: absolute; z-index: 2; top: .9rem; left: .9rem; color: var(--brown); font-size: .66rem; letter-spacing: .08em; }
.specialty-image { display: grid; aspect-ratio: 1; place-items: center; }
.specialty-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(75,52,31,.13)); transition: transform 350ms ease; }
.specialty-card:hover img, .specialty-card:focus-visible img { transform: translateY(-.25rem) scale(1.03); }
.specialty-copy { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: .78rem .8rem; gap: .5rem; border: 1px solid rgba(255,255,255,.58); border-radius: .9rem; background: rgba(255,253,247,.76); }
.specialty-copy strong { color: var(--olive-dark); font-size: .94rem; font-weight: 500; line-height: 1.2; }
.specialty-copy i { color: var(--brown); font-style: normal; }

.process-section { background: linear-gradient(180deg,#f3eadc,var(--cream)); }
.process-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 0; padding: 0; gap: .75rem; list-style: none; }
.process-grid li { min-width: 0; padding: .45rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem; background: rgba(255,253,247,.88); box-shadow: 0 10px 28px rgba(74,54,34,.06); }
.process-grid figure { aspect-ratio: 1.072; margin: 0; overflow: hidden; border-radius: .84rem; background: #eadcc8; }
.process-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.process-copy { display: grid; grid-template-columns: auto 1fr; align-items: start; padding: .85rem .62rem .7rem; gap: .7rem; }
.process-copy > span { display: grid; width: 2rem; aspect-ratio: 1; border-radius: 50%; color: white; background: var(--terracotta); font-size: .7rem; place-items: center; }
.process-grid li:nth-child(even) .process-copy > span { background: var(--olive); }
.process-grid strong { display: block; color: var(--olive-dark); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.process-grid p { margin: .45rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.process-story, .waffle-story { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); align-items: center; margin-top: 2rem; padding: clamp(1.5rem,4vw,2.5rem); gap: 2rem; border-radius: 1.5rem; color: var(--cream); background: var(--brown); }
.process-story h2, .waffle-story h2 { margin: 0; color: var(--cream); font-size: clamp(1.5rem,3vw,2.35rem); }
.process-story p:last-child, .waffle-story p { margin: 0; color: rgba(255,255,255,.76); }
.waffle-story { grid-template-columns: auto 1fr; background: var(--olive-dark); }
.waffle-story > span { color: var(--cream-yellow); font-size: 2.2rem; }
.waffle-story h2 { margin-bottom: .45rem; }

@media (max-width: 1080px) {
  .menu-category-grid, .specialty-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .specialty-hero-grid { grid-template-columns: minmax(0,.85fr) minmax(21rem,1fr); }
  .process-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 960px) {
  .specialty-hero-grid { grid-template-columns: 1fr; }
  .specialty-hero-art { width: min(100%,38rem); min-height: 25rem; margin-inline: auto; }
  .process-story { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .menu-category-grid, .specialty-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .menu-category-card, .specialty-card { padding: .5rem; border-radius: 1rem; }
  .menu-category-copy, .specialty-copy { padding: .6rem; border-radius: .72rem; }
  .menu-category-copy strong, .specialty-copy strong { font-size: .78rem; }
  .specialty-hero { padding-top: 2.4rem; }
  .specialty-hero-art { min-height: 18rem; }
  .specialty-hero-art img { max-height: 19rem; }
  .origin-facts, .origin-story { grid-template-columns: 1fr; }
  .origin-story article + article { padding: 1.3rem 0 0; border-top: 1px solid rgba(126,113,77,.24); border-left: 0; }
  .process-grid { grid-template-columns: 1fr; gap: .55rem; }
  .process-grid li { display: grid; grid-template-columns: minmax(7.6rem,40%) 1fr; align-items: stretch; padding: .4rem; gap: .25rem; }
  .process-grid figure { height: 100%; min-height: 8rem; aspect-ratio: auto; }
  .process-copy { align-self: center; padding: .7rem .55rem; }
  .process-grid p { margin-top: .18rem; }
  .process-story, .waffle-story { padding: 1.3rem; border-radius: 1.15rem; }
  .waffle-story { grid-template-columns: 1fr; gap: .7rem; }
  .flavor-home-filters { flex-wrap: nowrap; margin-inline: -.62rem; padding: 0 .62rem .35rem; overflow-x: auto; scrollbar-width: none; }
  .flavor-home-filters::-webkit-scrollbar { display: none; }
  .flavor-home-filters button { flex: 0 0 auto; }
}

/* Nuestro camino — editorial progress journal */
.journey-preview {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(217, 220, 198, .32) 64% 100%),
    var(--paper);
}
.journey-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, .9fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
}
.journey-preview-media { position: relative; aspect-ratio: 16 / 9; }
.journey-preview-media::before {
  position: absolute;
  z-index: 0;
  top: -1rem;
  right: -1.1rem;
  width: 42%;
  height: calc(100% + 2rem);
  border-radius: 0 3.5rem 3.5rem 0;
  content: "";
  background: var(--cream-yellow);
  opacity: .62;
}
.journey-preview-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 54%;
  border-radius: 1.4rem 1.4rem 5rem 1.4rem;
  box-shadow: var(--shadow);
}
.journey-preview-media img.journey-preview-cutout { object-fit: contain; border-radius: 0; box-shadow: none; }
.journey-chapter {
  position: absolute;
  z-index: 2;
  right: -1.2rem;
  bottom: -1.1rem;
  display: grid;
  width: 6.5rem;
  aspect-ratio: 1;
  border: .45rem solid var(--paper);
  border-radius: 50%;
  color: var(--cream);
  background: var(--brown);
  font-family: Georgia, serif;
  font-size: 1.65rem;
  line-height: 1;
  place-content: center;
  text-align: center;
}
.journey-chapter small {
  display: block;
  margin-bottom: .35rem;
  font-family: "Fredoka", ui-rounded, sans-serif;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.journey-preview-copy { max-width: 30rem; }
.journey-preview-copy h2 { color: var(--olive-dark); font-size: clamp(2rem, 4.3vw, 3.65rem); }
.journey-preview-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.journey-preview-meta {
  display: grid;
  margin: 1.6rem 0 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--terracotta);
  gap: .12rem;
  color: var(--olive-dark);
  font-size: .79rem;
}
.journey-preview-meta time { font-weight: 600; }

.legal-page { min-height: 60vh; background: #fcf9f1; }
.legal-content { max-width: 52rem; }
.legal-content h1 { margin: 0 0 1.5rem; color: var(--brown); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.5rem); overflow-wrap: anywhere; }
.legal-intro { color: var(--muted); }
.legal-company { margin: 2rem 0; padding: 1.5rem 0 1.5rem 1.4rem; border-left: 3px solid var(--terracotta); }
.legal-company h2 { color: var(--brown); font-size: 1.5rem; margin: 0 0 .7rem; }
.legal-company address { font-style: normal; }
.legal-company p { margin: 1.2rem 0 0; }
.legal-company a { color: var(--brown); overflow-wrap: anywhere; text-underline-offset: .2em; }
.legal-trademark { margin-bottom: 2rem; color: var(--muted); }
.timeline-page { background: var(--paper); }
.timeline-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at 91% 18%, rgba(241, 230, 178, .8) 0 10rem, transparent 10.1rem),
    linear-gradient(135deg, var(--cream) 0 66%, #ecebdc 66% 100%);
}
.timeline-hero::after {
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(132, 78, 38, .18);
  border-radius: 50%;
  content: "";
}
.timeline-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .42fr);
  align-items: end;
  gap: clamp(2.5rem, 9vw, 8rem);
}
.timeline-hero-copy h1 { max-width: 13ch; margin-bottom: 1.4rem; color: var(--brown); font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; }
.timeline-hero-copy h1 em { color: var(--terracotta); font-family: "Fredoka", ui-rounded, sans-serif; font-style: normal; font-weight: 500; }
.timeline-hero-copy > p:last-child { max-width: 40rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.75; }
.timeline-hero-note {
  position: relative;
  padding: 1.5rem 0 1.2rem 2rem;
  border-left: 1px solid var(--olive);
}
.timeline-hero-note > span {
  position: absolute;
  top: -2.5rem;
  left: 1.9rem;
  color: var(--terracotta);
  font-family: "Fredoka", ui-rounded, sans-serif;
  font-size: 2rem;
  font-weight: 600;
}
.timeline-hero-note p { margin: 0; color: var(--olive-dark); font-size: .88rem; line-height: 1.7; }

.timeline-section { background: var(--paper); }
.timeline-section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.timeline-section-heading h2 { max-width: 15ch; margin: 0; color: var(--brown); font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
.timeline-list { position: relative; }
.timeline-list::before {
  position: absolute;
  top: 1rem;
  bottom: 0;
  left: 2rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--olive), rgba(149, 153, 109, .08));
}
.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, .88fr) minmax(21rem, 1.12fr);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  gap: clamp(1.4rem, 4vw, 3.5rem);
}
.timeline-rail {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: grid;
  align-items: center;
}
.timeline-rail span {
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  border: .45rem solid var(--paper);
  border-radius: 50%;
  color: white;
  background: var(--olive);
  box-shadow: 0 0 0 1px var(--olive);
  font-size: .75rem;
  place-items: center;
}
.timeline-media { position: relative; width: 100%; max-width: 42rem; aspect-ratio: 16 / 9; margin: 0; }
.timeline-media::after {
  position: absolute;
  z-index: 0;
  top: 1rem;
  right: -1rem;
  width: 36%;
  height: calc(100% - 2rem);
  border-radius: 0 2.8rem 2.8rem 0;
  content: "";
  background: var(--olive-soft);
}
.timeline-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 54%;
  border-radius: 1.4rem 1.4rem 4.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.timeline-media-cutout::after { display:none; }
.timeline-media-cutout img { object-fit:contain; border-radius:0; box-shadow:none; }
.timeline-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: .6rem; }
.timeline-gallery figure { min-width: 0; margin: 0; text-align: center; }
.timeline-gallery figure:nth-child(2) { padding-top: 2rem; }
.timeline-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.timeline-gallery figcaption { margin-top: .5rem; color: var(--brown); font-size: .8rem; font-weight: 500; }
.timeline-entry-copy { padding: clamp(.4rem, 3vw, 2rem) 0; }
.timeline-entry-kicker { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 1rem; gap: .6rem 1rem; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.timeline-entry-kicker span { padding: .32rem .65rem; border-radius: 999px; color: var(--cream); background: var(--brown); }
.timeline-status { margin: 0 0 .6rem; color: var(--terracotta); font-size: .75rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.timeline-entry-copy h2 { margin-bottom: 1rem; color: var(--brown); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 700; }
.brand-wordmark { display: inline-block; white-space: nowrap; }
.brand-wordmark-luna { color: var(--olive); }
.brand-wordmark-deria { color: var(--terracotta); }
.timeline-entry-copy > p:not(.timeline-entry-kicker):not(.timeline-status):not(.timeline-location) { margin: 0; color: var(--muted); line-height: 1.78; }
.timeline-location { display: flex; align-items: center; margin: 1.5rem 0 0; gap: .55rem; color: var(--olive-dark); font-size: .8rem; font-weight: 500; }
.timeline-location span { color: var(--terracotta); font-size: 1.05rem; }
.timeline-follow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .72fr) auto;
  align-items: center;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  gap: clamp(1.5rem, 5vw, 4rem);
  border-radius: 1.5rem 1.5rem 4rem 1.5rem;
  color: var(--cream);
  background: var(--olive-deep);
}
.timeline-follow h2 { margin: 0; color: var(--cream); font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.timeline-follow > p { margin: 0; color: rgba(255, 253, 247, .72); font-size: .86rem; line-height: 1.65; }

@media (max-width: 1160px) {
  .primary-nav { gap: .8rem; }
  .primary-nav a { font-size: .8rem; }
}

@media (max-width: 960px) {
  .journey-preview { background: var(--paper); }
  .journey-preview-grid { grid-template-columns: 1fr; }
  .journey-preview-copy { max-width: 42rem; }
  .timeline-hero-grid { grid-template-columns: 1fr; }
  .timeline-hero-note { max-width: 34rem; }
  .timeline-entry { grid-template-columns: 4rem minmax(0, 1fr); }
  .timeline-entry-copy { grid-column: 2; max-width: 42rem; }
  .timeline-follow { grid-template-columns: 1fr; }
  .timeline-follow .button { justify-self: start; }
}

@media (max-width: 680px) {
  .journey-preview-grid { gap: 2.7rem; }
  .journey-preview-media img { border-radius: 1rem 1rem 3rem 1rem; }
  .journey-preview-media::before { display: none; }
  .journey-chapter { right: -.4rem; bottom: -.9rem; width: 5.4rem; border-width: .35rem; font-size: 1.35rem; }
  .journey-preview-copy h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .timeline-hero { padding-block: 3.3rem 4rem; }
  .timeline-hero-copy h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .timeline-hero-note { margin-left: .5rem; }
  .timeline-section-heading { grid-template-columns: 1fr; }
  .timeline-list::before { left: .72rem; }
  .timeline-entry { grid-template-columns: 1.45rem minmax(0, 1fr); align-items: start; gap: .8rem; }
  .timeline-rail span { width: 1.45rem; border-width: .3rem; color: transparent; font-size: 0; }
  .timeline-media, .timeline-entry-copy { grid-column: 2; }
  .timeline-media::after { display: none; }
  .timeline-media img { border-radius: .9rem .9rem 2.7rem .9rem; }
  .timeline-entry-copy h2 { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .timeline-follow { border-radius: 1.2rem 1.2rem 2.8rem 1.2rem; }
  .timeline-follow .button { width: 100%; }
}

/* Shared social links: preserve the footer grid and original visual language. */
.footer-socials { display: grid; gap: .65rem; min-width: 0; }
.footer-social-link { display: grid; grid-template-columns: 1.1rem 1fr auto; align-items: center; gap: .75rem; padding: .5rem 0; font-size: .9rem; text-decoration: none; border: 0; background: none; }
.footer-social-link svg { width: 1.1rem; height: 1.1rem; }
.footer-social-link:hover, .footer-social-link:focus-visible { color: var(--olive-dark); }
.footer-social-link:hover span:first-of-type { text-decoration: underline; text-underline-offset: .2em; }
.country-flag { display: inline-block; font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: .95em; white-space: nowrap; }
@media (min-width: 641px) and (max-width: 960px) { .footer-socials { grid-column: 1 / -1; max-width: 24rem; } }

/* Five numbered categories: three then two, never five narrow cards. */
.product-grid-five { grid-template-columns:repeat(6,minmax(0,1fr)); }
.product-grid-five .product-card { grid-column:span 2; grid-row:auto; height:29rem; min-height:0; }
.product-grid-five .product-card:nth-child(n+4) { grid-column:span 3; }
.product-card-cakes { display:block; color:inherit; text-decoration:none; }
.product-card-cakes img { object-fit:contain; padding:1.4rem 1.4rem 8rem; }
.product-card-cakes:focus-visible { outline:3px solid var(--brown); outline-offset:5px; }
@media(max-width:960px) { .product-grid-five { grid-template-columns:repeat(2,minmax(0,1fr)); } .product-grid-five .product-card,.product-grid-five .product-card:nth-child(n+4) { grid-column:auto; } .product-grid-five .product-card:last-child { grid-column:1 / -1; } }
@media(max-width:640px) { .product-grid-five { grid-template-columns:1fr; } .product-grid-five .product-card { height:auto; aspect-ratio:1.05; } .product-grid-five .product-card:last-child { grid-column:auto; } }
/* Menu 04 joins the existing numbered product cards. */
.product-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card-copas { display: block; color: inherit; text-decoration: none; }
.product-card-copas img { object-fit: contain; padding: 1.2rem 1.2rem 7rem; }
.product-card-copas:focus-visible { outline: 3px solid var(--brown); outline-offset: 5px; }
@media (max-width: 1100px) { .product-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-grid-four .product-card-featured { grid-row: auto; min-height: 29rem; } }
@media (max-width: 640px) { .product-grid-four { grid-template-columns: 1fr; } .product-grid-four .product-card-featured { min-height: 0; } }

/* Compact home teaser: four across on desktop, 2x2 on phones. */
.home-flavor-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-flavor-grid .flavor-card:active img,.home-flavor-grid .flavor-card.is-selected img{transform:translateY(-.3rem) scale(1.035)}
@media(max-width:960px){.home-flavor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(hover:none){.home-flavor-grid .flavor-card:hover:not(:active):not(:focus-visible):not(.is-selected) img{transform:none}.home-flavor-grid .flavor-image img{transition-duration:180ms}}
@media(prefers-reduced-motion:reduce){.home-flavor-grid .flavor-image img{transition:none!important;transform:none!important}}

/* Home simplification: one linked hero and a short editorial classics block. */
.hero-spaghetti-link{display:block;color:inherit;text-decoration:none}
.hero-spaghetti-link:focus-visible{outline:3px solid var(--brown);outline-offset:7px;border-radius:1.5rem}
.hero-spaghetti-link .hero-caption i{font-style:normal;margin-left:.4rem}
.hero-spaghetti-link .hero-image-wrap img{transition:transform 220ms ease}
.hero-spaghetti-link:is(:hover,:focus-visible,:active) .hero-image-wrap img{transform:translateY(-.2rem) scale(1.035)}
.classics-story-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(2rem,6vw,5rem);align-items:center}
.classics-story-text{max-width:38rem;margin:0;color:rgba(255,255,255,.85);font-size:1.06rem;line-height:1.8}
#clasicos{padding-block:clamp(2.5rem,6vw,5rem)}
@media(max-width:850px){.classics-story-grid{grid-template-columns:1fr;gap:1rem}.classics-story-grid h2{margin-bottom:0}}
@media(hover:none){.hero-spaghetti-link:hover:not(:active):not(:focus-visible) .hero-image-wrap img{transform:none}}
@media(prefers-reduced-motion:reduce){.hero-spaghetti-link .hero-image-wrap img{transition:none!important;transform:none!important}}
