/* =============================================================
   BODEGA AZOR — Editorial Dark Warm (archetype 02)
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 50%; }

:root {
  --bg:       #0E0B09;   /* warm near-black */
  --bg-2:     #15110E;
  --bg-3:     #1E1813;   /* card */
  --cream:    #F2EBDA;
  --cream-2:  #DDD2BC;
  --cream-3:  #8B7E68;   /* metadata */
  --wine:     #7B2D26;   /* burdeos accent */
  --wine-2:   #9A3A31;
  --gold:     #C49A5B;
  --line:     rgba(242,235,218,.12);
  --line-2:   rgba(242,235,218,.06);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --wrap: 1200px;
  --gutter: clamp(1.15rem, 5vw, 4rem);
  --nav-h: 74px;
}

/* 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.02em; font-weight: 400; }
ul { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: var(--wine); color: var(--cream); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

.eyebrow {
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.1rem;
}
.eyebrow::before { content: "— "; color: var(--wine-2); }

/* 3. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft),
              background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
  will-change: transform;
}
.btn-primary {
  background: var(--wine); color: var(--cream);
  box-shadow: 0 10px 30px -12px rgba(123,45,38,.7);
}
.btn-primary:hover {
  background: var(--wine-2); transform: translateY(-3px);
  box-shadow: 0 22px 46px -14px rgba(123,45,38,.85), 0 0 0 1px rgba(196,154,91,.25);
}
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost {
  color: var(--cream); border: 1px solid var(--line);
  background: rgba(242,235,218,.02);
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold); transform: translateY(-3px);
}

/* 4. Splash ---------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg); display: grid; place-items: center;
  transition: opacity .9s var(--ease-out), clip-path 1.1s var(--ease-soft);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: grid; justify-items: center; gap: 1.2rem; }
.splash-mark {
  font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 3rem);
  letter-spacing: .02em; color: var(--cream);
  opacity: 0; animation: splashIn 1s var(--ease-out) .1s forwards;
}
.splash-mark em { color: var(--gold); font-style: italic; }
.splash-line {
  width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--wine-2), transparent);
  animation: splashLine 1.8s var(--ease-out) .3s forwards;
}
@keyframes splashIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes splashLine { to { width: min(240px, 60vw); } }

/* 5. Nav ------------------------------------------------------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding-inline: var(--gutter);
  transition: background-color .5s var(--ease-out), backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14,11,9,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-2);
}
.nav-brand {
  font-family: var(--serif); font-size: 1.32rem; letter-spacing: .01em;
  margin-right: auto;
}
.nav-brand em { color: var(--gold); font-style: italic; margin-left: .12em; }
.nav-links { display: none; gap: 2rem; }
.nav-link { position: relative; font-size: .92rem; color: var(--cream-2); padding: .2rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: none; align-items: center; gap: .5rem;
  padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .88rem; transition: border-color .4s, color .4s;
}
.nav-cta:hover { border-color: var(--gold); color: var(--gold); }
.nav-cta-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #6fbf73;
  box-shadow: 0 0 0 0 rgba(111,191,115,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(111,191,115,.5);} 70%{box-shadow:0 0 0 7px rgba(111,191,115,0);} 100%{box-shadow:0 0 0 0 rgba(111,191,115,0);} }

.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px;
}
.nav-burger span { width: 24px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease-out), opacity .3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 190;
  background: var(--bg-2); display: grid; place-content: center; gap: 1.4rem;
  text-align: center; clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile a { font-family: var(--serif); font-size: 2rem; color: var(--cream); }
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-call { font-family: var(--sans) !important; font-size: 1.1rem !important; color: var(--gold) !important; letter-spacing: .05em; }

/* 6. Hero ------------------------------------------------------ */
.hero {
  position: relative; min-height: 94vh; min-height: 94svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2.5rem) var(--gutter) clamp(3rem, 8vh, 6rem);
  overflow: hidden; isolation: isolate; background: var(--bg);
}
.hero-mesh {
  position: absolute; inset: -12%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(52% 44% at var(--mesh-x) var(--mesh-y), rgba(123,45,38,.5), transparent 62%),
    conic-gradient(from var(--mesh-angle), rgba(196,154,91,.22), rgba(123,45,38,.28), rgba(30,24,19,.05), rgba(196,154,91,.22));
  filter: blur(78px) saturate(125%);
  opacity: .8; mix-blend-mode: screen;
  animation: meshShift 24s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 28%; --mesh-y: 44%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 60%; }
  100% { --mesh-angle: 360deg; --mesh-x: 28%; --mesh-y: 44%; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
.hero-inner { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: clamp(2.4rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.02fr .98fr; } }
.hero-copy { max-width: 34rem; }
/* Collage de fotos (contenidas = nítidas) */
.hero-art { position: relative; justify-self: center; width: min(100%, 430px); aspect-ratio: 3 / 3.4; }
.hero-photo { position: absolute; overflow: hidden; border-radius: 14px; box-shadow: 0 44px 90px -34px rgba(0,0,0,.85); transition: transform .5s var(--ease-out); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.06) brightness(.96); }
.hero-photo-a { top: 0; right: 0; width: 78%; height: 80%; border: 1px solid rgba(196,154,91,.4); transform: rotate(2deg); }
.hero-photo-b { left: 0; bottom: 0; width: 55%; height: 50%; border: 1px solid rgba(242,235,218,.28); transform: rotate(-3.5deg); z-index: 2; }
.hero-photo-a:hover { transform: rotate(0deg) scale(1.02); z-index: 4; }
.hero-photo-b:hover { transform: rotate(0deg) scale(1.03); z-index: 4; }
.hero-art-badge {
  position: absolute; top: 4%; right: -3%; z-index: 3;
  background: var(--wine); color: var(--cream); border-radius: 999px;
  padding: .5rem 1rem; font-size: .82rem; white-space: nowrap;
  box-shadow: 0 18px 34px -12px rgba(0,0,0,.75);
}
.hero-art-badge strong { font-family: var(--serif); }
@media (max-width: 640px) { .hero-art { width: min(86%, 330px); margin-top: .5rem; } }
.hero-meta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-2); margin-bottom: 1.6rem;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .98; letter-spacing: -0.03em;
  font-weight: 400;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: italic; color: var(--gold);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.hero-sub {
  margin-top: 1.5rem; max-width: 34ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--cream-2); line-height: 1.55;
}
.hero-foot {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.4rem 2.2rem;
}
.hero-rating { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; color: var(--cream-2); }
.hero-stars { color: var(--gold); letter-spacing: .12em; font-size: 1rem; }
.hero-rating strong { color: var(--cream); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-scroll {
  position: absolute; bottom: clamp(1.2rem,3vh,2rem); right: var(--gutter);
  display: none; align-items: center; gap: .7rem;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3);
  writing-mode: vertical-rl;
}
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); }

