/* =====================================================================
   Elektromobilis Rundālē — landing page
   Palette drawn from the subject: deep Baroque red + antique gold + warm cream
   (red echoes the cars' canopies; gold the gilded palace). Cormorant Garamond + Mulish.
   ===================================================================== */

:root {
  /* Surfaces */
  --cream:      #FAF6EC;
  --cream-2:    #F2EBD8;
  --paper:      #FFFFFF;

  /* Ink */
  --ink:        #221F1E;
  --ink-soft:   #585451;

  /* 60-30-10 — cream (60) · espresso (30) · red accent (10) */
  --brand:      #9A2D22;   /* red — 10% accent only */
  --brand-deep: #7C241B;   /* darker red (hover) */
  --brand-soft: #C77A6E;   /* muted red */
  --dark:       #1E1B1A;   /* charcoal — 30% (dark sections + headings) */
  --dark-2:     #141212;   /* deeper charcoal (footer) */
  --gold:       #B08D4F;   /* decorative */
  --gold-deep:  #7E5F2B;   /* text-safe on cream */
  --red:        #B0432E;   /* bright canopy accent */

  /* Lines & shadow */
  --line:       rgba(30, 27, 26, 0.12);
  --line-light: rgba(255, 255, 255, 0.22);
  --shadow-sm:  0 1px 2px rgba(32,39,31,.06), 0 2px 8px rgba(32,39,31,.05);
  --shadow-md:  0 8px 30px rgba(32,39,31,.10);
  --shadow-lg:  0 24px 60px rgba(32,39,31,.16);

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  /* Layout */
  --container: 1180px;
  --radius:    14px;
  --radius-lg: 22px;
  --header-h:  74px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.08; font-weight: 600; }

::selection { background: var(--brand); color: var(--cream); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 2000;
  background: var(--brand);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section {
  padding-block: clamp(72px, 10vw, 132px);
  position: relative;
}

:where(main section[id]) { scroll-margin-top: 84px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  letter-spacing: -0.01em;
  color: var(--dark);
}
.section-title-light { color: var(--cream); }

.lead {
  font-size: clamp(1.08rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.lead-light { color: rgba(250, 246, 236, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn .ic { width: 19px; height: 19px; fill: currentColor; flex: none; }
.btn-primary { box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: rgba(154, 45, 34, 0.35);
}
.btn-ghost:hover { background: rgba(154, 45, 34, 0.07); border-color: var(--brand); transform: translateY(-2px); }

.btn-ghost-light { color: var(--cream); border-color: var(--line-light); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,.6); }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(32,39,31,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); transition: color .35s var(--ease); }
.site-header.scrolled .brand { color: var(--brand); }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  color: var(--gold);
}
.site-header.scrolled .brand-mark { color: var(--gold-deep); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 600; opacity: .82; margin-top: 3px; }

.site-nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav a {
  position: relative;
  font-weight: 600;
  font-size: 0.96rem;
  color: rgba(250, 246, 236, 0.92);
  padding: 6px 2px;
  transition: color .3s var(--ease);
}
.site-header.scrolled .site-nav a { color: var(--ink); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.site-header.scrolled .lang-toggle { border-color: var(--line); }
.lang-toggle button {
  border: 0; background: transparent;
  color: rgba(250, 246, 236, 0.85);
  font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: .06em;
  padding: 7px 12px; cursor: pointer; transition: background-color .25s, color .25s;
}
.site-header.scrolled .lang-toggle button { color: var(--ink-soft); }
.lang-toggle button.is-active { background: var(--gold); color: #2a210e; }
.site-header.scrolled .lang-toggle button.is-active { background: var(--brand); color: var(--cream); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--cream); transition: transform .3s var(--ease), opacity .3s var(--ease), background-color .35s;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 9vh, 110px);
  padding-top: var(--header-h);
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; will-change: transform; }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: brightness(.82) saturate(1.06);
}
.hero-fallback { z-index: 0; }
.hero-video { z-index: 1; }
.no-hero-video .hero-video { display: none; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to bottom, rgba(18,17,16,.55) 0%, rgba(18,17,16,0) 14%),
    linear-gradient(100deg, rgba(18,17,16,.82) 0%, rgba(18,17,16,.52) 40%, rgba(18,17,16,.16) 70%, rgba(18,17,16,.06) 100%),
    linear-gradient(to top, rgba(18,17,16,.78) 0%, rgba(18,17,16,.38) 45%, rgba(18,17,16,0) 78%);
}
.hero-content { color: var(--cream); max-width: 760px; }
.eyebrow-light.eyebrow { color: #F0D9A4; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 7.2vw, 5.3rem);
  letter-spacing: -0.015em;
  text-shadow: 0 2px 28px rgba(0,0,0,.5), 0 1px 4px rgba(0,0,0,.35);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--cream);
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.price-badge {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: rgba(176, 67, 46, 0.92);
  color: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow-md);
}
.price-badge strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.hero-phone { font-size: 0.95rem; color: rgba(250,246,236,.8); font-weight: 500; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(250,246,236,.55); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px; z-index: 1;
}
.hero-scroll span { width: 3px; height: 8px; border-radius: 3px; background: rgba(250,246,236,.8); animation: scrollDot 1.7s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0; transform: translateY(0);} 30%{opacity:1;} 100%{opacity:0; transform: translateY(12px);} }

