/* ==========================================================================
   Da Giulia. Art direction: "Manifesto dello spritz"
   1950s Italian aperitivo posters + risograph print. Red ink on blush paper.
   Shape system: buttons are pills, photos are 6px, featured photos are arches.
   ========================================================================== */

@font-face {
  font-family: "Gambarino";
  src: url("/fonts/gambarino.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* Brand: blush #fed7d8 and rosso #cb2d2d, kept from the existing identity */
  --blush: oklch(0.905 0.048 12.5);
  --blush-2: oklch(0.86 0.068 14);
  --rosso: oklch(0.555 0.19 25);
  --rosso-deep: oklch(0.47 0.17 25);
  --rosso-text: oklch(0.47 0.175 25); /* small red text on blush: 5:1 contrast */
  --ink: oklch(0.27 0.06 22);
  --ink-2: oklch(0.4 0.07 22);
  --paper: oklch(0.975 0.012 15);

  --font-display: "Gambarino", "Iowan Old Style", Georgia, serif;
  --font-body: "Satoshi", ui-sans-serif, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 68px;
  --radius: 6px;
  --section-y: clamp(64px, 8vw, 112px);

  /* z-index scale */
  --z-header: 40;
  --z-menu: 45;
  --z-grain: 60;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Paper grain: fixed, non-interactive, never on a scrolling layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  background: url("/img/grain.webp");
  opacity: 0.07;
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  line-height: 1;
  color: var(--rosso);
}

.lede {
  margin-top: 1.25rem;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: currentColor;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--rosso);
  outline-offset: 3px;
}

/* ---------- Buttons: printed-ticket feel ----------
   A hard offset "ink" shadow the button sinks into when pressed,
   a label that rolls on hover, and an arrow chip on primary actions. */

.btn {
  --shadow: var(--rosso-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--shadow);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background-color 200ms ease,
    color 200ms ease;
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--shadow);
  transition-duration: 80ms;
}

/* Rolling label (spans added by script.js; plain text without JS) */
.btn-roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.2;
}

.btn-roll > span {
  display: block;
  transition: transform 450ms var(--ease-out);
}

.btn-roll::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  transition: transform 450ms var(--ease-out);
}

.btn .icon {
  transition: transform 450ms var(--ease-out);
}

.btn-primary {
  background: var(--rosso);
  color: var(--paper);
}

/* Arrow chip on primary actions */
.btn-primary:not(.btn-sm) {
  padding-right: 8px;
}

.btn-primary:not(.btn-sm) .icon {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--paper);
  fill: var(--rosso);
}

.btn-light {
  --shadow: oklch(0.2 0.04 22 / 0.55);
  background: var(--paper);
  color: var(--ink);
}

.btn-ghost {
  --shadow: var(--ink);
  background: var(--blush);
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1.5px var(--ink),
    0 4px 0 var(--shadow);
}

.btn-ghost:active {
  box-shadow:
    inset 0 0 0 1.5px var(--ink),
    0 1px 0 var(--shadow);
}

.btn-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
  box-shadow: 0 3px 0 var(--shadow);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 0 var(--shadow);
  }

  .btn-ghost:hover {
    box-shadow:
      inset 0 0 0 1.5px var(--ink),
      0 5px 0 var(--shadow);
  }

  .btn:hover .btn-roll > span,
  .btn:hover .btn-roll::after {
    transform: translateY(-100%);
  }

  .btn-primary:not(.btn-sm):hover .icon {
    transform: rotate(-45deg);
  }

  .btn:not(.btn-primary):hover .icon {
    transform: translate(2px, -2px);
  }

  .btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--shadow);
  }
}

/* ---------- Header: a floating capsule, laid out like a shop sign ---------- */

.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: 0 12px;
  pointer-events: none;
}

.capsule {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  /* Top of page: wide and transparent, blended into the photo */
  max-width: calc(var(--max) + 24px);
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  color: var(--paper);
  /* Smoked glass so the links stay legible over the neon */
  background: oklch(0.16 0.035 22 / 0.34);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow:
    inset 0 0 0 1px oklch(0.975 0.012 15 / 0.16),
    0 10px 30px -14px oklch(0.27 0.06 22 / 0);
  pointer-events: auto;
  transition:
    max-width 800ms var(--ease-out),
    height 600ms var(--ease-out),
    background-color 500ms ease,
    box-shadow 500ms ease,
    color 400ms ease,
    -webkit-backdrop-filter 500ms ease,
    backdrop-filter 500ms ease;
}