/* 7. Concept --------------------------------------------------- */
.concept { padding: clamp(4.5rem, 12vh, 9rem) 0; background: var(--bg); position: relative; }
.concept-head {
  font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 3.1rem);
  max-width: 20ch; line-height: 1.08; margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.concept-head em { color: var(--gold); }
.concept-figure {
  position: relative; border-radius: 14px; overflow: hidden;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  border: 1px solid var(--line);
}
.concept-figure img {
  width: 100%; aspect-ratio: 16 / 8; object-fit: cover;
  filter: saturate(1.05) brightness(.9);
}
.pillars { display: grid; gap: 2.2rem; }
.pillar { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pillar-num { font-family: var(--serif); font-size: .95rem; color: var(--wine-2); letter-spacing: .1em; }
.pillar h3 { font-family: var(--serif); font-size: 1.4rem; margin: .5rem 0 .7rem; }
.pillar p { color: var(--cream-2); font-size: .98rem; }

/* 8. Showcase / Carta ------------------------------------------ */
.showcase { padding: clamp(4rem, 10vh, 8rem) 0 clamp(4.5rem, 12vh, 9rem); background: var(--bg-2); position: relative; }
.showcase-head { margin-bottom: 2.6rem; }
.showcase-head h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.6rem); }
.showcase-head h2 em { color: var(--gold); }
.showcase-note { margin-top: .9rem; color: var(--cream-3); font-size: .92rem; }

