/* ECHIVO /oradea/<slug> — venue.css · venue detail visuals ("the reading"). OWNER: W3 (v11).
   Every selector is scoped under .ox-venue. Markup contract: ws/notes/W3.md (W1 renders it statically).
   Art direction: ws/notes/FX.md — night ground, gold only where the data speaks, no boxes around content, no radar.
   Motion lives in assets/js/oradea/venue.js; without JS (or with reduced motion) everything is in its final state. */

.ox-venue {
  --ox-gold: var(--gold, #f5c882);
  --ox-amber: var(--amber, #d4a560);
  --ox-hair: var(--hairline, rgba(255, 255, 255, 0.10));
  --ox-measure: 62ch;
  position: relative;
  display: block;
  overflow-x: clip;
}

/* ---------- section rhythm ---------- */
.ox-venue .ox-vsec {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 112px) 0 0;   /* side gutter comes from .ox .container (core.css) */
}
.ox-venue .ox-vsec:last-child { padding-bottom: clamp(72px, 12vh, 140px); }
.ox-venue .ox-h2 { margin-bottom: clamp(20px, 2.6vw, 34px); }   /* size from core.css .ox-h2 (FX R1 #5: the venue name stays the loudest) */
.ox-venue .ox-h3 {
  font-size: var(--t-eyebrow); font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3); margin: 0 0 18px;
}
.ox-venue .ox-lead { font-size: var(--t-body); line-height: 1.6; color: var(--text); max-width: var(--ox-measure); margin: 0; text-wrap: pretty; }
.ox-venue ul { list-style: none; margin: 0; padding: 0; }

/* ======================================================================= HERO */
.ox-venue .ox-vhero {
  position: relative;
  min-height: min(88svh, 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(36px, 6vh, 72px);
  isolation: isolate;
  overflow: hidden;
}
.ox-venue .ox-vhero > * { position: relative; z-index: 1; }
/* hero column lines up with the .ox-vsec column below (1120 box, gutter inside it) */
.ox-venue .ox-vhero__in { width: auto; max-width: none; padding: 0; }
.ox-venue .ox-vhero > :not(.ox-vhero__bg) { margin-left: max(0px, calc((100% + 2 * var(--gutter) - 1120px) / 2)); margin-right: 0; }
.ox-venue .ox-vhero__bg { position: absolute; inset: 0; z-index: 0; max-width: none; margin: 0; background: var(--night); pointer-events: none; }
/* the motif: hairline contour rings, like the street plan seen from above at night. One painted layer;
   venue.js scrubs --ox-par (desktop only), nothing else moves. */
.ox-venue .ox-vhero__bg::before {
  content: ""; position: absolute; inset: -25% -10%;
  /* centre = the lit point at 76% 34% of the hero, expressed in this box (inset -25% -10%) */
  background: repeating-radial-gradient(circle at 71.67% 39.33%, transparent 0 41px, rgba(255, 255, 255, 0.055) 41px 42px);
  -webkit-mask-image: radial-gradient(50% 42% at 71.67% 39.33%, #000 15%, transparent 72%);
          mask-image: radial-gradient(50% 42% at 71.67% 39.33%, #000 15%, transparent 72%);
  transform: translate3d(0, var(--ox-par, 0px), 0);
}
/* the venue, as one lit point at the centre of its rings */
.ox-venue .ox-vhero__bg::after {
  content: ""; position: absolute; left: 76%; top: 34%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: var(--ox-gold);
  box-shadow: 0 0 0 6px rgba(245, 200, 130, 0.10), 0 0 28px 6px rgba(245, 200, 130, 0.35);
  transform: translate3d(0, var(--ox-par, 0px), 0);
}
/* night → midnight at the foot of the hero, so the reading starts on --night with a soft edge */
.ox-venue .ox-vhero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; max-width: none;
  background: linear-gradient(90deg, transparent, var(--ox-hair) 20%, var(--ox-hair) 80%, transparent);
}

.ox-venue .ox-vhero__kind { margin: 0 0 16px; }
.ox-venue .ox-vhero__name {
  font-size: var(--t-h1);
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: manual;
}
.ox-venue .ox-vhero__tagline {
  margin: clamp(14px, 2vw, 22px) auto 0 0;
  font-size: var(--t-body);
  color: var(--text-2);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- Echivo stars ---------- */
.ox-venue .ox-stars {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  margin-top: clamp(26px, 3.4vw, 44px);
  position: relative;
}
.ox-venue .ox-stars__num {
  font-size: var(--t-h2); font-weight: 700; line-height: 1;
  color: var(--ox-gold);
  font-variant-numeric: tabular-nums;
  min-width: 2.6ch;
}
/* five rounded 5-point stars, empty = gold at .18, fill = clip of a gold layer at --v/5 (half stars just fall out of it) */
.ox-venue .ox-stars__row {
  --ox-star: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path stroke='black' stroke-width='2.4' stroke-linejoin='round' d='M12 2.6l2.85 6.05 6.6.78-4.88 4.53 1.3 6.53L12 17.2l-5.87 3.29 1.3-6.53-4.88-4.53 6.6-.78z'/></svg>");
  position: relative; display: block; flex: none;
  width: 168px; height: 28px;
  background: rgba(245, 200, 130, 0.18);
  -webkit-mask: var(--ox-star) 0 0 / 33.6px 28px repeat-x;
          mask: var(--ox-star) 0 0 / 33.6px 28px repeat-x;
}
.ox-venue .ox-stars__row::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ox-gold);
  clip-path: inset(0 calc(100% - var(--v, 0) / 5 * 100%) 0 0);
}
.ox-venue .ox-stars__label {
  flex-basis: 100%;
  font-size: var(--t-eyebrow); font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3);
}

