:root {
  --ink: #16141a;
  --ink-2: #2c2833;
  --ink-3: #5a5460;
  --ink-4: #8b8492;

  --paper: #f8f4ec;
  --paper-2: #f0e9dc;
  --paper-3: #e6dccb;

  --line: rgba(22, 20, 26, 0.12);
  --line-2: rgba(22, 20, 26, 0.22);

  --water-900: #08262d;
  --water-800: #0d3440;
  --water-700: #124c58;
  --water-600: #186a76;
  --water-500: #22828f;
  --water-300: #8fc3c4;
  --water-100: #dceae8;

  --clay: #a9502e;
  --gold: #a8834a;
  --seal: #b03a2e;
  --jade: #4b7d68;

  --shadow-s: 0 1px 2px rgba(15, 30, 35, 0.05), 0 8px 22px -14px rgba(15, 30, 35, 0.22);
  --shadow-m: 0 2px 6px rgba(15, 30, 35, 0.06), 0 26px 60px -30px rgba(15, 30, 35, 0.32);
  --shadow-l: 0 4px 10px rgba(15, 30, 35, 0.06), 0 48px 100px -46px rgba(15, 30, 35, 0.4);

  --r-s: 3px;
  --r-m: 6px;
  --r-l: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 78px;

  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Source Han Serif CN", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --latin: "Georgia", "Times New Roman", "Songti SC", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
dl, dd { margin: 0; }
figure { margin: 0; }

::selection { background: var(--water-700); color: #fff; }

:focus-visible {
  outline: 2px solid var(--water-600);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 980px; }

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper2 { background: var(--paper-2); }
.section--paper3 { background: var(--paper-3); }
.section--ink { background: var(--water-900); color: rgba(255, 255, 255, 0.72); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #f4efe4; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--r-s);
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
  opacity: 0.75;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.5); }
.eyebrow--light::before { background: var(--water-300); }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .eyebrow::after {
  content: ""; width: 28px; height: 1px;
  background: var(--clay); opacity: 0.75;
}

.sec-title {
  margin-top: 18px;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: 0.04em;
}
.sec-title em {
  font-style: normal;
  color: var(--clay);
}
.sec-desc {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 15.5px;
  line-height: 2.05;
  max-width: 62ch;
}
.sec-head--center .sec-desc { margin-inline: auto; }
.section--ink .sec-desc { color: rgba(255, 255, 255, 0.6); }

.sec-foot { margin-top: 44px; display: flex; justify-content: center; }

/* rules */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #f8f4ec;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14.5px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 50% 130%, rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--water { --btn-bg: var(--water-700); --btn-fg: #eef6f4; }
.btn--light { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: #f4efe4; border: 1px solid rgba(255, 255, 255, 0.24); backdrop-filter: blur(6px); }
.btn--light:hover { --btn-bg: #f4efe4; --btn-fg: var(--water-900); }
.btn--seal { --btn-bg: var(--seal); --btn-fg: #fff5f2; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), gap 0.35s var(--ease);
}
.tlink:hover { color: var(--clay); border-color: var(--clay); gap: 16px; }
.tlink svg { flex: none; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.site-header--solid {
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -26px rgba(15, 30, 35, 0.6);
}
.site-header--solid::after { opacity: 1; }

/* dark variant while over hero */
.site-header--over {
  --nav-fg: rgba(255, 255, 255, 0.78);
  --logo-fg: #f6f1e6;
}
.site-header--over .brand__name,
.site-header--over .nav__link { color: rgba(255, 255, 255, 0.82); }
.site-header--over .brand__sub { color: rgba(255, 255, 255, 0.45); }
.site-header--over .nav__link::after { background: var(--water-300); }
.site-header--over .site-header__inner .btn--ghost { color: #f4efe4; border-color: rgba(255, 255, 255, 0.3); }
.site-header--over .burger span { background: #f4efe4; }

.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand__seal {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--seal);
  color: #fff6f2;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 6px 16px -8px rgba(176, 58, 46, 0.8);
  letter-spacing: 0;
  line-height: 1;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.brand__sub {
  font-family: var(--latin);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--ink-4);
  margin-top: 5px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--clay); }
.nav__link.is-active::after { transform: scaleX(1); }
.site-header--over .nav__link.is-active { color: #fff; }

.header-right { display: flex; align-items: center; gap: 14px; flex: none; }
.header-right .btn { min-height: 44px; padding: 0 22px; font-size: 13px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  border-radius: 50%;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), width 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; width: 14px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
body.menu-open .burger span { background: #f4efe4; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--water-900);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
  overflow-y: auto;
}
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 10%, rgba(34, 130, 143, 0.28), transparent 55%);
  pointer-events: none;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu__list { position: relative; }
.mobile-menu__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
body.menu-open .mobile-menu__list li { transform: none; opacity: 1; }
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 26px;
  color: #f2ece0;
  letter-spacing: 0.08em;
}
.mobile-menu__list a span {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--water-300);
  opacity: 0.7;
}
.mobile-menu__foot { margin-top: auto; padding-top: 36px; color: rgba(255, 255, 255, 0.4); font-size: 12.5px; letter-spacing: 0.06em; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 90px;
  background: var(--water-900);
  color: #f2ece0;
  overflow: hidden;
  isolation: isolate;
}
#river-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.95;
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(8, 38, 45, 0.1), rgba(8, 38, 45, 0.72) 78%),
    linear-gradient(180deg, rgba(8, 38, 45, 0.55), transparent 34%, rgba(8, 38, 45, 0.9));
}
.hero__mountains {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.hero__mountains svg { width: 100%; height: auto; }

.hero__grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hero__eyebrow::before {
  content: "";
  width: 42px; height: 1px;
  background: var(--water-300);
  opacity: 0.7;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(56px, 9.4vw, 132px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: #f7f2e6;
  margin-top: 26px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.hero__title .char {
  display: inline-block;
  transform: translateY(0.42em);
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
  transition-delay: calc(var(--i) * 90ms + 260ms);
}
.hero.is-ready .hero__title .char { transform: none; opacity: 1; }

.hero__title-sub {
  display: block;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--water-300);
  margin-top: 22px;
  padding-left: 4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease) 0.9s, transform 1s var(--ease) 0.9s;
}
.hero.is-ready .hero__title-sub { opacity: 1; transform: none; }

.hero__lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.62);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease) 1.1s, transform 1s var(--ease) 1.1s;
}
.hero.is-ready .hero__lead { opacity: 1; transform: none; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease) 1.25s, transform 1s var(--ease) 1.25s;
}
.hero.is-ready .hero__actions { opacity: 1; transform: none; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}
.hero__scroll i {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  top: -48px; left: 0;
  width: 1px; height: 48px;
  background: var(--water-300);
  animation: scrollDown 2.6s var(--ease-2) infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(96px); }
}