.showcase-viewport { overflow: hidden; position: relative; }
.showcase-viewport::before, .showcase-viewport::after { content:""; position:absolute; top:0; bottom:0; width:70px; z-index:2; pointer-events:none; }
.showcase-viewport::before { left:0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.showcase-viewport::after { right:0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.showcase-track {
  display: flex; gap: 1.3rem; width: max-content;
  padding: 1rem var(--gutter) 1.6rem;
  animation: railScroll 55s linear infinite;
}
.showcase-viewport:hover .showcase-track { animation-play-state: paused; }
@keyframes railScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.dish {
  flex: 0 0 auto; width: min(78vw, 340px);
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; scroll-snap-align: start;
  transition: box-shadow .5s var(--ease-out), border-color .5s;
}
.dish:hover { border-color: rgba(196,154,91,.3); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.dish-media { overflow: hidden; aspect-ratio: 4 / 3; }
.dish-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.08) brightness(.94);
  transition: transform .8s var(--ease-soft), filter .6s;
}
.dish:hover .dish-media img { transform: scale(1.07); filter: saturate(1.2) brightness(1); }
.dish-body { padding: 1.3rem 1.35rem 1.5rem; }
.dish-kicker { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.dish-body h3 { font-family: var(--serif); font-size: 1.32rem; margin: .5rem 0 .55rem; }
.dish-body p { font-size: .9rem; color: var(--cream-2); line-height: 1.5; }

/* Carta: menú de texto en panel premium */
.carta-menu {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.4rem 3rem; margin-top: clamp(2.8rem, 6vh, 4.2rem);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px;
}
.menu-col .menu-h {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold);
  padding-bottom: .8rem; margin-bottom: 1.05rem; border-bottom: 1px solid rgba(196,154,91,.3);
  display: flex; align-items: baseline; gap: .5rem;
}
.menu-col .menu-h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine-2); flex: 0 0 auto; align-self: center; }
.menu-col ul { display: grid; gap: .85rem; }
.menu-col li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; color: var(--cream); font-size: 1.02rem; line-height: 1.3; }
.menu-col li em { color: var(--wine-2); font-style: italic; font-size: .78rem; white-space: nowrap; letter-spacing: .02em; }
.carta-foot { margin-top: 1.9rem; color: var(--cream-3); font-size: .9rem; text-align: center; }

/* Rails auto-scroll (denominaciones) */
.rail { overflow: hidden; position: relative; margin-top: clamp(2.2rem, 5vh, 3.4rem); }
.rail::before, .rail::after { content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none; }
.rail::before { left:0; background: linear-gradient(90deg, var(--bg), transparent); }
.rail::after { right:0; background: linear-gradient(270deg, var(--bg), transparent); }
.rail-track { display: flex; align-items: center; gap: 1.5rem; width: max-content; white-space: nowrap; animation: railScroll 40s linear infinite; }
.rail-track.rail-rev { animation-direction: reverse; animation-duration: 32s; }
.rail:hover .rail-track { animation-play-state: paused; }
.rail-lg .rail-track span { font-family: var(--serif); font-size: clamp(1.5rem, 4.5vw, 2.7rem); color: var(--cream); }
.rail-lg .rail-track .rail-dot { color: var(--wine-2); }
.rail-sm { margin-top: clamp(1rem, 2.5vh, 1.6rem); }
.rail-sm .rail-track { gap: 1.2rem; }
.rail-sm .rail-track span { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); }
.rail-sm .rail-track .rail-dot { color: var(--wine-2); letter-spacing: 0; }

