:root {
  --bg: #10110f;
  --bg-soft: #181a16;
  --bg-elevated: #20231e;
  --text: #f1ede4;
  --muted: #98978e;
  --faint: #62655c;
  --line: rgba(241, 237, 228, 0.18);
  --line-strong: rgba(241, 237, 228, 0.34);
  --accent: #c7a071;
  --accent-soft: #8f7150;
  --olive: #6e7c69;
  --danger: #e5836b;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --pad: clamp(20px, 5.4vw, 92px);
  --header-h: 82px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="light"] {
  --bg: #eee9df;
  --bg-soft: #e4ddd1;
  --bg-elevated: #f6f1e8;
  --text: #1b1c18;
  --muted: #69695f;
  --faint: #8c897e;
  --line: rgba(27, 28, 24, 0.18);
  --line-strong: rgba(27, 28, 24, 0.34);
  --accent: #9b5d36;
  --accent-soft: #c58c62;
  --olive: #65705e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: color .45s ease, background .45s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--bg); background: var(--accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-content: center;
  gap: 20px;
  color: #f1ede4;
  background: #10110f;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-brand { font-family: var(--serif); font-size: clamp(44px, 7vw, 88px); letter-spacing: .16em; }
.loader-line { width: min(320px, 70vw); height: 1px; background: rgba(241,237,228,.18); overflow: hidden; }
.loader-line span { display: block; width: 100%; height: 100%; background: #f1ede4; transform: translateX(-100%); animation: loader-line 1.4s var(--ease) forwards; }
.loader-meta { font-size: 10px; letter-spacing: .25em; color: rgba(241,237,228,.48); }
@keyframes loader-line { to { transform: translateX(0); } }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 450;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s ease, opacity .25s ease;
  mix-blend-mode: difference;
}
.cursor.is-hovering { width: 36px; height: 36px; background: #f1ede4; }
.cursor.is-hidden { opacity: 0; }
@media (pointer: coarse) { .cursor { display: none; } }

.site-header {
  position: fixed;
  color: #f1ede4;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: var(--header-h);
  padding: 0 var(--pad);
  transition: min-height .35s ease, background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  color: var(--text);
  min-height: 64px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: flex-start; gap: 5px; line-height: 1; }
.brand-word { font-family: var(--serif); font-size: 23px; letter-spacing: .12em; }
.brand sup { color: var(--accent); font-size: 8px; letter-spacing: 0; transform: translateY(-2px); }
.header-meta { display: flex; gap: 28px; color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.site-nav a { position: relative; display: flex; gap: 7px; align-items: baseline; font-size: 11px; letter-spacing: .1em; }
.site-nav a span { color: var(--accent); font-size: 8px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--text); transition: right .25s var(--ease); }
.site-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: color .25s ease, border-color .25s ease, transform .25s ease; }
.icon-button:hover { color: var(--accent); border-color: var(--accent); transform: rotate(18deg); }
.theme-icon { font-size: 16px; }
.site-header:not(.is-scrolled) .icon-button { border-color: rgba(241,237,228,.32); }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s ease; }

