/* ECHIVO /oradea — core.css · page shell (OWNER: W1). Nav/lang, skip link, placeholder banner, crumbs, section rhythm,
   FAQ, place + mini-map, nearby monuments, related venues, app CTA, disclosure, footer, methodology page.
   Hub visuals: hub.css (W2) · venue visuals: venue.css (W3) · Ask: W3/W4 · finish layer: finish.css (FX, last).
   No animation here: static, fast, readable without JS. */

.ox { background: var(--night); }
.ox main { display: block; padding-top: 0; }
.ox .container { padding-left: var(--gutter); padding-right: var(--gutter); }
.ox-skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #1a1206; font-weight: 700; }
.ox-skip:focus { top: 12px; }
.ox a:focus-visible, .ox button:focus-visible, .ox summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* nav: base .nav + language switch */
.ox-nav .nav__links a[aria-current="page"] { color: var(--gold); }
.ox-lang { display: flex; gap: 2px; padding: 3px; margin: 0 4px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--hairline); }
.ox-lang a { min-width: 34px; padding: 6px 8px; border-radius: 999px; text-align: center; font-size: .72rem; font-weight: 750; letter-spacing: .08em; color: var(--text-2); }
.ox-lang a:hover { color: #fff; }
.ox-lang a[aria-current="true"] { background: rgba(245,200,130,.16); color: var(--gold); }
@media (max-width: 760px) { .ox-lang a { min-width: 30px; padding: 6px; } .ox-nav .nav__logo { letter-spacing: .2em; } }
@media (max-width: 360px) { .ox-nav .nav__logo { font-size: 0; gap: 0; padding-right: 2px; } .ox-nav .nav__wordmark { display: none; } }
@media (pointer: coarse) { .ox-lang a, .ox-nav .nav__cta, .ox-nav .nav__logo { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } }

/* PLACEHOLDER banner (data/places.json is fake): impossible to miss, never ships (build_places.py --check-release) */
.ox-ph { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; padding: 8px 12px; text-align: center; font: 800 .8rem/1.2 var(--mono);
  letter-spacing: .14em; color: #fff; background: repeating-linear-gradient(135deg, #b3122a 0 14px, #8a0d20 14px 28px); pointer-events: none; }

/* crumbs + shared heads */
.ox-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-small); color: var(--text-3); margin-bottom: 18px; }
.ox-crumbs a { color: var(--text-2); }
.ox-crumbs a:hover { color: var(--gold); }
.ox-h2 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.05; margin: 0 0 20px; letter-spacing: .02em; }
.ox-h3 { font-size: var(--t-h3); margin: 28px 0 12px; }
.ox-vsec { padding: clamp(40px, 7vh, 88px) 0; }
.ox-vsec + .ox-vsec { border-top: 1px solid var(--hairline); }
.ox-disclosure { font-size: var(--t-small); color: var(--text-2); line-height: 1.6; margin: 18px 0 0; }
.ox-disclosure a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ox-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(245,200,130,.4); color: var(--gold); }

/* venue: "pe scurt" */
.ox-brief { padding-top: 28px; padding-bottom: 28px; }
.ox-brief__p { max-width: 820px; margin: 0; color: var(--text-2); font-size: var(--t-body); }

