/* ============================================================
   Chez Christophe · site-v2 "Sábado y Domingo" (Route B)
   Split editorial hero · la semana narrative · ritual diptych
   Type: Zodiak (display) + General Sans (text), vendored
   Foundation :root copied from knowledge/design-system/tokens.css
   ============================================================ */

/* --- design-system foundation tokens (copied, do not fork values) --- */
:root {
  /* --- brand color ramps (50 light .. 900 dark) --- */
  --brand-50: #f2f3f7;
  --brand-100: #e5e8ee;
  --brand-200: #ccd1de;
  --brand-300: #acb4c9;
  --brand-400: #8592b0;
  --brand-500: #5f6f97;
  --brand-600: #525f82;
  --brand-700: #44506d;
  --brand-800: #353e55;
  --brand-900: #262c3c;
  /* accent */
  --accent-50: #fdf5f8;
  --accent-100: #fbecf1;
  --accent-200: #f8d9e3;
  --accent-300: #f3c1d2;
  --accent-400: #eea5bd;
  --accent-500: #e888a8;
  --accent-600: #c87590;
  --accent-700: #a76279;
  --accent-800: #824c5e;
  --accent-900: #5d3643;

  /* --- semantic roles (WCAG-AA verified by tokens.py) --- */
  --color-bg: #faf6f0;
  --color-brand: #5f6f97;
  --color-accent: #e888a8;
  --color-ink: #122438;
  --color-on-brand: #ffffff;
  --color-on-accent: #122438;

  /* --- fluid type scale (clamp: 360px .. 1240px viewport) --- */
  --step-6: clamp(2.4rem, 1.664rem + 3.27vw, 4.2rem);
  --step-5: clamp(2rem, 1.509rem + 2.18vw, 3.2rem);
  --step-4: clamp(1.7rem, 1.414rem + 1.27vw, 2.4rem);
  --step-3: clamp(1.4rem, 1.236rem + 0.73vw, 1.8rem);
  --step-2: clamp(1.2rem, 1.098rem + 0.45vw, 1.45rem);
  --step-1: clamp(1.1rem, 1.059rem + 0.18vw, 1.2rem);
  --step-0: clamp(1rem, 0.98rem + 0.09vw, 1.05rem);
  --step--1: clamp(0.875rem, 0.865rem + 0.05vw, 0.9rem);
  --step--2: clamp(0.78rem, 0.772rem + 0.04vw, 0.8rem);
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --measure: 66ch;

  /* --- spacing scale (rem) --- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* --- corner language: sharp (0px base) --- */
  --radius-0: 0;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 6px;

  /* --- shadow scale (keep restrained; not on every block) --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.16);

  /* --- motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 260ms;
  --dur-slow: 520ms;

  /* --- concept-local additions (route B) --- */
  --dur-flip: 780ms;
  --navy: #122438;
  --hairline-ink: rgba(18, 36, 56, 0.18);
  --hairline-cream: rgba(250, 246, 240, 0.22);
  --header-h: 72px;
  --font-display: "Zodiak", Georgia, "Times New Roman", serif;
  --font-text: "General Sans", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-flip: 0ms;
  }
}
html.shot {
  --dur-fast: 0ms;
  --dur-base: 0ms;
  --dur-slow: 0ms;
  --dur-flip: 0ms;
}

/* --- vendored faces (Fontshare, ITF: Zodiak + General Sans) --- */
@font-face {
  font-family: "Zodiak";
  src: url("../fonts/Zodiak-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("../fonts/Zodiak-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("../fonts/Zodiak-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak";
  src: url("../fonts/Zodiak-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: var(--leading-normal);
  color: var(--color-ink);
  background: var(--color-bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-brand);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--color-ink);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  margin: 0;
}
p {
  margin: 0 0 var(--space-sm);
}
ul,
ol {
  margin: 0;
  padding: 0;
}
blockquote {
  margin: 0;
}
figure {
  margin: 0;
}
button {
  font: inherit;
  cursor: pointer;
}
::selection {
  background: var(--accent-300);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 2px;
}
.site-header :focus-visible,
.drawer :focus-visible,
.section-ritual :focus-visible,
.section-historia :focus-visible,
.reserva :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--accent-300);
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100px;
  z-index: 100;
  padding: 0.6em 1em;
  background: var(--navy);
  color: var(--color-bg);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus {
  top: var(--space-sm);
  color: var(--color-bg);
}

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
main section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}
body.no-scroll {
  overflow: hidden;
}