/* ---------- disclosure (mandatory, always visible; part of the moment, never a footnote) ---------- */
.ox-venue .ox-disclosure {
  margin-top: clamp(16px, 2vw, 22px);
  font-size: var(--t-small); line-height: 1.6;
  color: var(--text-3);
  max-width: 72ch;
}
.ox-venue .ox-disclosure a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.22); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.ox-venue .ox-disclosure a:hover, .ox-venue .ox-disclosure a:focus-visible { color: var(--ox-gold); text-decoration-color: currentColor; }
.ox-venue .ox-badge {
  display: inline-flex; align-items: center; width: max-content;
  margin: 0 auto 18px 0; padding: 6px 13px; border-radius: 999px;
  font-size: var(--t-eyebrow); font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ox-gold); border: 1px solid rgba(245, 200, 130, 0.45);
}

/* ============================================================ ASPECTS: the tasting sheet */
.ox-venue .ox-aspects__list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ox-hair); }
@media (min-width: 900px) {
  .ox-venue .ox-aspects__list { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 88px); }
  .ox-venue .ox-aspects__list .ox-aspect:nth-child(2) { border-top: 0; }
}
.ox-venue .ox-aspect {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label score" "bar bar" "note note" "meta meta";
  align-items: center; column-gap: 12px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--ox-hair);
}
.ox-venue .ox-aspect__label { grid-area: label; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: var(--t-small); letter-spacing: 0.16em; text-transform: uppercase; }
/* confidence dot before the label: gold = high, amber = med, outline = low (FX may recolour) */
.ox-venue .ox-aspect__label::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ox-gold); }
.ox-venue .ox-aspect[data-conf="med"] .ox-aspect__label::before { background: var(--ox-amber); }
.ox-venue .ox-aspect[data-conf="low"] .ox-aspect__label::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ox-amber); }
.ox-venue .ox-aspect__score { grid-area: score; font-size: var(--t-body); font-weight: 700; line-height: 1; color: var(--ox-gold); font-variant-numeric: tabular-nums; }
/* 1 px hairline with a gold segment growing to the score */
.ox-venue .ox-aspect__bar {
  grid-area: bar; position: relative; display: block;
  height: 1px; margin: 14px 0 12px;
  background: var(--ox-hair);
}
.ox-venue .ox-aspect__bar i {
  position: absolute; left: 0; top: -1px; height: 3px; width: 100%;
  border-radius: 2px;
  background: var(--ox-gold);
  transform-origin: 0 50%;
  transform: scaleX(calc(var(--v, 0) / 5));
}
.ox-venue .ox-aspect[data-conf="low"] .ox-aspect__bar i { background: var(--ox-amber); }
.ox-venue .ox-aspect__note { grid-area: note; margin: 0; color: var(--text-2); font-size: var(--t-body); line-height: 1.5; text-wrap: pretty; max-width: var(--ox-measure); }
.ox-venue .ox-aspect__meta { grid-area: meta; margin-top: 6px; font-size: var(--t-eyebrow); letter-spacing: 0.04em; color: var(--text-3); }

/* ====================================================== LOVED + NEUTRAL: typeset lines */
.ox-venue .ox-loved__list, .ox-venue .ox-neutral__list { counter-reset: ox-l; max-width: 860px; }
.ox-venue .ox-loved__list li, .ox-venue .ox-neutral__list li {
  counter-increment: ox-l;
  position: relative;
  display: block;
  padding: 18px 0 18px calc(3.2ch + 14px);
  border-bottom: 1px solid var(--ox-hair);
  font-size: var(--t-body); line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}
.ox-venue .ox-loved__list li:first-child, .ox-venue .ox-neutral__list li:first-child { border-top: 1px solid var(--ox-hair); }
.ox-venue .ox-loved__list li::before, .ox-venue .ox-neutral__list li::before {
  content: counter(ox-l, decimal-leading-zero);
  position: absolute; left: 0; top: 18px; line-height: calc(var(--t-body) * 1.5);
  font-size: var(--t-small); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ox-gold);
}
.ox-venue .ox-neutral { margin-top: clamp(40px, 6vw, 72px); }
.ox-venue .ox-neutral__list li { color: var(--text-2); }
.ox-venue .ox-neutral__list li::before { color: var(--text-3); }