.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
  text-align: right;
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1.4s;
}
.hero.is-ready .hero__aside { opacity: 1; }
.hero__quote {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  max-width: none;
  font-family: var(--serif);
  color: rgba(255, 255, 255, 0.68);
}
.hero__quote-text {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}
.hero__quote cite {
  display: block;
  padding-bottom: 6px;
  max-width: 76px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  line-height: 1.9;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.34);
  writing-mode: horizontal-tb;
}
.hero__seal {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 1px solid rgba(176, 58, 46, 0.7);
  background: rgba(176, 58, 46, 0.16);
  color: #e8a49a;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 2px;
}

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(48px, 7vw, 88px);
  background: var(--water-900);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 130, 143, 0.32), transparent 46%),
    radial-gradient(circle at 88% 84%, rgba(169, 80, 46, 0.24), transparent 52%),
    linear-gradient(160deg, #0a2b33, #0b3540 48%, #082029);
}
.page-hero__pattern {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.page-hero__waves {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  z-index: -1;
  opacity: 0.3;
}
.page-hero__waves svg { width: 100%; height: auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb a { transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--water-300); }
.breadcrumb span[aria-current] { color: rgba(255, 255, 255, 0.75); }
.breadcrumb i { opacity: 0.4; font-style: normal; }

.page-hero__title {
  font-size: clamp(38px, 6.4vw, 84px);
  color: #f7f2e6;
  margin-top: 26px;
  letter-spacing: 0.1em;
  line-height: 1.15;
}
.page-hero__title small {
  display: block;
  font-family: var(--latin);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.42em;
  color: var(--water-300);
  margin-top: 18px;
  text-transform: uppercase;
  font-weight: 400;
}
.page-hero__desc {
  margin-top: 26px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.56);
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 78ch;
}
.page-hero__meta div { font-size: 12.5px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.42); }
.page-hero__meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: #f2ece0;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  font-weight: 500;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
  position: relative;
  transition: background 0.45s var(--ease);
}
.stat:first-child { border-left: 0; }
.stat:hover { background: rgba(255, 255, 255, 0.5); }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 500;
  color: var(--water-700);
  line-height: 1;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat__num span.unit {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-left: 2px;
}
.stat__label {
  margin-top: 16px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
.stat__sub { margin-top: 6px; font-size: 12px; color: var(--ink-4); letter-spacing: 0.04em; }
.section--ink .stats { border-color: rgba(255, 255, 255, 0.14); }
.section--ink .stat { border-color: rgba(255, 255, 255, 0.14); }
.section--ink .stat:hover { background: rgba(255, 255, 255, 0.04); }
.section--ink .stat__num { color: var(--water-300); }
.section--ink .stat__label { color: rgba(255, 255, 255, 0.78); }
.section--ink .stat__sub { color: rgba(255, 255, 255, 0.4); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.exhibit {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
}
.exhibit:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: var(--line-2); }
.exhibit__art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 0%, var(--art-a, #e8dfcd), transparent 60%),
    linear-gradient(150deg, var(--art-b, #d9cdb6), var(--art-c, #c9bda6));
}
.exhibit__art::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.exhibit__art svg.art {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  color: rgba(18, 40, 45, 0.55);
  transition: transform 0.9s var(--ease), color 0.6s var(--ease);
}
.exhibit:hover .exhibit__art svg.art { transform: scale(1.04) rotate(-1deg); color: rgba(18, 40, 45, 0.62); }
.exhibit__no {
  position: absolute;
  top: 16px; left: 18px;
  z-index: 2;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(18, 40, 45, 0.42);
}
.exhibit__body { padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; flex: 1; }
.exhibit__kicker {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.exhibit__title {
  margin-top: 12px;
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: 0.06em;
}
.exhibit__desc {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-3);
  flex: 1;
}
.exhibit__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.exhibit__foot .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--jade); display: inline-block; margin-right: 7px; }

.exhibit--wide { display: grid; grid-template-columns: 1.05fr 1fr; }
.exhibit--wide .exhibit__art { aspect-ratio: auto; min-height: 340px; }
@media (max-width: 780px) {
  .exhibit--wide { grid-template-columns: 1fr; }
  .exhibit--wide .exhibit__art { aspect-ratio: 16 / 10; min-height: 0; }
}

.card-link {
  position: relative;
  display: block;
  padding: 30px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.card-link:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-s); background: #fffdf8; }
.card-link__title { font-size: 20px; letter-spacing: 0.06em; }
.card-link__desc { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }
.card-link__arrow { margin-top: 22px; color: var(--ink-4); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.card-link:hover .card-link__arrow { transform: translateX(6px); color: var(--clay); }

.map-wrap {
  position: relative;
  background: linear-gradient(165deg, #fbf7ee, #efe7d7 70%, #e8deca);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}
.map-wrap::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(22, 20, 26, 0.16) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  opacity: 0.5;
  mask-image: radial-gradient(80% 80% at 50% 45%, transparent 20%, #000 100%);
}
.map-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 28px 0;
}
.map-head h3 { font-size: 17px; letter-spacing: 0.14em; }
.map-head p { font-family: var(--latin); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-4); margin-top: 6px; }
.map-svg { position: relative; z-index: 1; width: 100%; height: auto; display: block; }

.river-main {
  fill: none;
  stroke: var(--water-600);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.river-trib {
  fill: none;
  stroke: var(--water-500);
  stroke-width: 1.9;
  stroke-linecap: round;
  opacity: 0.75;
}
.river-flow {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.1;
  stroke-dasharray: 4 16;
  opacity: 0.85;
  animation: flow 6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -40; } }
.region { fill: rgba(169, 80, 46, 0.06); stroke: rgba(169, 80, 46, 0.16); stroke-width: 1; }
.region-label {
  font-family: var(--serif);
  font-size: 13px;
  fill: rgba(22, 20, 26, 0.34);
  letter-spacing: 0.3em;
}
.mtn { fill: none; stroke: rgba(22, 20, 26, 0.2); stroke-width: 1.2; stroke-linejoin: round; }
.sea { fill: rgba(34, 130, 143, 0.12); }
.sea-label { font-family: var(--serif); font-size: 12px; fill: rgba(18, 106, 118, 0.6); letter-spacing: 0.3em; }

.node { cursor: pointer; }
.node__ring {
  fill: #fbf7ee;
  stroke: var(--water-600);
  stroke-width: 1.6;
  transition: r 0.35s var(--ease), fill 0.35s var(--ease), stroke-width 0.35s var(--ease);
}
.node__core { fill: var(--clay); transition: r 0.35s var(--ease); }
.node:hover .node__ring, .node.is-active .node__ring { r: 9; fill: #fff; stroke-width: 2.4; }
.node:hover .node__core, .node.is-active .node__core { r: 3.6; }
.node__label {
  font-family: var(--sans);
  font-size: 11.5px;
  fill: rgba(22, 20, 26, 0.72);
  letter-spacing: 0.08em;
  transition: fill 0.3s var(--ease);
  pointer-events: none;
}
.node:hover .node__label, .node.is-active .node__label { fill: var(--clay); }
.node__label--up { text-anchor: middle; }

.map-panel {
  position: absolute;
  z-index: 3;
  left: 24px; bottom: 24px;
  width: min(320px, calc(100% - 48px));
  background: rgba(248, 244, 236, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px 24px;
  box-shadow: var(--shadow-m);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.map-panel__kicker { font-family: var(--latin); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay); }
.map-panel__title { margin-top: 8px; font-size: 19px; letter-spacing: 0.1em; }
.map-panel__text { margin-top: 10px; font-size: 12.8px; line-height: 1.95; color: var(--ink-3); }
.map-panel__meta {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 11.5px; color: var(--ink-4); letter-spacing: 0.06em;
}
.map-legend {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 16px; height: 0; border-top: 2px solid var(--water-600); display: inline-block; }
.map-legend i.trib { border-top-width: 1.4px; border-color: var(--water-500); opacity: 0.8; }
.map-legend i.pt { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--clay); }

@media (max-width: 860px) {
  .map-panel { position: static; width: auto; margin: 0 20px 20px; }
}

.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 170px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-2);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0 44px;
  padding: 26px 0 26px 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 166px; top: 34px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--water-600);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  z-index: 2;
}
.tl-item:hover::before { background: var(--clay); border-color: var(--clay); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(169, 80, 46, 0.12); }
.tl-year {
  font-family: var(--latin);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  text-align: right;
  padding: 3px 22px 0 0;
  transition: color 0.4s var(--ease);
}
.tl-item:hover .tl-year { color: var(--clay); }
.tl-year b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); letter-spacing: 0.04em; }
.tl-body { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.tl-item:last-child .tl-body { border-bottom: 0; }
.tl-title { font-size: 19px; letter-spacing: 0.06em; }
.tl-title span {
  display: inline-block;
  margin-left: 12px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--clay);
  border: 1px solid rgba(169, 80, 46, 0.32);
  border-radius: 999px;
  padding: 2px 9px;
  vertical-align: 2px;
  font-weight: 400;
}
.tl-text { margin-top: 10px; font-size: 14px; line-height: 1.95; color: var(--ink-3); max-width: 66ch; }

