:root {
  color-scheme: light;
  --paper: #0f1b2d;
  --ink: #f2f0e8;
  --muted: #9ba8b8;
  --line: rgba(242, 240, 232, 0.18);
  --nav-strong: #fff;
  --nav-muted: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(74, 102, 135, 0.22), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(31, 58, 86, 0.34), transparent 32%),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 0.8px, transparent 1px);
  background-size: 5px 5px, 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
}

body[data-page="landscape"] {
  --nav-strong: #fff;
  --nav-muted: rgba(255, 255, 255, 0.66);
  background: #000;
}

body[data-page="landscape"]::before {
  opacity: 0;
}

body[data-page="film"] {
  --paper: #fff;
  --ink: #171717;
  --muted: #6a6a6a;
  --line: rgba(23, 23, 23, 0.16);
  --nav-strong: #171717;
  --nav-muted: rgba(23, 23, 23, 0.58);
  background: #fff;
}

body[data-page="film"]::before {
  opacity: 0;
}

body[data-page="adventure"] {
  --paper: #fff;
  --ink: #171717;
  --muted: #6a6a6a;
  --line: rgba(23, 23, 23, 0.16);
  --nav-strong: #fff;
  --nav-muted: rgba(255, 255, 255, 0.7);
  background: #fff;
}

body[data-page="adventure"][data-adventure-view="detail"] {
  --nav-strong: #171717;
  --nav-muted: rgba(23, 23, 23, 0.58);
}

body[data-page="adventure"]::before {
  opacity: 0;
}

body[data-page="map"] {
  --paper: #17263b;
  --ink: #f7f7f2;
  --muted: #d0d0cb;
  --line: rgba(255, 255, 255, 0.2);
  --nav-strong: #171717;
  --nav-muted: rgba(23, 23, 23, 0.64);
  background: #17263b;
}

body[data-page="map"]::before {
  opacity: 0;
}

body[data-page="about"] {
  --nav-strong: #fff;
  --nav-muted: rgba(255, 255, 255, 0.7);
}

body[data-page="the-moment"] .page-title,
body[data-page="about"] .page-title,
body[data-page="map"] .page-title {
  display: none;
}

body[data-page="about"] .about-page {
  display: grid;
}

body[data-page="about"] .photo-section,
body[data-page="about"] .map-section,
body[data-page="map"] .photo-section,
body[data-page="map"] footer,
body:not([data-page="landscape"]) .collection-grid {
  display: none;
}

body[data-page="map"] .map-section {
  display: block;
}

body[data-page="film"] .photo-card[data-category="film"],
body[data-page="the-moment"] .photo-card[data-category="the-moment"],
body[data-page="adventure"] .photo-card[data-category="adventure"] {
  display: inline-block;
}

