/* =========================================================
   Gelats Moyà · Edición editorial
   Aesop / Apartamento · Variable fonts · Scroll-driven anims
   ========================================================= */

@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@property --pink-wash {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@property --line-width {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

:root {
  --ink: #1A1D4A;
  --ink-soft: #2E316B;
  --pink: #F4B3EA;
  --pink-pale: #F9D5F0;
  --paper: #F5F0E6;
  --paper-deep: #ECE3D0;
  --paper-warm: #EFE7D6;

  --ink-72: color-mix(in oklab, var(--ink) 72%, transparent);
  --ink-55: color-mix(in oklab, var(--ink) 55%, transparent);
  --ink-40: color-mix(in oklab, var(--ink) 40%, transparent);
  --ink-22: color-mix(in oklab, var(--ink) 22%, transparent);
  --ink-12: color-mix(in oklab, var(--ink) 12%, transparent);

  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container-narrow: 720px;
  --container-wide: 1180px;

  --sec-pad-y: clamp(64px, 9vw, 96px);
  --sec-pad-x: clamp(20px, 4vw, 48px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga', 'calt';
}

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

::selection {
  background: color-mix(in oklab, var(--pink) 70%, transparent);
  color: var(--ink);
}

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

.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;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 13px;
  z-index: 200;
  transition: top 0.3s var(--ease-out-expo);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 450;
  color: var(--ink-55);
}

.rule-before {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.rule-before::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ink-40);
}

.serif {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 70, 'WONK' 0;
  font-weight: 360;
  letter-spacing: -0.01em;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 22px var(--sec-pad-x);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  font-size: 12.5px;
  transition: padding 0.4s var(--ease-out-expo), background 0.4s ease;
}
.site-nav.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--ink-12);
}

.brand-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: 17px;
  font-variation-settings: 'opsz' 36, 'SOFT' 80, 'WONK' 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: font-variation-settings 0.7s var(--ease-out-expo);
}
.brand-mark:hover {
  font-variation-settings: 'opsz' 36, 'SOFT' 100, 'WONK' 1;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
  padding: 4px 0;
  transition: color 0.4s var(--ease-out-expo);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 0.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: width 0.5s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--ink-72); }
.nav-links a:hover::after { width: 20px; }

.lang-switcher {
  justify-self: end;
  display: flex;
  gap: 16px;
  font-size: 11px;
  font-weight: 450;
}
.lang-switcher a {
  color: var(--ink-40);
  letter-spacing: 0.05em;
  transition: color 0.4s var(--ease-out-expo);
}
.lang-switcher a:hover { color: var(--ink); }
.lang-switcher a[aria-current="true"] {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out-expo);
}

.hero {
  padding: clamp(40px, 7vw, 80px) var(--sec-pad-x) clamp(48px, 8vw, 96px);
  max-width: var(--container-wide);
  margin: 0 auto;
  position: relative;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(40px, 6vw, 64px);
  animation: fade-in 1s var(--ease-out-expo) 0.1s backwards;
}
.hero-issue {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}

.hero-title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 0;
  font-weight: 320;
  font-size: clamp(54px, 10vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 380;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: color-mix(in oklab, var(--ink) 84%, var(--pink) 40%);
}
.hero-title .word {
  display: inline-block;
  animation: word-rise 1.1s var(--ease-out-expo) backwards;
}
.hero-title .word:nth-child(1) { animation-delay: 0.18s; }
.hero-title .word:nth-child(2) { animation-delay: 0.30s; }
.hero-title .word:nth-child(3) { animation-delay: 0.42s; }

@keyframes word-rise {
  from { opacity: 0; transform: translateY(42%); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 8px;
  animation: fade-in 1.2s var(--ease-out-expo) 0.7s backwards;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 24, 'SOFT' 30;
  font-weight: 350;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
}
.hero-lede::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-size: 52px;
  line-height: 0.78;
  float: left;
  padding: 7px 10px 0 0;
  font-weight: 360;
  color: color-mix(in oklab, var(--ink) 68%, var(--pink) 55%);
}

.cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 450;
  color: var(--ink);
  padding: 14px 0;
  letter-spacing: 0.015em;
  position: relative;
  width: max-content;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.cta::after {
  content: '';
  position: absolute;
  left: 0; bottom: 8px;
  height: 0.5px;
  width: 100%;
  background: var(--ink);
  transform-origin: left center;
}
.cta:hover::after {
  animation: line-sweep 0.9s var(--ease-out-expo);
}
@keyframes line-sweep {
  0%   { transform: scaleX(1); transform-origin: right center; }
  49%  { transform: scaleX(0); transform-origin: right center; }
  50%  { transform: scaleX(0); transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}
.cta-arrow {
  display: inline-block;
  transition: transform 0.55s var(--ease-out-expo);
}
.cta:hover .cta-arrow { transform: translateX(8px); }

.hero-blob {
  position: absolute;
  right: clamp(-80px, -4vw, -40px);
  bottom: 80px;
  width: clamp(220px, 28vw, 360px);
  aspect-ratio: 1;
  background: var(--pink);
  border-radius: 50%;
  opacity: 0.5;
  z-index: -1;
  animation: blob-bob 11s ease-in-out infinite;
  filter: blur(0.5px);
}
@keyframes blob-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-18px) scale(1.04); }
}

.hero-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 24px;
  border-top: 0.5px solid var(--ink-12);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 450;
  color: var(--ink-55);
  animation: fade-in 1.4s var(--ease-out-expo) 1.1s backwards;
}
.hero-ribbon .serif-meta {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

.section {
  padding: var(--sec-pad-y) var(--sec-pad-x);
}

.section-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.section-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'SOFT' 60, 'WONK' 0;
  font-weight: 330;
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 26px;
}
.section-title em {
  font-style: italic;
  font-weight: 360;
  font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1;
}

.section-lede {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 24, 'SOFT' 30;
  font-weight: 350;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink-72);
  max-width: 540px;
  text-wrap: pretty;
}

.about {
  background: var(--paper-warm);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
}
.about-prose {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-72);
  max-width: 460px;
}
.about-prose p + p { margin-top: 18px; }

.stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 0.5px solid var(--ink-22);
}
.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  padding-top: 20px;
  border-bottom: 0.5px solid var(--ink-12);
  padding-bottom: 20px;
  transition: padding-left 0.6s var(--ease-out-expo);
}
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat:hover { padding-left: 8px; }

.stat-value {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 0;
  font-weight: 320;
  font-size: clamp(56px, 6vw, 78px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  min-width: 96px;
  transition: font-variation-settings 0.8s var(--ease-out-expo);
}
.stat:hover .stat-value {
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-style: italic;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 450;
}
.stat-label-body {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink-72);
}

.flavors {
  background: var(--paper);
}
.flavors-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.flavors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 24px);
}

.flavor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  animation: flavor-rise linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
@keyframes flavor-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.flavor-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-deep);
  position: relative;
}
.flavor-photo img,
.flavor-photo svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
}
.flavor:hover .flavor-photo img,
.flavor:hover .flavor-photo svg { transform: scale(1.04); }

.flavor-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 0%, transparent);
  transition: background 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.flavor:hover .flavor-photo::after {
  background: color-mix(in oklab, var(--ink) 4%, transparent);
}

.flavor-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 450;
}
.flavor-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

.flavor-name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 60;
  font-weight: 360;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.flavor-name em {
  font-style: italic;
  font-weight: 380;
  font-variation-settings: 'opsz' 48, 'SOFT' 100, 'WONK' 1;
}

.flavor-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-72);
}

.flavors-foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 56px);
}

/* ---- Full menu (24 flavors) ---- */
.flavors-full {
  background: var(--paper-deep);
}
.flavors-full-head {
  max-width: var(--container-narrow);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.flavors-full-head .section-lede {
  margin-top: 16px;
}

.flavors-group + .flavors-group {
  margin-top: clamp(56px, 7vw, 80px);
}
.flavors-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 0.5px solid var(--ink-22);
  margin-bottom: 8px;
}
.flavors-group-title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 60;
  font-weight: 360;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.flavors-group-title em {
  font-style: italic;
  font-weight: 380;
  font-variation-settings: 'opsz' 48, 'SOFT' 100, 'WONK' 1;
}
.flavors-group-count {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 13px;
  color: var(--ink-55);
  letter-spacing: -0.01em;
}

.flavors-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  counter-reset: flavor-row;
}
.flavors-list-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 0.5px solid var(--ink-12);
  counter-increment: flavor-row;
  opacity: 0;
  animation: flavor-rise linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 65%;
}
.flavors-list-item::before {
  content: counter(flavor-row, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink-40);
  padding-top: 6px;
}
.flavors-list-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'SOFT' 60;
  font-weight: 380;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.flavors-list-tag {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--pink-pale);
  padding: 3px 8px;
  border-radius: 2px;
}
.flavors-list-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-72);
  text-wrap: pretty;
}