/* FAQ */
.ox-faq__list { max-width: 860px; display: grid; gap: 10px; }
.ox-q { border: 1px solid var(--hairline); border-radius: 18px; background: rgba(255,255,255,.03); }
.ox-q summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; position: relative; padding-right: 52px; }
.ox-q summary::-webkit-details-marker { display: none; }
.ox-q summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; font-weight: 400; transition: transform .3s var(--ease-out); }
.ox-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ox-q p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* place + mini-map */
.ox-place__in { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 860px) { .ox-place__in { grid-template-columns: 1fr; } }
.ox-place__dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 22px; }
.ox-place__dl dt { color: var(--text-3); font-size: var(--t-small); text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.ox-place__dl dd { margin: 0; overflow-wrap: anywhere; }
.ox-place__dl a { color: var(--gold); }
.ox-place__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ox-place__links .btn { padding: 10px 16px; font-size: .85rem; }
.ox-place__map { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline);
  background: radial-gradient(120% 90% at 50% 40%, #141d33 0%, #0b1020 70%); }
.ox-map__svg { width: 100%; height: auto; }
.ox-map__grid line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.ox-map__mon circle { fill: var(--sky); }
.ox-map__mon text { fill: #05070d; font: 800 9px var(--font); }
.ox-map__scale text { fill: var(--text-2); font: 600 9px var(--font); }
.ox-map__venue circle { fill: var(--gold); }
.ox-map__venue .ox-map__halo { fill: rgba(245,200,130,.18); }
.ox-map__scale line { stroke: var(--text-3); stroke-width: 2; }

/* nearby monuments */
.ox-nearby__list, .ox-related__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ox-mon { border-radius: 22px; overflow: hidden; border: 1px solid var(--hairline); background: rgba(255,255,255,.03); }
.ox-mon img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.ox-mon__name { margin: 14px 16px 2px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; }
.ox-mon__num { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--sky); color: #05070d; font-size: .7rem; font-weight: 800; display: inline-grid; place-items: center; transform: translateY(-1px); }
.ox-mon__d { margin: 0 16px 16px; font-size: var(--t-small); }

/* related venues */
.ox-rel a { display: grid; gap: 4px; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--hairline); background: rgba(255,255,255,.03); transition: border-color .25s, transform .25s var(--ease-out); }
.ox-rel a:hover { border-color: rgba(245,200,130,.45); transform: translateY(-2px); }
.ox-rel__kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.ox-rel__name { font-weight: 700; }
.ox-rel__stars { color: var(--gold); font-weight: 700; font-size: var(--t-small); }

/* hub: how-we-analyse teaser */
.ox-how__in { max-width: 820px; }
.ox-how__p { color: var(--text-2); margin: 0 0 22px; }

/* app CTA */
.ox-app__in { text-align: center; max-width: 760px; }
.ox-app__icon { width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 22px; }
.ox-app__p { color: var(--text-2); margin: 0 auto 26px; max-width: 560px; }
.ox-app__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin: 0; }

/* app CTA: waitlist form (V5 · W3, assets/js/oradea/waitlist-form.js) */
.ox-wl { margin: 22px auto 0; max-width: 520px; }
.ox-wl__form { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 20px; border-radius: 999px; }
.ox-wl__form[hidden], .ox-wl__msg[hidden], .ox-wl__ok[hidden] { display: none; }
.ox-wl__form:focus-within { border-color: rgba(245,200,130,.6); box-shadow: 0 0 0 4px rgba(245,200,130,.16); }
.ox-wl.is-invalid .ox-wl__form { border-color: rgba(255,122,138,.7); }
.ox-wl__input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; font-size: 1rem; padding: 10px 0; }
.ox-wl__input::placeholder { color: var(--text-3); }
.ox .ox-wl__input:focus-visible { outline: none; }   /* the pill shows focus (focus-within ring) */
.ox-wl__btn { flex: none; white-space: nowrap; }
.ox-wl__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ox-wl.is-sending .ox-wl__form { opacity: .85; }
.ox-wl.is-sending .ox-wl__btn { cursor: progress; }
.ox-wl__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ox-wl__msg { min-height: 1.4em; margin: 10px 0 0; font-size: var(--t-small); color: var(--rose, #ff7a8a); }
.ox-wl[data-state="sending"] .ox-wl__msg { color: var(--text-3); }
.ox-wl__ok { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ox-wl__check circle { stroke: rgba(245,200,130,.35); stroke-width: 2; }
.ox-wl__check path { stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.ox-wl.is-done .ox-wl__check path { animation: ox-wl-tick .7s .15s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes ox-wl-tick { to { stroke-dashoffset: 0; } }
.ox-wl__title { margin: 4px 0 0; outline: none; font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--gold); }
.ox-wl__note { margin: 0; font-size: var(--t-small); color: var(--text-2); }
.ox-wl__privacy { margin: 8px auto 0; font-size: .8rem; line-height: 1.5; color: var(--text-2); }
.ox-wl__privacy a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) {
  .ox-wl__form { flex-wrap: wrap; border-radius: 24px; padding: 8px 8px 8px 16px; }
  .ox-wl__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ox-wl__check path { animation: none !important; stroke-dashoffset: 0; } }

/* disclosure block (end of venue page) */
.ox-disc__p { max-width: 820px; font-size: var(--t-small); margin: 12px 0 0; }

/* methodology */
.ox-mhero { padding: clamp(120px, 18vh, 180px) 0 clamp(32px, 6vh, 64px); }
.ox-mhero__h1 { font-size: var(--t-h1); line-height: .95; margin: 0 0 18px; max-width: 14ch; }
.ox-mhero__lead { font-size: var(--t-h3); color: var(--text-2); margin: 0; }
.ox-method__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-bottom: clamp(48px, 8vh, 96px); }
@media (max-width: 860px) { .ox-method__body { grid-template-columns: 1fr; } }
.ox-toc ol { position: sticky; top: 96px; margin: 0; padding: 0 0 0 18px; color: var(--text-3); display: grid; gap: 8px; font-size: var(--t-small); }
.ox-toc a { color: var(--text-2); }
.ox-toc a:hover { color: var(--gold); }
@media (max-width: 860px) { .ox-toc ol { position: static; } }
.ox-msec { max-width: 760px; padding: 0 0 36px; scroll-margin-top: 96px; }
.ox-msec p { color: var(--text-2); margin: 0 0 14px; }

/* footer */
.ox-foot { border-top: 1px solid var(--hairline); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); }
.ox-foot__in { display: grid; gap: 14px; justify-items: start; }
.ox-foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .28em; }
.ox-foot__tag, .ox-foot__made { margin: 0; font-size: var(--t-small); }
.ox-foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--t-small); }
.ox-foot__links a { color: var(--text-2); }
.ox-foot__links a:hover { color: var(--gold); }
@media (pointer: coarse) { .ox-foot__links a { min-height: 44px; display: inline-flex; align-items: center; } }
html[data-ox-placeholder] .ox-foot { padding-bottom: 80px; }

