:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #20231f;
  --muted: #656a61;
  --line: #d8d6cc;
  --moss: #4a5b45;
  --clay: #9a6748;
  --sky: #dcebf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
  background: rgb(247 246 241 / 86%);
  border-bottom: 1px solid rgb(216 214 204 / 76%);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

nav a[aria-current="page"] {
  font-weight: 700;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgb(216 214 204 / 90%);
  border-radius: 999px;
  background: rgb(255 255 255 / 54%);
}

.lang-button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.lang-button:hover,
.lang-button.active {
  background: var(--ink);
  color: white;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--sky);
}

.hero-image {
  position: absolute;
  inset: 0;
  max-width: none;
  width: 130%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-full-subject {
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 42%), transparent 58%),
    linear-gradient(0deg, rgb(0 0 0 / 48%), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 32px 84px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e9c7a8;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 500;
}

h1 {
  max-width: 470px;
  font-size: clamp(40px, 5.2vw, 66px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.intro {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 56%);
  background: rgb(255 255 255 / 14%);
  color: white;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-actions a:hover {
  background: white;
  color: var(--ink);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
  padding: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-strip div {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--paper);
  color: var(--muted);
}

.stat {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.main-paths {
  border-bottom: 1px solid var(--line);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.path-panel {
  display: grid;
  min-height: 520px;
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
}

.path-panel img {
  height: 320px;
  object-fit: cover;
}

.path-panel span,
.path-panel strong,
.path-panel p {
  margin-left: 18px;
  margin-right: 18px;
}

.path-panel span {
  align-self: end;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.path-panel strong {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 34px;
  font-weight: 500;
}

.path-panel p {
  margin-top: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 18px;
}

figure {
  margin: 0;
}

.feature-main,
.feature-side figure,
.photo {
  background: white;
  border: 1px solid var(--line);
}

.feature-main img {
  height: min(68vw, 680px);
  object-fit: cover;
}

.feature-main figcaption {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.feature-main span,
.feature-side figcaption,
.photo-meta {
  color: var(--muted);
  font-size: 13px;
}

.feature-main strong {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
}

.feature-side {
  display: grid;
  gap: 18px;
}

.feature-side img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-side figcaption {
  padding: 14px;
}

.with-controls {
  align-items: center;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter:hover,
.filter.active {
  border-color: var(--moss);
  background: var(--moss);
  color: white;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.photo {
  display: grid;
  cursor: zoom-in;
  text-align: left;
  overflow: hidden;
}

.photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photo:hover img {
  transform: scale(1.035);
}

.photo-info {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.photo-title {
  font-weight: 700;
}

.archive {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  border-top: 1px solid var(--line);
}

.archive-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.archive-copy span {
  color: var(--ink);
}

.lightbox {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  place-items: center;
  padding: 72px 28px 32px;
  background: rgb(12 14 12 / 92%);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(1180px, 100%);
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 14px;
  color: white;
  font-size: 15px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  .site-header {
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-actions {
    display: grid;
    justify-items: end;
    gap: 9px;
  }

  nav {
    gap: 14px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-copy {
    padding: 0 22px 58px;
  }

  .section {
    width: min(100% - 32px, 720px);
    padding: 64px 0;
  }

  .intro-strip,
  .feature-grid,
  .path-grid,
  .archive {
    grid-template-columns: 1fr;
  }

  .path-panel {
    min-height: auto;
  }

  .intro-strip div {
    min-height: 86px;
  }

  .section-heading,
  .with-controls {
    display: grid;
    align-items: start;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 58px;
  }

  .site-header {
    position: sticky;
  }

  .brand {
    max-width: 108px;
    line-height: 1.2;
  }

  nav {
    font-size: 13px;
    gap: 10px;
  }

  .language-switcher {
    max-width: 210px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .lang-button {
    min-width: 34px;
    min-height: 28px;
    padding: 0 7px;
    font-size: 11px;
  }

  h1 {
    font-size: 40px;
  }

  .intro {
    font-size: 15px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}


.backstage-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin: 24px 0 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: white;
}

.backstage-note span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.backstage-note small {
  flex: 1 1 280px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.backstage-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.backstage-note a:hover {
  border-color: var(--moss);
}