/* ---------- Experience ---------- */
.experience { background: var(--cream); }
.exp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.exp-copy .lead { margin: 22px 0 18px; }
.exp-copy p { color: var(--ink-soft); }
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--brand);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin-top: 30px;
  line-height: 1.3;
}
.exp-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.exp-figure::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.16); pointer-events: none;
}
.exp-figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
/* ---------- 17 years — fixed "cutout" band (text stays, sections scroll over) ---------- */
.years-fixed {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  display: grid; place-content: center; text-align: center;
  background: var(--dark); color: var(--cream);
}
.years-fixed strong { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(6rem, 22vw, 16rem); line-height: .8; color: #EBD2A0; letter-spacing: -.01em; }
.years-label { display: block; font-size: clamp(.78rem, 2.3vw, 1.3rem); letter-spacing: .34em; text-transform: uppercase; font-weight: 700; margin-top: 30px; color: rgba(250,246,236,.82); }
.years-plus { font-size: .5em; vertical-align: .62em; margin-left: .02em; color: var(--brand); }
.years-window { height: clamp(360px, 64vh, 580px); background: transparent; }

/* ---------- The ride (framed photo + overlapping ticket) ---------- */
.ride { background: var(--cream-2); }
.ride-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.ride-visual { position: relative; }
.ride-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.ride-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 6px rgba(255,255,255,.14); pointer-events: none;
}
.ride-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; display: block; }
.ride-copy .lead { margin-top: 18px; }
.ride-points { list-style: none; padding: 0; margin: clamp(22px, 3vw, 32px) 0 0; }
.ride-points li {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.ride-points li:first-child { border-top: 0; padding-top: 4px; }
.rp-ic {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: rgba(176,141,79,.14); color: var(--gold-deep);
}
.rp-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ride-points h3 { font-family: var(--serif); font-size: clamp(1.25rem, 2.3vw, 1.6rem); color: var(--dark); margin-bottom: 4px; }
.ride-points p { color: var(--ink-soft); }

/* ticket — paper stub overlapping the photo */
.ticket {
  position: absolute; left: -20px; bottom: -28px; width: 266px; z-index: 3;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow-lg); padding: 22px 0 20px;
}
.ticket-label { display: block; padding: 0 24px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ticket-price { padding: 4px 24px 14px; display: flex; align-items: baseline; gap: 9px; }
.ticket-price .big { font-family: var(--serif); font-weight: 800; font-size: clamp(2.8rem, 6vw, 3.4rem); color: var(--brand); line-height: 1; }
.ticket-price .unit { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.ticket-perf { margin: 0 0 4px; border-top: 2px dashed rgba(30,27,26,.22); }
.ticket-rows { margin: 0; padding: 12px 24px 4px; }
.ticket-rows > div { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ticket-rows > div:last-child { border-bottom: 0; }
.ticket-rows dt { font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.ticket-rows dd { font-family: var(--serif); font-size: 1.18rem; color: var(--dark); font-weight: 600; }
.ticket-rows > div.ticket-origin { flex-direction: column; align-items: flex-start; gap: 3px; }
.ticket-rows > div.ticket-origin dd { font-size: 1.05rem; line-height: 1.15; }
.ticket-cta { padding: 10px 22px 0; }
.ticket-cta .btn { width: 100%; min-height: 44px; font-size: .9rem; }

/* ---------- Floating music toggle ---------- */
.audio-toggle {
  position: fixed; right: clamp(16px, 4vw, 26px); bottom: clamp(16px, 4vw, 26px);
  z-index: 1500; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dark); color: var(--cream);
  border: 1px solid rgba(235,210,160,.22);
  box-shadow: 0 10px 26px rgba(20,18,17,.32);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.audio-toggle:hover { transform: translateY(-2px); background: var(--brand); border-color: rgba(235,210,160,.4); }
.audio-toggle:active { transform: translateY(0); }
.audio-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.audio-toggle .ic-muted { display: none; }
.audio-toggle.is-muted .ic-on { display: none; }
.audio-toggle.is-muted .ic-muted { display: block; }
.audio-toggle.is-playing { animation: audioPulse 2.6s ease-in-out infinite; }
@keyframes audioPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(20,18,17,.32), 0 0 0 0 rgba(154,45,34,.3); }
  60%, 100% { box-shadow: 0 10px 26px rgba(20,18,17,.32), 0 0 0 8px rgba(154,45,34,0); }
}

/* ---------- Languages ---------- */
.languages { background: var(--dark); position: relative; overflow: hidden; }
.languages::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% -10%, rgba(176,141,79,.20), transparent 60%);
  pointer-events: none;
}
.lang-head { text-align: center; max-width: 52ch; margin: 0 auto clamp(40px, 6vw, 60px); position: relative; }
.lang-head .eyebrow { margin-inline: auto; }
.lang-head .lead { margin-inline: auto; }
.lang-list {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.lang-list li {
  display: flex; flex-direction: row; align-items: center; gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 22px 26px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.lang-list li:hover { background: rgba(255,255,255,.10); border-color: rgba(231,201,138,.6); transform: translateY(-3px); }
.lang-lv { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--cream); line-height: 1.15; }
.lang-native { font-size: 0.95rem; letter-spacing: .03em; color: #E7C98A; font-weight: 600; }
.lang-flag { flex: none; width: 42px; height: 31px; border-radius: 4px; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,.4); }
.lang-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gal-head { margin-bottom: clamp(30px, 4vw, 48px); }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gal-item {
  position: relative; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--cream-2);
  box-shadow: var(--shadow-sm);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,17,16,.34), transparent 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-item:hover::after { opacity: 1; }