body[data-page="adventure"] [data-photo-grid] {
  display: none;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

button {
  font: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2000;
  width: 100%;
  min-height: 48px;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--nav-strong, #f7f7f2);
  line-height: 1;
  text-shadow: none;
}

.brand {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1;
}

.brand.is-active {
  color: var(--nav-strong, #fff);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.6vw, 34px);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.nav a {
  position: relative;
  color: var(--nav-muted, rgba(255, 255, 255, 0.74));
  transition: color 160ms ease;
}

.nav a.is-active,
.text-link:hover,
.contact a:hover {
  color: var(--nav-strong, #fff);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--nav-strong, #fff);
}

.nav a:hover {
  color: var(--nav-strong, #fff);
}

.page-title,
.project-list,
.about,
.contact,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.map-section {
  width: calc(100% - clamp(24px, 4vw, 64px));
  margin: 0 auto;
}

.photo-section {
  width: 100%;
  margin: 0;
}

.page-title {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: min(50vw, 50vh);
  margin-top: 0;
  padding: 0;
  overflow: hidden;
}

.page-title h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, calc(100% - 40px));
  transform: translate(-50%, -50%);
}

.page-title img {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: 2 / 1;
  max-height: none;
  object-fit: cover;
}

body[data-page="film"] .page-title img {
  object-position: 50% 58%;
}

.page-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.28);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: min(900px, calc(100% - 40px));
  margin: 0;
  text-align: center;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

body[data-page="landscape"] h1 {
  font-size: clamp(0.95rem, 1.8vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body[data-page="film"] h1,
body[data-page="adventure"] h1 {
  color: #fff;
  max-width: min(900px, calc(100% - 40px));
  text-align: center;
  font-size: clamp(0.95rem, 1.8vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.42rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0;
}

.project-list {
  display: grid;
  gap: clamp(80px, 12vw, 148px);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: center;
}

.project-card:nth-child(even) .project-image {
  order: 2;
}

.project-image {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.project-image img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.project-image:hover img {
  opacity: 0.86;
}

.project-copy p,
.section-note,
.about p:last-child,
.contact p,
footer {
  color: var(--muted);
  line-height: 1.75;
}

.project-copy p {
  max-width: 420px;
  margin-bottom: 22px;
}

.text-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.map-section,
.photo-section {
  padding-top: clamp(42px, 8vw, 96px);
}

.map-section .section-heading {
  width: 100%;
  margin-inline: 0;
  grid-template-columns: minmax(0, 660px) minmax(320px, 1fr);
  align-items: center;
  margin-bottom: clamp(22px, 4vw, 42px);
}

.section-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.section-note {
  max-width: 520px;
  margin: 18px 0 0;
}

.map-content {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.world-map {
  width: min(660px, 100%);
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid var(--line);
  background: #f2efe9;
  overflow: hidden;
}

body[data-page="map"] .site-header {
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.75);
}

body[data-page="map"] .map-section {
  width: 100%;
  min-height: 100vh;
  padding-top: 0;
  margin: 0;
}

body[data-page="map"] .map-content {
  display: block;
  width: 100%;
  min-height: 100vh;
}

body[data-page="map"] .world-map {
  width: 100%;
  height: 100vh;
  aspect-ratio: auto;
  border: 0;
}

body[data-page="map"] .photo-section,
body[data-page="map"] footer {
  display: none;
}

.youtube-panel {
  display: grid;
  gap: 22px;
}

.youtube-link {
  width: fit-content;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

.youtube-link:hover {
  color: #fff;
}

.youtube-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  aspect-ratio: 16 / 9;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.leaflet-container {
  background: #f2efe9;
  font-family: inherit;
}

.leaflet-tile {
  background: transparent;
}

.leaflet-tile-container {
  will-change: transform;
}

.soft-coastline-tiles {
  filter: contrast(0.76) saturate(0.9) brightness(1.08);
}

.leaflet-control-attribution {
  color: var(--muted);
  font-size: 0.72rem;
}

.map-dot {
  display: block;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d92828;
  box-shadow: none;
  cursor: pointer;
}

.map-dot:hover {
  transform: scale(1.08);
}

.map-photo-tooltip {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.map-photo-tooltip::before {
  display: none;
}

.map-hover-card {
  display: grid;
  gap: 6px;
  width: 150px;
  padding: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.78);
}

.map-hover-card img,
.marker-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.map-hover-card span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marker-placeholder {
  border: 1px dashed var(--line);
  background:
    linear-gradient(135deg, transparent 47%, rgba(23, 23, 23, 0.18) 48%, rgba(23, 23, 23, 0.18) 52%, transparent 53%),
    linear-gradient(45deg, transparent 47%, rgba(23, 23, 23, 0.18) 48%, rgba(23, 23, 23, 0.18) 52%, transparent 53%),
    rgba(23, 23, 23, 0.08);
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

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

.filter-button:hover,
.filter-button.is-active {
  background: var(--ink);
  color: #0f1b2d;
}

.empty-state {
  display: none;
  margin: 0 0 clamp(54px, 8vw, 100px) 210px;
  color: var(--muted);
}

.empty-state.is-visible {
  display: block;
}

.is-hidden {
  display: none;
}

.photo-grid {
  --photo-column-gap: clamp(22px, 3.4vw, 54px);
  --photo-row-gap: clamp(22px, 3.4vw, 54px);
  display: block;
  column-count: 4;
  column-gap: var(--photo-column-gap);
  padding: 0 clamp(20px, 4vw, 56px);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  padding: 0 clamp(20px, 4vw, 56px);
}

.collection-grid.is-hidden,
.collection-page.is-hidden {
  display: none;
}

.collection-card {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  border-radius: 18px;
}

.collection-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
  border-radius: 18px;
}

.collection-card-empty {
  border: 1px dashed rgba(242, 240, 232, 0.3);
  background:
    linear-gradient(135deg, transparent 49%, rgba(242, 240, 232, 0.12) 50%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(242, 240, 232, 0.12) 50%, transparent 51%),
    rgba(255, 255, 255, 0.035);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.26);
  border-radius: 18px;
}

.collection-card span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  font-size: clamp(0.68rem, 1vw, 0.9rem);
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.collection-card:hover img {
  transform: scale(1.035);
  opacity: 0.84;
}

.state-group {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.state-group summary {
  width: fit-content;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: clamp(0.86rem, 1.35vw, 1.08rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.state-group summary::-webkit-details-marker {
  display: none;
}

.state-group summary::after {
  content: " -";
  color: var(--muted);
}

.state-group:not([open]) summary::after {
  content: " +";
}

.state-collections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 240px));
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
}

.collection-page {
  padding: 0 clamp(20px, 4vw, 56px);
}

.collection-page > h2 {
  margin: 26px 0 clamp(24px, 4vw, 48px);
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.back-button-arrow {
  display: inline-block;
  line-height: 1;
}

.back-button:hover {
  color: #fff;
}

.collection-photo-grid {
  padding: 0;
  column-count: 4;
}

.collection-photo-grid .photo-card img {
  aspect-ratio: auto;
  height: auto;
}

.collection-empty {
  margin: 0 0 36px;
  color: var(--muted);
  text-align: center;
}

.photo-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--photo-row-gap);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  vertical-align: top;
}

.photo-card img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.photo-card.large {
  grid-column: auto;
}

.photo-card.large img {
  aspect-ratio: auto;
}

.photo-card.tall {
  margin-top: 0;
}

.photo-card:hover img {
  opacity: 0.84;
}

.adventure-sections {
  display: none;
}

body[data-page="adventure"] .adventure-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(76px, 9vw, 132px) clamp(48px, 6vw, 92px);
  width: min(1480px, calc(100% - clamp(48px, 14vw, 300px)));
  margin: 0 auto;
  padding: clamp(78px, 8vw, 118px) 0 clamp(96px, 10vw, 150px);
}

body[data-page="adventure"] .adventure-sections.is-hidden {
  display: none;
}

.adventure-section {
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) minmax(210px, 0.95fr);
  align-items: start;
  gap: clamp(18px, 2.1vw, 30px);
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}

.adventure-section:focus-visible {
  outline: 1px solid rgba(23, 23, 23, 0.5);
  outline-offset: 8px;
}

.adventure-cover {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(23, 23, 23, 0.06);
}

.adventure-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 240ms ease, opacity 180ms ease;
}

.adventure-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
}