/* ============================================================ v12 · live map (shared: hub hero, venue hero without photo)
   A baked render of the 3D map + a few live glows. Not interactive (pointer-events none), transform/opacity only.
   Phones / low power (html.lp) and reduced motion: still image, no animation. */
.ox-live { position: absolute; inset: 0; overflow: hidden; pointer-events: none; contain: strict; container-type: size; }
/* the frame keeps the render's aspect ratio (CSS "cover" by hand) so the live pins stay on their baked ground marks */
.ox-live__frame { position: absolute; left: 60%; top: 50%; width: max(100cqw, 177.78cqh); aspect-ratio: 2400 / 1350; translate: -50% -50%; }
.ox-live__layer--tall .ox-live__frame { left: 50%; top: 56%; width: max(100cqw, 61.11cqh); aspect-ratio: 825 / 1350; }
.ox-live__layer { position: absolute; inset: -4%; transform-origin: 58% 62%; will-change: transform; animation: ox-live-drift 46s ease-in-out infinite alternate; }
.ox-live__layer--tall { display: none; }
.ox-live__img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ox-live__pin { position: absolute; width: clamp(38px, 3.6vw, 64px); aspect-ratio: 1; margin: calc(clamp(38px, 3.6vw, 64px) * -1.55) 0 0 calc(clamp(38px, 3.6vw, 64px) * -.5);
  border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #fff1d2, var(--gold) 20%, #a87a3c 45%, var(--gold) 70%, #fff1d2);
  box-shadow: 0 0 0 2px rgba(5,7,13,.85), 0 0 34px rgba(245,200,130,.45), 0 16px 22px -8px rgba(0,0,0,.7); animation: ox-live-bob 5.5s ease-in-out var(--d, 0s) infinite; }
.ox-live__pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 55%; margin-left: -1px; background: linear-gradient(var(--gold), rgba(245,200,130,0)); }
.ox-live__pin img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #0b1020; max-width: none; }
.ox-live__sun { position: absolute; left: 50%; top: 30%; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245,200,130,.16), rgba(229,154,82,.05) 50%, rgba(229,154,82,0)); animation: ox-live-sun 28s ease-in-out infinite alternate; }
.ox-live__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--night) 0%, rgba(5,7,13,.92) 24%, rgba(5,7,13,.55) 48%, rgba(5,7,13,.12) 72%, rgba(5,7,13,.25) 100%),
  linear-gradient(180deg, rgba(5,7,13,.85) 0%, rgba(5,7,13,0) 22%, rgba(5,7,13,0) 70%, var(--night) 100%); }
@keyframes ox-live-drift { 0% { transform: translate3d(-1.6%, .8%, 0) scale(1.04); } 100% { transform: translate3d(1.6%, -1.2%, 0) scale(1.1); } }
@keyframes ox-live-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -7px, 0); } }
@keyframes ox-live-sun { 0% { transform: translate3d(-12%, -4%, 0); opacity: .75; } 100% { transform: translate3d(14%, 4%, 0); opacity: 1; } }
@media (max-width: 760px) {
  .ox-live__layer--wide { display: none; }
  .ox-live__layer--tall { display: block; inset: -3%; }
  .ox-live__pin { width: 40px; margin: -62px 0 0 -20px; }
  .ox-live__veil { background: linear-gradient(180deg, rgba(5,7,13,.96) 0%, rgba(5,7,13,.9) 46%, rgba(5,7,13,.3) 70%, rgba(5,7,13,.2) 86%, var(--night) 100%); }
  .ox-live--hub .ox-live__layer--tall .ox-live__frame { top: 92%; }
}
.lp .ox-live__layer, .lp .ox-live__pin, .lp .ox-live__sun, .reduced-motion .ox-live__layer, .reduced-motion .ox-live__pin, .reduced-motion .ox-live__sun { animation: none; }
@media (prefers-reduced-motion: reduce) { .ox-live__layer, .ox-live__pin, .ox-live__sun { animation: none; } }
/* pause the loop while the hero is off screen (class set by finish.js) */
.ox-live.is-off .ox-live__layer, .ox-live.is-off .ox-live__pin, .ox-live.is-off .ox-live__sun { animation-play-state: paused; }