.gallery {
  background: var(--paper-warm);
}
.gallery-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-deep);
}
.gallery-tall {
  grid-row: span 2;
  background: var(--ink);
}
.gallery-item picture,
.gallery-item picture img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out-expo), filter 1s ease;
}
.gallery-item:hover picture img { transform: scale(1.05); }

.gallery-item .gallery-label {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, white 78%, transparent);
  font-weight: 450;
  mix-blend-mode: difference;
}
.gallery-item.has-photo .gallery-label { color: white; mix-blend-mode: normal; }

.gallery-placeholder {
  background: color-mix(in oklab, var(--paper-deep) 100%, transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-placeholder .gallery-label {
  position: static;
  color: var(--ink-55);
  mix-blend-mode: normal;
}

.contact {
  background: var(--paper);
}
.contact-head {
  text-align: left;
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 540px;
}

.contact-map {
  height: clamp(280px, 38vw, 380px);
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 28px;
  position: relative;
  mask-image: radial-gradient(ellipse 95% 95% at center, black 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at center, black 75%, transparent 100%);
}
.contact-map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.05) brightness(1.02);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  padding-top: 28px;
  border-top: 0.5px solid var(--ink-12);
}

.contact-card .field-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 450;
  margin-bottom: 12px;
}

.contact-card address,
.contact-card .hours-list,
.contact-card .contact-info {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  font-style: normal;
}

.hours-list dt {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 2px;
}
.hours-list dd {
  color: var(--ink-72);
  margin-bottom: 14px;
  font-size: 14px;
}
.hours-list dd:last-child { margin-bottom: 0; }

.contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  position: relative;
  transition: color 0.4s var(--ease-out-expo);
}
.contact-info a:hover { color: var(--ink-72); }
.contact-info svg { flex-shrink: 0; opacity: 0.55; }

.directions-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}
.directions-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 0.5px;
  background: var(--ink);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}
.directions-link:hover::after {
  animation: line-sweep 0.9s var(--ease-out-expo);
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.contact-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 0.5px solid var(--ink-22);
  transition: border-color 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo);
}
.contact-social a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.contact-social svg { width: 14px; height: 14px; }

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 88px) var(--sec-pad-x) 32px;
  position: relative;
  overflow: hidden;
}

.footer-marquee {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 90, 'WONK' 1;
  font-weight: 320;
  font-size: clamp(64px, 11vw, 140px);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: color-mix(in oklab, var(--paper) 100%, var(--pink) 12%);
  display: flex;
  gap: 0.4em;
  animation: marquee 28s linear infinite;
  width: max-content;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.footer-marquee span {
  flex-shrink: 0;
}
.footer-marquee .dot {
  color: var(--pink);
  margin: 0 0.1em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 0.5px solid color-mix(in oklab, var(--paper) 18%, transparent);
}

.footer-col-title {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  font-weight: 450;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 320px;
  text-wrap: balance;
}

.footer-info p {
  font-size: 14px;
  color: color-mix(in oklab, var(--paper) 85%, transparent);
  margin-bottom: 4px;
  line-height: 1.6;
}
.footer-info a {
  color: color-mix(in oklab, var(--paper) 85%, transparent);
  position: relative;
  padding-bottom: 1px;
  transition: color 0.4s var(--ease-out-expo);
}
.footer-info a:hover { color: var(--paper); }

.footer-bottom {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 45%, transparent);
  font-weight: 450;
}
.footer-bottom a {
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  letter-spacing: 0.16em;
  transition: color 0.4s var(--ease-out-expo);
}
.footer-bottom a:hover { color: var(--paper); }

@media (max-width: 920px) {
  .hero-layout,
  .about-grid,
  .flavors-head {
    grid-template-columns: 1fr;
  }
  .flavors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flavors-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-tall { grid-row: span 2; }
}

@media (max-width: 720px) {
  :root {
    --sec-pad-y: clamp(48px, 12vw, 72px);
  }
  .site-nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .lang-switcher { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    padding: 24px var(--sec-pad-x);
    border-bottom: 0.5px solid var(--ink-12);
    align-items: flex-start;
  }

  .hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
  .hero-ribbon { flex-direction: column; gap: 12px; align-items: flex-start; }

  .flavors-grid { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr; gap: 8px; }
  .gallery-bento {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .gallery-tall { grid-row: span 1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .footer-marquee { animation: none; }
  html { scroll-behavior: auto; }
}
