@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --color-bg: #f3f0eb;
  --color-bg-deep: #e6dfd7;
  --color-surface: #f7f4f0;
  --color-ink: #1c1a17;
  --color-ink-soft: #3a342e;
  --color-muted: #6e675f;
  --color-stone: #8a8176;
  --color-line: rgba(28, 26, 23, 0.12);
  --color-accent: #252a23;
  --color-accent-hover: #3a4036;
  --color-accent-soft: rgba(37, 42, 35, 0.08);
  --color-gold: #b08a4f;
  /* Keep overlay dark enough that light placeholder/hero photos still support light text */
  --color-hero-overlay: linear-gradient(115deg, rgba(12, 18, 15, 0.88) 0%, rgba(18, 26, 22, 0.74) 45%, rgba(24, 32, 28, 0.58) 100%);
  --color-on-hero: #f4f5f2;
  --color-on-hero-soft: rgba(244, 245, 242, 0.88);
  --color-on-hero-muted: rgba(244, 245, 242, 0.72);
  --color-hero-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");

  --radius-sm: 0;
  --radius-md: 0;
  --shadow-soft: 0 10px 30px rgba(20, 28, 24, 0.08);
  --shadow-hover: 0 16px 40px rgba(20, 28, 24, 0.14);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --focus-ring: 0 0 0 3px rgba(47, 93, 80, 0.35);
  --transition: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

body {
  min-height: 100vh;
}

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

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-ink);
  margin: 0 0 var(--space-3);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-ink-soft);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  padding-top: var(--header-h);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  color: #f4f1ea;
}

.site-header.is-solid {
  background: #f3f0eb;
  color: #1c1a17;
}

.site-header.is-overlay {
  background: linear-gradient(180deg, rgba(18, 16, 12, 0.55), rgba(18, 16, 12, 0.08) 80%, transparent);
}

.site-main {
  padding-top: var(--header-h);
}

.site-header__inner {
  height: 100%;
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #f4f1ea;
  justify-self: start;
}

.brand { transition: color var(--transition); }
.brand:hover { color: #fff; }

.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  object-fit: contain;
  mix-blend-mode: normal;
}

.site-header.is-solid .brand__mark {
  filter: invert(1);
}

.site-header.is-solid .brand,
.site-header.is-solid .icon-btn,
.site-header.is-solid .nav-toggle,
.site-header.is-solid .site-nav a {
  color: #1c1a17;
}

.site-header.is-solid .site-nav a {
  color: rgba(28, 26, 23, 0.78);
}

.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a.active,
.site-header.is-solid .brand:hover {
  color: #1c1a17;
}

.site-header.is-solid .lang-switch { color: rgba(28, 26, 23, 0.45); }
.site-header.is-solid .lang-switch .is-active { color: #1c1a17; }
.site-header.is-solid .lang-switch__divider { background: rgba(28, 26, 23, 0.28); }
.site-header.is-solid .header-search input { color: #1c1a17; border-bottom-color: rgba(28, 26, 23, 0.35); }

.site-header.is-overlay.is-scrolled {
  background: #f3f0eb !important;
  color: #1c1a17;
}
.site-header.is-overlay.is-scrolled .brand__mark {
  filter: invert(1);
}
.site-header.is-overlay.is-scrolled .brand,
.site-header.is-overlay.is-scrolled .icon-btn,
.site-header.is-overlay.is-scrolled .nav-toggle,
.site-header.is-overlay.is-scrolled .site-nav a,
.site-header.is-overlay.is-scrolled .brand:hover,
.site-header.is-overlay.is-scrolled .site-nav a:hover,
.site-header.is-overlay.is-scrolled .site-nav a.active,
.site-header.is-overlay.is-scrolled .lang-switch .is-active {
  color: #1c1a17;
}
.site-header.is-overlay.is-scrolled .site-nav a { color: rgba(28, 26, 23, 0.78); }
.site-header.is-overlay.is-scrolled .lang-switch { color: rgba(28, 26, 23, 0.45); }
.site-header.is-overlay.is-scrolled .lang-switch__divider { background: rgba(28, 26, 23, 0.28); }

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  justify-self: center;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: rgba(244, 241, 234, 0.82);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 0;
  transition: color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.22rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a.active::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.site-nav:has(a.is-current) a.active:not(.is-current)::after {
  transform: scaleX(0);
}

.site-nav a:hover,
.site-nav a.active {
  background: transparent;
  color: #fff;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.icon-btn {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4f1ea;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.is-solid .icon-btn:hover,
.site-header.is-overlay.is-scrolled .icon-btn:hover { background: rgba(28, 26, 23, 0.06); }

.icon-btn svg { width: 1.15rem; height: 1.15rem; }

.header-search input {
  height: 2rem;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.45);
  background: transparent;
  color: #fff;
  caret-color: #fff;
  font: inherit;
  font-size: 0.85rem;
  padding: 0 0.2rem;
  width: 9rem;
}

.header-search input::placeholder { color: rgba(244, 241, 234, 0.55); }

.site-header.is-solid .header-search input,
.site-header.is-overlay.is-scrolled .header-search input {
  color: #1c1a17;
  caret-color: #1c1a17;
  border-bottom-color: rgba(28, 26, 23, 0.35);
}

.site-header.is-solid .header-search input::placeholder,
.site-header.is-overlay.is-scrolled .header-search input::placeholder {
  color: rgba(28, 26, 23, 0.45);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 234, 0.55);
}
.lang-switch button {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  cursor: pointer;
}

.lang-switch .is-active { color: #fff; }

.lang-switch__divider {
  width: 1px;
  height: 0.8rem;
  background: rgba(244, 241, 234, 0.35);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(244, 241, 234, 0.35);
  background: transparent;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font: inherit;
  color: #f4f1ea;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  transition: background var(--transition), border-color var(--transition);
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.site-header.is-solid .nav-toggle:hover,
.site-header.is-overlay.is-scrolled .nav-toggle:hover { background: rgba(28, 26, 23, 0.06); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Footer */
.site-footer {
  margin-top: 0;
  background: #252a23;
  color: rgba(244, 241, 234, 0.78);
  padding: 2.2rem 0 1.2rem;
}

.site-footer a { color: rgba(244, 241, 234, 0.82); text-decoration: none; transition: color var(--transition); }
.site-footer a:hover { color: #fff; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 0.28em; }

.site-footer__inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-switch--footer { justify-self: end; }

.site-footer__bottom {
  width: var(--container);
  margin: 1.4rem auto 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.55);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  text-decoration: none;
}

.btn > span[aria-hidden] {
  display: inline-block;
  transition: transform var(--transition);
}

.btn:hover > span[aria-hidden] { transform: translateX(4px); }

.btn-primary,
.btn-line {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn-light {
  background: #f4f1ea;
  color: #1c1a17;
  border-color: #f4f1ea;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(244, 241, 234, 0.7);
  color: #f4f1ea;
}

.btn-light:hover,
.btn-ghost:hover,
.btn-line:hover {
  background: #252a23;
  color: #f4f1ea;
  border-color: #252a23;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-ink);
}

.btn-secondary:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

/* Explicit alias kept for existing markup */
.btn-secondary.on-light {
  border-color: var(--color-line);
  color: var(--color-ink);
}

.btn-secondary.on-light:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

/* Ghost secondary on dark hero / lightbox surfaces */
.hero .btn-secondary,
.detail-hero .btn-secondary,
.lightbox .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-on-hero);
}

.hero .btn-secondary:hover,
.detail-hero .btn-secondary:hover,
.lightbox .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--color-on-hero);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-pan 18s ease-in-out infinite alternate;
  transform: scale(1.06);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-hero-overlay);
}

