/* =========================================================
   KRSTARENJE UVCEM — Editorial Nature Site
   ========================================================= */

:root {
  --cream: #f5f1e8;
  --cream-soft: #ebe5d5;
  --paper: #fbf8f1;
  --ink: #1a2520;
  --ink-soft: #2c3a33;
  --stone: #8a8275;
  --stone-light: #b8b2a3;
  --jade: #2f5d52;
  --jade-deep: #1f4239;
  --canyon: #4a6859;
  --gold: #b8965a;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- TYPOGRAPHY ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
}

.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.eyebrow.on-dark { color: rgba(245, 241, 232, 0.7); }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- NAV ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
  color: var(--cream);
}

.nav.scrolled {
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding: 14px var(--gutter);
  border-bottom: 1px solid rgba(26, 37, 32, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px; height: 40px;
  flex-shrink: 0;
}

.brand-name { font-style: italic; }
.brand-name strong { font-style: normal; font-weight: 500; }

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 2px;
  opacity: 0.9;
}

.lang-toggle a {
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.3s;
  opacity: 0.6;
}

.lang-toggle a.active {
  background: currentColor;
  opacity: 1;
}

.lang-toggle a.active span {
  color: var(--ink);
  mix-blend-mode: difference;
  filter: invert(1);
}

.nav.scrolled .lang-toggle a.active { background: var(--ink); color: var(--cream); }
.nav:not(.scrolled) .lang-toggle a.active { background: var(--cream); color: var(--ink); }

.nav-menu-btn {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  z-index: 102;
}

.nav-menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav.open .nav-menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .nav-menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--cream);
  display: flex;
  align-items: flex-end;
  padding-bottom: 8vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/meander.jpg") center/cover no-repeat;
  will-change: transform;
}
.hero .hero-bg { background-image: url("images/meander.jpg"); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 18, 15, 0.55) 0%, rgba(10, 18, 15, 0.15) 35%, rgba(10, 18, 15, 0.75) 100%),
    linear-gradient(90deg, rgba(10, 18, 15, 0.45) 0%, transparent 50%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.2s var(--ease-out) 0.3s forwards;
}

.hero-meta .line { width: 60px; height: 1px; background: currentColor; opacity: 0.5; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1.4s var(--ease-out) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  display: block;
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  max-width: 720px;
  color: rgba(245, 241, 232, 0.92);
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1.4s var(--ease-out) 0.75s forwards;
}

.hero-bottom {
  position: absolute;
  bottom: 36px; left: var(--gutter); right: var(--gutter);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  animation: rise 1.4s var(--ease-out) 1s forwards;
}

.hero-coords { opacity: 0.7; font-family: var(--mono); letter-spacing: 0.12em; font-size: 11px; }
.hero-coords span { display: block; }

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.32em;
  opacity: 0.75;
}

.scroll-cue::after {
  content: "";
  width: 1px; height: 60px;
  background: currentColor;
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.2); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- SECTION BASE ---------- */

section {
  position: relative;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad { padding: clamp(80px, 12vw, 160px) 0; }

.section-head {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.section-head .eyebrow { margin-bottom: 20px; display: block; }

.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.section-head h2 em { font-style: italic; color: var(--jade); }

/* ---------- PROGRAM SECTION ---------- */

.program {
  background: var(--cream);
  color: var(--ink);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.program-meta {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.meta-card {
  border-top: 1px solid rgba(26, 37, 32, 0.18);
  padding-top: 24px;
}

.meta-card .eyebrow { margin-bottom: 12px; display: block; }

.meta-card .value {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 400;
}

.meta-card .value small {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--stone);
  display: block;
  margin-top: 6px;
  letter-spacing: 0;
  font-weight: 400;
}

.program-intro {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  margin-bottom: 56px;
  color: var(--ink-soft);
  max-width: 720px;
}

.program-intro::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 5em;
  float: left;
  line-height: 0.85;
  padding: 8px 16px 0 0;
  color: var(--jade);
}

.stops {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stop {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid rgba(26, 37, 32, 0.12);
  align-items: start;
}

.stop:last-child { border-bottom: 1px solid rgba(26, 37, 32, 0.12); }

.stop-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  color: var(--jade);
  line-height: 1;
}

.stop-num small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--stone);
  margin-top: 8px;
}

