:root {
  --p-forest: #1E261C;
  --p-forest-2: #2a3427;
  --p-sage: #E6EBDF;
  --p-gold: #C99B68;
  --p-gold-deep: #82592B;
  --p-ink: #f4efe6;
  --p-ink-soft: rgba(244, 239, 230, .78);
  --p-serif: "Cormorant Garamond", Georgia, serif;
  --p-sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: clip; }
body {
  background: var(--p-forest);
  color: var(--p-ink);
  font-family: var(--p-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

#scene, #finale, #veil {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
}
#scene { display: block; z-index: 0; }
#finale { object-fit: cover; z-index: 1; opacity: 0; background: var(--p-forest); }
#veil {
  z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 26, 19, .55) 0%, rgba(20, 26, 19, 0) 22%),
    linear-gradient(0deg, rgba(20, 26, 19, .72) 0%, rgba(20, 26, 19, 0) 45%);
}

/* ——— top bar ——— */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: max(18px, env(safe-area-inset-top)) clamp(16px, 4vw, 48px) 18px;
}
.p-brand {
  font-family: var(--p-serif); font-size: 27px; letter-spacing: .02em;
  color: var(--p-ink); text-decoration: none;
}
.p-brand em { color: var(--p-gold); }
.topcta {
  font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--p-ink); text-decoration: none;
  border: 1px solid rgba(201, 155, 104, .7); border-radius: 999px;
  padding: 12px 21px; backdrop-filter: blur(6px);
  background: rgba(30, 38, 28, .25);
  transition: background .3s;
}
.topcta:hover { background: rgba(201, 155, 104, .25); }