.hero__overlay::after,
.detail-hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: var(--color-hero-grain);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  animation: rise-in 700ms ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  max-width: 14ch;
}

/* Beat global h1–h4 { color: ink } — title was black on dark hero */
.hero h1,
.hero h2,
.hero h3,
.hero .hero__brand,
.hero h1.hero__brand {
  color: var(--color-on-hero);
}

.hero__lead {
  max-width: 38ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-on-hero-soft);
  margin-bottom: var(--space-5);
}

.hero p:not(.section__eyebrow) {
  color: var(--color-on-hero-soft);
}

/* Sections */
.section {
  padding: var(--space-8) 0;
}

.section.region-page {
  padding-top: 1.15rem;
}

.section__head {
  margin-bottom: var(--space-6);
  max-width: 42rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section__text {
  font-size: 1.05rem;
}

.map-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2)),
    var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.map-hint {
  margin-top: var(--space-4);
  text-align: center;
  color: var(--color-muted);
  font-size: 0.98rem;
}

/* Serbia map */
.serbia-map-wrap {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.serbia-map {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(28, 34, 30, 0.08));
}

.serbia-map .region {
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: fill var(--transition), stroke var(--transition), filter var(--transition), opacity var(--transition);
  cursor: default;
}

.serbia-map .region.is-inactive {
  fill: #cfd4cb;
  stroke: #7f877e;
  stroke-width: 1.1;
  opacity: 0.92;
}

.serbia-map .region.is-active {
  fill: #4f8573;
  stroke: #1f3f36;
  stroke-width: 1.8;
  cursor: pointer;
  animation: kim-pulse 2.8s ease-in-out infinite;
}

.serbia-map .region.is-active:hover,
.serbia-map .region.is-active:focus {
  fill: #2f5d50;
  stroke: #13241f;
  filter: drop-shadow(0 8px 14px rgba(47, 93, 80, 0.35));
  outline: none;
  animation: none;
}

.serbia-map .region-label {
  font-family: var(--font-body);
  font-size: 12px;
  fill: #2a322c;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(241, 242, 238, 0.72);
  stroke-width: 3px;
}

.serbia-map .region-label.is-kim {
  font-weight: 700;
  font-size: 13px;
  fill: #10231d;
}

.map-attribution {
  margin: 0;
  font-size: 0.78rem;
  text-align: center;
  max-width: 40rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.map-legend__swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 2px;
  border: 1px solid rgba(28, 34, 30, 0.25);
}

.map-legend__swatch.is-active {
  background: #4f8573;
  border-color: #1f3f36;
}

.map-legend__swatch.is-inactive {
  background: #cfd4cb;
}

@keyframes kim-pulse {
  0%, 100% { fill: #4f8573; }
  50% { fill: #5f9a84; }
}

/* Cards / grid */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: end;
  margin-bottom: var(--space-5);
}

.search-field {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 280px);
}

.search-field label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.search-field input {
  min-height: 2.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 0.65rem 0.9rem;
  font: inherit;
  color: var(--color-ink);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.location-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition), box-shadow var(--transition);
  animation: rise-in 560ms ease both;
}

.location-card:hover {
  border-color: rgba(28, 26, 23, 0.28);
  box-shadow: 0 10px 24px rgba(20, 18, 14, 0.08);
  color: inherit;
  text-decoration: none;
}

.location-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #c9cdc5;
}

.location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.location-card:hover .location-card__media img {
  transform: scale(1.035);
}

.location-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1rem 1.15rem;
  flex: 1;
}

.location-card__meta {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.location-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  margin: 0;
  letter-spacing: -0.01em;
}

.location-card__text {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.location-card__cta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Detail */
.detail-hero {
  position: relative;
  min-height: min(70vh, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--color-on-hero);
  isolation: isolate; /* keep media/overlay above page background */
}

.detail-hero__media,
.detail-hero__overlay {
  position: absolute;
  inset: 0;
}

.detail-hero__media {
  z-index: 0;
}

.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero__overlay {
  z-index: 1;
  background: var(--color-hero-overlay);
}

.detail-hero__content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0 3rem;
  animation: rise-in 650ms ease both;
}

.detail-hero__meta {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--color-on-hero-muted);
}

.detail-hero h1,
.detail-hero h2,
.detail-hero h3 {
  color: var(--color-on-hero);
}

.detail-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.detail-hero .hero__lead,
.detail-hero p {
  color: var(--color-on-hero-soft);
}

/* Breadcrumbs: ink on light pages (Region, etc.); light only inside heroes */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: var(--space-4);
  font-size: 0.92rem;
  color: var(--color-ink);
}

.breadcrumb a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--color-ink-soft);
}

.hero .breadcrumb,
.detail-hero .breadcrumb {
  color: var(--color-on-hero-soft);
}

.hero .breadcrumb a,
.detail-hero .breadcrumb a {
  color: var(--color-on-hero-soft);
}

.hero .breadcrumb a:hover,
.detail-hero .breadcrumb a:hover {
  color: #fff;
}

.hero .breadcrumb span,
.detail-hero .breadcrumb span {
  color: var(--color-on-hero-muted);
}

.prose {
  max-width: 62ch;
}

.prose h2 {
  margin-top: var(--space-6);
}

.split-actions {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 40%), var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  box-shadow: var(--shadow-soft);
}

.panel h2 {
  font-size: 1.45rem;
}