/* Once scrolled (or with the mobile menu open): the compact blush capsule */
.site-header[data-scrolled] .capsule,
.site-header.menu-open .capsule {
  max-width: 1180px;
  height: 60px;
  color: var(--ink);
  background: oklch(0.905 0.048 12.5 / 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow:
    inset 0 0 0 1px oklch(0.555 0.19 25 / 0.16),
    0 10px 30px -14px oklch(0.27 0.06 22 / 0.45);
}

.cap-left,
.cap-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cap-right {
  justify-content: flex-end;
}

.brand {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: block;
  transition: transform 300ms var(--ease-out);
}

.brand img {
  width: auto;
  height: 34px;
  filter: brightness(0) invert(0.96);
  transition: filter 500ms ease;
}

.site-header[data-scrolled] .brand img,
.site-header.menu-open .brand img {
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    transform: rotate(-2deg) scale(1.03);
  }
}

.nav {
  display: none;
  align-items: center;
}

.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 250ms ease;
}

.nav a.is-inked {
  color: var(--paper);
}

/* The red "ink" pill that slides under the hovered or current link */
.nav-ink {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  width: 0;
  height: 38px;
  margin-top: -19px;
  border-radius: 999px;
  background: var(--rosso);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 450ms var(--ease-out),
    width 450ms var(--ease-out),
    opacity 200ms ease;
}

.nav-ink.is-visible {
  opacity: 1;
}

/* Live open/closed status, from the real opening hours */
.status {
  display: none;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  padding-right: 18px;
  border-right: 1px solid currentColor;
  border-right-color: color-mix(in oklch, currentColor 25%, transparent);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: inherit;
  opacity: 0.85;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.status.is-open .status-dot {
  background: var(--rosso);
  box-shadow: none;
}

.status.is-open .status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--rosso);
  animation: ping 2.4s var(--ease-out) infinite;
}

@keyframes ping {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle-bars {
  display: grid;
  gap: 6px;
  width: 20px;
}

.menu-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 260ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  display: grid;
  gap: 28px;
  max-width: 1240px;
  margin: 8px auto 0;
  padding: 28px 28px 32px;
  border-radius: 28px;
  background: var(--blush);
  box-shadow:
    inset 0 0 0 1px oklch(0.555 0.19 25 / 0.16),
    0 18px 40px -18px oklch(0.27 0.06 22 / 0.5);
  pointer-events: auto;
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition:
    opacity 200ms var(--ease-out),
    transform 260ms var(--ease-out),
    visibility 0s linear 260ms;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 200ms var(--ease-out),
    transform 260ms var(--ease-out),
    visibility 0s;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--rosso);
  text-decoration: none;
}

.mobile-menu-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
}