/* ===================================================================== DISHES */
.ox-venue .ox-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ox-venue .ox-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 10px 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 91, 0.55);
  font-size: var(--t-small); font-weight: 650;
  transition: transform .5s var(--ease-out), border-color .3s;
}
.ox-venue .ox-chip[data-sent="mixed"] { border-color: rgba(255, 138, 91, 0.28); color: var(--text-2); }
.ox-venue .ox-chip small {
  min-width: 26px; padding: 2px 8px; border-radius: 99px; text-align: center;
  font-size: var(--t-eyebrow); font-weight: 700; color: var(--text-3);
  background: rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) and (pointer: fine) {
  .ox-venue .ox-chip:hover { transform: translateY(-2px); border-color: var(--terracotta, #ff8a5b); }
}

/* =================================================================== BEST FOR */
.ox-venue .ox-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ox-venue .ox-tag {
  padding: 9px 16px; border-radius: 999px;
  font-size: var(--t-eyebrow); font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--ox-hair);
}
.ox-venue .ox-price { margin: 18px 0 0; color: var(--text-2); }

/* ================================================== motion: initial state (JS only) */
/* venue.js adds html.ox-anim synchronously at module start; without it (no JS, reduced motion) the page is static. */
.ox-anim .ox-venue [data-ox-in] { opacity: 0; transform: translate3d(0, 18px, 0); }
.ox-anim .ox-venue .ox-vhero .ox-disclosure:not(.is-in) { opacity: 0; }
.ox-venue .ox-vhero .ox-disclosure { transition: opacity .7s var(--ease-out); }

/* ================================================== reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ox-venue .ox-chip { transition: none; }
}

/* ===================================================================== mobile */
@media (max-width: 760px) {
  .ox-venue .ox-vhero { min-height: auto; padding-top: 120px; }
  .ox-venue .ox-vhero__bg::before { background: repeating-radial-gradient(circle at 75% 31.33%, transparent 0 31px, rgba(255, 255, 255, 0.05) 31px 32px);
    -webkit-mask-image: radial-gradient(58% 34% at 75% 31.33%, #000 10%, transparent 72%); mask-image: radial-gradient(58% 34% at 75% 31.33%, #000 10%, transparent 72%); }
  .ox-venue .ox-vhero__bg::after { left: 80%; top: 22%; }
  .ox-venue .ox-stars__row { width: 132px; height: 22px; -webkit-mask-size: 26.4px 22px; mask-size: 26.4px 22px; }
  .ox-venue .ox-aspect { padding: 18px 0 20px; }
}

/* W1 extras inside the reading */
.ox-venue .ox-neutral__list .ox-freq { color: var(--text); font-weight: 650; margin-right: .25em; }
.ox-venue .ox-ai-label { margin: -12px 0 18px; font-size: var(--t-eyebrow); font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.ox-venue .ox-aspect[data-low] .ox-aspect__label { margin-bottom: 10px; }

/* ============================================================ v12 · real photo (or the live map) in the hero */
.ox-venue .ox-vhero > .ox-vhero__photo, .ox-venue .ox-vhero > .ox-live { position: absolute; z-index: 0; margin: 0; }
.ox-venue .ox-vhero__photo { top: 0; right: 0; bottom: 0; width: min(64%, 980px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 70%, transparent 100%); mask-composite: intersect; }
.ox-venue .ox-vhero__img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 60% 50%;
  animation: ox-vh-kb 38s ease-in-out infinite alternate; filter: saturate(.95) brightness(.82); }
.ox-venue .ox-vhero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,13,.55), rgba(5,7,13,0) 30%), radial-gradient(80% 70% at 70% 40%, rgba(245,200,130,.10), rgba(245,200,130,0) 70%); }
.ox-venue .ox-vhero--photo .ox-vhero__bg::before, .ox-venue .ox-vhero--photo .ox-vhero__bg::after { display: none; }
.ox-venue .ox-vhero:has(.ox-live) .ox-vhero__bg::before, .ox-venue .ox-vhero:has(.ox-live) .ox-vhero__bg::after { display: none; }
.ox-venue .ox-vhero > .ox-vhero__credit { position: absolute; z-index: 1; right: var(--gutter); bottom: 14px; margin: 0; font-size: .68rem; letter-spacing: .02em; color: var(--text-3); opacity: .8; }
@keyframes ox-vh-kb { 0% { transform: scale(1.03) translate3d(0, 0, 0); } 100% { transform: scale(1.12) translate3d(-2%, -1.5%, 0); } }
.lp .ox-venue .ox-vhero__img, .reduced-motion .ox-venue .ox-vhero__img { animation: none; transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .ox-venue .ox-vhero__img { animation: none; } }
@media (max-width: 760px) {
  .ox-venue .ox-vhero--photo { padding-top: calc(56vw + 64px); }
  .ox-venue .ox-vhero__photo { left: 0; width: auto; bottom: auto; height: calc(56vw + 120px);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
  .ox-venue .ox-vhero > .ox-vhero__credit { top: calc(56vw + 74px); bottom: auto; }
}