@media (max-width: 720px) {
  .timeline::before { left: 4px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 26px; }
  .tl-item::before { left: 0; top: 30px; }
  .tl-year { text-align: left; }
  .tl-year b { display: inline; font-size: 16px; }
}

.collection-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  background: transparent;
  transition: all 0.35s var(--ease);
}
.filter:hover { border-color: var(--ink-3); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #f6f1e6; }
.collection-count { font-family: var(--latin); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-4); text-transform: uppercase; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin-top: 34px;
}
.piece {
  display: block;
  position: relative;
  text-align: left;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.35s var(--ease);
}
.piece:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: var(--line-2); }
.piece.is-hidden { display: none; }
.piece__art {
  position: relative;
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 90% at 50% 22%, rgba(255, 255, 255, 0.7), transparent 62%),
    linear-gradient(160deg, var(--art-a, #ece2cf), var(--art-b, #d7c9ae));
  overflow: hidden;
}
.piece__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.28;
  mix-blend-mode: multiply;
}
.piece__art svg.art {
  width: 62%;
  height: 62%;
  color: rgba(20, 44, 48, 0.58);
  transition: transform 0.8s var(--ease), color 0.5s var(--ease);
  position: relative;
}
.piece:hover .piece__art svg.art { transform: scale(1.06); color: rgba(20, 44, 48, 0.7); }
.piece__cat {
  position: absolute;
  top: 14px; left: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(20, 44, 48, 0.45);
  font-family: var(--latin);
  text-transform: uppercase;
  z-index: 2;
}
.piece__zoom {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.9);
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.piece:hover .piece__zoom { opacity: 1; transform: none; }
.piece__body { padding: 20px 22px 24px; }
.piece__title { font-size: 17.5px; letter-spacing: 0.05em; }
.piece__meta { margin-top: 8px; font-size: 12px; color: var(--ink-4); letter-spacing: 0.04em; display: flex; justify-content: space-between; gap: 10px; }
.piece__meta b { font-weight: 400; color: var(--ink-3); }