/* Mobile: logo left, actions right */
@media (max-width: 1099px) {
  .capsule {
    grid-template-columns: auto 1fr;
    padding-left: 20px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .cap-left {
    display: none;
  }

  .cap-right {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
  }

  .status:not([hidden]) {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .brand img {
    height: 38px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  max-height: 1080px;
  overflow: hidden;
  color: var(--paper);
  background: oklch(0.16 0.03 22);
}

.hero-media,
.hero-media img,
.hero-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  /* keep the neon sign in frame on narrow screens */
  object-position: 70% 50%;
}

.hero-media canvas {
  opacity: 0;
  transition: opacity 200ms ease;
}

.hero-media canvas.is-ready {
  opacity: 1;
}

/* Scrim so the copy stays readable over the storefront */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, oklch(0.16 0.035 22 / 0.55) 0, transparent 150px),
    linear-gradient(to top, oklch(0.2 0.05 22 / 0.82) 0%, oklch(0.2 0.05 22 / 0.35) 38%, transparent 62%),
    linear-gradient(to right, oklch(0.2 0.05 22 / 0.35), transparent 55%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(84px, 11vh, 112px);
}

.hero-copy > div:first-child {
  max-width: 760px;
}


.hero-title {
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 0.95;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.line > span {
  display: inline-block;
}

.hero-sub {
  margin-top: 20px;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: oklch(0.975 0.012 15 / 0.9);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Rotating happy hour stamp */
.badge {
  position: absolute;
  z-index: 3;
  top: 92px;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: clamp(112px, 12vw, 156px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rosso);
  color: var(--paper);
  text-decoration: none;
  transition: transform 300ms var(--ease-out);
}

.badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}

.badge text {
  fill: currentColor;
  font: 600 13px var(--font-body);
  text-transform: uppercase;
}

.badge-center {
  display: grid;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.05;
}

.badge-center strong {
  font-weight: 400;
  font-size: 1.35em;
}

@media (hover: hover) and (pointer: fine) {
  .badge:hover {
    transform: scale(1.05) rotate(-4deg);
  }
}

@media (min-width: 960px) {
  .badge {
    top: 104px;
  }
}

/* Load choreography: photo settles, title rises line by line, then the rest */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img,
  .hero-media canvas {
    animation: settle 1800ms var(--ease-out) both;
  }

  .line > span {
    animation: rise-line 1000ms var(--ease-out) both;
  }

  .line:nth-of-type(1) > span {
    animation-delay: 80ms;
  }

  .line:nth-of-type(2) > span {
    animation-delay: 170ms;
  }

  /* Movement only (no opacity 0): the text counts as painted right away, so LCP is not delayed */
  .hero-sub {
    animation: rise-soft 900ms var(--ease-out) 260ms both;
  }

  .hero-ctas {
    animation: rise-soft 900ms var(--ease-out) 340ms both;
  }

  .badge {
    animation: stamp 700ms var(--ease-out) 900ms both;
  }
}

@keyframes settle {
  from {
    transform: scale(1.1);
  }
}

@keyframes rise-line {
  from {
    transform: translateY(105%);
  }
}

@keyframes rise-soft {
  from {
    transform: translateY(18px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes stamp {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-12deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-bottom: 1px solid var(--blush-2);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee ul {
  display: flex;
  flex: none;
}

.marquee li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-right: 44px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--rosso-text);
}

.marquee li::before {
  content: "\273F"; /* ✿ echoes the floral wallpaper */
  margin-right: 34px;
  font-size: 1.1rem;
  color: var(--rosso);
}

.marquee li span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 48s linear infinite;
  }

  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }
}

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

/* ---------- La carte ---------- */

.carte {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.carte-stage {
  display: none;
}

.carte-list {
  margin-top: 36px;
  border-top: 1px solid var(--blush-2);
}

.carte-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--blush-2);
  outline-offset: 6px;
}

.carte-thumb {
  width: 88px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
}

.carte-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.carte-row h3 {
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  line-height: 1;
  transition:
    color 300ms ease,
    transform 500ms var(--ease-out);
}

.carte-price {
  flex: none;
  font-weight: 600;
  color: var(--rosso-text);
}

.carte-desc {
  margin-top: 6px;
  max-width: 48ch;
  color: var(--ink-2);
}

.carte-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.carte-foot p {
  max-width: 36ch;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

@media (min-width: 960px) {
  .carte-body {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
  }

  .carte-stage {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 140px);
    overflow: hidden;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: var(--blush-2);
  }

  .carte-stage img,
  .carte-stage canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* CSS fallback when WebGL is unavailable: blurred crossfade */
  .carte-stage img {
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.04);
    transition:
      opacity 500ms var(--ease-out),
      filter 500ms var(--ease-out),
      transform 700ms var(--ease-out);
  }

  .carte-stage img.is-active {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .carte-stage canvas {
    opacity: 0;
  }

  .carte-stage canvas.is-ready {
    opacity: 1;
  }

  .carte-thumb {
    display: none;
  }

  .carte-item {
    display: block;
    padding: 22px 0;
    cursor: default;
  }

  .carte-item.is-active h3 {
    color: var(--rosso);
    transform: translateX(14px);
  }
}

/* ---------- Happy hour (the one drenched section) ---------- */

.aperitivo {
  display: grid;
  gap: clamp(48px, 6vw, 88px);
  padding: var(--section-y) var(--gutter);
  background: var(--rosso-deep);
  color: var(--paper);
}

.aperitivo-media {
  position: relative;
  max-width: 820px;
}