.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 2; }

/* ---------- Visit ---------- */
.visit { background: var(--cream-2); }
.visit-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.visit-list { margin-top: 30px; display: grid; gap: 4px; }
.visit-list > div {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.visit-list dt { font-family: var(--serif); font-size: 1.28rem; color: var(--dark); font-weight: 600; }
.visit-list dd { color: var(--ink-soft); font-size: 1.05rem; font-weight: 500; }
.visit-note {
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.rain-scene { position: relative; width: 100px; height: 80px; margin-bottom: 14px; }
.rain-cloud { position: absolute; top: 4px; left: 10px; width: 74px; height: auto; fill: #EFE6CF; filter: drop-shadow(0 5px 10px rgba(0,0,0,.35)); }
.rain-drops { position: absolute; left: 26px; top: 42px; width: 52px; height: 34px; }
.rain-drops i { position: absolute; top: 0; width: 2.4px; height: 11px; border-radius: 2px; background: #AFD2E8; opacity: 0; animation: raindrop 1.15s linear infinite; }
.rain-drops i:nth-child(1) { left: 2px;  animation-delay: 0s; }
.rain-drops i:nth-child(2) { left: 13px; animation-delay: .28s; }
.rain-drops i:nth-child(3) { left: 24px; animation-delay: .52s; }
.rain-drops i:nth-child(4) { left: 35px; animation-delay: .16s; }
.rain-drops i:nth-child(5) { left: 46px; animation-delay: .72s; }
@keyframes raindrop { 0% { transform: translateY(-3px); opacity: 0; } 25% { opacity: .95; } 100% { transform: translateY(26px); opacity: 0; } }
.rain-bang {
  position: absolute; top: -2px; right: 6px; width: 25px; height: 25px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; line-height: 1; box-shadow: 0 3px 9px rgba(0,0,0,.4);
  animation: bangPulse 1.7s var(--ease) infinite;
}
@keyframes bangPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
.visit-note h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 10px; }
.visit-note p { color: rgba(250,246,236,.85); }

/* ---------- Contact ---------- */
.contact { background: var(--dark); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 80% at 10% 0%, rgba(176,141,79,.18), transparent 55%);
  pointer-events: none;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center; position: relative;
}
.contact-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.c-ic {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(231,201,138,.14); color: #E7C98A;
}
.c-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.c-text { display: flex; flex-direction: column; }
.c-label { font-size: 0.74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,246,236,.6); font-weight: 700; }
.c-text a, .c-text span:last-child { color: var(--cream); font-weight: 600; font-size: 1.1rem; }
.c-text a:hover { color: #E7C98A; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.contact-sign { margin-top: 30px; }
.sign-text { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.22rem); color: rgba(250,246,236,.82); }
.sign-name { display: block; font-family: var(--script); font-weight: 700; font-size: clamp(2.8rem, 6vw, 3.6rem); color: #EBD2A0; line-height: 1; margin-top: 0; }
.contact-host { margin-top: 16px; color: rgba(250,246,236,.55); font-size: 0.92rem; letter-spacing: .02em; }

.contact-map {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-light); box-shadow: var(--shadow-lg);
  background: #141212;
}
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.92) contrast(1.02); }
.map-link {
  display: block; text-align: center; padding: 14px;
  background: rgba(255,255,255,.05); color: #E7C98A; font-weight: 700; font-size: .92rem;
  border-top: 1px solid var(--line-light); transition: background-color .3s;
}
.map-link:hover { background: rgba(255,255,255,.10); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: rgba(250,246,236,.72); padding-top: 56px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand-name { font-family: var(--serif); color: var(--cream); font-size: 1.5rem; display: block; margin-bottom: 10px; }
.footer-brand p { max-width: 36ch; font-size: .96rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a:hover, .footer-contact a:hover { color: #E7C98A; }
.footer-contact a { font-weight: 600; }
.footer-bottom { padding-block: 26px; font-size: .85rem; color: rgba(250,246,236,.5); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; }
.footer-credit a { color: rgba(250,246,236,.62); }
.footer-credit a:hover { color: #EBD2A0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(16, 15, 14, .94);
  display: grid; place-items: center;
  padding: clamp(16px, 5vw, 60px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.10); color: #fff; border: 1px solid var(--line-light);
  cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background-color .25s, transform .25s;
}
.lb-close { top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; font-size: 1.7rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .exp-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .exp-figure { order: -1; }
  .contact-map iframe { height: 320px; }
  .ride-grid { grid-template-columns: 1fr; }
  .ride-visual .ticket { position: static; width: auto; max-width: 360px; margin: -28px auto 0; }
  .years-window { height: 56vh; }
  .lang-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(250,246,236,.98);
    backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 10px clamp(20px, 5vw, 48px) 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { color: var(--ink); padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a::after { display: none; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* mobile menu sits on cream — force dark bars */
  .site-nav.open ~ * .nav-toggle span,
  .nav-toggle.open span { background: var(--ink); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .ride-photo img { aspect-ratio: 4 / 3; }
  .ride-visual .ticket { max-width: none; margin-top: 16px; }
  .ride-points li { gap: 14px; }
  .lang-list { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gal-wide { grid-column: span 2; }
  .gal-tall { grid-row: span 1; }
  .visit-list > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