/* reveals are JS-gated so content is fully present without JS */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.js [data-reveal="left"] {
  transform: translateX(-26px);
}
.js [data-reveal="right"] {
  transform: translateX(26px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.js [data-stagger].is-in > * {
  opacity: 1;
  transform: none;
}
.js [data-stagger].is-in > *:nth-child(1) {
  transition-delay: 0ms;
}
.js [data-stagger].is-in > *:nth-child(2) {
  transition-delay: 60ms;
}
.js [data-stagger].is-in > *:nth-child(3) {
  transition-delay: 120ms;
}
.js [data-stagger].is-in > *:nth-child(4) {
  transition-delay: 180ms;
}
.js [data-stagger].is-in > *:nth-child(5) {
  transition-delay: 240ms;
}
.js [data-stagger].is-in > *:nth-child(6) {
  transition-delay: 300ms;
}
.js [data-stagger].is-in > *:nth-child(7) {
  transition-delay: 360ms;
}

/* --- header --- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: var(--header-h);
  padding-inline: clamp(1rem, 3vw, 2rem);
  background: var(--navy);
  border-bottom: 1px solid var(--hairline-cream);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--hairline-cream);
  background: var(--brand-100);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--color-bg);
}
.site-nav {
  display: flex;
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
}
.site-nav a {
  color: var(--brand-100);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.site-nav a:hover {
  color: var(--accent-300);
  text-decoration: underline;
}
.site-nav a {
  white-space: nowrap;
}
.header-cta {
  background: var(--color-accent);
  color: var(--color-on-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  padding: 0.6em 1.1em;
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--accent-400);
  color: var(--color-on-accent);
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--hairline-cream);
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-bg);
  transition: transform var(--dur-base) var(--ease-out);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (max-width: 700px) {
  .header-cta {
    display: none;
  }
}

/* --- drawer --- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--navy);
  padding: calc(var(--header-h) + var(--space-xl)) clamp(1.5rem, 6vw, 3rem)
    var(--space-xl);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform var(--dur-base) var(--ease-out),
    visibility 0s var(--dur-base);
  overflow-y: auto;
}
.drawer.is-open {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.drawer nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.drawer a {
  color: var(--color-bg);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
}
.drawer a:hover {
  color: var(--accent-300);
}
.drawer .drawer-cta {
  margin-top: var(--space-md);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--step-0);
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding: 0.8em 1.2em;
  align-self: flex-start;
}

/* --- hero: split editorial --- */
.hero {
  display: grid;
  min-height: max(560px, 96svh);
  background: var(--navy);
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}
.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + var(--space-xl)) clamp(1.5rem, 5vw, 4.5rem)
    var(--space-2xl);
}
.hero-meta {
  color: var(--brand-300);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
}
.hero-title {
  color: var(--color-bg);
  font-weight: 900;
  font-size: var(--step-5);
  letter-spacing: -0.016em;
  max-width: 13em;
  margin-bottom: var(--space-md);
}
.hero-sub {
  color: var(--brand-200);
  font-size: var(--step-1);
  line-height: var(--leading-snug);
  max-width: 30em;
  margin-bottom: var(--space-lg);
}
.hero-bow {
  width: 46px;
  color: var(--color-accent);
}
/* the bow "wax seal" riding the panel/photo seam (desktop split only) */
.hero-seal {
  display: none;
}
@media (min-width: 900px) {
  .hero-bow {
    display: none;
  }
  .hero-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    width: 88px;
    height: 88px;
    transform: translate(50%, -50%);
    background: var(--navy);
    border: 1px solid var(--hairline-cream);
    box-shadow: var(--shadow-md);
    z-index: 2;
  }
  .hero-seal::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid var(--hairline-cream);
  }
  .hero-seal svg {
    width: 46px;
    color: var(--color-accent);
  }
}
.hero-media {
  position: relative;
  min-height: 58vh;
  background: var(--brand-900);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero-media {
    min-height: 0;
  }
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* the covered image fills the frame with no vertical slack, so a small
     scale opens room and the translate nudges the tart down within it */
  transform: scale(1.06) translateY(2.5%);
}
.hero-media-tag,
.bleed-tag {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  background: rgba(18, 36, 56, 0.82);
  color: var(--color-bg);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  padding: 0.45em 0.9em;
}

