/* ==========================================================================
   Dario's Café · Italy in Hout Bay
   Tokens come from Dario's own brand: the blue of the logo, the tricolore
   stripe on the square badge, the red gingham tablecloths and the blue
   gingham bibs, the navy espresso cups, and the sun-yellow of their
   "Pizza + Party = Fun" posters.
   ========================================================================== */

:root {
  --blue: #0479C2;          /* the logo */
  --blue-deep: #03609C;
  --blue-ink: #024A79;
  --navy: #142243;          /* the espresso cups; used as ink */
  --navy-2: #1C2E57;
  --cream: #FBF6EC;
  --paper: #FFFCF5;
  --cream-2: #F3EAD9;
  --tomato: #D4302F;        /* gingham + tricolore red */
  --basil: #0E8A4A;         /* tricolore green */
  --sun: #FFD166;           /* party posters */
  --crust: #D9944A;
  --muted: #5B6478;
  --line: rgba(20, 34, 67, .14);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-ui: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --f-hand: "Caveat", "Bradley Hand", cursive;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(96px, 12vw, 176px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 2px 6px rgba(20, 34, 67, .08), 0 8px 24px rgba(20, 34, 67, .08);
  --shadow-lg: 0 10px 30px rgba(20, 34, 67, .14), 0 40px 80px rgba(20, 34, 67, .16);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
svg { fill: currentColor; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--navy); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 10px; font-family: var(--f-ui); text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------------------
   Brand pieces: tricolore, gingham, lockup
   -------------------------------------------------------------------------- */
.tricolore { display: inline-flex; flex: none; vertical-align: middle; }
.tricolore i { display: block; width: 9px; height: 3px; }
.tricolore i:nth-child(1) { background: var(--basil); }
.tricolore i:nth-child(2) { background: #fff; }
.tricolore i:nth-child(3) { background: var(--tomato); }
.tricolore--v { flex-direction: row; height: 100%; }
.tricolore--v i { width: 33.34%; height: 100%; }

.gingham { background-color: #fff; }
.gingham--blue {
  background-image:
    linear-gradient(90deg, rgba(4, 121, 194, .5) 50%, transparent 0),
    linear-gradient(rgba(4, 121, 194, .5) 50%, transparent 0);
  background-size: 64px 64px;
}
.gingham--red {
  background-image:
    linear-gradient(90deg, rgba(212, 48, 47, .52) 50%, transparent 0),
    linear-gradient(rgba(212, 48, 47, .52) 50%, transparent 0);
  background-size: 56px 56px;
}

/* The lockup is re-set in type after Dario's logo: tall rounded capitals,
   "Café" tucked under the right, the tagline beneath and the tricolore
   stripe from the square badge. */
.lockup { --ls: 96px; position: relative; display: inline-grid; justify-items: start; padding-right: calc(var(--ls) * .42); }
.lockup__name {
  font-family: var(--f-ui); font-weight: 700; font-variation-settings: "wdth" 75;
  font-size: var(--ls); line-height: .82; letter-spacing: .005em; text-transform: uppercase;
}
.lockup__cafe {
  justify-self: end; margin-top: calc(var(--ls) * -.04); margin-right: calc(var(--ls) * .02);
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: calc(var(--ls) * .52); line-height: 1;
}
.lockup__line {
  margin-top: calc(var(--ls) * .14);
  font-family: var(--f-ui); font-weight: 500; font-size: max(11px, calc(var(--ls) * .135)); letter-spacing: .04em;
}
.lockup .tricolore { position: absolute; top: calc(var(--ls) * -.06); bottom: calc(var(--ls) * -.02); right: 0; width: calc(var(--ls) * .2); }
.lockup .tricolore i { width: 33.34%; height: 100%; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow svg { width: 22px; height: 22px; }
.eyebrow--light { color: rgba(255, 252, 245, .9); }
.eyebrow--sun { color: var(--sun); }
.h2 {
  font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(42px, 6.6vw, 96px); line-height: .98; letter-spacing: -.025em;
  margin-bottom: 28px; text-wrap: balance;
}
.h2 em, .hero__title em, .chapter__title em { font-style: italic; font-weight: 400; color: var(--blue); }
.h2--sm { font-size: clamp(38px, 5vw, 70px); }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--sun); }
.lede { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; font-variation-settings: "opsz" 30; }
.link {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 600; font-size: 16px;
  color: var(--blue); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px;
}
.link svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* line masks for headline reveals */
/* the masks get room for descenders (y, g, p) and italic overhang, and the
   negative margins cancel it so the layout doesn't move */
.line { display: block; overflow: hidden; padding: .06em .12em .22em; margin: -.06em -.12em -.22em; }
.line > span { display: inline-block; will-change: transform; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--navy); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid transparent;
  font-family: var(--f-ui); font-weight: 600; font-size: 16px; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(2, 30, 60, .18); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--blue { --bg: var(--blue); --fg: #fff; }
.btn--blue:hover { --bg: var(--blue-deep); }
.btn--cream { --bg: var(--paper); --fg: var(--navy); }
.btn--sun { --bg: var(--sun); --fg: var(--navy); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; color: inherit; }
.btn--ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .1); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Intro curtain
   -------------------------------------------------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 120; display: none; place-items: center;
  background: var(--blue); color: var(--paper);
}
.js .intro { display: grid; }
.is-static .intro, .intro.is-done { display: none !important; }
.intro__inner { display: grid; justify-items: center; gap: 30px; }
.intro__hello { margin: 0; font-family: var(--f-hand); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); color: var(--sun); }
.lockup--xl { --ls: clamp(76px, 13vw, 168px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--paper);
  transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease), height .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(251, 246, 236, .9); color: var(--navy); height: 66px;
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.brand__mark {
  position: relative; width: 36px; height: 36px; border-radius: 9px; background: var(--blue); overflow: hidden; flex: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25);
}
.brand__mark::before {
  content: "D"; position: absolute; inset: 0 9px 0 0; display: grid; place-items: center;
  font-family: var(--f-ui); font-weight: 700; font-variation-settings: "wdth" 75; font-size: 24px; color: #fff;
}
.brand__mark .tricolore { position: absolute; right: 0; top: 0; bottom: 0; width: 9px; }
.brand__name { font-family: var(--f-ui); font-weight: 700; font-variation-settings: "wdth" 75; font-size: 25px; text-transform: uppercase; letter-spacing: .01em; }
.brand__cafe { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 20px; margin-left: -3px; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  position: relative; font-family: var(--f-ui); font-weight: 500; font-size: 15.5px; text-decoration: none; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-weight: 500; font-size: 15px; text-decoration: none; }
.header__phone svg { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--blue); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a { font-family: var(--f-display); font-size: clamp(38px, 10vw, 54px); line-height: 1.15; text-decoration: none; letter-spacing: -.02em; }
.mobile-menu nav a:nth-child(odd) { font-style: italic; }
.mobile-menu__foot { display: grid; gap: 14px; justify-items: start; font-family: var(--f-ui); }
.mobile-menu__foot p { margin: 0; opacity: .8; }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .site-header .btn--blue { --bg: var(--paper); --fg: var(--blue); }