.hero { position: relative; color: #f1ede4; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media-wrap { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-media { width: 100%; height: 110%; object-fit: cover; will-change: transform; animation: hero-in 1.8s var(--ease) both; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(10,12,10,.42) 0%, rgba(10,12,10,.04) 38%, rgba(10,12,10,.78) 100%), linear-gradient(90deg, rgba(10,12,10,.68) 0%, transparent 62%); }
.hero-side { position: absolute; top: 50%; left: 24px; color: rgba(241,237,228,.46); font-size: 8px; letter-spacing: .26em; writing-mode: vertical-rl; transform: translateY(-50%); }
.hero-content { width: min(1100px, 90vw); padding: 0 var(--pad) 170px; animation: rise-in 1.1s .35s var(--ease) both; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }
.hero .eyebrow { color: rgba(241,237,228,.66); }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(70px, 12.5vw, 190px); font-weight: 400; line-height: .82; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-copy { max-width: 440px; margin: 34px 0 0; color: rgba(241,237,228,.7); font-size: 13px; line-height: 1.9; }
.hero-bottom { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; color: rgba(241,237,228,.64); }
.hero-stats { display: flex; gap: clamp(24px, 5vw, 70px); }
.hero-stats div { display: flex; flex-direction: column; gap: 5px; }
.hero-stats strong { color: #f1ede4; font-family: var(--serif); font-size: 29px; font-weight: 400; letter-spacing: -.04em; }
.hero-stats span, .hero-coordinate { font-size: 8px; letter-spacing: .18em; }
.hero-scroll { display: flex; align-items: center; gap: 14px; font-size: 8px; letter-spacing: .2em; }
.hero-scroll i { width: 56px; height: 1px; background: currentColor; transform-origin: left; animation: scroll-line 2.2s ease-in-out infinite; }
.hero-coordinate { color: rgba(241,237,228,.38); }
@keyframes hero-in { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-line { 0%,100% { transform: scaleX(.3); opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } }

.section-shell { padding: clamp(100px, 14vw, 210px) var(--pad); }
.section-aside { display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.section-number { color: var(--accent); font-family: var(--serif); font-size: 16px; letter-spacing: 0; }
.manifesto { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(220px, .36fr); gap: clamp(28px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.manifesto-main h2 { margin: 20px 0 44px; font-family: var(--serif); font-size: clamp(50px, 8.2vw, 126px); font-weight: 400; line-height: .96; letter-spacing: -.065em; }
.manifesto-main h2 em { color: var(--accent); font-weight: 400; }
.manifesto-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; max-width: 760px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.manifesto-copy p { margin: 0; }
.manifesto-side-note { align-self: end; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.manifesto-side-note span { color: var(--accent); font-size: 8px; letter-spacing: .2em; }
.manifesto-side-note p { margin: 26px 0 12px; font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.manifesto-side-note small { color: var(--muted); font-size: 9px; letter-spacing: .1em; }

.feature-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); min-height: 760px; background: var(--bg-soft); }
.story-image-wrap { position: relative; min-height: 600px; overflow: hidden; }
.story-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story-image-wrap:hover img { transform: scale(1.025); }
.story-image-index { position: absolute; right: 24px; bottom: 22px; color: rgba(241,237,228,.7); font-size: 9px; letter-spacing: .18em; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 110px); }
.story-copy h2 { margin: 26px 0 28px; font-family: var(--serif); font-size: clamp(42px, 5.4vw, 82px); font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.story-copy h2 em { color: var(--accent); font-weight: 400; }
.story-copy > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.95; }
.story-meta { display: grid; gap: 0; margin: 42px 0 0; border-top: 1px solid var(--line); }
.story-meta div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.story-meta dt { color: var(--faint); font-size: 8px; letter-spacing: .16em; }
.story-meta dd { margin: 0; font-size: 10px; letter-spacing: .08em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--text); background: transparent; cursor: pointer; font-size: 10px; letter-spacing: .12em; transition: color .25s ease, border-color .25s ease; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link span { color: var(--accent); }

.gallery-section { background: var(--bg); }
.gallery-top { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.gallery-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 9vw, 138px); font-weight: 400; line-height: .86; letter-spacing: -.07em; }
.gallery-heading h2 em { color: var(--accent); font-weight: 400; }
.gallery-heading p { max-width: 300px; margin: 0 0 8px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.gallery-toolbar { position: sticky; top: 64px; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: clamp(48px, 7vw, 94px) 0 22px; padding: 16px 0; background: color-mix(in srgb, var(--bg) 92%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.filter-button { padding: 4px 0; border: 0; border-bottom: 1px solid transparent; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; letter-spacing: .1em; transition: color .2s ease, border-color .2s ease; }
.filter-button:hover, .filter-button.is-active { color: var(--text); border-color: var(--accent); }
.toolbar-actions { display: flex; align-items: center; gap: 12px; }
.search-box { display: flex; align-items: center; gap: 8px; width: 160px; padding: 8px 0; border-bottom: 1px solid var(--line-strong); color: var(--muted); }
.search-box span { font-size: 16px; }
.search-box input { width: 100%; padding: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 10px; letter-spacing: .05em; }
.search-box input::placeholder { color: var(--faint); }
.toolbar-button, .sort-select, .view-button { border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 9px; letter-spacing: .08em; }
.toolbar-button { display: inline-flex; gap: 6px; align-items: center; padding: 9px 11px; }
.toolbar-button b { color: var(--accent); font-weight: 400; }
.toolbar-button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.sort-select { padding: 9px 10px; color: var(--muted); }
.sort-select option { color: #1b1c18; }
.view-switch { display: flex; }
.view-button { width: 34px; height: 34px; padding: 0; color: var(--muted); }
.view-button + .view-button { border-left: 0; }
.view-button.is-active { color: var(--bg); background: var(--text); }
.gallery-meta { display: flex; justify-content: space-between; margin-bottom: 24px; color: var(--faint); font-size: 8px; letter-spacing: .16em; }
.gallery-grid.view-masonry { columns: 3 300px; column-gap: clamp(14px, 2.2vw, 28px); }
.gallery-grid.view-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 28px); }
.photo-card { position: relative; width: 100%; margin: 0 0 28px; break-inside: avoid; }
.view-grid .photo-card { margin: 0; }
.photo-card.is-hidden { display: none; }
.photo-button { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: zoom-in; }
.photo-frame { position: relative; overflow: hidden; background: var(--bg-soft); }
.view-grid .photo-frame { aspect-ratio: 4 / 5; }
.photo-frame img { width: 100%; height: auto; aspect-ratio: var(--ratio, 4 / 5); object-fit: cover; transition: transform .9s var(--ease), filter .6s ease; }
.view-grid .photo-frame img { height: 100%; aspect-ratio: auto; }
.photo-button:hover .photo-frame img, .photo-button:focus-visible .photo-frame img { transform: scale(1.035); filter: saturate(.84) contrast(1.03); }
.photo-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #f1ede4; background: rgba(16,17,15,.18); opacity: 0; transition: opacity .35s ease; }
.photo-overlay span { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(241,237,228,.55); border-radius: 50%; font-size: 18px; font-weight: 200; transform: scale(.85); transition: transform .35s var(--ease); }
.photo-button:hover .photo-overlay, .photo-button:focus-visible .photo-overlay { opacity: 1; }
.photo-button:hover .photo-overlay span { transform: scale(1); }
.photo-meta { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.photo-meta-main { min-width: 0; }
.photo-location { display: block; margin-bottom: 4px; color: var(--faint); font-size: 8px; letter-spacing: .12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-title { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -.02em; }
.photo-index { color: var(--faint); font-size: 8px; letter-spacing: .12em; white-space: nowrap; }
.favorite-button { position: absolute; top: 13px; right: 13px; z-index: 3; display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid rgba(241,237,228,.35); border-radius: 50%; color: #f1ede4; background: rgba(16,17,15,.26); cursor: pointer; opacity: 0; transform: translateY(-5px); transition: opacity .25s ease, transform .25s ease, color .25s ease, background .25s ease; }
.photo-card:hover .favorite-button, .favorite-button.is-favorite, .favorite-button:focus-visible { opacity: 1; transform: translateY(0); }
.favorite-button:hover, .favorite-button.is-favorite { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.gallery-empty { padding: 80px 0 20px; text-align: center; border-top: 1px solid var(--line); }
.gallery-empty span { color: var(--accent); font-size: 9px; letter-spacing: .2em; }
.gallery-empty p { color: var(--muted); font-size: 13px; }
.gallery-empty .text-link { margin-top: 5px; }

.route-section { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(40px, 8vw, 120px); align-items: center; padding: clamp(100px, 14vw, 190px) var(--pad); background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route-copy h2 { margin: 26px 0 28px; font-family: var(--serif); font-size: clamp(48px, 7vw, 104px); font-weight: 400; line-height: .94; letter-spacing: -.06em; }
.route-copy h2 em { color: var(--accent); font-weight: 400; }
.route-copy p { max-width: 340px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.route-map-wrap { position: relative; padding: 20px 0; }
.route-map { width: 100%; overflow: visible; }
.route-line { stroke-dasharray: 8 8; animation: route-dash 24s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -300; } }
.route-stop { cursor: pointer; color: var(--text); outline: none; }
.route-stop circle:first-of-type { fill: var(--accent); stroke: var(--bg-soft); stroke-width: 3; transition: r .2s ease; }
.route-stop .route-pulse { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .45; animation: route-pulse 2.2s ease-out infinite; }
.route-stop:hover circle:first-of-type, .route-stop:focus circle:first-of-type { r: 10; }
.route-stop text { fill: currentColor; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; }
.route-stop .route-date { fill: var(--faint); font-size: 9px; }
.map-label { fill: var(--faint); font-family: var(--sans); font-size: 9px; letter-spacing: .18em; }
@keyframes route-pulse { 0% { r: 7; opacity: .5; } 100% { r: 26; opacity: 0; } }

.about-section { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.about-main h2 { margin: 0 0 52px; font-family: var(--serif); font-size: clamp(52px, 8vw, 122px); font-weight: 400; line-height: .94; letter-spacing: -.065em; }
.about-main h2 em { color: var(--accent); font-weight: 400; }
.about-columns { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, .55fr); gap: clamp(40px, 8vw, 130px); }
.about-columns > p { max-width: 550px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.about-facts { margin: 0; border-top: 1px solid var(--line); }
.about-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--faint); font-size: 8px; letter-spacing: .16em; }
.about-facts dd { margin: 0; font-size: 10px; letter-spacing: .06em; text-align: right; }

.site-footer { padding: 36px var(--pad) 28px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 28px; color: var(--faint); font-size: 8px; letter-spacing: .18em; }
.footer-top a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-brand .brand-word { font-size: 18px; }
.footer-bottom p { margin: 0; color: var(--faint); font-size: 9px; letter-spacing: .05em; }
.footer-bottom .text-link { margin: 0; }

.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; visibility: hidden; opacity: 0; background: rgba(13,14,12,.98); color: #f1ede4; transition: opacity .3s ease, visibility .3s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 30vw); min-height: 0; flex: 1; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; padding: 70px clamp(60px, 7vw, 110px) 74px; overflow: hidden; background: #0b0c0a; }
.lightbox-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: grab; }
.lightbox-media:active { cursor: grabbing; }
.lightbox-media img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center center; transition: transform .3s var(--ease); user-select: none; }
.lightbox-media.is-zoomed img { cursor: grab; }
.lb-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(241,237,228,.3); border-radius: 50%; color: #f1ede4; background: transparent; cursor: pointer; font-size: 28px; font-weight: 200; line-height: 1; transition: color .2s ease, background .2s ease; }
.lb-close:hover { color: #10110f; background: #f1ede4; }
.lightbox-stage > .lb-close { position: absolute; top: 22px; right: 22px; }
.lb-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(241,237,228,.3); border-radius: 50%; color: #f1ede4; background: transparent; cursor: pointer; font-size: 17px; transform: translateY(-50%); transition: color .2s ease, background .2s ease; }
.lb-nav:hover { color: #10110f; background: #f1ede4; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lightbox-toolbar { position: absolute; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 2px; transform: translateX(-50%); border: 1px solid rgba(241,237,228,.18); background: rgba(16,17,15,.58); backdrop-filter: blur(12px); }
.lightbox-toolbar button, .lightbox-toolbar a { display: grid; place-items: center; min-width: 38px; height: 34px; padding: 0 8px; border: 0; border-right: 1px solid rgba(241,237,228,.12); color: #f1ede4; background: transparent; cursor: pointer; font-size: 12px; text-decoration: none; }
.lightbox-toolbar button:last-child, .lightbox-toolbar a:last-child { border-right: 0; }
.lightbox-toolbar button:hover, .lightbox-toolbar a:hover, .lightbox-toolbar button.is-active { color: #10110f; background: #f1ede4; }
.lightbox-info { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 4vw, 64px) clamp(24px, 3.5vw, 58px) 38px; border-left: 1px solid rgba(241,237,228,.14); background: #12130f; }
.lb-info-top { display: flex; justify-content: space-between; color: rgba(241,237,228,.42); font-size: 8px; letter-spacing: .16em; }
.lb-info-main { margin: auto 0; }
.lightbox-info h2 { margin: 20px 0 8px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 54px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.lb-location { margin: 0 0 36px; color: rgba(241,237,228,.58); font-size: 10px; letter-spacing: .1em; }
.exif-list { margin: 0; border-top: 1px solid rgba(241,237,228,.16); }
.exif-list div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(241,237,228,.16); }
.exif-list dt { color: rgba(241,237,228,.4); font-size: 8px; letter-spacing: .13em; }
.exif-list dd { margin: 0; color: rgba(241,237,228,.82); font-size: 9px; text-align: right; }
.lightbox-info > .text-link { align-self: flex-start; margin: 0; color: rgba(241,237,228,.72); border-color: rgba(241,237,228,.3); }
.lightbox-thumbs { display: flex; gap: 8px; padding: 10px clamp(20px, 4vw, 50px); overflow-x: auto; border-top: 1px solid rgba(241,237,228,.12); scrollbar-width: thin; }
.lightbox-thumb { flex: 0 0 52px; height: 38px; padding: 0; border: 1px solid transparent; background: transparent; cursor: pointer; opacity: .38; transition: opacity .2s ease, border-color .2s ease; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumb:hover, .lightbox-thumb.is-active { opacity: 1; border-color: #c7a071; }

.shortcuts-modal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; background: rgba(10,11,9,.78); backdrop-filter: blur(8px); transition: opacity .25s ease, visibility .25s; }
.shortcuts-modal.is-open { visibility: visible; opacity: 1; }
.shortcuts-card { position: relative; width: min(560px, 100%); padding: clamp(36px, 6vw, 70px); background: #1a1c17; color: #f1ede4; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.shortcuts-card .lb-close { position: absolute; top: 16px; right: 16px; }
.shortcuts-card h2 { margin: 10px 0 30px; font-family: var(--serif); font-size: 42px; font-weight: 400; letter-spacing: -.04em; }
.shortcut-list { border-top: 1px solid rgba(241,237,228,.18); }
.shortcut-list div { display: flex; align-items: center; gap: 24px; padding: 13px 0; border-bottom: 1px solid rgba(241,237,228,.18); }
.shortcut-list kbd { min-width: 58px; color: #c7a071; font-family: var(--sans); font-size: 11px; }
.shortcut-list span { color: rgba(241,237,228,.72); font-size: 12px; }
.shortcut-note { margin: 24px 0 0; color: rgba(241,237,228,.4); font-size: 10px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 600; padding: 12px 18px; color: #10110f; background: #f1ede4; font-size: 11px; letter-spacing: .06em; opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .header-meta { display: none; }
  .manifesto { grid-template-columns: 80px minmax(0, 1fr); }
  .manifesto-side-note { grid-column: 2; max-width: 430px; margin-top: 40px; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; justify-content: space-between; }
  .search-box { flex: 1; }
  .route-section { grid-template-columns: 1fr; }
  .route-copy { max-width: 520px; }
  .route-map-wrap { max-width: 900px; }
}

@media (max-width: 800px) {
  :root { --header-h: 70px; }
  .site-header { min-height: var(--header-h); }
  .site-nav { position: fixed; inset: 70px 14px auto; display: grid; gap: 0; padding: 10px; color: var(--text); background: var(--bg-soft); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { justify-content: space-between; padding: 17px 12px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 760px; }
  .hero-content { padding-bottom: 190px; }
  .hero-side { display: none; }
  .hero h1 { font-size: clamp(65px, 17vw, 120px); }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 26px; }
  .hero-coordinate { display: none; }
  .hero-stats { gap: 30px; }
  .manifesto { grid-template-columns: 1fr; gap: 30px; }
  .manifesto .section-aside { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .manifesto-copy { grid-template-columns: 1fr; gap: 18px; }
  .manifesto-side-note { grid-column: auto; margin-top: 20px; }
  .feature-story { grid-template-columns: 1fr; }
  .story-image-wrap { min-height: 480px; }
  .story-copy { padding: 54px var(--pad) 80px; }
  .gallery-top { grid-template-columns: 1fr; gap: 32px; }
  .gallery-top .section-aside { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .gallery-heading { display: block; }
  .gallery-heading p { margin-top: 24px; }
  .gallery-toolbar { top: 64px; }
  .toolbar-actions { flex-wrap: wrap; }
  .search-box { flex-basis: 100%; }
  .gallery-grid.view-masonry { columns: 2 220px; }
  .gallery-grid.view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { grid-template-columns: 1fr; gap: 30px; }
  .about-section > .section-aside { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .about-columns { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { flex-wrap: wrap; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .lightbox-shell { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lightbox-stage { padding: 60px 50px 70px; }
  .lightbox-info { max-height: 34svh; padding: 22px var(--pad); border-top: 1px solid rgba(241,237,228,.14); border-left: 0; overflow-y: auto; }
  .lb-info-main { margin: 20px 0; }
  .lightbox-info h2 { font-size: 30px; }
  .lb-location { margin-bottom: 20px; }
  .lightbox-info .exif-list { display: none; }
  .lightbox-thumbs { display: none; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lightbox-toolbar { bottom: 12px; }
}

@media (pointer: coarse) {
  .favorite-button { opacity: 1; transform: none; background: rgba(16,17,15,.32); }
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(59px, 18vw, 92px); }
  .hero-stats div:nth-child(3) { display: none; }
  .gallery-grid.view-masonry { columns: 1; }
  .gallery-grid.view-grid { grid-template-columns: 1fr; }
  .view-grid .photo-frame { aspect-ratio: 4 / 5; }
  .gallery-meta span:last-child { display: none; }
  .lightbox-stage { padding: 58px 12px 66px; }
  .lightbox-toolbar button, .lightbox-toolbar a { min-width: 34px; padding: 0 6px; }
  .lightbox-info { max-height: 38svh; }
  .shortcuts-card h2 { font-size: 34px; }
}

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