.muted {
  color: var(--color-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 14, 12, 0.88);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox__figure {
  max-width: min(960px, calc(100% - 7rem));
  margin: 0;
}

.lightbox__stage {
  position: relative;
  overflow: hidden;
}

.lightbox__slide--current {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: transparent;
}

.lightbox__slide--prev,
.lightbox__slide--next {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.lightbox__slide--prev { transform: translate3d(-100%, 0, 0); }
.lightbox__slide--next { transform: translate3d(100%, 0, 0); }

.lightbox__caption {
  color: #d7dbd6;
  margin-top: 0.75rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 3.4rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #f4f1ea;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background var(--transition), color var(--transition);
}

.lightbox__nav svg {
  width: 1.35rem;
  height: 1.35rem;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lightbox__nav--prev { left: 0.85rem; }
.lightbox__nav--next { right: 0.85rem; }
.lightbox__edge { display: none; }

@media (max-width: 720px) {
  .lightbox {
    padding: 0.4rem;
  }
  .lightbox__close {
    z-index: 3;
  }
  .lightbox__figure {
    max-width: 100%;
    width: 100%;
  }
  .lightbox__slide--current {
    width: 100%;
    max-height: calc(100vh - 0.8rem);
    max-height: calc(100svh - 0.8rem);
  }
  .lightbox__nav {
    background: rgba(12, 10, 8, 0.35);
  }
  .lightbox__nav--prev { left: 0.4rem; }
  .lightbox__nav--next { right: 0.4rem; }
  .lightbox { touch-action: none; }
  .lightbox__edge {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 50%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .lightbox__edge--prev { left: 0; }
  .lightbox__edge--next { right: 0; }
}

.status-box {
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.35);
}

.empty-state,
.error-state {
  padding: var(--space-7) 0;
  text-align: center;
}

#blazor-error-ui {
  background: #2a1717;
  bottom: 0;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.25);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  color: #fff;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.loading-line {
  width: min(280px, 70%);
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #cfd3cb, #e8ebe4, #cfd3cb);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  margin: 1rem auto;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-pan {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 1100px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .location-grid,
  .gallery-grid,
  .split-actions,
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    display: flex;
    justify-content: space-between;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    background: #252a23;
    border: 1px solid rgba(244, 241, 234, 0.16);
    padding: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 1.5rem, 1120px);
  }

  .location-grid,
  .gallery-grid,
  .split-actions,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .detail-hero__content {
    padding-bottom: 2.5rem;
  }
}


.flow-list,
.scope-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--color-ink-soft);
}

.flow-list li,
.scope-list li {
  margin-bottom: 0.45rem;
}

.about-teaser .section__title {
  max-width: 18ch;
}

/*
 * Contrast locks (end of file so they win equal-specificity earlier rules).
 * Light surfaces → ink; dark heroes → on-hero.
 */
.section .breadcrumb,
.container .breadcrumb,
.breadcrumb {
  color: var(--color-ink);
}

.section .breadcrumb a,
.container .breadcrumb a,
.breadcrumb a {
  color: var(--color-ink);
}

.section .breadcrumb span,
.container .breadcrumb span,
.breadcrumb span {
  color: var(--color-ink-soft);
}

.hero .breadcrumb,
.hero .breadcrumb a,
.detail-hero .breadcrumb,
.detail-hero .breadcrumb a {
  color: var(--color-on-hero-soft);
}

.hero .breadcrumb span,
.detail-hero .breadcrumb span {
  color: var(--color-on-hero-muted);
}

.hero h1,
.hero h2,
.hero h3,
.hero .hero__brand,
.hero h1.hero__brand,
.detail-hero h1,
.detail-hero h2,
.detail-hero h3 {
  color: var(--color-on-hero);
}

.hero .hero__lead,
.detail-hero .hero__lead {
  color: var(--color-on-hero-soft);
}

.page-home { margin-top: calc(var(--header-h) * -1); }

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.eyebrow--light { color: rgba(244, 241, 234, 0.62); }

.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: #f4f1ea;
  overflow: hidden;
}

.home-hero__media,
.home-hero__scrim { position: absolute; inset: 0; }

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero__scrim {
  background: linear-gradient(90deg, rgba(10, 8, 6, 0.38) 0%, rgba(10, 8, 6, 0.08) 48%, rgba(10, 8, 6, 0.02) 100%);
}

.btn-ghost svg,
.loc-place svg { width: 0.95rem; height: 0.95rem; }

.home-hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.home-hero__eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.8);
}

.home-hero h1 {
  margin: 0 0 1rem;
  color: #f7f4ee;
  font-size: clamp(3.2rem, 5.6vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  max-width: none;
}

.home-hero h1 span {
  display: block;
  white-space: nowrap;
}

.home-hero__lead {
  max-width: 36ch;
  color: rgba(244, 241, 234, 0.86);
  font-size: 0.98rem;
}

.map-band {
  background: #f4efe6;
  display: flex;
  align-items: center;
  padding: 2.4rem 0 2.6rem;
}

.kim-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.15fr);
  gap: 2rem 3rem;
  align-items: center;
}
.kim-map {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kim-reveal {
  margin-top: 0.7rem;
  border: 1px solid rgba(28, 26, 23, 0.35);
  background: #fff;
  color: #1c1a17;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.kim-reveal:hover { background: #1c1a17; color: #f4f1ea; border-color: #1c1a17; }

.kim-copy h2,
.feature-band h2,
.heritage-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 0.98;
  max-width: 12ch;
}
.kim-copy h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  max-width: 16em;
}
.kim-copy > p:not(.eyebrow) {
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 38ch;
}