/* --- shared section chrome --- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--brand-600);
  margin: 0 0 var(--space-3xs);
}
.section-kicker--inverse {
  color: var(--brand-300);
}
.section-title {
  font-weight: 700;
  font-size: var(--step-5);
  letter-spacing: -0.01em;
  max-width: 18em;
  margin-bottom: var(--space-sm);
}
.section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 0.45em;
  background: var(--color-accent);
}
.section-title--inverse {
  color: var(--color-bg);
}
.section-lede {
  font-size: var(--step-1);
  line-height: var(--leading-snug);
  color: var(--brand-700);
  max-width: 44em;
  margin-bottom: var(--space-xl);
}

/* --- la semana --- */
.week-wrap {
  margin-top: var(--space-md);
}
.week {
  list-style: none;
  display: grid;
  border: 1px solid var(--hairline-ink);
  background: var(--color-bg);
}
@media (min-width: 960px) {
  .week {
    grid-template-columns: repeat(7, 1fr);
  }
}
.week-day {
  position: relative;
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
@media (min-width: 960px) {
  .week-day + .week-day {
    border-left: 1px solid var(--hairline-ink);
  }
}
@media (max-width: 959.98px) {
  .week-day + .week-day {
    border-top: 1px solid var(--hairline-ink);
  }
  .week-day {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.8rem;
  }
}
.week-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
}
.week-hours {
  font-size: var(--step--1);
  color: var(--brand-700);
}
.week-day.is-closed .week-name,
.week-day.is-closed .week-hours {
  color: var(--brand-600);
}
.week-day.is-ritual {
  background: var(--navy);
}
.week-day.is-ritual .week-name {
  color: var(--color-bg);
}
.week-day.is-ritual .week-hours {
  color: var(--brand-200);
}
.week-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3em 0.6em;
  margin-top: 0.25rem;
}
.week-day.is-today {
  box-shadow: inset 0 -4px 0 var(--color-accent);
}
.today-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.55em;
}
.week-note {
  font-size: var(--step--1);
  color: var(--brand-700);
  margin-top: var(--space-md);
  max-width: 52em;
}

/* --- full-bleed photo bands --- */
.bleed {
  position: relative;
  height: clamp(300px, 56vh, 560px);
  background: var(--brand-900);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bleed--visita {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

/* --- la vitrina y la mesa --- */
.section-vitrina {
  padding-top: 0;
}
.duo {
  display: grid;
  gap: var(--space-2xl);
  margin-top: var(--space-lg);
}
@media (min-width: 900px) {
  .duo {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
  }
  .duo-half--mesa {
    margin-top: var(--space-3xl);
  }
}
.duo-photo {
  margin-bottom: var(--space-md);
  background: var(--brand-100);
}
.duo-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.zoom {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--hairline-ink);
  background: var(--brand-100);
  overflow: hidden;
}
.zoom img {
  transition: transform var(--dur-slow) var(--ease-out);
}
.zoom:hover img {
  transform: scale(1.03);
}
.duo-title {
  font-weight: 700;
  font-size: var(--step-3);
  margin-bottom: var(--space-2xs);
}
.duo-half > p {
  max-width: 34em;
  color: var(--color-ink);
}
.voice {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-md);
  margin-top: var(--space-md);
}
.voice p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2xs);
}
.voice cite {
  font-style: normal;
  font-size: var(--step--1);
  color: var(--brand-700);
}