/* ——— story ——— */
.story { position: relative; z-index: 5; }
.stop {
  height: 100vh; height: 100svh;
  display: flex; align-items: flex-end;
  padding: 0 clamp(16px, 5vw, 72px) clamp(56px, 12vh, 120px);
}
.p-card {
  max-width: 460px;
  text-shadow: 0 1px 24px rgba(10, 14, 9, .55);
  will-change: opacity, transform;
}
.p-kicker {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--p-gold); margin-bottom: 14px;
}
.p-card h1, .p-card h2 {
  font-family: var(--p-serif); font-weight: 400; line-height: 1.02;
  letter-spacing: -.01em;
}
.p-card h1 { font-size: clamp(54px, 9vw, 112px); }
.p-card h2 { font-size: clamp(40px, 6vw, 72px); }
.p-card h1 em, .p-card h2 em { font-style: italic; color: #e7c79f; }
.p-rule {
  display: block; width: 48px; height: 1px; background: var(--p-gold);
  margin: 22px 0 18px;
}
.p-card p:not(.p-kicker) {
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; color: var(--p-ink-soft);
}

.stop[data-stop="0"] { position: relative; align-items: center; justify-content: center; text-align: center; padding-bottom: 0; }
.p-hero { max-width: 760px; position: relative; }
.p-hero::before {
  content: ""; position: absolute; inset: -90px min(-16px, -8vw); z-index: -1;
  background: radial-gradient(closest-side, rgba(22, 28, 20, .5), rgba(22, 28, 20, 0));
}
.p-hero .p-rule { margin-left: auto; margin-right: auto; }

.scrollhint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--p-ink);
  padding-left: .34em; /* balances the trailing letter-spacing */
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.scrollhint i {
  width: 1.5px; height: 58px; background: linear-gradient(var(--p-gold), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
.scrollhint b { /* small chevron under the line */
  width: 9px; height: 9px; margin-top: -8px;
  border-right: 1.5px solid var(--p-gold); border-bottom: 1.5px solid var(--p-gold);
  transform: rotate(45deg); animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { translate: 0 0; opacity: .6; } 50% { translate: 0 4px; opacity: 1; } }
@media (max-width: 720px) { .scrollhint { font-size: 11px; } .scrollhint i { height: 48px; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.finale { align-items: center; justify-content: center; text-align: center; }
.final { max-width: 720px; }
.final .p-rule { margin-left: auto; margin-right: auto; }
.cta {
  display: inline-block; margin-top: 8px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--p-forest); background: var(--p-gold); text-decoration: none;
  padding: 16px 30px; border-radius: 999px;
  transition: transform .3s, background .3s;
  text-shadow: none;
}
.cta:hover { background: #d8ad7c; transform: translateY(-2px); }

/* ——— 3D-anchored labels ——— */
#labels { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.label {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transition: opacity .5s;
  will-change: transform, opacity;
}
.label span {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  color: var(--p-ink); padding: 7px 12px; border-radius: 999px;
  background: rgba(30, 38, 28, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 155, 104, .45);
}
.label small { display: block; text-align: center; color: var(--p-gold); letter-spacing: .12em; margin-top: 3px; font-size: 11px; }
.label i { width: 1px; height: 46px; background: linear-gradient(rgba(201, 155, 104, .9), rgba(201, 155, 104, 0)); }
.label.chalet span {
  background: var(--p-gold); color: var(--p-forest); border-color: var(--p-gold);
  font-size: 11px; letter-spacing: .2em; line-height: 1; padding: 6px 11px 6px 13px; /* trailing letter-spacing → extra left pad keeps it optically centred */
}
.label.on { opacity: 1; }

/* ——— progress + attribution ——— */
#progress {
  position: fixed; right: clamp(14px, 2vw, 28px); top: 50%; transform: translateY(-50%);
  width: 1px; height: 160px; background: rgba(244, 239, 230, .2); z-index: 10;
}
#progress i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--p-gold); transform-origin: top; transform: scaleY(0); }
.attrib {
  position: fixed; right: 10px; bottom: 7px; z-index: 10;
  font-size: 10px; letter-spacing: .03em; color: rgba(244, 239, 230, .55);
  text-shadow: 0 1px 2px rgba(10, 14, 10, .85);
  pointer-events: none;
}

/* ——— loader ——— */
#loader {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--p-forest);
  transition: opacity .9s ease;
}
/* once lifted it also leaves the tab order (its button), when the fade has finished */
#loader.done { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
/* The way past it, offered by gate.js to those who are actually waiting. It sits over the loading
   screen in the corner where "Rezervă" will be (clear of the cookie banner a first visit also
   shows), and at the start of the page's markup, so the keyboard reaches it first. */
.loadskip {
  position: fixed; z-index: 51; top: max(18px, env(safe-area-inset-top)); right: clamp(16px, 4vw, 48px);
  min-height: 44px; padding: 12px 22px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 400 13px/1 var(--p-sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--p-ink); background: transparent; border: 1px solid rgba(201, 155, 104, .7);
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s, background .3s;
}
.loadskip.on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s, background .3s; }
.loadskip.on.going { opacity: 0; }
.loadskip:hover { background: rgba(201, 155, 104, .25); }
.loadskip:focus-visible { outline: 2px solid var(--p-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .loadskip, .loadskip.on { transition: none; } }
.loadtext { font-family: var(--p-serif); font-style: italic; font-size: 28px; }
.bar { width: 180px; height: 1px; background: rgba(244, 239, 230, .18); margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; background: var(--p-gold); transition: width .3s; }

@media (max-width: 720px) {
  .stop { padding-bottom: 88px; }
  .stop:not([data-stop="0"]):not(.finale) { justify-content: center; text-align: center; }
  .stop:not([data-stop="0"]):not(.finale) .p-rule { margin-left: auto; margin-right: auto; }
  #progress { display: none; }
  .attrib { right: 8px; bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .scrollhint i, .scrollhint b { animation: none; }
}

/* ——— cards are pinned to the screen; the scroll only drives their timing ——— */
.stop .p-card {
  position: fixed; z-index: 6;
  left: clamp(16px, 5vw, 72px); bottom: clamp(56px, 12vh, 120px);
  opacity: 0;
}
.stop[data-stop="0"] .p-card, .stop.finale .p-card {
  left: 50%; bottom: auto; top: 50%;
  translate: -50% -50%;
  width: min(760px, calc(100vw - 32px));
}
@media (max-width: 720px) {
  .stop .p-card { left: 16px; right: 16px; bottom: 88px; max-width: none; }
  .stop[data-stop="0"] .p-card, .stop.finale .p-card { left: 50%; right: auto; }
}

/* ——— background music toggle ——— */
.topright { display: flex; align-items: center; gap: 12px; }
.sound {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  border: 1px solid rgba(201, 155, 104, .7); background: rgba(30, 38, 28, .25);
  backdrop-filter: blur(6px); cursor: pointer; padding: 0;
  transition: background .3s;
}
.sound:hover { background: rgba(201, 155, 104, .25); }
.sound i { display: block; width: 2px; height: 6px; border-radius: 1px; background: var(--p-ink); transition: height .3s; }
.sound i:nth-child(2) { height: 10px; } .sound i:nth-child(3) { height: 14px; } .sound i:nth-child(4) { height: 8px; }
.sound[data-playing] i { background: var(--p-gold); animation: eq 1.1s ease-in-out infinite; }
.sound[data-playing] i:nth-child(2) { animation-delay: -.3s; }
.sound[data-playing] i:nth-child(3) { animation-delay: -.6s; }
.sound[data-playing] i:nth-child(4) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 15px; } }
.sound.loading { opacity: .6; }
@media (max-width: 720px) { .sound { width: 40px; height: 40px; } .topright { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .sound[data-playing] i { animation: none; } }

#loader { text-align: center; padding: 0 24px; }

/* ——— how to get sound ——— */
/* touch: a pill under the top buttons */
.sound-hint {
  position: fixed; z-index: 12; pointer-events: none;
  top: calc(max(18px, env(safe-area-inset-top)) + 60px); right: clamp(16px, 4vw, 48px);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 400 10px/1 var(--p-sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--p-ink); background: rgba(30, 38, 28, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 155, 104, .55); border-radius: 999px;
  padding: 8px 14px 8px 11px; /* trailing letter-spacing → less right padding keeps it centred */
  opacity: 0; transition: opacity .35s ease;
}
.sound-hint.on { opacity: 1; }
.sound-hint svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--p-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: hintpulse 2.4s ease-in-out infinite; }
.sound-hint svg path:first-child { fill: var(--p-gold); stroke: none; }
@keyframes hintpulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (max-width: 440px) { .sound-hint { letter-spacing: .16em; padding: 7px 12px 7px 10px; } }