/* Mapa de Google en Visitar */
.visit-map-wrap { margin-top: clamp(2.6rem, 6vh, 4rem); position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.visit-map { display: block; width: 100%; height: clamp(280px, 42vh, 420px); border: 0; filter: grayscale(.3) contrast(1.05) brightness(.9); }
.visit-map-link { position: absolute; bottom: 14px; right: 14px; z-index: 2; background: var(--wine); color: var(--cream); font-size: .82rem; padding: .5rem .9rem; border-radius: 8px; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(0,0,0,.7); }
.visit-map-link:hover { background: var(--wine-2); }

/* 9. Strip vinos + marquee ------------------------------------- */
.bodega { padding: clamp(4rem, 10vh, 8rem) 0; background: var(--bg); position: relative; overflow: hidden; }
.bodega-head { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; }
.bodega-head em { color: var(--gold); }
.bodega-sub { margin-top: .9rem; color: var(--cream-2); max-width: 44ch; }

.strip { perspective: 1600px; perspective-origin: center 55%; margin: clamp(2.5rem,6vh,4rem) 0; }
.strip-row {
  display: flex; flex-wrap: nowrap; gap: .7rem;
  padding-inline: var(--gutter); transform-style: preserve-3d;
  justify-content: center;
}
.strip-card {
  flex: 1 1 0; min-width: 0; max-width: 120px; aspect-ratio: 3 / 4;
  position: relative; transform-style: preserve-3d;
  animation: stripFlip 8s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.strip-face {
  position: absolute; inset: 0; display: grid; place-items: center; gap: .2rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-3); text-align: center; padding: .5rem;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.strip-front .sf-name { font-family: var(--serif); font-size: clamp(.8rem,1.4vw,1.05rem); color: var(--cream); }
.strip-front::after { content: ""; width: 16px; height: 1px; background: var(--wine-2); margin-top: .4rem; }
.strip-back { transform: rotateY(180deg); background: var(--wine); }
.strip-back .sf-name { font-family: var(--serif); font-style: italic; color: var(--cream); font-size: clamp(.85rem,1.5vw,1.1rem); }
@keyframes stripFlip { 0%,42%{transform:rotateY(0deg);} 58%,100%{transform:rotateY(180deg);} }

.bodega-marquee-wrap { margin-top: clamp(2rem,5vh,3.5rem); }
.marquee { overflow: hidden; position: relative; border-block: 1px solid var(--line); padding: 1.1rem 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: inline-flex; gap: 2.4rem; white-space: nowrap; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-size: 1.1rem; color: var(--cream-2); }
.marquee-track span:nth-child(even) { color: var(--wine-2); }

/* 10. Gallery -------------------------------------------------- */
.gallery { padding: clamp(4rem, 10vh, 8rem) 0; background: var(--bg-2); }
.gallery h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 2.4rem; }
.gallery h2 em { color: var(--gold); }
/* Galería como tira de fotos en movimiento */
.gallery-rail { margin-top: clamp(1.8rem, 4vh, 2.8rem); }
.gallery-rail::before { background: linear-gradient(90deg, var(--bg-2), transparent); }
.gallery-rail::after { background: linear-gradient(270deg, var(--bg-2), transparent); }
.gallery-rail .rail-track { gap: 1rem; align-items: stretch; animation-duration: 52s; }
.gallery-rail .rail-track img {
  height: clamp(200px, 30vh, 300px); width: auto; max-width: none;
  border-radius: 12px; object-fit: cover; border: 1px solid var(--line);
  filter: saturate(1.05) brightness(.95); flex: 0 0 auto;
  transition: filter .5s, transform .5s var(--ease-out);
}
.gallery-rail .rail-track img:hover { filter: saturate(1.18) brightness(1.02); transform: translateY(-4px); }
.gallery-grid {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; filter: saturate(1.05) brightness(.9); transition: transform .8s var(--ease-soft), filter .6s; }
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.18) brightness(1); }
.gallery-tall { grid-row: span 2; }
.gallery-tall img { aspect-ratio: 3/5; height: 100%; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-wide img { aspect-ratio: 16/7; }

/* 11. Visit / form --------------------------------------------- */
.visit { padding: clamp(4.5rem, 12vh, 9rem) 0; background: var(--bg); position: relative; }
.visit-grid { display: grid; gap: 3rem; }
.visit-info h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
.visit-info h2 em { color: var(--gold); }
.visit-lead { color: var(--cream-2); max-width: 46ch; margin-bottom: 2.4rem; }
.visit-facts { display: grid; gap: 1.7rem; margin-bottom: 2.2rem; }
.fact { display: grid; gap: .4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.fact-label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.fact-value { font-size: 1.05rem; color: var(--cream); line-height: 1.5; transition: color .3s; }
a.fact-value:hover { color: var(--gold); }
.hours { display: grid; gap: .35rem; }
.hours li { display: flex; justify-content: space-between; gap: 2rem; font-size: .92rem; color: var(--cream-2); max-width: 300px; }
.hours li span:first-child { color: var(--cream-3); }
.hours li.is-closed { color: var(--cream-3); }
.hours li.is-closed span { color: var(--cream-3); }
.visit-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.form-card {
  position: relative; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 16px; padding: clamp(1.6rem, 4vw, 2.6rem); overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 60%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(123,45,38,.35), transparent 70%);
  pointer-events: none;
}
.form-card h3 { font-family: var(--serif); font-size: 1.6rem; position: relative; }
.form-intro { color: var(--cream-2); font-size: .95rem; margin: .5rem 0 1.6rem; position: relative; }
.cta-form { position: relative; display: grid; gap: 1rem; transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.field { position: relative; }
.field input {
  width: 100%; padding: 1.35rem 1rem .55rem; border: 1px solid var(--line);
  background: rgba(14,11,9,.4); color: var(--cream); border-radius: 10px;
  transition: border-color .3s;
}
.field input:focus { outline: none; border-color: var(--gold); }
.field label {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--cream-3); transition: all .25s var(--ease-out);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: .5rem; transform: none; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.cta-submit { position: relative; margin-top: .3rem; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px; border: 1.5px solid rgba(242,235,218,.3);
  border-top-color: var(--cream); border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form.is-done .cta-form-check { opacity: 1; }
.cta-form-check path {
  stroke: var(--cream); stroke-width: 2; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .6s var(--ease-out) .1s;
}
.cta-form.is-done .cta-form-check path { stroke-dashoffset: 0; }
.form-legal { font-size: .72rem; color: var(--cream-3); line-height: 1.5; position: relative; }

.cta-success {
  position: absolute; left: 50%; top: 50%; width: calc(100% - 2 * clamp(1.6rem,4vw,2.6rem));
  transform: translate(-50%, -40%); text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .8s var(--ease-out) .25s, transform .9s var(--ease-soft) .25s;
}
.cta-success.is-visible { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.cta-success-mark { font-size: 2rem; color: var(--gold); display: block; margin-bottom: .6rem; }
.cta-success h3 { font-family: var(--serif); font-size: 1.5rem; }
.cta-success p { color: var(--cream-2); font-size: .95rem; margin-top: .5rem; }

/* 12. Footer --------------------------------------------------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vh, 5rem); }
.footer-grid { display: grid; gap: 2.4rem; padding-bottom: 2.8rem; }
.footer-mark { font-family: var(--serif); font-size: 1.5rem; }
.footer-mark em { color: var(--gold); font-style: italic; }
.footer-brand p { color: var(--cream-2); font-size: .92rem; margin-top: .7rem; max-width: 34ch; }
.footer-h { display: block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer-col a { display: block; color: var(--cream-2); font-size: .92rem; padding: .28rem 0; transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  padding: 1.6rem 0 2.4rem; border-top: 1px solid var(--line-2);
  font-size: .8rem; color: var(--cream-3);
}
.footer-credits a { color: var(--cream-2); border-bottom: 1px solid var(--line); }
.footer-credits a:hover { color: var(--gold); }

/* 13. Reveal --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* Defensive: split-text elements never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* Tilt */
.has-tilt { --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .55s var(--ease-soft); }
.has-tilt:hover { transition-duration: .12s; }

/* 14. Responsive ----------------------------------------------- */
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .hours li { max-width: none; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .hero-scroll { display: inline-flex; }
  .visit-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: start; }
  .concept { display: block; }
  .concept .wrap { display: grid; grid-template-columns: 1fr; }
  .dish { width: 360px; }
}
@media (min-width: 1280px) {
  .concept-head { max-width: 24ch; }
}

/* Mobile strip: hide overflow cards */
@media (max-width: 1023px) { .strip-card:nth-child(n+8) { display: none; } }
@media (max-width: 767px)  { .strip-card:nth-child(n+6) { display: none; } }
@media (max-width: 539px)  { .strip-card:nth-child(n+5) { display: none; } }

/* Mobile legibility: bump small tracked labels so nothing reads under 12px */
@media (max-width: 640px) {
  .eyebrow { font-size: .82rem; }
  .dish-kicker { font-size: .78rem; }
  .fact-label, .footer-h { font-size: .78rem; }
  .form-legal { font-size: .78rem; }
  .footer-base { font-size: .82rem; }
}

/* 15. Reduced motion — only intrusive effects ------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .nav-cta-dot { animation: none; }
  .hero-mesh { animation-duration: 60s; }
}