/* --- el ritual del fin de semana --- */
.section-ritual {
  background: var(--navy);
  overflow: hidden;
}
.ritual-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}
@media (min-width: 960px) {
  .ritual-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }
}
.ritual-copy > p {
  color: var(--brand-200);
  max-width: 34em;
}
.day-toggle {
  display: none;
  border: 1px solid var(--hairline-cream);
  margin-top: var(--space-md);
}
.js .day-toggle {
  display: inline-flex;
}
.day-toggle button {
  background: transparent;
  border: 0;
  color: var(--color-bg);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75em 1.5em;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}
.day-toggle button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.ritual-photo {
  margin-top: var(--space-xl);
  max-width: 420px;
}
.ritual-photo .zoom {
  border-color: var(--hairline-cream);
  background: var(--brand-800);
}
.ritual-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 62%;
  width: 100%;
}
.ritual-photo figcaption {
  color: var(--brand-300);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  margin-top: 0.55rem;
}

.ritual-stage {
  max-width: 560px;
  justify-self: stretch;
}
@media (min-width: 960px) {
  .ritual-stage {
    justify-self: end;
    width: 100%;
  }
}
.js .ritual-stage {
  perspective: 1800px;
}
.ritual-stage {
  position: relative;
}
/* the French ghost day-word behind the ticket (swaps with the toggle) */
.ritual-ghost {
  position: absolute;
  right: 0;
  bottom: -1.05em;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.6rem, 8.5vw, 7.5rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--brand-800);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.ritual-ghost span {
  transition: opacity var(--dur-slow) var(--ease-out);
}
.ritual-ghost [data-ghost="dom"] {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
}
.ritual-stage.is-dom .ritual-ghost [data-ghost="sab"] {
  opacity: 0;
}
.ritual-stage.is-dom .ritual-ghost [data-ghost="dom"] {
  opacity: 1;
}
.ritual-card {
  display: grid;
  gap: var(--space-md);
}
.js .ritual-card {
  gap: 0;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transform: rotateZ(-1.2deg);
  transition: transform var(--dur-flip) cubic-bezier(0.35, 0.05, 0.22, 1);
}
.js .ritual-card.is-dom {
  transform: rotateZ(1.2deg) rotateY(180deg);
}
/* one-time "peek" when the stage scrolls in: the card teases its turn */
@keyframes ticket-peek {
  0% {
    transform: rotateZ(-1.2deg) rotateY(0deg);
  }
  40% {
    transform: rotateZ(-0.2deg) rotateY(24deg);
  }
  100% {
    transform: rotateZ(-1.2deg) rotateY(0deg);
  }
}
.js .ritual-card.peek {
  animation: ticket-peek 1500ms var(--ease-out) 300ms both;
}
html.shot .ritual-card,
html.shot .ritual-ghost span {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .ritual-card {
    animation: none !important;
  }
}

.ticket {
  position: relative;
  background: var(--color-bg);
  color: var(--color-ink);
  border: 1px solid rgba(18, 36, 56, 0.3);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.ticket::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--hairline-ink);
  pointer-events: none;
}
.js .ticket {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.js .ticket--dom {
  transform: rotateY(180deg);
}
.ticket-day {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-4);
  line-height: 1;
  margin-bottom: var(--space-2xs);
}
.ticket-day::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 0.4em;
  background: var(--color-accent);
}
.ticket-fr {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand-600);
  font-size: var(--step-0);
  margin-bottom: 0.1rem;
}
.ticket-name {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2xs);
}
.ticket-desc {
  color: var(--brand-700);
  margin-bottom: var(--space-2xs);
}
.ticket-when {
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-600);
  margin-bottom: var(--space-sm);
}
.ticket-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  margin-bottom: var(--space-md);
}
.ticket-price span {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--brand-700);
}
.ticket-voice {
  border-top: 1px dotted rgba(18, 36, 56, 0.4);
  padding-top: var(--space-sm);
}
.ticket-voice p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2xs);
}
.ticket-voice cite {
  font-style: normal;
  font-size: var(--step--2);
  color: var(--brand-700);
}
.price-note {
  color: var(--brand-300);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  margin: var(--space-md) 0 0;
}
.section-carta .price-note {
  color: var(--brand-700);
}