.stop-body h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.1;
}

.stop-body p {
  color: var(--ink-soft);
  max-width: 620px;
}

.stop-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid rgba(26, 37, 32, 0.2);
  border-radius: 999px;
  color: var(--stone);
}

/* ---------- INTERSTITIAL IMAGE ---------- */

.bleed-image {
  position: relative;
  height: clamp(380px, 60vh, 620px);
  overflow: hidden;
  background: var(--ink);
}

.bleed-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

.bleed-caption {
  position: absolute;
  bottom: 28px; left: var(--gutter);
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  max-width: 520px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.bleed-caption::before {
  content: "";
  width: 40px; height: 1px;
  background: currentColor;
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* ---------- FACTS SECTION ---------- */

.facts {
  background: var(--paper);
  position: relative;
}

.facts-decor {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background:
    radial-gradient(ellipse at top right, rgba(47, 93, 82, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.fact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  margin-bottom: clamp(80px, 10vw, 140px);
}

.fact-block:last-child { margin-bottom: 0; }

.fact-block.reverse { direction: rtl; }
.fact-block.reverse > * { direction: ltr; }

.fact-text { max-width: 540px; }

.fact-text .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.fact-text h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.fact-text h3 em { font-style: italic; color: var(--jade); }

.fact-text p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.fact-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.fact-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.fact-image:hover img { transform: scale(1.04); }

.fact-image .label {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(26, 37, 32, 0.7);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg,
      rgba(47, 93, 82, 0.08) 0,
      rgba(47, 93, 82, 0.08) 12px,
      rgba(47, 93, 82, 0.14) 12px,
      rgba(47, 93, 82, 0.14) 13px),
    var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

.placeholder-img span {
  border: 1px dashed var(--stone-light);
  padding: 14px 22px;
  background: rgba(251, 248, 241, 0.9);
}

.pullquote {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
  margin: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid rgba(26, 37, 32, 0.12);
  border-bottom: 1px solid rgba(26, 37, 32, 0.12);
}

.pullquote q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ink);
}

.pullquote q::before, .pullquote q::after { content: ""; }
.pullquote q em { color: var(--gold); font-style: italic; }

.pullquote .attribution {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- GALLERY ---------- */

.gallery {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) 0;
}

.gallery .section-head h2 { color: var(--cream); }
.gallery .section-head h2 em { color: var(--gold); }
.gallery .section-head .eyebrow { color: rgba(245, 241, 232, 0.6); }
.gallery .section-head p {
  color: rgba(245, 241, 232, 0.7);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  margin-top: 18px;
  max-width: 600px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  grid-auto-rows: minmax(120px, auto);
}

.g-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-soft);
  transition: transform 0.5s var(--ease);
}

.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
  filter: brightness(0.92);
}

.g-item:hover img { transform: scale(1.06); filter: brightness(1.05); }

.g-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s;
}

.g-item:hover .overlay { opacity: 1; }