.kim-stage {
  position: relative;
  aspect-ratio: 1000 / 1424.7;
  width: min(100%, calc(64vh * 1000 / 1424.7));
  margin-left: auto;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
  transition: aspect-ratio 460ms ease, width 460ms ease;
}
.kim-stage.is-zoomed {
  aspect-ratio: 437.6 / 463.9;
  width: min(100%, calc(76vh * 437.6 / 463.9));
  cursor: zoom-out;
}
.kim-zoom {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: left 460ms ease, top 460ms ease, width 460ms ease, height 460ms ease;
}
.kim-stage.is-zoomed .kim-zoom {
  left: -64.53%;
  top: -202.27%;
  width: 228.52%;
  height: 307.13%;
}
.kim-stage.is-zoomed .map-pin:not(.is-active).map-pin--left .map-pin__label {
  left: 0.72rem;
  right: auto;
  top: -0.2rem;
  transform: none;
}
.serbia-geo {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.kim-districts {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  transition: opacity 160ms ease;
}
.kim-stage.is-active .kim-districts { opacity: 0.22; }
.kim-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.kim-leaders line,
.kim-leaders circle { vector-effect: non-scaling-stroke; }
.kim-leaders line {
  stroke: #ffffff;
  stroke-width: 1.45px;
  filter: drop-shadow(0 0 0.6px #2c2924);
}
.kim-leaders circle {
  fill: #ffffff;
  stroke: #2c2924;
  stroke-width: 1.5px;
}
.kim-stage .map-pin { opacity: 1; transform: translate(-50%, -50%); z-index: 3; }
.kim-stage .map-pin button {
  width: 0.55rem;
  height: 0.55rem;
  background: #ffffff;
  border: 2px solid #2c2924;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
  transition: transform 160ms ease;
}
.kim-stage .map-pin.is-active { z-index: 5; }
.kim-stage .map-pin__label { transition: font-size 160ms ease; }
.kim-stage .map-pin.is-active button {
  position: relative;
  z-index: 2;
  transform: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.kim-stage .map-pin.is-active button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50% 50% 50% 0;
  background:
    radial-gradient(circle at center, #fff 0 3px, transparent 3.5px),
    #2c2924;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(44, 41, 36, 0.28), 0 2px 5px rgba(28, 26, 23, 0.35);
  transform-origin: 0 100%;
  transform: translateY(-100%) rotate(-45deg);
  pointer-events: none;
}
.kim-stage .map-pin.is-active .map-pin__label,
.kim-stage.is-zoomed .map-pin.is-active .map-pin__label {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  background: rgba(247, 243, 236, 0.96);
  padding: 0.16rem 0.42rem 0.18rem;
  text-shadow: none;
  box-shadow: 0 1px 3px rgba(28, 26, 23, 0.16);
  z-index: 1;
  white-space: normal;
  width: max-content;
  max-width: 13rem;
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(50% + 2.15rem);
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}
.kim-stage .map-pin.is-active.map-pin--west .map-pin__label,
.kim-stage.is-zoomed .map-pin.is-active.map-pin--west .map-pin__label {
  left: -0.15rem;
  right: auto;
  transform: none;
  text-align: left;
}
.kim-stage .map-pin.is-active.map-pin--east .map-pin__label,
.kim-stage.is-zoomed .map-pin.is-active.map-pin--east .map-pin__label {
  left: auto;
  right: -0.15rem;
  transform: none;
  text-align: right;
}
.kim-stage .map-pin.map-pin--callout.is-active button::after { content: none; }
.kim-stage .map-pin.map-pin--callout.is-active .map-pin__label { display: none; }
.kim-stage .map-pin.map-pin--spot { z-index: 6; }
.kim-stage.is-active .map-pin,
.kim-stage.is-active .kim-leaders { opacity: 0.22; }
.kim-stage.is-active .map-pin.is-active { opacity: 1; }
@media (min-width: 721px) {
  .kim-stage .map-pin.is-active button::after {
    width: 2.2rem;
    height: 2.2rem;
    background:
      radial-gradient(circle at center, #fff 0 4.5px, transparent 5px),
      #2c2924;
  }
  .kim-stage .map-pin.is-active .map-pin__label,
  .kim-stage.is-zoomed .map-pin.is-active .map-pin__label {
    bottom: calc(50% + 3.45rem);
  }
}
.kim-stage.is-zoomed .map-pin.is-active.map-pin--high .map-pin__label {
  top: calc(50% + 0.7rem);
  bottom: auto;
}
.kim-stage .map-pin:not(.is-active).map-pin--left .map-pin__label { left: auto; right: 0.72rem; top: -0.2rem; }
.kim-stage .map-pin:not(.is-active).map-pin--right .map-pin__label { left: 0.72rem; right: auto; top: -0.2rem; }
.kim-stage .map-pin:not(.is-active).map-pin--above .map-pin__label { left: 50%; right: auto; top: -1.05rem; transform: translateX(-50%); }
.kim-stage .map-pin:not(.is-active).map-pin--below .map-pin__label { left: 50%; right: auto; top: 0.7rem; transform: translateX(-50%); }
.kim-finder { position: relative; margin-top: 1.6rem; border: 1px solid rgba(28, 26, 23, 0.16); background: rgba(255,255,255,0.35); }
.kim-finder input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.75rem 2.4rem 0.75rem 0.9rem;
  text-align: center;
}
.kim-finder__icon { position: absolute; right: 0.75rem; top: 0.7rem; width: 1rem; height: 1rem; color: #6d675f; }
.kim-finder__icon svg { width: 100%; height: 100%; }
.kim-list { max-height: 380px; overflow: auto; border-top: 1px solid rgba(28, 26, 23, 0.12); }

.kim-svg { width: 100%; height: auto; display: block; }

.kim-shape { fill: #d9d3c6; stroke: #b7b0a3; stroke-width: 1.2; }

.kim-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: #8d867c;
}

.map-pin { position: absolute; transform: translate(-50%, -100%); z-index: 2; }

.map-pin button {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 2px solid #f4f1ea;
  background: #252a23;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(37, 42, 35, 0.12);
  transition: transform 180ms ease;
}

.map-pin:hover button { transform: scale(1.35); }

.map-pin__label {
  position: absolute;
  left: 0.85rem;
  top: -0.15rem;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 650;
  color: #2c2924;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.98), 0 1px 1px rgba(255, 255, 255, 0.95), 0 0 1px #fff;
}

.map-pin.is-active { z-index: 4; }

.map-tip {
  position: absolute;
  left: 1rem;
  bottom: 1.1rem;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.55rem;
  width: 230px;
  padding: 0.45rem;
  background: #fff;
  color: var(--color-ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(28, 26, 23, 0.12);
}

.map-tip img { width: 72px; height: 64px; object-fit: cover; }
.map-tip strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.map-tip em { display: block; font-style: normal; color: var(--color-muted); font-size: 0.75rem; }
.map-tip span span { font-size: 0.78rem; }

.kim-compass {
  position: absolute;
  right: 0.4rem;
  top: 0.2rem;
  z-index: 6;
  width: 4.2rem;
  height: 4.2rem;
  color: #b7b0a4;
}

.kim-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.kim-list li {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(28, 26, 23, 0.1);
}
.kim-list li.is-active { background: rgba(255, 255, 255, 0.55); }
.kim-list a {
  display: block;
  flex: 1;
  color: var(--color-ink);
  text-decoration: none;
  padding: 0.42rem 0.85rem;
  border-bottom: 0;
  font-size: 0.78rem;
  transition: background var(--transition);
}
.kim-list a:hover { background: rgba(255, 255, 255, 0.72); }
.kim-list a.is-active { font-weight: 700; }
.kim-tap-hint,
.kim-show,
.kim-picked { display: none; }
.kim-show {
  align-items: center;
  flex: 0 0 auto;
  margin: 0.28rem 0.35rem 0.28rem 0;
  padding: 0 0.6rem;
  border: 1px solid rgba(28, 26, 23, 0.35);
  background: #fff;
  color: #1c1a17;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.kim-show:hover { background: #1c1a17; color: #f4f1ea; border-color: #1c1a17; }
.kim-picked {
  order: 2;
  margin: 0.15rem 0 0;
  padding: 0.15rem 0.4rem 0;
  background: transparent;
  color: #1c1a17;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.kim-tap-hint {
  margin: 0;
  padding: 0.55rem 0.85rem 0.15rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #6e675f;
}

.feature-band { padding: 4.5rem 0 3.5rem; background: var(--color-bg); }
.feature-band__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.text-link { color: var(--color-ink); text-decoration: none; font-size: 0.92rem; white-space: nowrap; }
.text-link span { display: inline-block; transition: transform var(--transition); }
.text-link:hover { color: var(--color-ink); }
.text-link:hover span { transform: translateX(4px); }
.text-link--light { color: #f4f1ea; }
.text-link--light:hover { color: #fff; }

.feature-wrap {
  position: relative;
  width: min(1280px, calc(100% - 1.25rem));
  margin-inline: auto;
  padding-inline: 3.75rem;
}
.feature-strip {
  --gap: 1rem;
  --visible: 5;
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--gap);
  overflow: hidden;
  scrollbar-width: none;
}
.feature-strip::-webkit-scrollbar { display: none; }

.feature-arrow {
  position: absolute;
  z-index: 6;
  top: 42%;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(28, 26, 23, 0.16);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.feature-arrow--prev { left: 0.15rem; }
.feature-arrow--next { right: 0.15rem; }
.feature-arrow:hover:not(:disabled) { background: #1c1a17; color: #f4f1ea; border-color: #1c1a17; }
.feature-arrow:disabled { visibility: hidden; pointer-events: none; }

.monastery-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--color-ink);
  text-decoration: none;
  border: 1px solid rgba(28, 26, 23, 0.08);
  min-width: 0;
}
.monastery-card:hover { color: var(--color-ink); text-decoration: none; }
.monastery-card__photo { aspect-ratio: 5 / 6; overflow: hidden; background: #ddd7ce; }
.monastery-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.monastery-card__body { display: flex; flex: 1; flex-direction: column; gap: 1rem; padding: 0.9rem 0.95rem 1rem; }
.monastery-card__title { margin: 0 0 0.25rem; font-size: 1.35rem; font-weight: 600; }
.monastery-card__meta { margin: 0; color: var(--color-muted); font-size: 0.82rem; }
.monastery-card__panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.monastery-card__cta { margin-top: auto; font-size: 0.86rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.location-grid .monastery-card {
  height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.location-grid .monastery-card__photo img { transition: transform 680ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.location-grid .monastery-card__cta span { display: inline-block; transition: transform var(--transition); }
.location-grid .monastery-card:hover {
  border-color: rgba(28, 26, 23, 0.28);
  box-shadow: 0 10px 24px rgba(20, 18, 14, 0.08);
}
.location-grid .monastery-card:hover .monastery-card__photo img { transform: scale(1.035); }
.location-grid .monastery-card:hover .monastery-card__cta span { transform: translateX(4px); }

.monastery-card--strip {
  --slot: calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
  flex: 0 0 var(--slot);
  height: 430px;
  position: relative;
  background: transparent;
  border: 0;
  overflow: hidden;
  transition: flex-basis 0.28s ease;
}
.monastery-card--strip .monastery-card__panel {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid rgba(28, 26, 23, 0.08);
  overflow: hidden;
}
.monastery-card--strip .monastery-card__photo {
  flex: 0 0 270px;
  height: 270px;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
}
.monastery-card--strip .monastery-card__body {
  min-height: 0;
  overflow: hidden;
}
.monastery-card--strip .monastery-card__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.feature-strip:has(.monastery-card--strip.is-open) .monastery-card--strip.is-in-view:not(.is-open) {
  flex-basis: calc(var(--slot) * 0.8);
}
.monastery-card--strip.is-open {
  z-index: 2;
  flex-basis: calc(var(--slot) * 1.8);
  color: #fff;
}
.monastery-card--strip.is-open .monastery-card__panel {
  background: #c2b19f;
  border-color: transparent;
}
.monastery-card--strip.is-open .monastery-card__photo {
  position: absolute;
  left: 38.79%;
  top: 28.78%;
  width: 61.21%;
  height: 50.98%;
  z-index: 0;
  background: transparent;
}
.monastery-card--strip.is-open .monastery-card__photo img {
  object-position: center center;
}
.monastery-card--strip.is-open .monastery-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right,
      #c2b19f 0%,
      rgba(194, 177, 159, 0.88) 10%,
      rgba(194, 177, 159, 0.70) 20%,
      rgba(194, 177, 159, 0.52) 30%,
      rgba(194, 177, 159, 0.345) 40%,
      rgba(194, 177, 159, 0.23) 50%,
      rgba(194, 177, 159, 0.16) 70%,
      rgba(194, 177, 159, 0.09) 90%,
      rgba(194, 177, 159, 0.055) 100%),
    linear-gradient(to bottom,
      #c2b19f 0%,
      rgba(194, 177, 159, 0.80) 10%,
      rgba(194, 177, 159, 0.49) 25%,
      rgba(194, 177, 159, 0.24) 40%,
      rgba(194, 177, 159, 0.19) 50%,
      rgba(194, 177, 159, 0) 56%,
      rgba(194, 177, 159, 0) 62%,
      rgba(194, 177, 159, 0.19) 66%,
      rgba(194, 177, 159, 0.42) 80%,
      rgba(194, 177, 159, 0.71) 90%,
      #c2b19f 100%);
}
.monastery-card--strip.is-open .monastery-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 68%;
  background: none;
  justify-content: flex-start;
  gap: 0;
  padding: 27px 12px 70px 22px;
}
.monastery-card--strip.is-open .monastery-card__title,
.monastery-card--strip.is-open .monastery-card__meta,
.monastery-card--strip.is-open .monastery-card__text,
.monastery-card--strip.is-open .monastery-card__cta { color: #fff; }
.monastery-card--strip.is-open .monastery-card__title {
  margin: 0;
  min-height: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 33px;
  line-height: 1;
}
.monastery-card--strip.is-open .monastery-card__meta {
  margin: 8px 0 0;
  min-height: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}
.monastery-card--strip.is-open .monastery-card__text {
  margin: 14px 0 0;
  max-width: 236px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 15px;
  display: block;
  max-height: 232px;
  overflow: hidden;
}
.monastery-card--strip.is-open .monastery-card__cta {
  position: absolute;
  left: 22px;
  bottom: 15px;
  width: 167px;
  height: 31px;
  margin: 0;
  padding: 0 14px 0 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  align-self: auto;
  justify-content: space-between;
}

.timeline-band { background: #252a23; color: #f4f1ea; padding: 4rem 0 3.2rem; }
.timeline-band h2 { color: #f4f1ea; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; margin-bottom: 2rem; }
.timeline { display: grid; grid-template-columns: minmax(220px, 0.7fr) 1.6fr; gap: 2rem; align-items: end; }
.timeline__copy h2 { margin-bottom: 1rem; }
.timeline__intro { margin: 0; color: rgba(244, 241, 234, 0.75); font-size: 0.92rem; }
.timeline__track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 4.2rem 0 0;
  position: relative;
}
.timeline__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4.55rem;
  height: 1px;
  background: rgba(244, 241, 234, 0.35);
}
.timeline__track li { position: relative; text-align: center; font-size: 0.78rem; }
.timeline__track img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: -4.2rem;
  left: 50%;
  transform: translateX(-50%);
}
.timeline__dot {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: #f4f1ea;
  position: relative;
  z-index: 1;
}
.timeline__track strong, .timeline__track span { display: block; color: rgba(244, 241, 234, 0.86); }

.heritage-band { padding: 4.5rem 0; }
.heritage-layout { display: grid; grid-template-columns: 0.72fr 1.45fr; gap: 2.2rem; align-items: center; }
.heritage-copy h2 {
  max-width: none;
  font-size: clamp(2.7rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 0.95;
}
.heritage-copy h2 span { display: block; white-space: nowrap; }
.heritage-copy p { max-width: 32ch; font-size: 0.92rem; line-height: 1.5; }
.heritage-copy .btn {
  justify-content: space-between;
  min-width: 12.5rem;
  margin-top: 0.4rem;
  font-weight: 500;
}
.heritage-cards {
  display: grid;
  grid-template-columns: repeat(2, calc((100% - 4rem) / 3));
  gap: 2rem;
  align-items: start;
  justify-content: start;
}
.heritage-card {
  position: relative;
  display: block;
  aspect-ratio: 1.08 / 1;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.heritage-card:hover { color: #fff; }
.heritage-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.heritage-card:hover img { transform: scale(1.045); }
.heritage-card > span {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 2.6rem 1rem 1rem;
  background: linear-gradient(to top, rgba(12, 10, 8, 0.72) 0%, rgba(12, 10, 8, 0.2) 62%, rgba(12, 10, 8, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  transition: background var(--transition);
}
.heritage-card:hover > span {
  background: linear-gradient(to top, rgba(12, 10, 8, 0.86) 0%, rgba(12, 10, 8, 0.36) 70%, rgba(12, 10, 8, 0) 100%);
}
.heritage-card > span > span {
  position: static;
  inset: auto;
  margin-top: 0.45rem;
  padding: 0;
  background: none;
  font-size: 0.84rem;
  transition: transform var(--transition);
}
.heritage-card:hover > span > span { transform: translateX(4px); }
.heritage-card strong { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; line-height: 1.05; }
.heritage-card em { font-style: normal; font-size: 0.72rem; line-height: 1.35; color: rgba(244, 241, 234, 0.9); }

.quote-band {
  display: grid;
  grid-template-columns: minmax(150px, 420px) minmax(180px, 1fr) minmax(210px, max-content);
  align-items: stretch;
  height: 320px;
  background: #756d63;
  color: #f7f3ec;
  overflow: hidden;
}
.quote-band__photo { min-width: 0; height: 100%; overflow: hidden; }
.quote-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  -webkit-mask-image: linear-gradient(90deg, #000 46%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 46%, transparent 100%);
}
.quote-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  min-width: 0;
  padding: 1.6rem 1.25rem;
}
.quote-band__copy p {
  margin: 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.23rem, 1.45vw, 1.57rem);
  line-height: 1.35;
  color: #f7f3ec;
}
.quote-band__copy blockquote {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  max-width: 100%;
}
.quote-band__copy blockquote::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 1px;
  margin-top: 1.2rem;
  background: rgba(247, 243, 236, 0.55);
}
.quote-band__copy .text-link {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 0.95rem;
}
.quote-band__aside {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  height: 100%;
  min-width: 0;
  padding: 0 1.4rem 0 0.2rem;
}
.quote-band__aside img {
  height: 188px;
  width: auto;
  min-width: 0;
  max-width: 280px;
  object-fit: contain;
  flex: 1 1 0;
  display: block;
}
.quote-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.35rem;
  flex: 0 0 176px;
  width: 176px;
  min-width: 176px;
  height: 188px;
  padding: 1.15rem 1.15rem 2.1rem;
  background: #252b23;
  color: #f7f3ec;
  text-decoration: none;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
.quote-tile strong { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; font-style: normal; }
.quote-tile span { font-size: 0.92rem; }
.quote-tile__arrow { position: absolute; right: 0.95rem; bottom: 0.85rem; margin: 0; transition: transform var(--transition); }
.quote-tile:hover {
  background: #f4f1ea;
  color: #1c1a17;
}
.quote-tile:hover .quote-tile__arrow { transform: translateX(4px); }

.location-grid { align-items: stretch; }

@media (max-width: 980px) {
  .kim-layout, .heritage-layout, .quote-band, .timeline { grid-template-columns: 1fr; }
  .quote-band { height: auto; grid-template-columns: 1fr; }
  .quote-band__photo {
    height: auto;
    display: flex;
    justify-content: center;
  }
  .quote-band__photo img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    object-position: center center;
    -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
  }
  .quote-band__aside { height: auto; padding: 1.2rem; flex-wrap: wrap; }
  .quote-band__aside img, .quote-tile { height: 150px; }
  .timeline__track { grid-template-columns: repeat(3, 1fr); row-gap: 4.5rem; }
  .heritage-cards { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: start; }
  .footer-nav { justify-content: flex-start; }
  .monastery-card--strip { height: 430px; }
  .loc-top, .loc-tour, .loc-related { grid-template-columns: 1fr; }
  .loc-hero { max-width: none; }
  .loc-related__more { flex-direction: row; width: auto; justify-content: flex-start; }
}

.btn-dark {
  background: #2a3128;
  border-color: #2a3128;
  color: #f4f1ea;
}

.btn-dark:hover { background: #161a15; border-color: #161a15; color: #f4f1ea; }

.loc { padding-bottom: 0; }
.loc-top {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(280px, 1fr);
  gap: 1.15rem;
  width: var(--container);
  margin: 1.2rem auto 0;
  align-items: stretch;
}
.loc-hero {
  position: relative;
  width: 100%;
  max-width: 540px;
  color: #fff;
  overflow: hidden;
  background: #1a1814;
}
.loc-hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,8,6,0.58) 0%, rgba(10,8,6,0.12) 26%, rgba(10,8,6,0) 46%),
    linear-gradient(to top, rgba(10,8,6,0.38) 0%, rgba(10,8,6,0) 24%);
}
.loc-hero__photo {
  display: block;
  width: 100%;
  height: auto;
}
.loc-hero__content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem;
  padding: 1.15rem 1.25rem 1.15rem; color: #fff;
}
.loc-back { color: #fff; text-decoration: none; font-size: 0.82rem; transition: opacity var(--transition); }
.loc-back:hover { color: #fff; opacity: 0.72; }
.loc-hero h1 { margin: 0.15rem 0 0; color: #fff; font-size: clamp(2.7rem, 3.5vw, 3.45rem); font-weight: 500; line-height: 0.95; }
.loc-place, .loc-century, .loc-line { margin: 0; color: #fff; }
.loc-place, .loc-century { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.92rem; }
.loc-century { border: 1px solid rgba(255,255,255,0.75); padding: 0.22rem 0.55rem; font-size: 0.78rem; }
.loc-line { max-width: 32ch; margin-top: auto; font-size: 0.95rem; line-height: 1.35; color: #fff; }
.loc-play {
  position: absolute; right: 1.5rem; bottom: 1.15rem; z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.45rem;
  max-width: 7.2rem; color: #fff; text-decoration: none;
  font-size: 0.68rem; line-height: 1.25; text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.loc-play:hover { color: #fff; }
.loc-play__btn {
  width: 3.35rem; height: 3.35rem; border-radius: 50%; border: 1.5px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 0.85rem;
  text-shadow: none;
  transition: background var(--transition), transform var(--transition);
}
.loc-play:hover .loc-play__btn { background: rgba(255,255,255,0.32); color: #fff; transform: scale(1.06); }
.loc-about {
  position: relative;
  padding: 1.05rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f0e9df;
}
.loc-about .eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; }
.loc-about p { margin: 0; max-width: 46ch; color: #3c3934; font-size: 0.95rem; line-height: 1.5; }
.loc-about .btn { margin-top: auto; align-self: flex-start; }
.loc-tour {
  width: var(--container);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 0.72fr;
  gap: 1.2rem;
  align-items: center;
}
.loc-tour__copy > p:not(.eyebrow) {
  max-width: 32ch;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #5c564e;
}
.loc-tour__start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.35rem;
  min-height: 3.15rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(28, 26, 23, 0.28);
  background: transparent;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.loc-tour__start:hover {
  color: var(--color-ink);
  background: rgba(28, 26, 23, 0.04);
  border-color: rgba(28, 26, 23, 0.55);
}
.loc-tour__start > span:last-child { display: inline-block; transition: transform var(--transition); }
.loc-tour__start:hover > span:last-child { transform: translateX(4px); }
.loc-tour__start-label { display: inline-flex; align-items: center; gap: 0.55rem; }
.loc-tour__start svg { width: 1.55rem; height: 1.55rem; flex: 0 0 auto; }
.loc-tour__stage { position: relative; display: block; min-height: 240px; overflow: hidden; }
.loc-tour__stage { background: #1a1814; }
.loc-tour__stage img { width: 100%; height: 280px; object-fit: contain; object-position: center; display: block; }
.loc-tour__stage .loc-play__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(20,18,14,0.35); color: #fff; transition: background var(--transition), transform var(--transition); }
.loc-tour__stage:hover .loc-play__btn { background: rgba(20,18,14,0.55); transform: translate(-50%, -50%) scale(1.06); }
.loc-tour__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.loc-tour__links a {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 4.2rem; padding: 0.8rem 1rem;
  border: 1px solid rgba(28,26,23,0.16);
  color: var(--color-ink); text-decoration: none;
  background: transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.loc-tour__links a span { display: inline-block; transition: transform var(--transition); }
.loc-tour__links a:hover {
  background: #fff;
  border-color: rgba(28, 26, 23, 0.4);
  color: var(--color-ink);
}
.loc-tour__links a:hover span { transform: translateX(4px); }
.loc-gallery { width: var(--container); margin: 2rem auto 0; }
.loc-related {
  width: 100%;
  margin: 2.8rem 0 0;
  padding: 2.5rem max(1.25rem, calc((100% - 1120px) / 2)) 0.4rem;
  display: grid;
  grid-template-columns: 0.62fr 1.9fr;
  gap: 1.5rem;
  align-items: center;
  background: #eeeae1;
}
.loc-related h2 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; line-height: 1; max-width: 10ch; }
.loc-related__row { display: grid; grid-template-columns: repeat(3, 1fr) 6.4rem; gap: 0.75rem; align-items: center; }
.loc-related__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 6.2rem;
  color: var(--color-ink);
  text-decoration: none;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.3;
}
.loc-related__more:hover { color: var(--color-ink); }
.loc-related__ring {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid rgba(28, 26, 23, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.loc-related__more:hover .loc-related__ring {
  background: #1c1a17;
  border-color: #1c1a17;
  color: #fff;
}
.monastery-card--overlay { height: 176px; color: #fff; }
.monastery-card--overlay .monastery-card__panel { position: relative; height: 100%; background: #1a1814; border: 0; overflow: hidden; }
.monastery-card--overlay .monastery-card__photo { position: absolute; inset: 0; aspect-ratio: auto; }
.monastery-card--overlay .monastery-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.monastery-card--overlay .monastery-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between;
  gap: 0.4rem; padding: 2.4rem 0.7rem 0.55rem;
  background: linear-gradient(to top, rgba(8,7,6,0.78) 0%, rgba(8,7,6,0.28) 62%, rgba(8,7,6,0) 100%);
}
.monastery-card--overlay .monastery-card__title {
  margin: 0; color: #fff; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500; line-height: 1.15;
}
.monastery-card--overlay .monastery-card__meta { margin: 0.12rem 0 0; color: #fff; font-size: 0.72rem; line-height: 1.2; }
.monastery-card--overlay .monastery-card__cta { margin: 0 0 0.15rem; color: #fff; font-size: 1rem; flex: 0 0 auto; }
.monastery-card--caption {
  background: #fff;
  border: 1px solid rgba(28, 26, 23, 0.14);
  color: var(--color-ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.monastery-card--caption:hover { color: var(--color-ink); border-color: rgba(28, 26, 23, 0.32); box-shadow: 0 8px 20px rgba(20, 18, 14, 0.07); }
.monastery-card--caption .monastery-card__photo img { transition: transform 680ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.monastery-card--caption .monastery-card__cta span { display: inline-block; transition: transform var(--transition); }
.monastery-card--caption:hover .monastery-card__photo img { transform: scale(1.035); }
.monastery-card--caption:hover .monastery-card__cta span { transform: translateX(4px); }
.monastery-card--caption .monastery-card__photo { aspect-ratio: 16 / 10; }
.monastery-card--caption .monastery-card__body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem 0.7rem;
  background: #fff;
}
.monastery-card--caption .monastery-card__title {
  margin: 0;
  color: #1c1a17;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.15;
}
.monastery-card--caption .monastery-card__meta { margin: 0.15rem 0 0; color: #6e675f; font-size: 0.72rem; }
.monastery-card--caption .monastery-card__cta { margin: 0; color: #1c1a17; font-size: 1rem; flex: 0 0 auto; }
.loc-motto {
  width: 100%;
  margin: 0;
  padding: 1.4rem max(1.25rem, calc((100% - 1120px) / 2)) 2.2rem;
  background: #eeeae1;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.about-band {
  padding: 4.5rem 0 5rem;
  background: var(--color-bg);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.about-band__label {
  margin: 0 0 1.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-muted);
}

.about-band__copy p {
  margin: 0 0 1rem;
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-ink-soft);
}

.about-band__copy p:last-child {
  margin-bottom: 0;
}

/* Phone and small tablets. Later rules above restack some sections
   and then get overridden, so these queries stay at the end of the file. */
@media (max-width: 980px) {
  .loc-top,
  .loc-tour,
  .loc-related {
    grid-template-columns: 1fr;
  }
  .loc-hero { max-width: none; }
  .loc-related__row { grid-template-columns: 1fr 1fr; }
  .loc-related__more {
    grid-column: 1 / -1;
    flex-direction: row;
    width: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root { --header-h: 3.7rem; }

  .brand { gap: 0.45rem; min-width: 0; }
  .brand__mark { width: 1.85rem; height: 1.85rem; }
  .brand__name {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }
  .site-header__inner { gap: 0.45rem; }
  .header-tools { gap: 0.35rem; }
  .nav-toggle { padding: 0.4rem 0.5rem; letter-spacing: 0.08em; }
  .site-nav {
    left: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    padding: 0.35rem;
  }
  .site-nav a {
    padding: 0.85rem 0.9rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }
  .header-search {
    position: absolute;
    top: 100%;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 6;
    background: #f3f0eb;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(28, 26, 23, 0.12);
  }
  .header-search input {
    width: 100%;
    color: #1c1a17;
    border-bottom-color: rgba(28, 26, 23, 0.35);
  }

  .home-hero { min-height: 100svh; }
  .home-hero__scrim {
    background: linear-gradient(180deg, rgba(10, 8, 6, 0.45) 0%, rgba(10, 8, 6, 0.28) 42%, rgba(10, 8, 6, 0.45) 100%);
  }
  .home-hero__content { padding-bottom: 2.2rem; }
  .home-hero h1 { font-size: clamp(2.15rem, 11vw, 2.8rem); }
  .home-hero h1 span { white-space: normal; }
  .home-hero__lead { font-size: 0.92rem; }
  .home-hero .btn-group {
    margin-top: 2.4rem;
    margin-bottom: -2.4rem;
  }
  .btn-group .btn { flex: 1 1 12rem; justify-content: center; }

  .map-band { padding: 1.6rem 0 1.8rem; }
  .kim-layout { display: flex; flex-direction: column; gap: 1rem; }
  .kim-copy { display: contents; }
  .kim-copy .eyebrow,
  .kim-copy h2,
  .kim-copy > p { order: 1; }
  .kim-map { order: 2; width: 100%; }
  .kim-finder { order: 3; margin-top: 0.2rem; }
  .kim-stage,
  .kim-stage.is-zoomed {
    width: 100%;
    margin-inline: auto;
  }
  .kim-compass { width: 2.8rem; height: 2.8rem; }
  .kim-list { max-height: 240px; }
  .kim-list a { padding: 0.7rem 0.85rem; font-size: 0.84rem; }
  .kim-tap-hint { display: block; }
  .kim-show { display: inline-flex; }
  .kim-picked { display: block; }
  .kim-stage .map-pin.is-active .map-pin__label {
    font-size: 1.05rem;
    max-width: 10.5rem;
    font-weight: 700;
  }
  .kim-stage .map-pin button {
    position: relative;
    width: 1.65rem;
    height: 1.65rem;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .kim-stage .map-pin:not(.is-active) button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    border: 2px solid #2c2924;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
  }
  .kim-stage .map-pin__label { font-size: 0.72rem; }
  .kim-stage .map-pin.is-active .map-pin__label {
    opacity: 1;
    font-size: 1.05rem;
  }
  .kim-stage:not(.is-active) .kim-leaders { opacity: 0.45; }
  .feature-band { padding: 2.6rem 0 2.2rem; }
  .feature-band__head { flex-wrap: wrap; margin-bottom: 1rem; }
  .feature-wrap { width: 100%; padding-inline: 2.7rem; }
  .feature-strip {
    --visible: 1;
    --gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
    scroll-behavior: auto;
  }
  .feature-arrow { width: 2.3rem; height: 2.3rem; }
  .monastery-card--strip { height: 430px; }
  .feature-strip:has(.monastery-card--strip.is-open) .monastery-card--strip.is-in-view:not(.is-open),
  .monastery-card--strip.is-open { flex-basis: var(--slot); }
  .monastery-card--strip.is-open { color: var(--color-ink); }
  .monastery-card--strip.is-open .monastery-card__panel {
    background: #fff;
    border-color: rgba(28, 26, 23, 0.08);
  }
  .monastery-card--strip.is-open .monastery-card__photo {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    flex: 0 0 270px;
    height: 270px;
  }
  .monastery-card--strip.is-open .monastery-card__photo::after { content: none; }
  .monastery-card--strip.is-open .monastery-card__body {
    position: static;
    width: auto;
    height: auto;
    padding: 0.9rem 0.95rem 1rem;
    background: #fff;
  }
  .monastery-card--strip.is-open .monastery-card__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.15;
    min-height: 0;
    color: var(--color-ink);
  }
  .monastery-card--strip.is-open .monastery-card__meta {
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.3;
    min-height: 0;
  }
  .monastery-card--strip.is-open .monastery-card__text { display: none; }
  .monastery-card--strip.is-open .monastery-card__cta {
    position: static;
    width: auto;
    height: auto;
    margin-top: auto;
    padding: 0;
    background: transparent;
    color: var(--color-ink);
    font-size: 0.86rem;
  }

  .timeline-band { padding: 2.4rem 0 2rem; }
  .timeline__track {
    grid-template-columns: 1fr 1fr;
    row-gap: 5.4rem;
  }
  .timeline__track::before { display: none; }

  .heritage-band { padding: 2.4rem 0; }
  .heritage-copy h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .heritage-cards { gap: 0.85rem; }
  .heritage-card { aspect-ratio: 16 / 10; }

  .quote-band__photo { height: auto; }
  .quote-band__photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
  }
  .quote-band__copy { padding: 1.4rem 1.1rem; }
  .quote-band__aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.45rem;
  }
  .quote-band__aside img,
  .quote-tile {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 120px;
    flex: none;
  }
  .quote-tile { grid-column: 1 / -1; height: auto; min-height: 5.5rem; padding-bottom: 2rem; }

  .about-band { padding: 2.4rem 0 3rem; }
  .loc { padding-bottom: 0; }
  .loc-hero h1 { font-size: clamp(2.05rem, 10vw, 2.6rem); }
  .loc-hero__content { padding-right: 5.4rem; }
  .loc-play { right: 0.7rem; bottom: 0.7rem; }
  .loc-related { padding: 1.6rem 1rem 0.6rem; }
  .loc-related__row { grid-template-columns: 1fr; }
  .loc-related h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .loc-tour { margin-top: 1.6rem; gap: 1rem; }
  .loc-tour__stage img { height: 220px; }
  .footer-nav { justify-content: flex-start; gap: 0.55rem 0.9rem; }
  .lang-switch--footer { justify-self: start; }
}

@media (max-width: 860px) {
  .site-header.is-solid .site-nav a,
  .site-header.is-overlay.is-scrolled .site-nav a,
  .site-header.is-solid .site-nav a:hover,
  .site-header.is-solid .site-nav a.active,
  .site-header.is-overlay.is-scrolled .site-nav a:hover,
  .site-header.is-overlay.is-scrolled .site-nav a.active {
    color: #f7f4ee;
  }
}