/* --------------------------------------------------------------------------
   1 · Hero / postcard
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--navy); }
.hero__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero__table { position: absolute; inset: 0; opacity: 0; }
.hero__table::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(2, 40, 70, .35) 100%); }

.card { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); perspective: 2200px; z-index: 2; }
.card__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.card__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--r, 0px); }
.card__front { background: var(--paper); padding: var(--pad, 0px); box-shadow: var(--shadow, none); }
.card__back { transform: rotateY(180deg); background: var(--paper); box-shadow: var(--shadow-lg); overflow: hidden; display: none; }
.has-postcard .card__back { display: block; }
.card__hint {
  position: absolute; left: 50%; bottom: -64px; transform: translateX(-50%); margin: 0; opacity: 0; white-space: nowrap;
  font-family: var(--f-hand); font-weight: 600; font-size: 24px; color: #fff;
  background: var(--blue); padding: 4px 18px 6px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

.film { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--r, 0px) * .45); background: var(--navy); }
.film__shots, .film__video { position: absolute; inset: 0; }
.film__shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  opacity: 0; transition: opacity 1.6s ease;
}
.film__shot.is-on { opacity: 1; animation: kenburns 8s linear both; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 18, 40, .85) 0%, rgba(8, 18, 40, .42) 40%, rgba(8, 18, 40, 0) 68%),
    linear-gradient(to right, rgba(8, 18, 40, .62), rgba(8, 18, 40, .22) 45%, rgba(8, 18, 40, 0) 72%),
    linear-gradient(to bottom, rgba(8, 18, 40, .4), rgba(8, 18, 40, 0) 22%);
}
.film__saluti {
  position: absolute; left: 7%; bottom: 7%; margin: 0; opacity: 0; color: var(--paper);
  font-family: var(--f-display); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144;
  font-size: clamp(30px, 4.4vw, 60px); line-height: .95; letter-spacing: -.02em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.film__saluti span { display: block; font-family: var(--f-ui); font-style: normal; font-weight: 600; font-size: .3em; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .45em; color: var(--sun); }

.hero__copy { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(120px, 17vh, 190px); color: var(--paper); max-width: 980px; }
.hero__title {
  font-family: var(--f-display); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(66px, 11.6vw, 184px); line-height: .9; letter-spacing: -.035em; margin: 0 0 26px;
}
.hero__title em { color: var(--sun); }
.hero__lede { text-shadow: 0 1px 14px rgba(5, 12, 28, .5); max-width: 540px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255, 252, 245, .9); margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn--ghost { color: var(--paper); }
.btn--film svg:first-child { width: 14px; height: 14px; }

.hero__ui { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--paper); }
.owners-chip { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-size: 14.5px; padding: 6px 18px 6px 6px; border-radius: 999px; background: rgba(255, 252, 245, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.owners-chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; clip-path: circle(46%); transform: scale(1.12); }
.owners-chip strong { font-weight: 600; }
.hero__meta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hero__caption { margin: 0; font-family: var(--f-ui); font-size: 14px; letter-spacing: .02em; opacity: .9; min-width: 15ch; text-align: right; }
.hero__ticks { display: flex; gap: 6px; }
.hero__ticks i { position: relative; width: 26px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__ticks i::after { content: ""; position: absolute; inset: 0; background: var(--sun); transform: scaleX(0); transform-origin: left; }
.hero__ticks i.is-done::after { transform: scaleX(1); }
.hero__ticks i.is-on::after { animation: tick var(--dur, 6s) linear forwards; }
@keyframes tick { to { transform: scaleX(1); } }
.hero__scroll { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.hero__scroll svg { width: 18px; height: 18px; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

.seal { position: absolute; z-index: 3; right: clamp(24px, 6vw, 96px); bottom: clamp(150px, 26vh, 260px); width: clamp(110px, 10vw, 148px); aspect-ratio: 1; color: var(--paper); }
.seal svg:first-child { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal text { font-family: var(--f-ui); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; fill: currentColor; }
.seal__cup { position: absolute; inset: 34%; width: 32%; height: 32%; color: var(--sun); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Postcard back */
.postcard {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.2fr 1.5px 1fr; gap: 6%;
  padding: 7% 7% 6%; color: var(--navy);
  background:
    radial-gradient(circle at 20% 10%, rgba(243, 234, 217, .7), transparent 60%),
    var(--paper);
}
.postcard__note { display: flex; flex-direction: column; justify-content: center; }
.postcard__msg { font-family: var(--f-hand); font-weight: 500; font-size: clamp(22px, 2.35vw, 34px); line-height: 1.22; margin: 0 0 .7em; color: var(--navy-2); }
.postcard__sign { margin: 0; font-family: var(--f-hand); font-weight: 700; font-size: clamp(24px, 2.4vw, 36px); color: var(--blue); }
.postcard__sign span { color: var(--tomato); }
.postcard__divider { background: var(--line); }
.postcard__side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.stamp {
  position: absolute; top: 0; right: 0; width: clamp(76px, 7.4vw, 108px); aspect-ratio: 5 / 6; padding: 7px;
  background: #fff;
  --r: 4px;
  -webkit-mask:
    radial-gradient(circle var(--r) at var(--r) var(--r), transparent 97%, #000) calc(-1 * var(--r)) calc(-1 * var(--r)) / 11px 11px round,
    linear-gradient(#000 0 0) 50% 50% / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
  mask:
    radial-gradient(circle var(--r) at var(--r) var(--r), transparent 97%, #000) calc(-1 * var(--r)) calc(-1 * var(--r)) / 11px 11px round,
    linear-gradient(#000 0 0) 50% 50% / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15));
  transform: rotate(3deg);
}
.stamp__in { position: relative; height: 100%; background: var(--blue); color: #fff; display: grid; align-content: center; justify-items: start; padding: 0 22% 0 10%; }
.stamp__name { font-family: var(--f-ui); font-weight: 700; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: clamp(15px, 1.5vw, 22px); line-height: .9; }
.stamp__cafe { justify-self: end; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(11px, 1vw, 15px); line-height: 1; }
.stamp .tricolore { position: absolute; right: 0; top: 0; bottom: 0; width: 16%; }
.postmark { position: absolute; top: 12%; right: 26%; width: clamp(70px, 7vw, 104px); color: rgba(20, 34, 67, .55); transform: rotate(-14deg); font-family: var(--f-ui); font-weight: 600; }
.postmark__waves { position: absolute; top: 20%; right: 46%; width: 44%; height: 26px; color: rgba(20, 34, 67, .4); }
.postcard__to { display: grid; gap: 0; font-family: var(--f-hand); font-weight: 600; font-size: clamp(18px, 1.7vw, 25px); color: var(--navy-2); }
.postcard__to span { border-bottom: 1.5px solid var(--line); padding: 2px 0 1px; }

/* --------------------------------------------------------------------------
   2 · Story
   -------------------------------------------------------------------------- */
.story { position: relative; padding: var(--section) 0 calc(var(--section) * .8); background: var(--cream); }
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__photos { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; }
.sticker { position: absolute; margin: 0; border-radius: 50%; background: var(--paper); padding: 10px; box-shadow: var(--shadow-lg); }
.sticker img { width: 100%; height: auto; border-radius: 50%; clip-path: circle(47.5%); transform: scale(1.04); }
.sticker--a { width: 62%; left: 0; top: 0; transform: rotate(-4deg); }
.sticker--b { width: 54%; right: 0; bottom: 0; transform: rotate(5deg); border: 0; background: var(--blue); }
.sticker--b::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(4, 121, 194, .45); }
.note { position: absolute; margin: 0; font-family: var(--f-hand); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); color: var(--blue); line-height: 1; }
.note--a { left: 64%; top: 8%; transform: rotate(6deg); }
.note--b { left: 0; bottom: 6%; transform: rotate(-5deg); color: var(--tomato); }
.note__arrow { position: absolute; left: 60%; top: 16%; width: 18%; color: var(--blue); transform: rotate(8deg); }
.note__arrow path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.story__text p:not(.eyebrow):not(.lede) { color: var(--muted); max-width: 560px; }
.story__text .lede { max-width: 600px; margin-bottom: 22px; }
.story__text .link { margin-top: 8px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(72px, 9vw, 130px); border-top: 1.5px solid var(--navy); }
.fact { display: grid; gap: 4px; align-content: start; padding: 28px 24px 8px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact svg { width: 34px; height: 34px; color: var(--blue); margin-bottom: 14px; }
.fact strong { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.2; font-variation-settings: "opsz" 40; }
.fact span { font-size: 16px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--blue); color: var(--paper); padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .15); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(30px, 4vw, 56px); line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; font-variation-settings: "opsz" 144; }
.marquee span:nth-of-type(even) { font-style: normal; font-family: var(--f-ui); font-weight: 600; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .01em; color: var(--sun); }
.marquee i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(90deg, var(--basil) 33.3%, #fff 0 66.6%, var(--tomato) 0); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   3 · A day at Dario's
   -------------------------------------------------------------------------- */
.day { position: relative; background: var(--cream); transition: background-color .9s ease; }
.day[data-tone="1"] { background: #FCF1DE; }
.day[data-tone="2"] { background: #FBEBD6; }
.day[data-tone="3"] { background: #F8E5D6; }
.day__pin {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 100px); padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto;
}
.day__head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.day__head .eyebrow { margin: 0; }
.day__steps { display: flex; gap: 6px; counter-reset: step; }
.day__steps li {
  position: relative; counter-increment: step; padding: 8px 14px; border-radius: 999px;
  font-family: var(--f-ui); font-weight: 500; font-size: 14px; color: var(--muted); transition: color .4s, background-color .4s;
}
.day__steps li::before { content: "0" counter(step) " "; font-weight: 600; opacity: .6; }
.day__steps li.is-on { background: var(--navy); color: var(--paper); }
.day__copy { display: grid; align-items: center; align-self: center; }
.chapter { grid-area: 1 / 1; max-width: 520px; visibility: hidden; opacity: 0; }
.chapter.is-on { visibility: visible; opacity: 1; }
.chapter__kicker { font-family: var(--f-ui); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); margin-bottom: 18px; }
.chapter__title { font-family: var(--f-display); font-variation-settings: "opsz" 144; font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.025em; margin-bottom: 22px; }
.chapter__text { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.chapter__picks { display: grid; gap: 10px; max-width: 440px; }
.chapter__picks li { display: flex; align-items: baseline; gap: 10px; font-size: 18px; }
.chapter__picks i { flex: 1; border-bottom: 1.5px dotted rgba(20, 34, 67, .35); transform: translateY(-4px); }
.chapter__picks b { font-family: var(--f-ui); font-weight: 600; font-size: 17px; color: var(--blue); }
.chapter__press { margin: 26px 0 0; font-style: italic; font-size: 17px; color: var(--navy-2); }
.chapter__press span { display: block; font-style: normal; font-family: var(--f-ui); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.day__stage { position: relative; align-self: center; justify-self: center; width: min(100%, calc(100svh - 230px), 640px); aspect-ratio: 1; }
.table { position: absolute; inset: 0; border-radius: 34px; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(0, 0, 0, .04); }
.table::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, .25), rgba(120, 40, 20, .12) 100%); pointer-events: none; }
.dish { position: absolute; inset: 4%; width: 92%; height: 92%; overflow: visible; opacity: 0; visibility: hidden; }
.dish.is-on { opacity: 1; visibility: visible; }
.polaroid { margin: 0; background: #fff; padding: 9px 9px 0; box-shadow: var(--shadow-lg); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font-family: var(--f-hand); font-weight: 600; font-size: 21px; line-height: 1; text-align: center; padding: 10px 4px 12px; color: var(--navy-2); }
.polaroid--stage { position: absolute; left: -7%; bottom: -6%; width: 31%; transform: rotate(-7deg); opacity: 0; visibility: hidden; z-index: 3; }
.polaroid--stage.is-on { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   4 · Menu
   -------------------------------------------------------------------------- */
.menu { padding: var(--section) 0; background: var(--cream-2); position: relative; }
.menu::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: linear-gradient(90deg, var(--basil) 33.33%, #fff 0 66.66%, var(--tomato) 0); }
.menu__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.menu__head .lede { color: var(--navy-2); max-width: 620px; }
.menu__card { background: var(--paper); border-radius: 28px; box-shadow: var(--shadow-lg); }
.menu__bar { border-radius: 28px 28px 0 0; }
.menu__foot { border-radius: 0 0 28px 28px; }
.menu__bar {
  position: sticky; top: 66px; z-index: 5; display: flex; align-items: center; gap: 18px;
  padding: 16px clamp(16px, 3vw, 32px); background: rgba(255, 252, 245, .94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.menu__tabs { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; padding: 2px; }  /* wraps: every category name always fully visible */
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tab {
  flex: none; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: var(--f-ui); font-weight: 500; font-size: 15px; white-space: nowrap; color: var(--navy); transition: background-color .25s, color .25s, border-color .25s;
}
.menu__tab:hover { border-color: var(--navy); }
.menu__tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.menu__search { position: relative; flex: 0 0 240px; }
.menu__search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.menu__search input {
  width: 100%; height: 44px; padding: 0 16px 0 40px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--f-ui); font-size: 15px; color: var(--navy);
}
.menu__search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(4, 121, 194, .14); }
.menu__body { padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 64px) clamp(16px, 2vw, 24px); min-height: 420px; }
.menu__group { break-inside: avoid; margin-bottom: 42px; }
.menu__group h3 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-family: var(--f-display); font-style: italic; font-variation-settings: "opsz" 72; font-size: clamp(28px, 2.6vw, 36px); color: var(--blue); margin-bottom: 4px; line-height: 1.1; }
.menu__group h3 small { font-family: var(--f-ui); font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.menu__note { font-size: 15px; color: var(--muted); margin: 0 0 14px; font-style: italic; }
.menu__cols { columns: 2 380px; column-gap: clamp(40px, 6vw, 88px); }
.menu__item { break-inside: avoid; padding: 13px 0; border-bottom: 1px solid rgba(20, 34, 67, .08); }
.menu__row { display: flex; align-items: baseline; gap: 10px; }
.menu__name { font-weight: 500; font-size: 19px; font-variation-settings: "opsz" 24; }
.menu__row i { flex: 1; min-width: 20px; border-bottom: 1.5px dotted rgba(20, 34, 67, .3); transform: translateY(-5px); }
.menu__price { font-family: var(--f-ui); font-weight: 600; font-size: 17px; color: var(--navy); white-space: nowrap; }
.menu__desc { margin: 2px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.tag { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px; margin-left: 8px; border-radius: 6px; font-family: var(--f-ui); font-weight: 600; font-size: 11px; letter-spacing: .04em; vertical-align: 3px; background: rgba(14, 138, 74, .12); color: var(--basil); }
.menu__empty { text-align: center; color: var(--muted); padding: 60px 0; font-style: italic; }
.menu__foot { display: grid; gap: 4px; padding: 22px clamp(20px, 4vw, 64px) 26px; border-top: 1px solid var(--line); background: var(--cream); font-size: 15px; color: var(--muted); }
.menu__foot p { margin: 0; }
.menu__foot b { font-family: var(--f-ui); color: var(--basil); }
mark { background: rgba(255, 209, 102, .7); color: inherit; border-radius: 3px; padding: 0 1px; }

/* --------------------------------------------------------------------------
   5 · Pizza parties
   -------------------------------------------------------------------------- */
.party { position: relative; padding: var(--section) 0 calc(var(--section) * .8); background: var(--blue); color: var(--paper); overflow: hidden; }
.party::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .12), transparent 45%), radial-gradient(circle at 10% 90%, rgba(2, 40, 80, .35), transparent 50%); pointer-events: none; }
.party__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.party__title {
  font-family: var(--f-ui); font-weight: 700; font-variation-settings: "wdth" 75; text-transform: uppercase;
  font-size: clamp(64px, 9.4vw, 148px); line-height: .86; letter-spacing: .005em; color: var(--sun); margin: 0 0 28px;
}
.party__title > span { display: inline-block; }
.party__title .op { color: var(--paper); }
.party__title .fun { color: var(--paper); position: relative; }
.party__title .fun::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .1em; background: var(--tomato); border-radius: 4px; z-index: -1; }
.party__lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; max-width: 520px; color: rgba(255, 252, 245, .92); }
.roller { width: 100%; max-width: 560px; margin: 8px 0 18px; }
.roller svg { width: 100%; height: auto; overflow: visible; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 10px 0 40px; max-width: 600px; }
.steps li { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; align-items: start; }
.steps svg { grid-row: span 2; width: 50px; height: 50px; padding: 11px; border-radius: 50%; background: var(--sun); color: var(--navy); }
.steps b { font-family: var(--f-ui); font-weight: 600; font-size: 19px; line-height: 1.3; padding-top: 2px; }
.steps span { font-size: 15.5px; line-height: 1.45; color: rgba(255, 252, 245, .8); }
.party__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.party__ctas .btn--ghost { color: var(--paper); }
.party__photos { position: relative; aspect-ratio: 4 / 6; }
.party__photos .polaroid { position: absolute; width: 47%; }
.party__photos .polaroid img { aspect-ratio: 4 / 5; }
.party__photos .polaroid figcaption { font-size: 22px; }
.polaroid--a { left: 0; top: 1%; transform: rotate(-6deg); z-index: 2; }
.polaroid--b { right: 0; top: 5%; transform: rotate(5deg); }
.polaroid--b img { aspect-ratio: 3 / 4 !important; }
.polaroid--c { left: 17%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.polaroid--c img { aspect-ratio: 2 / 3 !important; }

.occasions { position: relative; margin-top: clamp(80px, 10vw, 140px); }
.occasions__title { font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 3vw, 44px); margin-bottom: 26px; }
.occasions__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.occasions__list li {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 26px 24px 24px; border-radius: var(--radius);
  background: rgba(2, 40, 80, .28); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .3s, transform .4s var(--ease);
}
.occasions__list li:hover { background: rgba(2, 40, 80, .42); transform: translateY(-4px); }
.occasions__list svg { width: 32px; height: 32px; color: var(--sun); margin-bottom: 10px; }
.occasions__list b { font-family: var(--f-ui); font-weight: 600; font-size: 19px; }
.occasions__list span { font-size: 15.5px; line-height: 1.45; color: rgba(255, 252, 245, .8); margin-bottom: 12px; }
.occasions__list a { font-family: var(--f-ui); font-weight: 600; font-size: 15px; color: var(--sun); text-decoration: none; margin-top: auto; }
.occasions__list a::after { content: " →"; }
.occasions__list a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* --------------------------------------------------------------------------
   6 · Reviews
   -------------------------------------------------------------------------- */
.reviews { padding: var(--section) 0 calc(var(--section) * .7); background: var(--cream); }
.reviews__head { margin-bottom: clamp(40px, 5vw, 70px); }
.reviews__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.quote { position: relative; margin: 0; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote__mark { font-family: var(--f-display); font-size: 110px; line-height: .7; height: 54px; color: var(--blue); font-variation-settings: "opsz" 144; }
.quote p { font-size: 20px; line-height: 1.5; margin-bottom: 22px; flex: 1; }
.quote footer { font-family: var(--f-ui); font-weight: 600; font-size: 16px; }
.quote footer span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.quote--big { grid-row: span 2; background: var(--navy); color: var(--paper); justify-content: space-between; }
.quote--big .quote__mark { color: var(--sun); font-size: 180px; height: 90px; }
.quote--big p { font-size: clamp(26px, 2.7vw, 40px); line-height: 1.22; font-variation-settings: "opsz" 72; letter-spacing: -.01em; flex: 0; }
.quote--big footer span { color: rgba(255, 252, 245, .65); }

/* --------------------------------------------------------------------------
   7 · Good to know + FAQ
   -------------------------------------------------------------------------- */
.know { padding: calc(var(--section) * .5) 0 var(--section); background: var(--cream); }
.know__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; padding-top: clamp(56px, 7vw, 96px); border-top: 1.5px solid var(--navy); }
.perks { display: grid; gap: 4px; margin-top: 12px; }
.perks li { display: flex; align-items: center; gap: 16px; padding: 10px 0; font-size: 18px; }
.perks svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--paper); color: var(--blue); box-shadow: var(--shadow-sm); }
.perks b { font-weight: 600; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-size: clamp(19px, 1.7vw, 23px); font-variation-settings: "opsz" 30; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 1.8px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.8px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); border-color: var(--sun); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 600px; }
.faq a { color: var(--blue); }

