/* Lolita Bakery · styles
   Colors come from the Lolita logo (gold on black) and the doll's headdress
   (pink, orange, yellow, teal). Talavera cobalt is decoration only. */

:root {
  --ink: #1b1410;
  --ink-2: #4a3d35;
  --muted: #6a5b52;
  --line: #ece2d7;
  --line-strong: #d9cabb;
  --paper: #ffffff;
  --warm: #fff8ef;

  --gold: #d59b42;
  --gold-deep: #8c5a10;
  --pink: #e2367c;
  --pink-deep: #b3175a;
  --orange: #f08a24;
  --orange-deep: #a24f0a;
  --yellow: #f7c232;
  --teal: #14a39a;
  --teal-deep: #0a6b65;
  --cobalt: #2457b3;
  --error: #b42318;

  --accent: var(--pink);
  --accent-deep: var(--pink-deep);
  --accent-tint: #fdebf2;

  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .7, .18, 1);
  --hdr: 64px;
  --tabs: 0px;
  --gutter: 20px;
  --max: 1180px;

  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' fill='%23fff'/%3E%3Cg fill='%232457B3'%3E%3Cpath d='M20 3.5c3.2 5 3.2 9.3 0 12.5-3.2-3.2-3.2-7.5 0-12.5zM20 36.5c-3.2-5-3.2-9.3 0-12.5 3.2 3.2 3.2 7.5 0 12.5zM3.5 20c5-3.2 9.3-3.2 12.5 0-3.2 3.2-7.5 3.2-12.5 0zM36.5 20c-5 3.2-9.3 3.2-12.5 0 3.2-3.2 7.5-3.2 12.5 0z'/%3E%3Ccircle cx='0' cy='0' r='7.5'/%3E%3Ccircle cx='40' cy='0' r='7.5'/%3E%3Ccircle cx='0' cy='40' r='7.5'/%3E%3Ccircle cx='40' cy='40' r='7.5'/%3E%3C/g%3E%3Cg fill='%23F7C232'%3E%3Ccircle cx='20' cy='20' r='3.6'/%3E%3Ccircle cx='0' cy='0' r='3.2'/%3E%3Ccircle cx='40' cy='0' r='3.2'/%3E%3Ccircle cx='0' cy='40' r='3.2'/%3E%3Ccircle cx='40' cy='40' r='3.2'/%3E%3C/g%3E%3Cg fill='%2314A39A'%3E%3Ccircle cx='10' cy='10' r='1.7'/%3E%3Ccircle cx='30' cy='10' r='1.7'/%3E%3Ccircle cx='10' cy='30' r='1.7'/%3E%3Ccircle cx='30' cy='30' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width: 820px) {
  :root { --hdr: 76px; --gutter: 32px; }
}
@media (max-width: 819px) {
  :root { --tabs: 46px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
svg { fill: currentColor; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--hdr) + var(--tabs) + 12px); }
[hidden] { display: none !important; }