/* mouse: the pointer itself becomes a gold ring with a speaker, "Click pentru sunet" below */
html.sound-cursor-on, html.sound-cursor-on * { cursor: none !important; }
.sound-cursor {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  transform: translate3d(-200px, -200px, 0); will-change: transform;
}
.sound-cursor__ring, .sound-cursor__txt { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s ease, scale .3s ease; }
.sound-cursor__ring {
  width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 155, 104, .9); background: rgba(30, 38, 28, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  scale: .6;
}
.sound-cursor__ring::after { /* a soft ripple so the eye finds it */
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(201, 155, 104, .7);
  animation: ripple 2.2s ease-out infinite;
}
@keyframes ripple { 0% { scale: 1; opacity: .8; } 70%, 100% { scale: 1.55; opacity: 0; } }
.sound-cursor__ring svg { width: 20px; height: 20px; fill: none; stroke: var(--p-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sound-cursor__ring svg path:first-child { fill: var(--p-ink); stroke: none; }
.sound-cursor__txt {
  translate: -50% 40px; white-space: nowrap;
  font: 400 10px/1 var(--p-sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--p-ink); text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
  padding-left: .24em; /* balances the trailing letter-spacing */
}
.sound-cursor.on .sound-cursor__ring, .sound-cursor.on .sound-cursor__txt { opacity: 1; scale: 1; }
.sound-cursor.press .sound-cursor__ring { scale: .8; transition-duration: .15s, .25s; }
@media (prefers-reduced-motion: reduce) {
  .sound-hint svg, .sound-cursor__ring::after { animation: none; }
}

/* ——— the plain opening (gate.js): no flight, so the story is one screen, the title over a still of
   the drone film (the film itself plays over it when the connection allows), and the site follows.
   A browser without JavaScript gets the same. ——— */
:is(html.no-flight, html:not(.js)) :is(#scene, #labels, #progress, .attrib, .stop:not([data-stop="0"])) { display: none; }
:is(html.no-flight, html:not(.js)) #finale {
  opacity: 1;
  background: var(--p-forest) url("/assets/img/hero-video-1280.jpg") center / cover no-repeat;
  background-image: image-set(url("/assets/img/hero-video-1280.avif") type("image/avif"), url("/assets/img/hero-video-1280.jpg") type("image/jpeg"));
}
/* the title is part of the page here: it scrolls away with its screen instead of being faded by the flight */
:is(html.no-flight, html:not(.js)) .stop[data-stop="0"] .p-card {
  position: relative; inset: auto; translate: none; opacity: 1 !important; pointer-events: auto !important;
}
/* a photograph, not the map: the title sits in its dark foreground, under the ridge and the sky,
   on a firmer backing that holds up to the small line above the title */
:is(html.no-flight, html:not(.js)) .stop[data-stop="0"] { align-items: flex-end; padding-bottom: clamp(148px, 21vh, 230px); }
:is(html.no-flight, html:not(.js)) .p-hero { text-shadow: 0 1px 3px rgba(8, 12, 8, .55), 0 2px 26px rgba(8, 12, 8, .7); }
:is(html.no-flight, html:not(.js)) .p-hero::before { background: radial-gradient(closest-side, rgba(16, 22, 16, .7), rgba(16, 22, 16, .62) 55%, rgba(16, 22, 16, 0)); }
/* the small gold line can land on the sunlit hills (short, wide screens): a tight dark halo keeps
   it readable there without dimming the photograph */
:is(html.no-flight, html:not(.js)) .p-hero .p-kicker { text-shadow: 0 0 1px #0a0e0a, 0 0 3px rgba(10, 14, 10, .9), 0 0 10px rgba(10, 14, 10, .75); }
@media (max-height: 480px) { /* a phone on its side: the hint keeps its word and arrow, the title gets the room */
  :is(html.no-flight, html:not(.js)) .stop[data-stop="0"] { padding-bottom: 84px; }
  :is(html.no-flight, html:not(.js)) .scrollhint i { display: none; }
}
html:not(.js) :is(#loader, .sound) { display: none; }

/* ——— 3D story → live site ——— */
.p-card p { margin: 0; }
.p-card .p-kicker { margin: 0 0 14px; }
.final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.cta--line { background: transparent; color: var(--p-ink); border: 1px solid rgba(244, 239, 230, .6); }
.cta--line:hover { background: rgba(244, 239, 230, .12); }
.final-facts { margin-top: 18px !important; font-size: 12px !important; letter-spacing: .18em; text-transform: uppercase; color: var(--p-ink-soft); }

/* the site content scrolls over the fixed 3D layers */
.site-main, .site-footer { position: relative; z-index: 8; }
/* two headers: the minimal bar during the flight, the full site header once in the site */
/* The bar that is off screen is also taken out of the tab order and away from screen readers
   (visibility), once its fade has finished; it comes back at once when it returns. */
.site-header { transition: opacity .5s ease, transform .5s ease, visibility 0s; }
body:not(.in-site) .site-header { opacity: 0; transform: translateY(-100%); pointer-events: none; visibility: hidden; transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; }
.topbar { transition: opacity .4s ease, visibility 0s; }
body.in-site .topbar { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
body.in-site #labels, body.in-site #progress, body.in-site .attrib, body.in-site .story .p-card { opacity: 0 !important; pointer-events: none !important; }
body:not(.in-site) .sticky-cta { display: none; }
/* scrolled away (main.js slides it up while reading), it comes back when the keyboard reaches one of its links */
.site-header.is-hidden:focus-within { transform: none; }

/* labelled sound toggle (top bar and site header) */
.sound { width: auto; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; gap: 10px; }
.sound__bars { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.sound__txt { font: 400 11.5px var(--p-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--p-ink); white-space: nowrap; }
.sound--site { height: 38px; border-color: rgba(201, 155, 104, .6); }
@media (max-width: 720px) {
  .sound { height: 40px; padding: 0 12px; gap: 7px; }
  .sound__txt { font-size: 11px; letter-spacing: .12em; }
  .p-brand { font-size: 23px; }
}
@media (max-width: 360px) { .sound__txt { display: none; } .sound { padding: 0 11px; } }
/* phones: in the site header the label does not fit beside the brand and the menu button (it squeezed the
   brand's mark away and pushed the menu button to the edge of the screen), so the button keeps only its
   bars there, as it does in the flight's bar; its tooltip still names it for screen readers */
@media (max-width: 440px) { .sound--site .sound__txt { display: none; } .sound--site { padding: 0 11px; } }

/* narrow phones: brand, sound and "Rezervă" on one line */
.p-brand { white-space: nowrap; }
@media (max-width: 440px) {
  .topbar { padding-left: 14px; padding-right: 14px; }
  .p-brand { font-size: 21px; }
  .topright { gap: 6px; }
  .topbar .sound { padding: 0 10px; gap: 6px; height: 38px; }
  .topcta { font-size: 11.5px; letter-spacing: .14em; padding: 11px 14px; }
}

/* ——— test switches (?panou) ——— */
.fx-panel {
  position: fixed; right: clamp(36px, 4vw, 64px); top: 50%; translate: 0 -50%; z-index: 70;
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(20, 26, 19, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 155, 104, .5);
  font: 400 13px/1.2 var(--p-sans); color: var(--p-ink);
}
.fx-panel strong { font-weight: 500; color: var(--p-gold); margin-bottom: 2px; }
.fx-panel label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.fx-panel input { accent-color: #C99B68; width: 16px; height: 16px; }
@media (max-width: 720px) { .fx-panel { right: 8px; top: auto; bottom: 96px; translate: none; font-size: 11.5px; gap: 6px; padding: 10px 12px; } }

/* map credits in the footer: "Powered by Esri" and the relief source stay one short visible line;
   the long list of 3D models (their CC licences) opens from a button below it (owner: the wall of
   text at the end of the site looked bad) */
.map-credits { font-size: 11.5px; line-height: 1.5; padding-bottom: 20px; margin-top: 16px; }
.map-credits p { margin: 0; opacity: .6; }
.map-credits details { margin-top: 2px; }
.map-credits summary {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; cursor: pointer;
  list-style: none; opacity: .8; transition: color .2s, opacity .2s;
}
.map-credits summary::-webkit-details-marker { display: none; }
.map-credits summary::after {
  content: ''; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.map-credits details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.map-credits summary:hover, .map-credits summary:focus-visible { color: var(--gold); opacity: 1; }
.map-credits details p { padding-bottom: 4px; }
/* the legal links sit just above the credits: taller hit areas and a gap, so neither is mis-tapped */
.site-footer .footer__legal a { display: inline-block; padding: 6px 0; }
.map-credits a { color: inherit; }

/* ——— language choice on the first visit ——— */
html.gate-on, html.gate-on body { overflow: hidden; }
.langgate {
  position: fixed; inset: 0; z-index: 55;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(ellipse at center, rgba(14, 18, 13, .3), rgba(14, 18, 13, .62));
  opacity: 0; transition: opacity .6s ease;
}
.langgate.on { opacity: 1; }
.langgate__card {
  width: 100%; max-width: 460px; text-align: center;
  padding: 34px 28px 32px; border-radius: 18px; color: var(--p-ink);
  background: rgba(24, 30, 22, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 155, 104, .45); box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  transform: translateY(10px); transition: transform .6s ease;
}
.langgate.on .langgate__card { transform: none; }
.langgate__title { font-family: var(--p-serif); font-size: clamp(30px, 4vw, 40px); line-height: 1.1; margin: 6px 0 16px; }
.langgate__title em { color: var(--p-gold); }
.langgate__title i { font-style: normal; opacity: .45; }
.langgate .p-rule { margin: 0 auto 16px; }
.langgate__sub { font-size: 13px; letter-spacing: .06em; color: var(--p-ink-soft); margin: 0 0 24px; }
.langgate__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.langgate__btns button {
  min-width: 150px; padding: 14px 24px; border-radius: 999px; cursor: pointer;
  font: 500 13px/1 var(--p-sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--p-ink); background: transparent; border: 1px solid var(--p-gold);
  transition: background .25s, color .25s;
}
.langgate__btns button:hover, .langgate__btns button:focus-visible { background: var(--p-gold); color: var(--p-forest); outline: none; }
@media (prefers-reduced-motion: reduce) { .langgate, .langgate__card { transition: none; } }

/* reviews: the short-review stack holds three cards since Oct 2026 — on tablets the newest
   spans both columns, the other two sit side by side under it */
@media (min-width: 601px) and (max-width: 900px) { .rv__stack > :first-child { grid-column: span 2; } }

/* ——— season switch: the flight in its winter dress (main.js, winter.js) ——— */
.season {
  height: 44px; padding: 0 16px 0 13px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(201, 155, 104, .7); background: rgba(30, 38, 28, .25);
  backdrop-filter: blur(6px); cursor: pointer; transition: background .3s, border-color .3s;
}
.season[hidden] { display: none; }
.season:hover { background: rgba(201, 155, 104, .25); }
.season svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--p-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, rotate .9s ease; }
.season__txt { font: 400 11.5px var(--p-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--p-ink); white-space: nowrap; }
.season[aria-pressed="true"] { background: rgba(223, 230, 239, .2); border-color: rgba(223, 230, 239, .85); }
.season[aria-pressed="true"] svg { stroke: #fff; rotate: 60deg; }
@media (max-width: 720px) {
  .season { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .season__txt { display: none; }
}
/* narrow phones: brand, season, sound and "Rezervă" still on one line, with air after the brand */
@media (max-width: 440px) {
  .season { width: 34px; height: 34px; }
  .season svg { width: 15px; height: 15px; }
  .topbar .sound { padding: 0 8px; gap: 5px; }
  .topcta { padding: 11px 11px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) { .season svg { transition: none; } }

/* ——— a closer look at a place (owner: „la fiecare punct turistic… un mic zoom de 40%… cine vrea”):
   a round magnifier beside a stop's card (main.js) and on the map (map.js, stages.css). Pressed, the
   camera stands 40% nearer what it shows; pressed again, or moving on, it goes back. The name stays,
   aria-pressed carries the state, the + turns into a − ——— */
.zoom {
  position: relative; flex: none;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--p-ink); border: 1px solid rgba(201, 155, 104, .7); background: rgba(30, 38, 28, .42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  text-shadow: none; touch-action: manipulation;
  transition: background .3s, border-color .3s, color .3s;
}
.zoom[hidden] { display: none; }
.zoom svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.zoom__plus { transition: opacity .2s; }
@media (hover: hover) { .zoom:hover { background: rgba(201, 155, 104, .25); } }
.zoom[aria-pressed="true"] { color: var(--p-gold); border-color: var(--p-gold); background: rgba(60, 48, 30, .78); }
.zoom[aria-pressed="true"] .zoom__plus { opacity: 0; }
.zoom:focus-visible { outline: 2px solid var(--p-gold); outline-offset: 3px; }
/* in a stop's card: beside its last line (wide screens), above its right corner (phones), so the words never move */
.stop .p-card .zoom { position: absolute; left: calc(100% + 18px); bottom: 2px; }
/* stop 7 has no words: an empty card as wide as the others (on a phone, as tall as stop 6's, which
   main.js measures), so the magnifier stands where it stood a stop before */
.stop .p-card--bare { width: 460px; }
@media (max-width: 720px) {
  .stop .p-card .zoom { left: auto; right: 0; bottom: calc(100% + 12px); }
  .stop .p-card--bare { width: auto; min-height: var(--twin-h, 0px); }
}
html.iarna .stop .p-card .zoom:not([aria-pressed="true"]) { background: rgba(30, 38, 28, .6); }
/* over snow the summer hover (light gold) would wash the icon out: a darker one */
@media (hover: hover) { html.iarna .stop .p-card .zoom:not([aria-pressed="true"]):hover { background: rgba(60, 48, 30, .7); border-color: var(--p-gold); } }
@media (prefers-reduced-motion: reduce) { .zoom, .zoom__plus { transition: none; } }

/* ——— winter: the small texts must stay readable over snow (owner) ———
   Dark text was tried: it vanishes over the woods and over the darkened foot of the screen. So the
   texts stay light, at full strength, and the picture is shaded softly behind them instead, the way
   the opening title already is. The shade fades in and out with the season switch. */
.stop:not(.finale):not([data-stop="0"]) .p-card::before {
  content: ""; position: absolute; inset: -70px -90px -60px -110px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(14, 20, 15, .62), rgba(14, 20, 15, .34) 55%, rgba(14, 20, 15, 0));
  opacity: 0; transition: opacity 1.2s ease;
}
html.iarna .stop:not(.finale):not([data-stop="0"]) .p-card::before { opacity: 1; }
.stop:not(.finale):not([data-stop="0"]) .p-card--bare::before { content: none; } /* no words to shade */
html.iarna .stop:not(.finale) .p-card { text-shadow: 0 1px 3px rgba(8, 12, 8, .55), 0 2px 26px rgba(8, 12, 8, .7); }
html.iarna .stop:not(.finale) .p-card p:not(.p-kicker) { color: #f7f3ea; }
html.iarna .stop:not(.finale) .p-kicker { color: #e3bb8b; }
html.iarna .p-hero::before { background: radial-gradient(closest-side, rgba(16, 22, 16, .66), rgba(16, 22, 16, 0)); }
html.iarna .scrollhint { text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 0 16px rgba(0, 0, 0, .75); }
html.iarna .p-brand { text-shadow: 0 1px 14px rgba(8, 12, 8, .6); }
html.iarna .topbar .season, html.iarna .topbar .sound, html.iarna .topcta { background: rgba(30, 38, 28, .5); }
html.iarna .sound-cursor__txt { text-shadow: 0 1px 2px rgba(0, 0, 0, .75), 0 0 12px rgba(0, 0, 0, .7); }
html.iarna .sound-cursor__ring { background: rgba(30, 38, 28, .55); }
@media (prefers-reduced-motion: reduce) { .stop .p-card::before { transition: none; } }

/* ——— the other language, in the flight's top bar (owner) ——— */
.topbar .toplang {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; opacity: 1;
  display: inline-flex; align-items: center; justify-content: center;
  font: 400 11.5px var(--p-sans); letter-spacing: .14em; text-indent: .14em; color: var(--p-ink); text-decoration: none;
  border: 1px solid rgba(201, 155, 104, .7); background: rgba(30, 38, 28, .25);
  backdrop-filter: blur(6px); transition: background .3s;
}
.topbar .toplang:hover { background: rgba(201, 155, 104, .25); }
html.iarna .topbar .toplang { background: rgba(30, 38, 28, .5); }
@media (max-width: 720px) { .topbar .toplang { width: 40px; height: 40px; } }
/* narrow phones: five things on one line, so the sound button keeps only its bars (the hint under the bar says what it is) */
@media (max-width: 440px) {
  .topbar .toplang { width: 34px; height: 34px; font-size: 11px; letter-spacing: .1em; text-indent: .1em; }
  .topbar .sound__txt { display: none; }
  .topbar .sound { width: 34px; height: 34px; padding: 0; justify-content: center; }
}
/* the narrowest phones (320 px): the same five still fit, with air after the brand */
@media (max-width: 340px) {
  .p-brand { font-size: 17.5px; }
  .topright { gap: 4px; }
  .topcta { padding: 12px 7px; font-size: 12px; letter-spacing: .06em; }
}
/* touch: the three round buttons stay 34 px to the eye and get a taller place to tap */
@media (pointer: coarse) and (max-width: 440px) {
  .topbar .toplang, .topbar .season, .topbar .sound { position: relative; }
  .topbar .toplang::after, .topbar .season::after, .topbar .sound::after { content: ""; position: absolute; inset: -6px -2px; }
}