.adventure-section:hover .adventure-cover img {
  transform: scale(1.065);
}

.adventure-copy {
  max-width: 420px;
  padding-top: 2px;
}

.adventure-copy h2 {
  margin: 0 0 clamp(24px, 4vw, 42px);
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.adventure-copy p {
  max-width: 360px;
  margin: 0;
  color: #1c1c1c;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.75;
}

.adventure-page {
  padding: clamp(34px, 4vw, 56px) clamp(24px, 5vw, 74px) clamp(76px, 10vw, 132px);
}

.adventure-page.is-hidden {
  display: none;
}

.adventure-page > h2 {
  margin: 26px 0 clamp(34px, 5vw, 62px);
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.adventure-back:hover {
  color: var(--ink);
}

.adventure-photo-grid {
  --photo-column-gap: clamp(22px, 3.2vw, 46px);
  --photo-row-gap: clamp(22px, 3.2vw, 46px);
  padding: 0;
  column-count: 3;
}

body[data-page="film"] .photo-grid {
  --photo-column-gap: clamp(10px, 1.8vw, 24px);
  --photo-row-gap: clamp(10px, 1.8vw, 24px);
  display: block;
  column-count: 4;
  column-gap: var(--photo-column-gap);
  padding: var(--photo-row-gap) clamp(20px, 4vw, 56px) 0;
}

body[data-page="film"] .photo-card {
  flex: initial;
  align-self: auto;
  width: 100%;
}

body[data-page="film"] .photo-card img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.photo-card.is-hidden {
  display: none;
}

.about-page {
  width: min(980px, calc(100% - 40px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(132px, 16vw, 190px) 0 clamp(78px, 10vw, 120px);
  display: grid;
  gap: clamp(62px, 8vw, 108px);
}

.about-page.is-hidden {
  display: none;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-panel p {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  outline: 0;
}

.contact-form input {
  min-height: 42px;
}

.contact-form textarea {
  min-height: 160px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.message-field,
.send-button {
  grid-column: 1 / -1;
}

.send-button {
  width: fit-content;
  min-width: 112px;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.send-button:hover,
.send-button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.about {
  padding: clamp(112px, 16vw, 190px) 0 clamp(78px, 10vw, 120px);
  display: grid;
  grid-template-columns: 170px minmax(0, 720px);
  gap: 40px;
}

.about p:last-child {
  max-width: 620px;
  margin-top: 26px;
}

.contact {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact p {
  margin-bottom: 0;
}

.contact a {
  color: var(--muted);
  font-weight: 600;
}

footer {
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.lightbox {
  --lightbox-control: rgba(255, 255, 255, 0.78);
  --lightbox-control-hover: rgba(255, 255, 255, 0.95);
  --lightbox-control-border: rgba(255, 255, 255, 0.22);
  --lightbox-control-bg: rgba(255, 255, 255, 0.05);
  --lightbox-control-bg-hover: rgba(255, 255, 255, 0.1);
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(58px, 8vh, 88px) clamp(78px, 12vw, 156px);
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
  box-shadow: none;
}

.lightbox:not([open]) {
  display: none;
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

body[data-page="film"] .lightbox::backdrop {
  background: rgba(255, 255, 255, 0.9);
}

body[data-page="film"] .lightbox {
  --lightbox-control: rgba(0, 0, 0, 0.62);
  --lightbox-control-hover: rgba(0, 0, 0, 0.86);
  --lightbox-control-border: rgba(0, 0, 0, 0.12);
  --lightbox-control-bg: rgba(255, 255, 255, 0.34);
  --lightbox-control-bg-hover: rgba(255, 255, 255, 0.58);
}

.lightbox img {
  width: auto;
  max-width: min(1120px, calc(100vw - clamp(156px, 24vw, 312px)));
  height: auto;
  max-height: calc(100vh - clamp(116px, 16vh, 176px));
  object-fit: contain;
  background: transparent;
}

.lightbox div {
  display: none;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.lightbox span {
  color: rgba(255, 255, 255, 0.68);
}

.close-lightbox {
  display: grid;
  place-items: center;
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  z-index: 4;
  width: 30px;
  height: 30px;
  border: 1px solid var(--lightbox-control-border);
  border-radius: 8px;
  background: var(--lightbox-control-bg);
  color: var(--lightbox-control);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  opacity: 0.82;
  backdrop-filter: blur(10px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.close-lightbox::before,
.close-lightbox::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
}

.close-lightbox::before {
  transform: rotate(45deg);
}

.close-lightbox::after {
  transform: rotate(-45deg);
}

.close-lightbox:hover,
.close-lightbox:focus-visible {
  border-color: var(--lightbox-control-hover);
  background: var(--lightbox-control-bg-hover);
  color: var(--lightbox-control-hover);
  opacity: 1;
  outline: 0;
  transform: scale(1.04);
}

.lightbox-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: clamp(74px, 12vw, 176px);
  border: 0;
  background: transparent;
  color: var(--lightbox-control);
  cursor: pointer;
  opacity: 0.68;
  transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  color: var(--lightbox-control-hover);
  opacity: 1;
  outline: 0;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-nav::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  font-weight: 300;
  line-height: 1;
}

.lightbox-nav-prev {
  left: 0;
}

.lightbox-nav-prev::before {
  content: "\2039";
  left: clamp(24px, 3.1vw, 54px);
}

.lightbox-nav-next {
  right: 0;
}

.lightbox-nav-next::before {
  content: "\203A";
  right: clamp(24px, 3.1vw, 54px);
}

.language-switch {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 30;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 27, 45, 0.82);
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.12);
  backdrop-filter: blur(16px);
}

.language-button {
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.language-button.is-active {
  background: var(--ink);
  color: #0f1b2d;
}

@media (max-width: 900px) {
  body[data-page="film"] .photo-grid {
    --photo-column-gap: clamp(20px, 5vw, 38px);
    --photo-row-gap: clamp(20px, 5vw, 38px);
    column-count: 2;
    padding: var(--photo-row-gap) clamp(18px, 6vw, 46px) 0;
  }

  body[data-page="adventure"] .adventure-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(58px, 9vw, 96px) clamp(30px, 5vw, 52px);
    width: min(100% - 44px, 980px);
  }

  .adventure-section {
    grid-template-columns: minmax(132px, 1fr) minmax(126px, 0.92fr);
    gap: 14px;
  }

  .adventure-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(1rem, 2.4vw, 1.28rem);
    line-height: 1.12;
  }

  .adventure-copy p {
    font-size: clamp(0.78rem, 1.8vw, 0.9rem);
    line-height: 1.55;
  }

  .adventure-photo-grid {
    column-count: 2;
  }

}

@media (max-width: 820px) {
  .project-card,
  .section-heading,
  .map-section .section-heading,
  .map-content,
  .about-panel,
  .about {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-image {
    order: 0;
  }

  .empty-state {
    margin-left: 0;
  }

  .photo-grid {
    column-count: 2;
  }

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

  .photo-card.large {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header,
  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-grid {
    column-count: 1;
  }

  .photo-card.large {
    grid-column: auto;
  }

  body[data-page="film"] .photo-grid {
    --photo-column-gap: 0px;
    --photo-row-gap: clamp(24px, 7vw, 42px);
    column-count: 1;
    padding: clamp(48px, 12vw, 74px) clamp(18px, 7vw, 34px) 0;
  }

  .photo-card.tall {
    margin-top: 0;
  }

  .adventure-section {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  body[data-page="adventure"] .adventure-sections {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 420px);
    padding: 42px 0 78px;
  }

  .adventure-copy {
    max-width: none;
  }

  .adventure-photo-grid {
    column-count: 1;
  }

  .world-map {
    width: 100%;
    min-height: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .lightbox div {
    flex-direction: column;
  }

  .lightbox {
    padding: 56px 44px;
  }

  .lightbox img {
    max-width: calc(100vw - 88px);
    max-height: calc(100vh - 112px);
  }

  .lightbox-nav {
    width: 52px;
  }

  .lightbox-nav::before {
    font-size: 2rem;
  }

  .lightbox-nav-prev::before {
    left: 16px;
  }

  .lightbox-nav-next::before {
    right: 16px;
  }

  .close-lightbox {
    top: 14px;
    right: 16px;
    width: 28px;
    height: 28px;
  }
}

body[data-page="adventure"] .adventure-sections.is-hidden {
  display: none;
}