/* --- la carta --- */
.carta-grid {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .carta-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2.5rem, 6vw, 5rem);
  }
}
.carta-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.carta-heading {
  font-weight: 700;
  font-size: var(--step-2);
  margin-bottom: var(--space-3xs);
}
.carta-note {
  font-size: var(--step--1);
  color: var(--brand-700);
  margin-bottom: var(--space-sm);
}
.dish-list {
  list-style: none;
}
.dish-list li {
  display: flex;
  align-items: flex-end;
  gap: 0.6em;
  padding-block: 0.6em;
}
.dish-list li + li {
  border-top: 1px solid rgba(18, 36, 56, 0.08);
}
.dish-head {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dish-fr {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step--1);
  color: var(--brand-600);
}
.dish-name {
  font-weight: 500;
}
.dish-dots {
  flex: 1 1 auto;
  min-width: 1.5em;
  border-bottom: 1px dotted rgba(18, 36, 56, 0.45);
  transform: translateY(-6px);
}
.dish-price {
  font-weight: 600;
  white-space: nowrap;
}
.dish-price em {
  font-style: normal;
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--brand-700);
}
.carta-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: var(--space-xl);
  text-align: center;
}
.carta-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  border: 2px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-0);
  padding: 0.85em 1.6em;
  margin-top: var(--space-2xs);
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}
.carta-cta svg {
  width: 18px;
  height: 18px;
}
.carta-cta:hover {
  background: var(--navy);
  color: var(--color-bg);
}
.carta-cta-sub {
  font-size: var(--step--2);
  color: var(--brand-700);
  margin: 0;
}

/* --- mosaico --- */
.section-mosaic {
  padding-top: 0;
}
.mosaic {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "feature feature"
    "cafe sandwich"
    "choco cocina";
  grid-auto-rows: clamp(150px, 38vw, 300px);
  margin-top: var(--space-lg);
}
@media (min-width: 900px) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "feature feature cafe sandwich"
      "feature feature choco cocina";
    grid-auto-rows: clamp(170px, 21vw, 290px);
  }
}
.tile {
  position: relative;
}
.tile--feature {
  grid-area: feature;
}
.tile--cafe {
  grid-area: cafe;
}
.tile--sandwich {
  grid-area: sandwich;
}
.tile--choco {
  grid-area: choco;
}
.tile--cocina {
  grid-area: cocina;
}
.tile .zoom,
.tile .zoom img {
  height: 100%;
}
.tile .zoom {
  border: 0;
}
.tile .zoom img {
  width: 100%;
  object-fit: cover;
}
.tile figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(18, 36, 56, 0.82);
  color: var(--color-bg);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  padding: 0.4em 0.8em;
  pointer-events: none;
}

/* --- historia --- */
.section-historia {
  background: var(--navy);
  overflow: hidden;
}
.historia-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 960px) {
  .historia-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5rem);
  }
}
.historia-photo {
  background: var(--brand-800);
}
.historia-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--hairline-cream);
}
.historia-photo figcaption {
  color: var(--brand-300);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  margin-top: 0.55rem;
}
.historia-copy > p {
  color: var(--brand-100);
  max-width: 36em;
}
.gracias {
  margin-bottom: var(--space-md);
}
.gracias p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: var(--leading-snug);
  color: var(--color-bg);
  margin-bottom: var(--space-2xs);
}
.gracias cite {
  font-style: normal;
  font-size: var(--step--1);
  color: var(--brand-300);
}
.voice--onnavy {
  border-left-color: var(--color-accent);
}
.voice--onnavy p {
  color: var(--color-bg);
}
.voice--onnavy cite {
  color: var(--brand-300);
}
.historia-rating {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--brand-300);
  font-size: var(--step--1);
  margin-top: var(--space-md);
}
.historia-rating::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: var(--color-accent);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