.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Text arrives from translations.json; fade the page in once it is set */
html.js.i18n-wait body { opacity: 0; }
html.js.i18n-wait.is-ready body { opacity: 1; transition: opacity .45s var(--ease); }
html.is-switching [data-i18n], html.is-switching .menu, html.is-switching .catalog { opacity: .25; }
[data-i18n], .menu, .catalog { transition: opacity .18s ease; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 17px/1.1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn__icon { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary .btn__icon { color: var(--gold); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(27, 20, 16, .55); background: #000; }
  .btn--ghost:hover { transform: translateY(-2px); background: var(--warm); }
}
.btn:active { transform: translateY(0); }

.link-btn {
  font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
  min-height: 44px; padding: 0 4px;
}
.link-btn:hover { color: var(--ink); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--warm); color: var(--ink); transition: background-color .2s;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--line); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(27, 20, 16, .5); }
.header__bar {
  position: relative; z-index: 2; background: #fff;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  height: var(--hdr);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font: 400 24px/1 var(--display); letter-spacing: .01em; }
.brand__sub { font-size: 12.5px; font-weight: 600; color: var(--gold-deep); margin-top: 4px; letter-spacing: .02em; }
@media (min-width: 820px) {
  .brand__logo { width: 50px; height: 50px; }
  .brand__name { font-size: 27px; }
}

.nav { position: relative; justify-self: center; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: grid; place-items: center; min-height: 44px; padding: 0 14px;
  font-weight: 600; font-size: 16px; color: var(--ink-2); text-decoration: none; border-radius: 10px;
  transition: color .25s;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__ink {
  position: absolute; left: 0; bottom: -2px; height: 4px; width: 0; border-radius: 4px;
  background: var(--hdr-accent, var(--gold)); opacity: 0;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s, background-color .45s;
}
.nav.has-active .nav__ink { opacity: 1; }
html[data-area="bakery"] { --hdr-accent: var(--pink); }
html[data-area="coffee"] { --hdr-accent: var(--orange); }
html[data-area="clothing"] { --hdr-accent: var(--teal); }
html[data-area="visit"] { --hdr-accent: var(--gold); }

@media (max-width: 819px) {
  .header__bar { grid-template-columns: 1fr auto; }
  .nav {
    position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%; z-index: 1; justify-self: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s;
  }
  html.show-tabs .nav { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s; }
  .nav__list { display: grid; grid-template-columns: repeat(4, 1fr); width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; gap: 0; }
  .nav__link { min-height: 46px; padding: 0 4px; font-size: 15px; }
  .nav__ink { bottom: 0; height: 3px; }
  html:not(.show-tabs) { --tabs: 0px; }
}

.header__tools { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #f4ece3; color: var(--ink); transition: background-color .2s, transform .2s var(--ease);
}
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn:hover { background: var(--line); transform: translateY(-1px); }
.cart-btn__n {
  position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; background: var(--pink-deep); color: #fff; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 0 0 2px #fff;
}
.cart-btn__n.is-bump { animation: bump .4s var(--ease); }
.cart-btn__total { display: none; }
@media (min-width: 960px) {
  .tray { display: none; }
  .cart-btn.has-items { width: auto; padding: 0 18px 0 14px; border-radius: 999px; display: inline-flex; gap: 8px; background: var(--ink); color: #fff; }
  .cart-btn.has-items svg { color: var(--gold); }
  .cart-btn.has-items:hover { background: #000; }
  .cart-btn.has-items .cart-btn__total { display: inline; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
}
@media (max-width: 360px) { .brand__sub { display: none; } }

.lang {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: #f4ece3; border-radius: 999px; padding: 4px; margin-block: -4px;
}
.lang__btn {
  position: relative; z-index: 1; min-width: 46px; height: 44px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; letter-spacing: .04em; color: var(--ink-2);
  transition: color .3s;
}
.lang__btn[aria-pressed="true"] { color: #fff; }
.lang__thumb {
  position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: 44px; border-radius: 999px;
  background: var(--ink); transition: transform .4s var(--ease);
}
html[lang="es"] .lang__thumb { transform: translateX(100%); }

/* ---------- papel picado garland ---------- */
.garland { position: absolute; left: 0; right: 0; top: 0; height: var(--g-h, 96px); pointer-events: none; overflow: hidden; }
.garland__cord { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.garland__cord path { fill: none; stroke: #8e7a69; stroke-width: 1.6; }
.flag {
  position: absolute; top: 0; left: 0; width: var(--f-w, 54px); height: calc(var(--f-w, 54px) * 1.24);
  transform-origin: 50% 0;
  animation: sway var(--dur, 4s) ease-in-out var(--delay, 0s) infinite alternate;
}
.flag svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 0 rgba(27, 20, 16, .08)); }
@keyframes sway {
  from { rotate: calc(var(--tilt, 0deg) - 4deg); }
  to   { rotate: calc(var(--tilt, 0deg) + 4deg); }
}
.footer .garland .garland__cord path { stroke: #6a5a4d; }
.garland.is-off .flag { animation-play-state: paused; }
.garland--mini { position: relative; height: 62px; width: min(600px, 100% - var(--gutter) * 2); margin: 0 auto; overflow: visible; }
@media (max-width: 599px) { .garland--mini { height: 50px; } }

/* ---------- florals ---------- */
.floral { position: absolute; pointer-events: none; z-index: 0; }
html.js .floral { opacity: 0; transform: var(--fx, none) scale(.7) rotate(-10deg); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
html.js .floral.is-in { opacity: 1; transform: var(--fx, none); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(84px, 7.4vw, 98px); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.garland--hero { --g-h: clamp(72px, 7vw, 96px); }
.floral--hero-l { width: clamp(150px, 17vw, 240px); height: auto; aspect-ratio: 1; left: -46px; top: clamp(110px, 12vw, 150px); --fx: rotate(8deg); }
.floral--hero-r { width: clamp(150px, 17vw, 240px); height: auto; aspect-ratio: 1; right: -46px; top: clamp(120px, 13vw, 170px); --fx: scaleX(-1) rotate(4deg); }
@media (max-width: 699px) {
  .floral--hero-l, .floral--hero-r { width: 112px; top: auto; bottom: 26%; }
  .floral--hero-l { left: -52px; }
  .floral--hero-r { right: -52px; }
}

.hero__inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.hero__motto {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 clamp(18px, .6vw + 15px, 22px)/1.2 var(--display); color: var(--gold-deep);
}
.hero__motto-flower { width: 40px; height: 20px; flex: none; }
.hero__title {
  margin-top: 14px; max-width: 19ch;
  font: 400 clamp(2.55rem, min(1.2rem + 4.6vw, 9.2vh), 4.9rem)/1.02 var(--display);
  letter-spacing: -.005em; text-wrap: balance;
}
.hero__place { display: block; margin-top: .32em; font-size: .46em; line-height: 1.1; color: var(--pink-deep); }
.hero__lead { margin-top: 22px; max-width: 46ch; font-size: clamp(17.5px, 1.1vw + 13px, 20px); color: var(--ink-2); text-wrap: pretty; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 420px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
}

.hero__contact { margin-top: 16px; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 22px; font-size: 16px; color: var(--ink-2); }
.hero__contact-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__contact-item[hidden] { display: none; }
.hero__contact svg { width: 18px; height: 18px; color: var(--gold-deep); }
.hero__contact a { display: inline-block; padding-block: 12px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.hero__contact a:hover { color: var(--gold-deep); }
.doors { position: relative; z-index: 1; margin-top: clamp(36px, 3.4vw, 44px); }
.doors__label {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font: 400 clamp(20px, 1.2vw + 14px, 26px)/1.2 var(--display); color: var(--ink);
}
.doors__label::before, .doors__label::after { content: ""; flex: 0 1 80px; height: 1.5px; background: var(--line-strong); }
.doors__list {
  margin: 16px auto 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2.6vw, 32px);
}
.door { --c: var(--pink); --c-deep: var(--pink-deep); }
html.js .door { animation: door-in .9s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .12s); }
@keyframes door-in { from { opacity: 0; transform: translateY(28px); } }
.door--coffee { --c: var(--orange); --c-deep: var(--orange-deep); }
.door--clothing { --c: var(--teal); --c-deep: var(--teal-deep); }
.door__link { display: grid; justify-items: center; text-align: center; text-decoration: none; border-radius: 22px; }
.door__arch {
  --pad: clamp(4px, .6vw, 7px);
  position: relative; display: block; width: 100%; padding: var(--pad);
  border-radius: 999px 999px 18px 18px; background: var(--c);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.door__arch img, .door__arch video {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 12px 12px; background: var(--warm);
}
.door__arch video { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); opacity: 0; transition: opacity .5s; }
.door__arch video.is-playing { opacity: 1; }
.door__name { margin-top: 14px; font: 400 clamp(18px, 1.3vw + 12px, 28px)/1.1 var(--display); color: var(--ink); }
.door__sub { margin-top: 4px; font-size: clamp(14px, .4vw + 12px, 16px); color: var(--muted); line-height: 1.3; }
@media (hover: hover) {
  .door__link:hover .door__arch { transform: translateY(-8px); box-shadow: 0 22px 40px -22px var(--c); }
  .door__link:hover .door__name { color: var(--c-deep); }
}

/* ---------- talavera strip ---------- */
.tiles {
  position: relative; z-index: 2; height: 34px; background: var(--tile) center / 34px 34px repeat-x;
  border-block: 3px solid var(--accent);
}
html.js .tiles { transform: scaleX(.15); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; }
html.js .tiles.is-in { transform: none; opacity: 1; }

/* ---------- areas (bakery, coffee, clothing) ---------- */
.area { position: relative; padding-bottom: clamp(72px, 10vw, 128px); overflow-x: clip; }
.area--bakery { --accent: var(--pink); --accent-deep: var(--pink-deep); --accent-tint: #fdedf3; }
.area--coffee { --accent: var(--orange); --accent-deep: var(--orange-deep); --accent-tint: #fef1e4; }
.area--clothing { --accent: var(--teal); --accent-deep: var(--teal-deep); --accent-tint: #e5f5f3; }
.visit { --accent: var(--gold); --accent-deep: var(--gold-deep); --accent-tint: #fbf1e1; }

.floral--area { width: clamp(130px, 15vw, 210px); height: auto; aspect-ratio: 1; top: 54px; right: -40px; --fx: scaleX(-1) rotate(-6deg); }
.area--flip .floral--area { right: auto; left: -40px; --fx: rotate(-6deg); }
@media (min-width: 960px) {
  .floral--area { width: clamp(120px, 10vw, 160px); top: 48px; right: clamp(12px, 2vw, 40px); --fx: scaleX(-1) rotate(-4deg); }
}
.floral--end { width: clamp(96px, 10vw, 150px); height: auto; aspect-ratio: 1; right: 4px; bottom: -8px; --fx: rotate(160deg); }
.area__body { position: relative; }
.floral--end-flip { --fx: scaleX(-1) rotate(160deg); }

.area__grid { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 32px; }
.area__media { display: grid; justify-items: center; }

.window {
  width: min(100%, 420px); padding: 8px;
  border-radius: 999px 999px 30px 30px;
  background: var(--accent);
  box-shadow: 0 34px 60px -34px rgba(27, 20, 16, .45);
}
.window__frame {
  position: relative; overflow: hidden; border-radius: 999px 999px 22px 22px;
  box-shadow: 0 0 0 3px #fff; background: var(--warm);
}
.window__video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vid-btn {
  position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); transition: transform .2s var(--ease);
}
.vid-btn svg { width: 18px; height: 18px; }
.vid-btn:hover { transform: scale(1.06); }
.vid-btn__play { display: none; }
.vid-btn[aria-pressed="true"] .vid-btn__play { display: block; }
.vid-btn[aria-pressed="true"] .vid-btn__pause { display: none; }

@media (min-width: 960px) {
  .area__grid { grid-template-columns: minmax(320px, 5fr) 7fr; gap: clamp(48px, 6vw, 100px); align-items: start; }
  .area--flip .area__grid { grid-template-columns: 7fr minmax(320px, 5fr); }
  .area--flip .area__media { order: 2; }
  .area__media { position: sticky; top: calc(var(--hdr) + 28px); }
  .area__grid--wide { align-items: center; }
  .area__grid--wide .area__media { position: static; }
  .window { width: auto; }
  .window__video { height: min(calc(100svh - var(--hdr) - 96px), 720px); width: auto; aspect-ratio: 9 / 16; }
  .area__grid--wide .window__video { height: min(calc(100svh - var(--hdr) - 140px), 620px); }
}

.showcase { position: relative; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep);
}
.label::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); }
.showcase__title {
  margin-top: 14px; max-width: 16ch;
  font: 400 clamp(2.05rem, 1.25rem + 2.9vw, 3.55rem)/1.04 var(--display); text-wrap: balance;
}
.showcase__text { margin-top: 18px; max-width: 50ch; font-size: clamp(17px, .5vw + 15px, 19px); color: var(--ink-2); text-wrap: pretty; }
.jump {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--accent-deep); text-decoration: none;
}
.jump svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.jump:hover svg { transform: translateY(4px); }
.showcase--center { text-align: left; }
@media (min-width: 960px) {
  .area__body { padding-top: clamp(16px, 3vw, 48px); }
}

/* ---------- photo galleries (content/photos.json) ---------- */
.gallery { margin: clamp(28px, 4vw, 44px) 0 0; }
.gallery[hidden] { display: none; }

/* one photo = one button that opens the full-size viewer */
.ph {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
  border-radius: 14px; background: var(--warm); cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.ph picture, .ph img { display: block; width: 100%; height: 100%; }
.ph img { object-fit: cover; transition: transform .7s var(--ease); }
.ph__name {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  padding: 5px 11px; border-radius: 14px; background: rgba(255, 255, 255, .95);
  font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink);
  box-shadow: 0 4px 14px -6px rgba(27, 20, 16, .35);
  text-align: left; text-wrap: balance;
}
@media (max-width: 599px) { .mosaic .ph__name { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 9px; font-size: 13px; } }
.ph:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
@media (hover: hover) {
  .ph:hover img { transform: scale(1.04); }
}

/* the whole case, end to end */
.ph--band { aspect-ratio: 2.4 / 1; }
@media (min-width: 600px) { .ph--band { aspect-ratio: 1267 / 334; } }

.gallery__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; min-height: 44px; }
.ph--band + .gallery__head { margin-top: 14px; }
.gallery > .gallery__head:first-child { margin-top: 0; }
.gallery__title { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.gallery__nav { display: none; gap: 8px; }
.gallery__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color .2s, box-shadow .2s, opacity .2s;
}
.gallery__btn svg { width: 20px; height: 20px; }
.gallery__btn--prev svg { transform: scaleX(-1); }
.gallery__btn:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--accent-tint); }
.gallery__btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .gallery.is-scrollable .gallery__nav { display: flex; }
}

/* a row you swipe; on phones it runs to the screen edge so the next photo peeks in */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px;
  margin: 10px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; }
.rail .ph { aspect-ratio: 4 / 5; }
@media (min-width: 600px) { .rail { grid-auto-columns: 34%; } }
@media (min-width: 960px) {
  .rail { grid-auto-columns: calc((100% - 20px) / 2.6); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

/* ---------- cakes and celebrations ---------- */
.celebrate { position: relative; z-index: 1; margin-top: clamp(36px, 4vw, 56px); }
.celebrate > .divider { justify-items: start; margin: 0 0 8px -8px; }
.celebrate__head { display: grid; gap: 16px; }
.celebrate__title { margin-top: 12px; max-width: 18ch; font: 400 clamp(30px, 1.6vw + 22px, 46px)/1.06 var(--display); text-wrap: balance; }
.celebrate__text { max-width: 52ch; font-size: clamp(16.5px, .4vw + 15px, 18.5px); color: var(--ink-2); text-wrap: pretty; }
.celebrate__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) {
  .celebrate__head { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
  .celebrate__head > :last-child { padding-top: 38px; }
}
.celebrate .gallery { margin-top: clamp(28px, 4vw, 44px); }
.celebrate .next { margin-inline: auto; }
.celebrate .floral--end { bottom: -56px; }

/* phones: one big photo, then pairs. tablets: big + six. desktop: big + six in two rows */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mosaic .ph { aspect-ratio: 1; }
.mosaic > li:first-child { grid-column: 1 / -1; }
.mosaic > li:first-child .ph { aspect-ratio: 4 / 3; }
@media (min-width: 600px) {
  .mosaic { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mosaic > li:first-child { grid-column: span 2; grid-row: span 2; }
  .mosaic > li:first-child .ph { aspect-ratio: auto; height: 100%; }
  .mosaic > li:last-child { grid-column: 1 / -1; }
  .mosaic > li:last-child .ph { aspect-ratio: 2.4 / 1; }
}
@media (min-width: 960px) {
  .mosaic { grid-template-columns: repeat(5, 1fr); }
  .mosaic > li:last-child { grid-column: auto; }
  .mosaic > li:last-child .ph { aspect-ratio: 1; }
}

/* ---------- menus ---------- */
.menu-wrap { margin-top: clamp(32px, 4vw, 52px); }
.area__body .divider { justify-items: start; margin-left: -8px; }
.area__body .menu-title { text-align: left; }
.area__body .preorder-hint { margin-left: 0; }
.divider { display: grid; place-items: center; }
.divider svg { width: 120px; height: 72px; }
html.js .divider[data-reveal] { transform: none; }
html.js .divider[data-reveal] svg { transform: scale(.35) rotate(-35deg); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; }
html.js .divider[data-reveal].is-in svg { transform: none; opacity: 1; }
@media (min-width: 960px) {
  .area__media .window { transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .8s var(--ease); }
  .area.is-reading .area__media .window.is-in { transform: scale(.93); box-shadow: 0 24px 40px -30px rgba(27, 20, 16, .4); }
}
.menu-title { margin-top: 6px; text-align: center; font: 400 clamp(26px, 1.4vw + 20px, 34px)/1.1 var(--display); }
.preorder-hint {
  margin: 18px auto 0; max-width: 560px; display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 14px; background: var(--accent-tint); color: var(--ink);
  font-size: 15.5px; line-height: 1.45; font-weight: 500;
}
.preorder-hint svg { width: 26px; height: 26px; flex: none; color: var(--accent-deep); }

.cat { margin-top: 36px; }
.cat__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.cat__title { font: 400 clamp(22px, .8vw + 18px, 26px)/1.15 var(--display); }
.cat__note { font-size: 14.5px; color: var(--muted); font-weight: 500; text-align: right; }

.item {
  position: relative; display: grid; gap: 4px;
  padding: 14px 12px; margin-inline: -12px; border-radius: 14px;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.item::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; border-bottom: 1px dashed var(--line-strong); transition: opacity .3s; }
.item:last-child::after { display: none; }
.item:hover::after, .item.is-picked::after { opacity: 0; }
.item__top { display: flex; align-items: baseline; gap: 10px; }
.item__name { font-weight: 600; font-size: 18px; line-height: 1.3; transition: color .25s; }
.item__lead { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-5px); transition: border-color .3s; }
.item__price { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--accent-deep); white-space: nowrap; }
.item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.item__desc { font-size: 15.5px; color: var(--muted); line-height: 1.5; max-width: 52ch; }
.tag {
  display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.6;
  color: var(--accent-deep); background: var(--accent-tint);
}
.tag--seasonal { color: #6d4a00; background: #fdf0cc; }
.tag--note { color: var(--ink-2); background: var(--warm); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tag--today { display: inline-flex; align-items: center; gap: 4px; color: #0a5c57; background: #dff3f1; }
.tag--today svg { width: 13px; height: 13px; }

/* sizes / flavors with their own price, each with its own + */
.opts { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.opt {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 14px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 15px; transition: box-shadow .25s, background-color .25s;
}
.opt:not(:has(.qty)) { padding-right: 14px; }
.opt__text { display: inline-flex; align-items: baseline; gap: 8px; }
.opt__name { font-weight: 600; }
.opt__price { font-weight: 700; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.opt:has(.qty[data-count="0"]) { cursor: pointer; }
.opt .qty { height: 36px; }
.opt .qty__btn { width: 36px; height: 36px; }
.opt .qty[data-count="0"] .qty__more { box-shadow: none; background: var(--accent-tint); }
.opt:has(.qty:not([data-count="0"])) { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-tint); }
/* phones and tablets: full-size + buttons, and two pills per row with the price under the name */
@media (pointer: coarse), (max-width: 959px) {
  .opt .qty { height: 44px; }
  .opt .qty__btn { width: 44px; height: 44px; }
}
@media (max-width: 599px) {
  .opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .opt { justify-content: space-between; gap: 6px; min-height: 52px; padding: 4px 4px 4px 12px; border-radius: 16px; }
  .opt__text { display: grid; gap: 0; min-width: 0; line-height: 1.25; }
  .opt__name { font-size: 14.5px; overflow-wrap: anywhere; }
  .opt__price { font-size: 14px; }
  /* once picked, the − 1 + control needs the whole row */
  .opt:has(.qty:not([data-count="0"])) { grid-column: 1 / -1; }
}

/* category shortcuts on long menus */
/* min-width: 0 lets the side-scrolling shortcut row scroll instead of widening the whole menu column */
.area__body, .menu-wrap, .menu, .menu-jump { min-width: 0; }
.menu-jump { margin: 18px -4px 0; max-width: calc(100% + 8px); }
.menu-jump ul { display: flex; gap: 8px; overflow-x: auto; padding: 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.menu-jump ul::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .menu-jump ul { flex-wrap: wrap; overflow: visible; } }
.menu-jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--warm);
  transition: background-color .2s, color .2s;
}
.menu-jump a:hover { background: var(--accent-tint); color: var(--accent-deep); }
.menu-jump__pick { display: none; }
.menu-jump__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-jump select {
  width: 100%; min-height: 50px; padding: 0 44px 0 16px; border-radius: 14px; font: 600 16px/1.2 var(--sans); color: var(--ink);
  border: 1.5px solid var(--line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231b1410' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none;
}
.menu-jump select:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px var(--accent-tint); }
/* phones: one tidy "Jump to a category" menu instead of a sideways row of chips */
@media (max-width: 599px) {
  .menu-jump ul { display: none; }
  .menu-jump__pick { display: block; padding: 0 4px; }
}
.cat__title:focus { outline: none; }
.cat { scroll-margin-top: calc(var(--hdr) + var(--tabs) + 16px); }

/* what's in the case today (content/today.json or the Google Sheet) */
.today { margin-top: 20px; padding: 16px 18px 18px; border-radius: 18px; background: #f2faf9; box-shadow: inset 0 0 0 1.5px #bfe6e2; }
.today[hidden] { display: none; }
.today__title { display: flex; align-items: center; gap: 10px; font: 400 22px/1.2 var(--display); }
.today__title svg { width: 24px; height: 24px; color: var(--teal-deep); }
.today__note { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.today__list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip--today { background: #fff; box-shadow: inset 0 0 0 1px #bfe6e2; min-height: 36px; font-size: 15px; }
.chip--today svg { width: 15px; height: 15px; color: var(--teal-deep); }

.online-link {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
}
.online-link svg { width: 20px; height: 20px; color: var(--gold); }
.online-link[hidden] { display: none; }
@media (hover: hover) {
  .item:hover { background: var(--accent-tint); transform: translateX(4px); }
  .item:hover .item__name { color: var(--accent-deep); }
  .item:hover .item__lead { border-color: var(--accent); }
}
.item.is-picked { background: var(--accent-tint); }

/* quantity stepper (bakery pre-order) */
.qty { flex: none; display: inline-flex; align-items: center; height: 44px; border-radius: 999px; transition: background-color .25s, box-shadow .25s; }
.qty__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-deep);
  transition: background-color .2s, color .2s, transform .15s;
}
.qty__btn svg { width: 20px; height: 20px; }
.qty__btn:active { transform: scale(.92); }
.qty__n { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty[data-count="0"] .qty__less, .qty[data-count="0"] .qty__n { display: none; }
.qty[data-count="0"] .qty__more { box-shadow: inset 0 0 0 1.5px var(--accent); background: #fff; }
.qty[data-count="0"] .qty__more:hover { background: var(--accent); color: #fff; }
.qty:not([data-count="0"]) { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px var(--accent-deep); }
.qty:not([data-count="0"]) .qty__btn { color: #fff; }
.qty:not([data-count="0"]) .qty__btn:hover { background: rgba(255, 255, 255, .18); }
.qty.is-bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }

/* ---------- clothing catalog ---------- */
.catalog-wrap { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 88px); }
.catalog { margin-top: 8px; }
.catalog__grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 32px); }
@media (min-width: 760px) { .catalog__grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; }
.card__foot { margin-top: auto; }
.card__media { position: relative; border-radius: 16px; overflow: hidden; background: var(--warm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card__media .tag { position: absolute; left: 10px; top: 10px; margin: 0; background: #fff; }
.card__name { font-weight: 600; font-size: clamp(16.5px, .4vw + 15px, 19px); line-height: 1.3; }
.card__desc { font-size: 15px; color: var(--muted); line-height: 1.5; margin-top: -6px; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.card__price { font-weight: 700; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.card__ask { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.card__ask svg { width: 18px; height: 18px; color: var(--accent-deep); transition: transform .3s var(--ease); }
@media (hover: hover) {
  .card:hover .card__media { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(10, 107, 101, .6), 0 0 0 3px var(--accent); }
  .card__ask:hover svg { transform: translateX(4px); }
  .card__ask:hover { color: var(--accent-deep); }
}
@media (max-width: 520px) {
  .card__desc { display: none; }
  .card__ask { min-width: 44px; justify-content: center; margin-right: -12px; }
  .card__ask span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.card__buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -2px; }
.card__size {
  flex: 1 1 88px; min-width: 0; height: 44px; padding: 0 36px 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b1410' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
  font-size: 15.5px; font-weight: 600; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.card__size:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgba(20, 163, 154, .2); }
.card__size[aria-invalid="true"] { border-color: var(--error); }
.card__add {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .25s, transform .2s var(--ease);
}
.card__add svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.card__add:hover { background: #000; transform: translateY(-1px); }
.card__add.is-added { background: var(--teal-deep); }
.card__add.is-added svg { color: #fff; }
.card__onesize {
  flex: 1 1 88px; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--warm); font-size: 15.5px; font-weight: 600; color: var(--ink-2);
}
.card__err { color: var(--error); font-size: 14px; font-weight: 600; margin-top: -4px; }
.card__err:empty { display: none; }
@media (max-width: 520px) {
  .card__buy { flex-direction: column; }
  .card__size, .card__add, .card__onesize { flex: none; width: 100%; }
  .card__add { padding: 0 10px; font-size: 14.5px; }
}
@media (max-width: 380px) { .card__add svg { display: none; } }

.also { margin-top: clamp(40px, 5vw, 56px); text-align: center; }
.also__title { font: 400 24px/1.2 var(--display); }
.also__list { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--warm); font-weight: 600; font-size: 15.5px;
}
.chip svg { width: 26px; height: 14px; }
.chip__price { font-weight: 700; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.chip__price::before { content: "·"; margin-right: 8px; color: var(--line-strong); }

.also--inline { margin-top: 26px; text-align: left; }
.also--inline .also__title { font-size: 21px; }
.also--inline .also__list { justify-content: flex-start; margin-top: 12px; }
.catalog__note { margin: 24px auto 0; max-width: 56ch; text-align: center; color: var(--muted); font-size: 15.5px; }

/* "next section" link */
.next {
  margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; gap: 12px; width: fit-content;
  padding: 10px 10px 10px 20px; min-height: 56px; border-radius: 999px; text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s, gap .3s var(--ease);
}
.next__k { font-size: 14px; font-weight: 600; color: var(--muted); }
.next__v { font: 400 22px/1 var(--display); }
.next svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color .3s; }
.next:hover { gap: 18px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.catalog-wrap .next { margin-inline: auto; }
.area--bakery .next:hover svg { background: var(--orange-deep); }
.area--coffee .next:hover svg { background: var(--teal-deep); }
.area--clothing .next:hover svg { background: var(--gold-deep); }

/* ---------- visit ---------- */
.visit { position: relative; padding-bottom: clamp(64px, 8vw, 96px); overflow-x: clip; }
.visit__grid { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 36px; }
.window--small { justify-self: center; width: min(100%, 340px); }
.window--small .window__video { object-position: 50% 8%; }
.visit__info .showcase__title { max-width: 14ch; }
.facts { margin-top: 26px; display: grid; }
.facts__row { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); }
.facts__row:first-child { border-top: 1px dashed var(--line-strong); }
.facts dt { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--muted); }
.facts dt svg { width: 20px; height: 20px; color: var(--gold-deep); }
.facts dd { font-size: 17.5px; padding-left: 30px; }
.facts dd a { display: inline-block; padding-block: 8px; }
.facts a { text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.facts a:hover { color: var(--gold-deep); }
.facts__social { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.facts__social a { display: inline-block; min-height: 44px; }
.hours { display: grid; gap: 2px; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; max-width: 340px; }
.hours__soon { color: var(--ink-2); }
.visit__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; padding: 8px; border-radius: 26px; background: var(--accent); box-shadow: 0 34px 60px -38px rgba(27, 20, 16, .45); }
.map__frame { position: relative; z-index: 1; display: block; width: 100%; height: clamp(300px, 34vw, 420px); border: 0; border-radius: 18px; background: transparent; box-shadow: 0 0 0 3px #fff; }
.map__fallback {
  position: absolute; inset: 8px; z-index: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  padding: 20px; border-radius: 18px; background: var(--warm); text-align: center; text-decoration: none; color: var(--ink);
}
.map__fallback svg { width: 30px; height: 30px; color: var(--accent-deep); }
.map__open { font-weight: 700; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: 360px 1fr; column-gap: clamp(48px, 6vw, 96px); row-gap: 56px; align-items: center; }
  .window--small { width: 100%; }
  .window--small .window__video { height: auto; width: 100%; aspect-ratio: 4 / 5; }
  .facts__row { grid-template-columns: 170px 1fr; align-items: baseline; }
  .facts dd { padding-left: 0; }
  .map { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .visit__actions .btn { flex: 1 1 100%; }
}

/* ---------- footer ---------- */
.footer { position: relative; background: #17110d; color: #efe4d8; padding-top: clamp(104px, 12vw, 140px); }
.garland--footer { --g-h: clamp(70px, 8vw, 96px); }
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer__brand { display: flex; gap: 18px; align-items: flex-start; }
.footer__brand img { width: 76px; height: 76px; border-radius: 50%; flex: none; }
.footer__name { font: 400 30px/1 var(--display); color: var(--gold); }
.footer__about { margin-top: 12px; max-width: 42ch; color: #cbbcae; font-size: 16px; }
.footer__tagline { margin-top: 10px; font: 400 18px/1.2 var(--display); color: var(--gold); }
.footer__h { font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer__col p + p { margin-top: 0; }
.footer__col .footer__h + p { margin-top: 4px; }
.footer__col a { display: inline-block; padding-block: 10px; color: #f6ede3; text-underline-offset: 4px; text-decoration-color: rgba(213, 155, 66, .6); }
.footer__col a:hover { color: var(--gold); }
.footer__social { margin-top: 14px; display: flex; gap: 12px; }
.social {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(213, 155, 66, .7); color: var(--gold); transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.social svg { display: block; width: 24px; height: 24px; }
.social:hover { background: var(--gold); color: #17110d; transform: translateY(-3px); }
/* the footer's link style (inline-block + padding) was pushing the icons off-center and hiding them on hover */
.footer__col .social { display: grid; place-items: center; padding: 0; }
.footer__col .social:hover { color: #17110d; }
.social[data-info-href="facebook"] svg { transform: translateY(-.8px); } /* the "f" sits low in its icon box */
.footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  padding: 20px 0 calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14.5px; color: #b9a99a;
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #efe4d8; text-decoration: none; font-weight: 600; }
.footer__top svg { width: 18px; height: 18px; }
.footer__top:hover { color: var(--gold); }
@media (min-width: 820px) {
  .footer__grid { grid-template-columns: 2fr 1.2fr 1fr; }
}
body.has-tray .footer__base { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ---------- pre-order tray ---------- */
.tray {
  position: fixed; z-index: 60; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 24px));
  transform: translate(-50%, 140%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.tray.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }
.tray__btn {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px 10px 10px; border-radius: 20px; text-align: left;
  background: var(--ink); color: #fff; box-shadow: 0 20px 40px -18px rgba(27, 20, 16, .7);
}
.tray__icon { position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.tray__icon svg { width: 24px; height: 24px; }
.tray__badge {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center; background: var(--pink); color: #fff; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 0 0 2px var(--ink);
}
.tray__badge.is-bump { animation: bump .4s var(--ease); }
.tray__text { display: grid; line-height: 1.2; min-width: 0; }
.tray__k { font-size: 13.5px; color: #cbbcae; font-weight: 500; }
.tray__v { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray__go { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px 0 10px; font-weight: 700; font-size: 15.5px; color: var(--gold); white-space: nowrap; }
.tray__go svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.tray__btn:hover .tray__go svg { transform: translateX(4px); }
@media (min-width: 960px) {
  .tray { left: auto; right: 28px; bottom: 28px; width: 400px; transform: translateY(160%); }
  .tray.is-on { transform: none; }
}
body.sheet-open .tray { visibility: hidden; }
@media (max-width: 440px) { .tray__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- full-size photo viewer (dialog) ---------- */
.lb {
  padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  background: transparent; color: #fff; overflow: hidden;
}
.lb[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .3s ease; }
.lb::backdrop { background: rgba(18, 13, 10, .96); }
.lb__stage { display: grid; place-items: center; min-height: 0; padding: 64px 12px 8px; cursor: zoom-out; }
.lb__stage picture { display: contents; }
.lb__img {
  max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain;
  border-radius: 12px; cursor: default; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  transition: opacity .25s ease;
}
.lb__img.is-loading { opacity: .25; }
.lb__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(100%, 920px); margin: 0 auto; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
}
.lb__cap { min-width: 0; font-size: 16px; line-height: 1.35; }
.lb__name { font-weight: 700; }
.lb__count { margin-left: 6px; color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb__nav { display: flex; gap: 10px; flex: none; }
.lb__btn, .lb__close {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .12); transition: background-color .2s;
}
.lb__btn svg, .lb__close svg { width: 22px; height: 22px; }
.lb__btn--prev svg { transform: scaleX(-1); }
.lb__btn:hover, .lb__close:hover { background: rgba(255, 255, 255, .24); }
.lb__btn:focus-visible, .lb__close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lb__close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; }
@media (min-width: 820px) {
  .lb__stage { padding: 72px 40px 8px; }
  .lb__img { max-height: calc(100vh - 168px); max-height: calc(100dvh - 168px); }
}
body.lb-open { overflow: hidden; }
body.lb-open .tray { visibility: hidden; }

/* ---------- pre-order sheet (dialog) ---------- */
.sheet {
  padding: 0; border: 0; color: var(--ink); background: #fff;
  width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(27, 20, 16, .5);
}
.sheet[open] { animation: sheet-up .45s var(--ease); }
.sheet::backdrop { background: rgba(23, 17, 13, .5); }
.sheet[open]::backdrop { animation: fade .35s ease; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (min-width: 700px) {
  .sheet { width: min(640px, calc(100% - 40px)); max-height: 90vh; margin: auto; border-radius: 24px; }
}
.sheet__inner { display: grid; max-height: inherit; grid-template-rows: auto 1fr; }
.sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--line);
  background: #fff;
}
.sheet__title { font: 400 26px/1.15 var(--display); }
.po, .po-done { overflow-y: auto; padding: 20px 24px 28px; overscroll-behavior: contain; }
.po { display: grid; gap: 18px; }
.po__intro { color: var(--ink-2); font-size: 16px; }
.po__intro strong { font-weight: 700; color: var(--ink); }
.po__items { border: 0; padding: 0; margin: 0; min-width: 0; }
.po__legend { display: flex; width: 100%; align-items: center; justify-content: space-between; font-weight: 700; font-size: 16px; padding: 0; }
.po__list { margin-top: 6px; }
.po__line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-strong); }
.po__line-name { font-weight: 600; }
.po__line-each { font-size: 14.5px; color: var(--muted); }
.po__line .qty { --accent: var(--pink); --accent-deep: var(--pink-deep); grid-row: span 2; }
.po__line--coffee .qty { --accent: var(--orange); --accent-deep: var(--orange-deep); }
.po__line--clothing .qty { --accent: var(--teal); --accent-deep: var(--teal-deep); }
.po__group {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-bottom: 2px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-deep);
}
.po__group::before { content: ""; width: 16px; height: 3px; border-radius: 3px; background: var(--pink); }
.po__group--coffee { color: var(--orange-deep); }
.po__group--coffee::before { background: var(--orange); }
.po__group--clothing { color: var(--teal-deep); }
.po__group--clothing::before { background: var(--teal); }
.po__group:first-child { margin-top: 4px; }
.po__empty { padding: 16px; border-radius: 14px; background: var(--warm); color: var(--ink-2); font-size: 15.5px; }
.po__total { margin-top: 12px; display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.po__total strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.po__fine { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.po__fine[hidden], .field[hidden] { display: none; }
.po__hint { margin-top: -8px; }

/* pickup or delivery */
.po__fulfill { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.po__fulfill[hidden] { display: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt > span {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: 14px; line-height: 1.25;
  font-weight: 700; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow .2s, background-color .2s;
}
.seg__opt svg { width: 22px; height: 22px; color: var(--muted); }
.seg__opt input:checked + span { box-shadow: inset 0 0 0 2px var(--ink); background: var(--warm); }
.seg__opt input:checked + span svg { color: var(--pink-deep); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--pink-deep); outline-offset: 2px; }
.seg__opt svg { flex: none; }
@media (max-width: 520px) { .seg--pay { grid-template-columns: 1fr; } .seg--pay .seg__opt > span { justify-content: flex-start; } }
.po__row { display: grid; gap: 18px; }
@media (min-width: 520px) { .po__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: 15.5px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; font-size: 17px;
  border: 1.5px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink-deep); box-shadow: 0 0 0 4px rgba(226, 54, 124, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.po__error { color: var(--error); font-size: 14.5px; font-weight: 600; }
.po__error:empty { display: none; }

.po-done { text-align: center; display: grid; justify-items: center; gap: 14px; }
.po-done__art { width: 120px; height: 72px; }
.po-done__title { font: 400 26px/1.15 var(--display); outline: none; }
.po-done p { color: var(--ink-2); max-width: 46ch; }
.po-done__summary {
  width: 100%; margin: 4px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--warm);
  font: 500 14.5px/1.55 var(--sans); white-space: pre-wrap; text-align: left;
}
.po-done__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- load error (opened without a server) ---------- */
.load-error { position: fixed; inset: auto 16px 16px; z-index: 90; padding: 16px 18px; border-radius: 14px; background: #fff4e5; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3); font-size: 15.5px; }
.load-error p + p { margin-top: 6px; }
html.load-failed body { opacity: 1; }

/* ---------- showpiece: layered folk-art frame around each video ---------- */
/* Decorations sit behind (.showpiece__back) and in front (.showpiece__front) of the arched window.
   Sizes use cqw (1% of the window width), so they scale with the window. Motion uses only
   transform / translate / rotate / scale / opacity. JS sets --mx/--my (mouse) and --sy (scroll). */
.area--bakery { --glow: rgba(226, 54, 124, .24); }
.area--coffee { --glow: rgba(240, 138, 36, .28); }
.area--clothing { --glow: rgba(20, 163, 154, .26); }
.visit { --glow: rgba(213, 155, 66, .3); }

.showpiece { position: relative; width: min(100%, 420px); justify-self: center; container-type: inline-size; }
.showpiece--small { width: min(100%, 340px); }
.showpiece > .window { position: relative; z-index: 2; width: 100%; transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .8s var(--ease); }
@media (min-width: 960px) {
  .area__media .showpiece { --vh: min(calc(100svh - var(--hdr) - 150px), 700px); width: calc(var(--vh) * 9 / 16 + 16px); }
  .area__grid--wide .area__media .showpiece { --vh: min(calc(100svh - var(--hdr) - 170px), 620px); }
  .area__media:has(.showpiece) { top: calc(var(--hdr) + 84px); }
  .area__grid:has(.showpiece) { margin-top: clamp(84px, 7vw, 104px); }
  .area__media .showpiece .window__video { width: 100%; height: auto; aspect-ratio: 9 / 16; }
  .showpiece--small { width: 100%; }
}
.showpiece__layer { position: absolute; inset: 0; pointer-events: none; }
.showpiece__back { z-index: 1; }
.showpiece__front { z-index: 3; }

.deco {
  position: absolute; left: calc(var(--x) * 1%); width: calc(var(--w) * 1cqw); aspect-ratio: var(--ar, 1);
  translate: calc(var(--mx, 0) * var(--d) * 1px) calc((var(--my, 0) + var(--sy, 0)) * var(--d) * 1px);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transition: transform 1.1s var(--ease) var(--delay, 0s), opacity .7s ease var(--delay, 0s);
  will-change: transform, translate;
}
.deco > svg { width: 100%; height: 100%; overflow: visible; transition: rotate .9s var(--ease), translate .5s var(--ease), scale .6s var(--ease); }
.deco--flip > svg { transform: scaleX(-1); }
html.js .showpiece:not(.is-out) .deco {
  opacity: 0;
  transform: translate(-50%, -50%) translate(calc((50 - var(--x)) * 1cqw), var(--ey, 0)) rotate(calc(var(--r, 0deg) - 40deg)) scale(.3);
}
/* papel picado string: the flags unfold one by one */
.deco--banner { --ar: 112 / 24; }
.deco__cord { position: absolute; inset: 0; width: 100%; height: 100%; }
.deco__cord path { fill: none; stroke: #8e7a69; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.deco__flag { transition: transform .7s var(--ease) var(--unfold, 0s); }
html.js .showpiece:not(.is-out) .deco--banner { opacity: 1; transform: translate(-50%, -50%); }
html.js .showpiece:not(.is-out) .deco__flag { transform: scaleY(0); }
.deco--sun > svg { animation: sun-turn 80s linear infinite; }
.deco--bird { color: var(--teal); }
.area--clothing .deco--bird { color: var(--cobalt); }
@keyframes sun-turn { to { rotate: 360deg; } }

/* hover (desktop) and tap (touch: .is-poked) reactions */
@media (hover: hover) {
  .showpiece:hover .deco--marigold > svg, .showpiece:hover .deco--marigolds > svg { rotate: 16deg; scale: 1.06; }
  .showpiece:hover .deco--tile > svg { rotate: -9deg; }
  .showpiece:hover .deco--sun > svg { scale: 1.1; }
  .showpiece:hover .deco--bird > svg { animation: bird-hop .7s var(--ease); }
  .showpiece:hover .deco__flag { animation-duration: 1.1s; }
  .showpiece:hover > .window { box-shadow: 0 0 0 8px var(--glow), 0 34px 60px -34px rgba(27, 20, 16, .45); }
}
.showpiece.is-poked .deco--marigold > svg, .showpiece.is-poked .deco--marigolds > svg { rotate: 16deg; scale: 1.06; }
.showpiece.is-poked .deco--tile > svg { rotate: -9deg; }
.showpiece.is-poked .deco--sun > svg { scale: 1.1; }
.showpiece.is-poked .deco--bird > svg { animation: bird-hop .7s var(--ease); }
.showpiece.is-poked .deco__flag { animation-duration: 1.1s; }
.showpiece.is-poked > .window { box-shadow: 0 0 0 8px var(--glow), 0 34px 60px -34px rgba(27, 20, 16, .45); }
@keyframes bird-hop { 35% { translate: 0 -9%; rotate: -6deg; } 70% { translate: 0 0; rotate: 3deg; } }

/* phones: slightly smaller and tucked in, so nothing is cut off at the screen edge */
@media (max-width: 599px) {
  .deco { width: calc(var(--w) * .82cqw); left: calc((50 + (var(--x) - 50) * .9) * 1%); }
  .deco--banner { width: calc(var(--w) * 1cqw); left: 50%; }
}

/* ---------- scroll reveals ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
html.js .window[data-reveal] { transform: translateY(40px) scale(.96); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .item[data-reveal] { transform: translateY(14px); transition-duration: .55s; transition-delay: calc(var(--i, 0) * 45ms); }
html.js .item[data-reveal].is-in { transform: none; }
@media (hover: hover) {
  html.js .item[data-reveal].is-in:hover { transform: translateX(4px); transition-delay: 0s; }
}
html.js .card[data-reveal] { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal], html.js .tiles, html.js .floral { opacity: 1 !important; transform: var(--fx, none) !important; }
  html.js .tiles { transform: none !important; }
  .flag { rotate: var(--tilt, 0deg); }
  .deco { translate: none !important; }
  html.js .showpiece .deco { opacity: 1 !important; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) !important; }
  html.js .showpiece .deco__flag { transform: none !important; }
}