.aperitivo-bar {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.aperitivo-spritz {
  position: absolute;
  right: -4%;
  bottom: -14%;
  width: 36%;
  max-width: 240px;
  rotate: 4deg;
}

.aperitivo-spritz img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  border: 6px solid var(--rosso-deep);
}

.aperitivo .h2 {
  color: var(--paper);
}

.aperitivo .lede {
  color: oklch(0.975 0.012 15 / 0.82);
}

.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 40px;
}

.prices li {
  display: grid;
  gap: 2px;
}

.prices span {
  font-size: 0.9375rem;
  color: oklch(0.975 0.012 15 / 0.82);
}

.prices strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.05;
}

.aperitivo-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid oklch(0.975 0.012 15 / 0.25);
  max-width: 52ch;
  color: oklch(0.975 0.012 15 / 0.82);
}

@media (min-width: 960px) {
  .aperitivo {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
}

/* ---------- Salle et terrasse: expanding panels ---------- */

.salle {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.salle-head {
  display: grid;
  gap: 0;
}

.salle-head .h2 {
  max-width: 16ch;
}

.accordion {
  display: flex;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 48px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.accordion::-webkit-scrollbar {
  display: none;
}

.panel {
  position: relative;
  flex: 0 0 78%;
  height: clamp(360px, 60vh, 560px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blush-2);
  scroll-snap-align: start;
  outline-offset: 4px;
}

.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accordion-caption {
  display: none;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

.accordion-caption span {
  display: inline-block;
}

.accordion-caption span.is-swapping {
  animation: caption-in 500ms var(--ease-out);
}

@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
}

@media (min-width: 900px) {
  .salle-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
  }

  .salle-head .lede {
    justify-self: end;
    max-width: 40ch;
  }

  .accordion {
    overflow: visible;
  }

  .panel {
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
    transition: flex-grow 800ms var(--ease-out);
  }

  .panel.is-active {
    flex-grow: 5.5;
    cursor: default;
  }

  .panel img {
    transform: scale(1.12);
    filter: saturate(0.65) contrast(1.05);
    transition:
      transform 1100ms var(--ease-out),
      filter 700ms ease;
  }

  /* Closed panels carry a thin red ink, like an unfinished print */
  .panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--rosso);
    mix-blend-mode: multiply;
    opacity: 0.45;
    transition: opacity 700ms ease;
    pointer-events: none;
  }

  .panel.is-active img {
    transform: none;
    filter: none;
  }

  .panel.is-active::after {
    opacity: 0;
  }

  .accordion-caption {
    display: block;
  }
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .panel:not(.is-active):hover::after {
    opacity: 0.25;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter) 0;
}

.faq-list {
  display: grid;
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--blush-2);
}

.faq-item {
  border-bottom: 1px solid var(--blush-2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.2;
}

/* Plus that turns into a minus */
.faq-plus {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition:
    background-color 200ms ease,
    transform 300ms var(--ease-out);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--ink);
  transition: transform 300ms var(--ease-out);
}

.faq-plus::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-plus {
  background: var(--ink);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after {
  background: var(--blush);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(0deg);
}

.faq-item p {
  max-width: 64ch;
  padding: 0 0 22px;
  color: var(--ink-2);
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] p {
    animation: fade-up 400ms var(--ease-out);
  }
}

@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover .faq-plus {
    transform: rotate(90deg);
  }
}

@media (min-width: 960px) {
  .faq {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }

  .faq-list {
    margin-top: 0;
  }
}

/* ---------- Infos ---------- */

.infos {
  display: grid;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.arch {
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
}

.arch img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.facts {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
}

.facts dd {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.facts .facts-extra {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.facts a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 400ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .facts a:hover {
    background-size: 100% 1.5px;
  }
}

.infos-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

@media (min-width: 960px) {
  .infos {
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 8vw, 128px);
    align-items: center;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 40px;
  }

  .facts > div:first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 64px var(--gutter) 40px;
  border-top: 1px solid var(--blush-2);
  text-align: center;
}

.footer-logo {
  width: auto;
  height: 56px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.credit {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.credit a {
  font-weight: 600;
}

/* ---------- Scroll reveals (CSS scroll-driven; content stays visible where unsupported) ---------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
}

/* Movement only: content is never hidden, even where the timeline never runs */
@keyframes reveal {
  from {
    transform: translateY(48px) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .badge svg {
    animation: none;
  }
}