@media (max-width: 980px) { .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .collection-grid { grid-template-columns: 1fr; } }

dialog.piece-modal {
  width: min(1040px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  padding: 0;
  border: 0;
  border-radius: var(--r-l);
  background: var(--paper);
  color: var(--ink-2);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
dialog.piece-modal::backdrop {
  background: rgba(8, 26, 31, 0.62);
  backdrop-filter: blur(6px);
}
dialog.piece-modal[open] { animation: dialogIn 0.5s var(--ease); }
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  background:
    radial-gradient(90% 90% at 50% 20%, rgba(255, 255, 255, 0.75), transparent 60%),
    linear-gradient(160deg, var(--art-a, #ece2cf), var(--art-b, #d7c9ae));
}
.modal-art svg.art { width: 62%; height: 62%; color: rgba(20, 44, 48, 0.6); }
.modal-art__tag {
  position: absolute; left: 26px; bottom: 24px;
  font-family: var(--latin); font-size: 9.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(20, 44, 48, 0.5);
}
.modal-body { padding: clamp(26px, 3.4vw, 46px); overflow-y: auto; max-height: calc(100vh - 60px); }
.modal-body__kicker { font-family: var(--latin); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay); }
.modal-body h3 { margin-top: 12px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: 0.06em; }
.modal-body__sub { margin-top: 10px; font-size: 12.5px; color: var(--ink-4); letter-spacing: 0.06em; }
.modal-body__text { margin-top: 24px; font-size: 14px; line-height: 2.05; color: var(--ink-3); }
.modal-facts { margin-top: 26px; border-top: 1px solid var(--line); }
.modal-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.modal-facts dt { color: var(--ink-4); letter-spacing: 0.1em; }
.modal-facts dd { color: var(--ink-2); }
.modal-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.9);
  color: var(--ink);
  z-index: 5;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.modal-close:hover { background: #fff; transform: rotate(90deg); }
@media (max-width: 820px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-art { min-height: 220px; }
  .modal-body { max-height: none; }
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}
.quick {
  background: #fbf8f1;
  padding: 26px 26px 24px;
  display: flex;
  gap: 18px;
  transition: background 0.4s var(--ease);
}
.quick:hover { background: #fffdf8; }
.quick__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(18, 106, 118, 0.08);
  color: var(--water-700);
}
.quick h3 { font-size: 15.5px; letter-spacing: 0.08em; }
.quick p { margin-top: 7px; font-size: 12.8px; line-height: 1.85; color: var(--ink-3); }
.quick b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .quick-grid { grid-template-columns: 1fr; } }

.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th, .info-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table thead th {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 400;
  background: rgba(22, 20, 26, 0.025);
  border-bottom: 1px solid var(--line-2);
}
.info-table tbody th {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.06em;
  width: 22%;
  white-space: nowrap;
}
.info-table td { color: var(--ink-3); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table .time { font-family: var(--latin); letter-spacing: 0.04em; color: var(--ink); }
.info-table .tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(75, 125, 104, 0.12);
  color: var(--jade);
  margin-left: 8px;
  vertical-align: 2px;
}
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-m); background: #fbf8f1; overflow-x: auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 30px 26px 30px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step__no {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--clay);
}
.step h3 { margin-top: 14px; font-size: 17px; letter-spacing: 0.05em; }
.step p { margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--ink-3); }
.step__line { position: absolute; right: -5px; top: 33px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-2); }
.step:last-child .step__line { display: none; }
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step, .step + .step { padding: 26px 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
  .step__line { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step:nth-child(even) { border-left: 0; } }

.tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.tab-btn {
  position: relative;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  transition: color 0.35s var(--ease);
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; bottom: -1px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tab-btn:hover { color: var(--ink-2); }
.tab-btn[aria-selected="true"] { color: var(--ink); }
.tab-btn[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel { padding-top: 30px; animation: fadeUp 0.5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.transport { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.transport__item { display: flex; gap: 16px; }
.transport__item h4 { font-size: 15px; letter-spacing: 0.05em; }
.transport__item p { margin-top: 6px; font-size: 13px; line-height: 1.9; color: var(--ink-3); }
.transport__badge {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  font-family: var(--latin);
  font-size: 11px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink-3);
  margin-top: 2px;
}
@media (max-width: 760px) { .transport { grid-template-columns: 1fr; } }

.plan {
  position: relative;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 26px;
}
.plan svg { width: 100%; height: auto; }
.plan__room {
  fill: rgba(34, 130, 143, 0.05);
  stroke: rgba(22, 20, 26, 0.28);
  stroke-width: 1.2;
  transition: fill 0.35s var(--ease), stroke 0.35s var(--ease);
  cursor: pointer;
}
.plan__room:hover, .plan__room.is-active { fill: rgba(34, 130, 143, 0.16); stroke: var(--water-600); }
.plan__label { font-family: var(--serif); font-size: 12px; fill: rgba(22, 20, 26, 0.7); letter-spacing: 0.1em; pointer-events: none; }
.plan__label--sm { font-family: var(--sans); font-size: 9.5px; fill: rgba(22, 20, 26, 0.42); letter-spacing: 0.14em; }
.plan__axis { fill: none; stroke: rgba(22, 20, 26, 0.16); stroke-width: 1; stroke-dasharray: 3 5; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.plan-legend span { display: inline-flex; align-items: center; gap: 8px; }
.plan-legend i { width: 12px; height: 12px; border-radius: 2px; background: rgba(34, 130, 143, 0.16); border: 1px solid var(--water-600); }

.route {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #fbf8f1;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.route:hover { border-color: var(--line-2); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.route__time { font-family: var(--latin); font-size: 11px; letter-spacing: 0.18em; color: var(--clay); text-transform: uppercase; }
.route h3 { margin-top: 10px; font-size: 19px; letter-spacing: 0.05em; }
.route ol { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; counter-reset: r; }
.route li {
  counter-increment: r;
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.8;
}
.route li::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--latin);
  font-size: 10px;
  color: var(--ink-4);
  padding-top: 4px;
  flex: none;
}

.facilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.facility { background: #fbf8f1; padding: 24px 22px; display: flex; align-items: flex-start; gap: 14px; transition: background 0.4s var(--ease); }
.facility:hover { background: #fffdf8; }
.facility svg { flex: none; color: var(--water-700); margin-top: 3px; }
.facility h4 { font-size: 14px; letter-spacing: 0.05em; font-family: var(--sans); font-weight: 500; color: var(--ink-2); }
.facility p { margin-top: 5px; font-size: 12.2px; line-height: 1.8; color: var(--ink-4); }
@media (max-width: 980px) { .facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facilities { grid-template-columns: 1fr; } }

.accordion { border-top: 1px solid var(--line); }
.acc {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--clay); }
.acc summary .q { display: flex; align-items: center; gap: 16px; }
.acc summary .q i { font-family: var(--latin); font-size: 10.5px; font-style: normal; letter-spacing: 0.16em; color: var(--clay); }
.acc__icon { position: relative; flex: none; width: 14px; height: 14px; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.acc__icon::before { top: 6px; left: 0; width: 14px; height: 1.4px; }
.acc__icon::after { left: 6px; top: 0; width: 1.4px; height: 14px; }
.acc[open] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__body { padding: 0 4px 28px; font-size: 14px; line-height: 2.05; color: var(--ink-3); max-width: 84ch; }
.acc__body p + p { margin-top: 12px; }

.cta-band {
  position: relative;
  background: var(--water-900);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  isolation: isolate;
}
.cta-band__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 120% at 12% 100%, rgba(34, 130, 143, 0.4), transparent 55%),
    radial-gradient(60% 100% at 92% 0%, rgba(169, 80, 46, 0.26), transparent 60%);
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px; }
.cta-band h2 { color: #f6f1e6; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: 0.08em; }
.cta-band p { margin-top: 14px; max-width: 52ch; font-size: 14.5px; line-height: 2; color: rgba(255, 255, 255, 0.56); }

.news { border-top: 1px solid var(--line); }
.news__row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.news__row:hover { background: rgba(255, 255, 255, 0.55); padding-left: 14px; }
.news__date { font-family: var(--latin); font-size: 12.5px; letter-spacing: 0.1em; color: var(--ink-4); }
.news__title { font-family: var(--serif); font-size: 17px; letter-spacing: 0.04em; color: var(--ink); }
.news__title span { display: inline-block; margin-right: 12px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em; color: var(--water-700); border: 1px solid rgba(18, 106, 118, 0.3); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.news__more { color: var(--ink-4); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.news__row:hover .news__more { transform: translateX(5px); color: var(--clay); }
@media (max-width: 700px) {
  .news__row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .news__date { grid-column: 1 / -1; }
}

.pullquote {
  position: relative;
  padding: clamp(30px, 4vw, 54px) 0 clamp(30px, 4vw, 54px) clamp(0px, 2vw, 34px);
  border-left: 2px solid var(--clay);
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.pullquote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-4);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.art-frame {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  background:
    radial-gradient(100% 90% at 30% 10%, rgba(255, 255, 255, 0.6), transparent 60%),
    linear-gradient(155deg, var(--art-a, #e9dfcc), var(--art-b, #d3c4a6) 62%, var(--art-c, #c3b391));
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.art-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(18, 40, 45, 0.1);
  border-radius: 2px;
  pointer-events: none;
  z-index: 3;
}
.art-frame::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.24;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.art-frame svg.art { width: 68%; height: 68%; color: rgba(18, 40, 45, 0.52); }
.art-frame--tall { aspect-ratio: 3 / 4; }
.art-frame__cap {
  position: absolute;
  left: 20px; bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(18, 40, 45, 0.5);
  z-index: 2;
}

.flist { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.flist__item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.flist__no { font-family: var(--latin); font-size: 11px; letter-spacing: 0.14em; color: var(--clay); padding-top: 5px; }
.flist__item h3 { font-size: 18px; letter-spacing: 0.05em; }
.flist__item p { margin-top: 8px; font-size: 13.5px; line-height: 1.95; color: var(--ink-3); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-3);
}

.site-footer {
  position: relative;
  background: #0a2429;
  color: rgba(255, 255, 255, 0.5);
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 80% 0%, rgba(34, 130, 143, 0.18), transparent 60%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  position: relative;
  padding-bottom: 54px;
}
.footer-brand .brand__name { color: #f2ece0; }
.footer-brand .brand__sub { color: rgba(255, 255, 255, 0.34); }
.footer-brand p { margin-top: 22px; font-size: 13px; line-height: 2; max-width: 34ch; color: rgba(255, 255, 255, 0.42); }
.footer-col h4 {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  font-weight: 400;
  margin-bottom: 20px;
}
.footer-col li + li { margin-top: 11px; }
.footer-col a { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-info { font-size: 13px; line-height: 2; color: rgba(255, 255, 255, 0.5); }
.footer-info b { display: block; color: rgba(255, 255, 255, 0.72); font-weight: 400; margin-bottom: 3px; }
.footer-info div + div { margin-top: 14px; }
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}
.footer-watermark {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(72px, 14vw, 200px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  text-align: center;
  user-select: none;
  margin-bottom: 0;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--water-500), var(--clay));
  z-index: 200;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-s);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #fff; }

/* reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-26px); }
.js [data-reveal="right"] { transform: translateX(26px); }
.js [data-reveal="scale"] { transform: scale(0.96); }

@media (max-width: 1080px) {
  .nav__link { padding: 10px 11px; font-size: 13.5px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 22px; opacity: 1; }
  .hero__quote { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__quote-text {
    writing-mode: horizontal-tb;
    white-space: normal;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.66);
  }
  .hero__quote cite { max-width: none; padding: 0; }
  .hero__seal { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .header-right .btn { display: none; }
  .header-right { gap: 4px; }
  .brand__seal { width: 38px; height: 38px; font-size: 20px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 7.5px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }
  .page-hero__meta { gap: 10px 22px; }
  .piece__body { padding: 16px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__title .char, .hero__title-sub, .hero__lead, .hero__actions, .hero__aside { opacity: 1 !important; transform: none !important; }
}

/* print */
@media print {
  .site-header, .to-top, .scroll-progress, .hero__scroll, .site-footer { display: none; }
  body { background: #fff; }
}

.hall {
  padding-block: clamp(36px, 4.6vw, 64px);
  border-top: 1px solid var(--line);
}
.hall:first-of-type { border-top: 0; }

.hall-title {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.05em;
}

.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split--reverse > :first-child { order: 0; }
}

.hall-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  margin-top: 30px;
}
.hall-index a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 22px;
  background: #fbf8f1;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.hall-index a b {
  font-family: var(--latin);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--clay);
}
.hall-index a:hover { background: #fffdf8; color: var(--clay); }
@media (max-width: 760px) { .hall-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hall-index { grid-template-columns: 1fr; } }

html.guide-page { scroll-padding-top: calc(var(--header-h) + 64px); }

.guide-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.guide-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.guide-nav ul::-webkit-scrollbar { display: none; }
.guide-nav a {
  display: inline-block;
  padding: 15px 14px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.guide-nav a:hover { color: var(--ink); }
.guide-nav a.is-active { color: var(--clay); border-color: var(--clay); }

@media (max-width: 720px) {
  .guide-nav a { padding: 13px 11px; font-size: 12.5px; }
}

.exhibit__art > img,
.piece__art > img,
.art-frame > img,
.modal-art > img,
.plan img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
  filter: saturate(0.97) contrast(1.02);
}

.exhibit:hover .exhibit__art > img,
.piece:hover .piece__art > img { transform: scale(1.045); }

.exhibit__art::after,
.piece__art::after { opacity: 0.1; }

.exhibit__no,
.piece__cat {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.art-frame__cap {
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  align-items: baseline;
  width: fit-content;
  max-width: calc(100% - 40px);
  padding: 6px 11px;
  border-radius: 3px;
  background: rgba(8, 26, 31, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.art-frame__cap em { font-style: normal; opacity: 0.6; }

.piece__credit {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink-4);
}

.modal-art > img { position: absolute; inset: 0; }
.modal-art__tag { z-index: 3; }

.photo-band { position: relative; overflow: hidden; background: #cfc7b8; }
.photo-band img {
  display: block;
  width: 100%;
  height: clamp(200px, 30vw, 400px);
  object-fit: cover;
}
.photo-band__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px var(--gutter) 16px;
  background: linear-gradient(transparent, rgba(8, 26, 31, 0.74));
  color: rgba(255, 255, 255, 0.88);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: space-between;
}
.photo-band__cap em { font-style: normal; opacity: 0.55; }

.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.credit-item {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #fbf8f1;
  overflow: hidden;
}
.credit-item__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d3cabb;
}
.credit-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credit-item__body { padding: 16px 18px 18px; }
.credit-item__body h3 { font-size: 15px; letter-spacing: 0.04em; }
.credit-item__body p { margin-top: 6px; font-size: 12px; line-height: 1.75; color: var(--ink-3); }
.credit-item__body a { color: var(--water-700); border-bottom: 1px solid rgba(18, 106, 118, 0.35); }
.credit-item__body a:hover { color: var(--clay); border-color: var(--clay); }
@media (max-width: 980px) { .credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .credit-grid { grid-template-columns: 1fr; } }

.hall-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.hall-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.hall-nav ul::-webkit-scrollbar { display: none; }
.hall-nav a {
  display: inline-block;
  padding: 15px 14px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hall-nav a:hover { color: var(--ink); }
.hall-nav a.is-active { color: var(--clay); border-color: var(--clay); }
.hall-nav a.hall-nav__all {
  margin-left: auto;
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 720px) {
  .hall-nav a { padding: 13px 11px; font-size: 12.5px; }
  .hall-nav a.hall-nav__all { margin-left: 0; }
}

.detail {
  display: grid;
  gap: 22px 56px;
  padding-block: clamp(30px, 3.4vw, 50px);
  border-top: 1px solid var(--line);
}
.detail:first-child { border-top: 0; }
.detail__no {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--clay);
}
.detail__title {
  margin-top: 10px;
  font-size: clamp(21px, 2.2vw, 29px);
  letter-spacing: 0.04em;
}
.detail__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-3);
  max-width: 66ch;
}
.detail__text p + p { margin-top: 13px; }
.detail__note {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 2px solid rgba(169, 80, 46, 0.6);
  background: rgba(169, 80, 46, 0.045);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-3);
  max-width: 62ch;
}
.detail__fig { margin: 0; }
.detail__fig img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: #d3cabb;
}
.detail__fig figcaption {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--ink-4);
}
@media (min-width: 900px) {
  .detail--fig { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
}

.hall-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.hall-pager a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px clamp(20px, 4vw, 48px);
  background: var(--paper);
  transition: background 0.35s var(--ease);
}
.hall-pager a:hover { background: #fffdf8; }
.hall-pager small {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.hall-pager strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hall-pager a:last-child { align-items: flex-end; text-align: right; }
@media (max-width: 560px) {
  .hall-pager { grid-template-columns: 1fr; }
  .hall-pager a:last-child { align-items: flex-start; text-align: left; border-top: 1px solid var(--line); }
}

.hall-cta { margin-top: 28px; }

h1, h2, h3, h4 { text-wrap: balance; }
p, .sec-desc, .detail__text, .acc__body { text-wrap: pretty; }

.sec-title { letter-spacing: 0.035em; margin-top: 20px; }
.hall-title { letter-spacing: 0.035em; }
.page-hero__title { letter-spacing: 0.06em; }

.sec-title em {
  background-image: linear-gradient(transparent 62%, rgba(169, 80, 46, 0.16) 62%);
  background-repeat: no-repeat;
  padding-bottom: 0.04em;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: rgba(22, 20, 26, 0.16);
  border: 3px solid var(--paper);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(22, 20, 26, 0.3); }

:focus-visible {
  outline: 2px solid var(--water-600);
  outline-offset: 3px;
  border-radius: 3px;
  box-shadow: 0 0 0 5px rgba(34, 130, 143, 0.1);
}

.exhibit, .piece, .card-link, .route, .credit-item {
  position: relative;
}
.exhibit::after,
.piece::after,
.card-link::after,
.route::after,
.credit-item::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.exhibit:hover::after,
.piece:hover::after,
.card-link:hover::after,
.route:hover::after,
.credit-item:hover::after { transform: scaleX(1); }

.credit-item { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.credit-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); border-color: var(--line-2); }

.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.btn:hover { box-shadow: var(--shadow-m), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.btn--ghost { box-shadow: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(22, 20, 26, 0.06); }

.hero {
  background:
    radial-gradient(38% 42% at 26% 34%, rgba(34, 130, 143, 0.26), transparent 72%),
    radial-gradient(30% 34% at 78% 18%, rgba(143, 195, 196, 0.1), transparent 70%),
    var(--water-900);
}
.hero__title { text-shadow: 0 24px 70px rgba(0, 0, 0, 0.38); }
.hero__scroll i { height: 56px; }

.stat { overflow: hidden; }
.stat::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--clay);
  transition: width 0.6s var(--ease);
}
.stat:hover::after { width: 100%; }
.section--ink .stat::after { background: var(--water-300); }

.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.info-table tbody tr { transition: background 0.35s var(--ease); }
.info-table tbody tr:hover { background: rgba(255, 255, 255, 0.55); }

.acc summary { transition: color 0.3s var(--ease), padding-left 0.35s var(--ease); }
.acc summary:hover { padding-left: 6px; }

.detail__text .detail__note { margin-top: 20px; }

.piece__credit { font-size: 10.5px; }
.photo-band__cap span { letter-spacing: 0.08em; }

@media (max-width: 620px) {
  .sec-title { margin-top: 16px; }
  .hero__title { text-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
  .exhibit::after, .piece::after, .card-link::after, .route::after, .credit-item::after {
    transition: none;
  }
}

.card-link, .route { overflow: hidden; }

.map-wrap {
  background: #e7dfd0;
  border-color: rgba(22, 20, 26, 0.14);
}
.map-wrap::after { display: none; }

.river-casing {
  fill: none;
  stroke: rgba(248, 244, 236, 0.95);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.river-main { stroke-width: 3.2; stroke: #1d7c8a; }
.river-trib { stroke-width: 2; opacity: 0.85; }
.river-flow { stroke-width: 1.1; opacity: 0.9; }

.node__label,
.region-label,
.sea-label {
  paint-order: stroke;
  stroke: rgba(248, 244, 236, 0.94);
  stroke-width: 3.6px;
  stroke-linejoin: round;
}
.node__label { font-size: 11.5px; fill: rgba(22, 20, 26, 0.84); }
.region-label { font-size: 12.5px; fill: rgba(22, 20, 26, 0.44); }
.sea-label { font-size: 12px; fill: rgba(18, 90, 110, 0.78); }

.node__ring { fill: #fbf7ee; stroke: var(--water-700); }

.map-panel {
  left: 24px;
  right: auto;
  top: 96px;
  bottom: auto;
  width: min(310px, calc(100% - 48px));
  background: rgba(248, 244, 236, 0.94);
}

@media (max-width: 860px) {
  .map-panel {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    margin: 0 20px 20px;
  }
}

.map-canvas { position: relative; }
.map-hint { display: none; }
@media (max-width: 860px) {
  .map-canvas {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .map-canvas .map-svg { min-width: 720px; }
  .map-hint {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--ink-4);
  }
}

.tl-era {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.tl-era b {
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--clay);
}
@media (max-width: 720px) {
  .tl-era { margin-top: 22px; padding-left: 0; }
}

.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare thead th {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  border-bottom: 1px solid var(--line-2);
  background: rgba(22, 20, 26, 0.025);
}
.compare thead th:nth-child(2) { color: var(--clay); }
.compare thead th:nth-child(3) { color: var(--water-700); }
.compare tbody th {
  width: 15%;
  padding: 16px 20px;
  text-align: left;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.compare tbody td {
  padding: 16px 20px;
  vertical-align: top;
  line-height: 1.9;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.compare tbody td:nth-child(2) { background: rgba(169, 80, 46, 0.035); }
.compare tbody td:nth-child(3) { background: rgba(18, 106, 118, 0.05); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child td { font-family: var(--serif); font-size: 15px; color: var(--ink); }

body[data-page="history"] .tl-year b {
  font-size: 19px;
  letter-spacing: 0;
  white-space: nowrap;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 50% 0%, #0b3038 0%, #07232a 46%, #04161b 100%);
  color: #efe8dc;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html:has(.loader:not(.is-done)) { overflow: hidden; }

.loader__inner {
  text-align: center;
  animation: loaderIn 0.7s ease both;
}
@keyframes loaderIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.loader__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 5px;
  background: #b03a2e;
  color: #fff6f2;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}
.loader__name {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  color: #efe8dc;
}
.loader__en {
  margin: 11px 0 0;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(239, 232, 220, 0.42);
}
.loader__bar {
  width: 196px;
  height: 1px;
  margin: 36px auto 0;
  background: rgba(239, 232, 220, 0.16);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #a9502e, #d9c9a8);
}
.loader__num {
  margin: 15px 0 0;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(239, 232, 220, 0.5);
}
.loader__num b { font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
  .loader__inner { animation: none; }
}

.loader__num {
  font-size: 11px;
  color: rgba(239, 232, 220, 0.66);
}
.loader__num::after { content: "%"; margin-left: 2px; opacity: 0.7; }