.g-item .ix {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.g-item .zoom {
  width: 32px; height: 32px;
  border: 1px solid rgba(245, 241, 232, 0.6);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Bento layout */
.g-item:nth-child(1)  { grid-column: span 7; grid-row: span 3; }
.g-item:nth-child(2)  { grid-column: span 5; grid-row: span 2; }
.g-item:nth-child(3)  { grid-column: span 3; grid-row: span 1; }
.g-item:nth-child(4)  { grid-column: span 2; grid-row: span 1; }
.g-item:nth-child(5)  { grid-column: span 4; grid-row: span 2; }
.g-item:nth-child(6)  { grid-column: span 4; grid-row: span 2; }
.g-item:nth-child(7)  { grid-column: span 4; grid-row: span 2; }
.g-item:nth-child(8)  { grid-column: span 5; grid-row: span 2; }
.g-item:nth-child(9)  { grid-column: span 3; grid-row: span 2; }
.g-item:nth-child(10) { grid-column: span 4; grid-row: span 2; }

.g-item.placeholder {
  background:
    repeating-linear-gradient(135deg,
      rgba(245, 241, 232, 0.04) 0,
      rgba(245, 241, 232, 0.04) 10px,
      rgba(245, 241, 232, 0.08) 10px,
      rgba(245, 241, 232, 0.08) 11px),
    rgba(245, 241, 232, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 241, 232, 0.4);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: default;
}

.g-item.placeholder:hover { transform: none; }
.g-item.placeholder span {
  border: 1px dashed rgba(245, 241, 232, 0.2);
  padding: 10px 16px;
  text-align: center;
  line-height: 1.4;
}

/* ---------- LIGHTBOX ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 14, 12, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform 0.5s var(--ease);
}

.lightbox.open .lightbox-img { transform: scale(1); }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(245, 241, 232, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 241, 232, 0.2);
  color: var(--cream);
  width: 48px; height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(245, 241, 232, 0.18);
  border-color: rgba(245, 241, 232, 0.4);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(245, 241, 232, 0.7);
}

/* ---------- CONTACT ---------- */

.contact {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 90% 110%, rgba(47, 93, 82, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 600px 300px at 10% -10%, rgba(184, 150, 90, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact .eyebrow { margin-bottom: 24px; }

.contact h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.contact h2 em { font-style: italic; color: var(--jade); }

.contact-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 56px 72px;
  background: var(--paper);
  border: 1px solid rgba(26, 37, 32, 0.12);
  position: relative;
}

.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--jade);
}

.contact-card::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
}

.contact-card::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}

.contact-host .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.contact-host .name {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-style: italic;
  font-weight: 400;
}

.contact-divider {
  width: 60px; height: 1px;
  background: rgba(26, 37, 32, 0.2);
}

.phones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.phone:hover { color: var(--jade); }

.phone svg {
  width: 18px; height: 18px;
  color: var(--gold);
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--ink);
  color: rgba(245, 241, 232, 0.7);
  padding: 40px var(--gutter);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer .brand-name { font-family: var(--serif); font-size: 16px; text-transform: none; letter-spacing: 0; }

/* ---------- WAVE DIVIDER ---------- */
.wave-divider {
  width: 100%;
  height: 60px;
  display: block;
}

/* ---------- REVEAL ANIMATIONS ---------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  body { font-size: 16px; }

  .nav-menu-btn { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 0 var(--gutter);
    background: var(--paper);
    color: var(--ink);
    font-size: 28px;
    letter-spacing: 0.04em;
    text-transform: none;
    font-family: var(--serif);
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
    z-index: 101;
  }

  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s;
  }

  .nav-links a { opacity: 1; }
  .nav-links a::after { display: none; }

  .nav.open { color: var(--ink); }
  .nav.open .brand,
  .nav.open .nav-menu-btn { color: var(--ink); }

  .lang-toggle {
    position: fixed;
    bottom: 56px;
    left: 50%;
    color: var(--ink);
    font-size: 14px;
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
    z-index: 102;
  }

  .nav.open .lang-toggle {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.4s var(--ease) 0.1s, transform 0.4s var(--ease) 0.1s, visibility 0s;
  }

  .nav.open .lang-toggle a.active { background: var(--ink); color: var(--cream); }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .program-meta {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .meta-card { flex: 1 1 140px; }

  .stop {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fact-block, .fact-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
  }

  .fact-image { aspect-ratio: 4/3; }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
  }
  .g-item:nth-child(1) { grid-column: span 6; grid-row: span 3; }
  .g-item:nth-child(2) { grid-column: span 6; grid-row: span 2; }
  .g-item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
  .g-item:nth-child(4) { grid-column: span 3; grid-row: span 2; }
  .g-item:nth-child(5) { grid-column: span 3; grid-row: span 2; }
  .g-item:nth-child(6) { grid-column: span 3; grid-row: span 2; }
  .g-item:nth-child(7) { grid-column: span 3; grid-row: span 2; }
  .g-item:nth-child(8) { grid-column: span 3; grid-row: span 2; }
  .g-item:nth-child(9) { grid-column: span 3; grid-row: span 2; }
  .g-item:nth-child(10) { grid-column: span 3; grid-row: span 2; }

  .contact-card { padding: 40px 28px; }

  .hero { padding-bottom: 18vh; min-height: 560px; }
  .hero-bottom { display: none; }
}

/* When opened in /en/ subfolder, fix hero bg path */
.in-en .hero-bg { background-image: url("../images/meander.jpg"); }