/* --- visita --- */
.section-visita {
  padding-top: 0;
}
.locations {
  list-style: none;
  margin-top: var(--space-lg);
}
.location {
  display: grid;
  gap: var(--space-sm);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--hairline-ink);
}
.location:last-child {
  border-bottom: 1px solid var(--hairline-ink);
}
@media (min-width: 900px) {
  .location {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) auto;
    gap: var(--space-xl);
    align-items: start;
  }
}
.location h3 {
  font-weight: 700;
  font-size: var(--step-2);
  margin-bottom: 0.2rem;
}
.location-place {
  font-size: var(--step--1);
  color: var(--brand-700);
  margin: 0;
  max-width: 30em;
}
.location-info p {
  margin-bottom: 0.3rem;
  max-width: 34em;
}
.location-info p:last-child {
  margin-bottom: 0;
}
.location-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
@media (min-width: 900px) {
  .location-actions {
    text-align: right;
  }
}
.location-actions a {
  font-weight: 600;
}
.location-soon {
  font-size: var(--step--1);
  color: var(--brand-700);
}

.reserva {
  background: var(--navy);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  margin-top: var(--space-2xl);
}
.reserva-title {
  color: var(--color-bg);
  font-weight: 700;
  font-size: var(--step-4);
  margin-bottom: var(--space-2xs);
}
.reserva-sub {
  color: var(--brand-200);
  margin-bottom: var(--space-md);
}
.reserva-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--color-accent);
  color: var(--color-on-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--step-1);
  padding: 0.85em 1.7em;
}
.reserva-cta svg {
  width: 20px;
  height: 20px;
}
.reserva-cta:hover {
  background: var(--accent-400);
  color: var(--color-on-accent);
}
.reserva-close {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand-200);
  font-size: var(--step-1);
  margin: var(--space-md) 0 0;
}

/* --- footer --- */
.site-footer {
  background: var(--navy);
  padding-top: var(--space-2xl);
}
.footer-grid {
  display: grid;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1.2fr auto;
    align-items: start;
  }
}
.footer-brand {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}
.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-bg);
  font-size: var(--step-1);
  margin: 0;
}
.footer-tag {
  color: var(--brand-300);
  font-size: var(--step--1);
  margin: 0;
  max-width: 24em;
}
.footer-info p {
  color: var(--brand-200);
  font-size: var(--step--1);
  margin-bottom: 0.3rem;
}
.footer-info a {
  color: var(--color-bg);
}
.footer-info a:hover {
  color: var(--accent-300);
}
.footer-social {
  display: flex;
  gap: var(--space-lg);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--brand-200);
  text-decoration: none;
  font-size: var(--step--1);
}
.footer-social a:hover {
  color: var(--accent-300);
}
.footer-social svg {
  width: 20px;
  height: 20px;
}
.footer-legal {
  border-top: 1px solid var(--hairline-cream);
  padding-block: var(--space-md);
}
.footer-legal p {
  color: var(--brand-300);
  font-size: var(--step--2);
  margin: 0;
}

/* --- lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 20, 0.93);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border: 1px solid var(--hairline-cream);
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-bg);
  border: 1px solid var(--hairline-cream);
}
.lb-close:hover {
  color: var(--accent-300);
  border-color: var(--accent-300);
}
.lb-close svg {
  width: 18px;
  height: 18px;
}

/* --- small screens --- */
@media (max-width: 480px) {
  .location-actions {
    flex-direction: row;
    gap: var(--space-md);
  }
}