/* --------------------------------------------------------------------------
   8 · Visit & book
   -------------------------------------------------------------------------- */
.visit { position: relative; background: var(--navy); color: var(--paper); padding: calc(var(--section) * .9) 0 var(--section); }
.visit__band { position: absolute; inset: 0 0 auto; height: 38px; }
.visit__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 7vw, 110px); align-items: start; padding-top: 40px; }
.polaroid--visit { width: min(100%, 520px); transform: rotate(-2deg); margin: 10px 0 44px; }
.polaroid--visit img { aspect-ratio: 5 / 3; }
.polaroid--visit figcaption { color: var(--navy-2); }
.details { display: grid; gap: 22px; margin: 0 0 36px; }
.details > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.details dt { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); align-self: start; padding-top: 3px; }
.details dt svg { width: 18px; height: 18px; }
.details dd { margin: 0; font-size: 19px; line-height: 1.5; }
.details small { display: block; font-size: 15px; color: rgba(255, 252, 245, .65); margin-top: 6px; }
.details a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.details a:hover { border-color: var(--sun); }
.hours { display: grid; gap: 2px; font-size: 16px; }
.hours div { display: flex; justify-content: space-between; gap: 18px; }
.hours .is-today { color: var(--sun); }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 14px; margin-bottom: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E35B4F; }
.status.is-open::before { background: #4ED07E; box-shadow: 0 0 0 4px rgba(78, 208, 126, .2); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__ctas .btn--ghost { color: var(--paper); }

.book { position: sticky; top: 96px; }
.book__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(26px, 3vw, 40px);
  background: var(--paper); color: var(--navy); border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  position: relative;
}
.book__card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 5px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--basil) 33.33%, #fff 0 66.66%, var(--tomato) 0); }
.book__head { grid-column: 1 / -1; margin-bottom: 6px; }
.book__head h3 { font-family: var(--f-display); font-variation-settings: "opsz" 144; font-size: clamp(34px, 3vw, 44px); letter-spacing: -.02em; margin-bottom: 14px; }
.book__press { font-style: italic; font-size: 17px; margin-bottom: 8px; color: var(--navy-2); }
.book__press span { display: block; margin-top: 4px; font-style: normal; font-family: var(--f-ui); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.book__intro { font-size: 16px; color: var(--muted); margin: 0; }
.book__intro a { color: var(--blue); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-ui); font-weight: 500; font-size: 14px; color: var(--navy-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--f-ui); font-size: 16px; color: var(--navy); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23142243' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(4, 121, 194, .14); }
.field.is-invalid input { border-color: var(--tomato); }
.book__card .btn--block { grid-column: 1 / -1; margin-top: 6px; min-height: 56px; font-size: 17px; }
.book__status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-family: var(--f-ui); font-size: 14.5px; color: var(--basil); text-align: center; }
.book__status.is-error { color: var(--tomato); }
.book.is-flash .book__card { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, .9), 0 30px 80px rgba(0, 0, 0, .35); } 100% { box-shadow: 0 0 0 22px rgba(255, 209, 102, 0), 0 30px 80px rgba(0, 0, 0, .35); } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--blue); color: var(--paper); padding: clamp(80px, 9vw, 130px) 0 32px; overflow: hidden; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.lockup--footer { --ls: clamp(84px, 13vw, 190px); }
.footer__say { margin: 0; font-family: var(--f-display); font-variation-settings: "opsz" 144; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; text-align: right; }
.footer__say em { color: var(--sun); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 44px; }  /* padding-block keeps .wrap's side gutter */
.footer h4 { font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.footer__cols p { margin: 0; font-size: 17px; line-height: 1.7; }
.footer a { text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__social { display: grid; gap: 6px; }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.footer__social svg { width: 20px; height: 20px; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); font-family: var(--f-ui); font-size: 14px; opacity: .85; }
.footer__base p { margin: 0; }
.footer__base a { border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* --------------------------------------------------------------------------
   Film player
   -------------------------------------------------------------------------- */
.player { position: fixed; inset: 0; z-index: 150; background: rgba(5, 12, 28, .94); display: grid; place-items: center; padding: 4vw; }
.player[hidden] { display: none; }
.player video { width: min(100%, 1400px); max-height: 86vh; border-radius: 14px; background: #000; }
.player__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--navy); display: grid; place-items: center; }
.player__close svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Reveal defaults (JS sets the start states; nothing hides without JS)
   -------------------------------------------------------------------------- */
.js:not(.is-static) [data-reveal] { opacity: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__phone span { display: none; }
  .occasions__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  body { font-size: 17px; }
  .story__grid, .party__grid, .know__grid, .visit__grid { grid-template-columns: 1fr; }
  .story__photos { max-width: 460px; margin: 0 auto 10px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .quote--big { grid-row: auto; }
  /* phones/tablets: no overlapping, so every caption stays readable */
  .party__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-items: start; aspect-ratio: auto; max-width: 460px; width: 100%; margin: 32px auto 0; padding: 0 6px; }
  .party__photos .polaroid { position: static; width: auto; }
  .polaroid--a { transform: rotate(-3deg); }
  .polaroid--b { transform: rotate(3deg); margin-top: 26px; }
  .polaroid--c { grid-column: 1 / -1; justify-self: center; width: 62% !important; transform: rotate(-1.5deg); }
  .party__photos .polaroid figcaption { font-size: 18px; padding: 8px 4px 10px; }
  .book { position: static; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__say { text-align: left; }
  .menu__bar { flex-direction: column; align-items: stretch; gap: 12px; top: 58px; }
  .menu__search { flex-basis: auto; }
  .menu__bar { position: static; border-radius: 28px 28px 0 0; }
  .menu__tab { padding: 8px 13px; font-size: 14px; }

  /* Day: stage on top, copy below */
  .day__pin { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; padding: calc(var(--header-h) + 8px) var(--gutter) 20px; min-height: 0; }
  .day__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
  .day__steps li { padding: 6px 10px; font-size: 13px; }
  .day__stage { grid-row: 2; width: min(100%, 46svh, 520px); }
  .day__copy { grid-row: 3; align-self: start; padding-top: 22px; }
  .chapter { max-width: none; }
  .chapter__kicker { margin-bottom: 8px; font-size: 12.5px; }
  .chapter__title { font-size: clamp(30px, 8.4vw, 46px); margin-bottom: 10px; }
  .chapter__text { font-size: 16px; margin-bottom: 12px; }
  .chapter__picks { gap: 4px; }
  .chapter__picks li { font-size: 16px; }
  .chapter__press { display: none; }
  .polaroid--stage { width: 30%; left: -3%; bottom: -5%; }
  .polaroid--stage figcaption { font-size: 15px; padding: 6px 2px 8px; }
}

@media (max-width: 900px) and (max-height: 820px) {
  .chapter__text { display: none; }
}

@media (max-width: 400px) {
  .day__steps { gap: 2px; }
  .day__steps li { padding: 6px 9px; font-size: 12.5px; }
  .day__steps li::before { content: none; }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .header__phone { display: none; }
  .site-header .btn--sm { padding: 0 16px; }
  .brand__cafe { display: none; }
  .hero__copy { bottom: 128px; }
  .hero__title { margin-bottom: 18px; }
  .hero__lede { font-size: 16.5px; margin-bottom: 22px; }
  .hero__ctas .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
  .hero__ui { bottom: 20px; }
  .hero__meta, .hero__scroll { display: none; }
  .owners-chip { font-size: 13.5px; }
  .seal { width: 92px; right: 16px; top: 96px; bottom: auto; }

  .postcard { grid-template-columns: 1fr; grid-template-rows: 1fr 1.5px auto; gap: 5%; padding: 9% 8% 8%; }
  .postcard__msg { font-size: 25px; }
  .postcard__sign { font-size: 27px; }
  .postcard__side { min-height: 150px; }
  .stamp { width: 74px; top: auto; bottom: 66px; }
  .stamp__in { padding: 0 20% 0 9%; }
  .stamp__name { font-size: 12.5px; }
  .stamp__cafe { font-size: 10px; }
  .postmark { width: 74px; top: auto; bottom: 74px; right: 72px; }
  .postmark__waves { display: none; }
  .postcard__to { font-size: 19px; max-width: 70%; }
  .card__hint { font-size: 20px; bottom: -52px; }

  .facts { grid-template-columns: 1fr 1fr; column-gap: 20px; margin-top: 64px; }
  .fact, .fact + .fact { padding: 22px 0 8px; border-left: 0; border-top: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact svg { width: 28px; height: 28px; margin-bottom: 10px; }
  .fact strong { font-size: 18px; }
  .fact span { font-size: 14.5px; line-height: 1.4; }
  .steps { grid-template-columns: 1fr; }
  .occasions__list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .occasions__list li { padding: 18px 16px 16px; gap: 4px; }
  .occasions__list svg { width: 26px; height: 26px; margin-bottom: 6px; }
  .occasions__list b { font-size: 16px; line-height: 1.25; }
  .occasions__list span { font-size: 14px; margin-bottom: 8px; }
  .details > div { grid-template-columns: 1fr; gap: 6px; }
  .book__card { grid-template-columns: 1fr; padding: 26px 20px; }
  .menu__body { padding: 24px 18px 8px; }
  .menu__cols { columns: 1; }
  .menu__name { font-size: 18px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}

/* --------------------------------------------------------------------------
   Static mode (?static, reduced motion, or no CDN): everything in place
   -------------------------------------------------------------------------- */
.is-static .hero__table, .is-static .card__hint, .is-static .card__back { display: none !important; }
.is-static .film__saluti { display: none; }
.is-static .day__pin { height: auto; min-height: 0; grid-template-rows: auto auto; padding-top: var(--section); padding-bottom: var(--section); }
.is-static .day__stage { display: none; }
.is-static .day__head { margin-bottom: 40px; }
.is-static .day__steps { display: none; }
.is-static .day__copy { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.is-static .chapter { grid-area: auto; visibility: visible; opacity: 1; }
.is-static .film__shot.is-on { animation: none; }
.is-static .marquee__track { animation: none; }
.is-static .seal svg:first-child { animation: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   Additions
   -------------------------------------------------------------------------- */
.table__dishes { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.polaroid--stage { transition: opacity .5s ease, visibility .5s, transform .7s var(--ease); transform: rotate(-14deg) translateY(24px) scale(.92); }
.polaroid--stage.is-on { transform: rotate(-7deg); }
.header-hidden .menu__bar { top: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .1em .22em; margin: -.06em -.1em -.22em; }
.is-revealed .w { overflow: visible; }
.w > span { display: inline-block; will-change: transform; }
@media (max-width: 640px) { .film__shot { object-position: var(--pos-m, var(--pos)); } }


/* --------------------------------------------------------------------------
   Intro and hero entrance, in CSS so they play the moment the page paints
   (they don't wait for the animation libraries to download). Hero pieces use
   `backwards` fill only, so the scroll animations own them afterwards.
   -------------------------------------------------------------------------- */
:root { --intro-out: 1.35s; }
.intro-fast { --intro-out: .45s; }
.js .intro { animation: intro-out .9s cubic-bezier(.76, 0, .24, 1) var(--intro-out) forwards; }
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }
.js .intro__hello { animation: rise-in .6s var(--ease) both; }
.js .intro .lockup__name > span { display: inline-block; animation: char-in .8s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(var(--i) * 45ms + 100ms); }
.js .intro .lockup__cafe { animation: slide-in .7s var(--ease) .5s both; }
.js .intro .tricolore i { animation: drop .7s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 50% 0; }
.js .intro .tricolore i:nth-child(1) { animation-delay: .55s; }
.js .intro .tricolore i:nth-child(2) { animation-delay: .63s; }
.js .intro .tricolore i:nth-child(3) { animation-delay: .71s; }
.js .intro .lockup__line { animation: rise-in .6s var(--ease) .75s both; }
.intro-fast .intro * { animation-duration: .01ms !important; animation-delay: 0s !important; }

.js .hero__title .line > span { animation: line-up 1.1s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--intro-out) + .45s); }
.js .hero__title .line:nth-child(2) > span { animation-delay: calc(var(--intro-out) + .55s); }
.js .hero__lede { animation: rise-in .8s var(--ease) backwards; animation-delay: calc(var(--intro-out) + .7s); }
.js .hero__ctas { animation: rise-in .8s var(--ease) backwards; animation-delay: calc(var(--intro-out) + .78s); }
/* .hero__ui and .seal fade out on scroll (GSAP owns their opacity), so their
   entrances animate children / clip-path instead */
.js .hero__ui > *, .js .site-header { animation: rise-in .8s var(--ease) backwards; animation-delay: calc(var(--intro-out) + .85s); }
.js .seal { animation: seal-in 1s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--intro-out) + .95s); }

@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes char-in { from { opacity: 0; transform: translateY(60px) rotate(6deg); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } }
@keyframes drop { from { transform: scaleY(0); } }
@keyframes line-up { from { transform: translateY(135%); } }
@keyframes seal-in { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }

.is-static .hero__title .line > span, .is-static .hero__lede, .is-static .hero__ctas,
.is-static .hero__ui > *, .is-static .site-header, .is-static .seal { animation: none; }
