/* Our Travel Photobook: quiet typography, large photographs, minimal chrome. */
:root {
  color-scheme: dark;
  --paper: #080808;
  --ink: #eef0e8;
  --muted: #a6a6a0;
  --line: #292929;
  --accent: #cbb87e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.viewer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
::selection { background: #b5ccc0; color: #17201b; }
.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: 8px;
  left: 8px;
  z-index: 100;
  background: var(--paper);
  padding: 16px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.section-shell { padding-inline: 5.2vw; }
.eyebrow { text-transform: uppercase; font-size: 10px; letter-spacing: .18em; line-height: 1.6; font-weight: 500; }
h2, .gallery-heading h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.7vw, 72px);
  letter-spacing: -.055em;
  line-height: 1.1;
  margin: 0;
}

/* Navigation sits over the hero, then becomes a compact fixed header. */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5.2vw;
  color: white;
  border-bottom: 1px solid #ffffff38;
  transition: background .3s, color .3s, padding .3s;
}
.site-header.scrolled {
  position: fixed;
  padding-block: 16px;
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.wordmark { font-family: var(--serif); font-size: 29px; letter-spacing: -.06em; }
.wordmark span {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-top: 4px;
}
.site-header nav { display: flex; gap: 32px; font-size: 12px; align-items: center; }
.site-header nav a { position: relative; padding-block: 14px; min-height: 44px; }
.site-header nav a[data-nav]::after { content: ''; position: absolute; height: 1px; bottom: 6px; inset-inline: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-header nav a[data-nav]:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.site-header nav a[aria-current] { color: var(--accent); }
.site-header nav .social-link { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 12px; }
.site-header nav .social-link:hover { color: var(--accent); }
.header-social-icon { display: block; width: 21px; height: 21px; }
.social-label { display: none; }

/* The homepage photograph is the primary visual identity. */
.hero {
  height: 100svh;
  min-height: 650px;
  max-height: 1200px;
  position: relative;
  overflow: hidden;
  background: #174f60;
  color: #fff;
}
.hero-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 43%;
  animation: hero-image-in 1.5s ease-out;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #041b277a, #03212e14 35%, #011b228c 100%);
}
.hero-content { position: absolute; inset: auto 5.2vw 7vh; animation: hero-text-in 1s .15s both; }
.hero-eyebrow { margin: 0 0 26px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(65px, 8.7vw, 136px);
  line-height: .94;
  letter-spacing: -.065em;
  margin: 0 0 35px;
}
.hero h1 span {
  display: block;
  font-size: clamp(23px, 3.05vw, 46px);
  font-style: italic;
  letter-spacing: -.035em;
  margin-top: 24px;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid #ffffff59;
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.8;
}
.hero-bottom p { margin: 0; }
.explore-link { display: flex; gap: 50px; align-items: center; padding: 8px 0; }
.explore-link span { font-size: 25px; transition: transform .3s; }
.explore-link:hover span { transform: translateY(5px); }
.hero-side {
  position: absolute;
  top: 36%;
  right: 5.2vw;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
}

/* Highlights and country collections retain the full photo aspect ratios. */
.work { padding-top: 72px; padding-bottom: 100px; min-height: 600px; }
.section-intro { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; }
.section-intro p { margin: 0; }
.section-intro > p:last-child { font-family: var(--serif); font-size: 22px; line-height: 1.4; letter-spacing: -.03em; }
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.accent { color: var(--accent); }
#gallery-description { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 15px 0 0; }
.view-switch { display: flex; gap: 24px; white-space: nowrap; }
.view-switch a { font-size: 11px; padding: 14px 0; position: relative; color: var(--muted); }
.view-switch a[aria-current=page] { color: var(--ink); }
.view-switch a[aria-current=page]::after { content: ''; height: 2px; background: var(--ink); position: absolute; bottom: 0; left: 0; right: 0; }
.view-switch a:hover { color: #fff; }
.view-switch span { margin-left: 10px; }
.photo-grid { columns: 3; column-gap: 16px; }
.photo-item, .destination-image, .destination-empty { border-radius: 5px; }
.photo-item {
  margin: 0 0 16px;
  break-inside: avoid;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #17201b;
}
.photo-item img { width: 100%; height: auto; transition: filter .4s, transform .65s; }
@media (hover: hover) {
  .photo-item:hover img { transform: scale(1.015); filter: brightness(.94); }
}
.photo-item:focus-visible { outline-offset: 4px; }
.photo-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: #0c100fcc;
  color: #fff;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s, transform .25s;
}
.photo-item:hover .photo-hint, .photo-item:focus-visible .photo-hint { opacity: 1; transform: none; }
.photo-item.failed { min-height: 200px; display: grid; place-items: center; padding: 24px; color: var(--muted); }
.load-more { display: none; }
.status { font-size: 13px; color: var(--muted); margin: 20px 0; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-size: 11px; color: var(--muted); }
.text-button { font-size: 12px; padding: 12px 0; text-decoration: underline; text-underline-offset: 5px; }
.retry-button { margin-left: 16px; text-decoration: underline; padding: 12px; }

/* The destinations index has its own URL and an honest empty-country state. */
body[data-page=destinations] .work { padding-top: 162px; min-height: 85svh; }
body[data-page=destinations] .section-intro > p:last-child { display: none; }
body[data-page=destinations] .section-intro { margin-bottom: 26px; }
body[data-page=destinations] .site-header { background: var(--paper); color: var(--ink); position: fixed; border-color: var(--line); }
.destinations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
.destination { display: block; padding: 0; text-align: left; width: 100%; min-width: 0; }
.destination-image { aspect-ratio: 5/4; overflow: hidden; background: #141414; position: relative; }
.destination img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.destination:hover img { transform: scale(1.025); }
.destination:focus-visible { outline-offset: 7px; border-radius: 5px; }
.destination-arrow { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; display: grid; place-items: center; background: #080808b8; border: 1px solid #ffffff38; border-radius: 50%; color: white; font-size: 22px; transition: background .25s, transform .25s; }
.destination:hover .destination-arrow, .destination:focus-visible .destination-arrow { background: #080808; transform: translate(2px, -2px); }
.destination-meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 17px; gap: 10px; }
.destination h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); font-weight: 400; letter-spacing: -.04em; margin: 0; }
.destination-meta span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.destination-empty { display: grid; place-items: center; aspect-ratio: 5/4; background: #141414; color: #b0b9ad; }
.destination-empty span { font-family: var(--serif); font-style: italic; font-size: 25px; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-state h3 { font-family: var(--serif); font-weight: 400; font-size: 42px; letter-spacing: -.04em; margin: 20px 0; }
.empty-state > p:not(.eyebrow) { font-size: 14px; color: var(--muted); }

/* A small channel strip keeps the focus on the photography above it. */
.travelbook {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 55px;
  align-items: center;
  background: #000;
  color: #fff0d1;
  padding-block: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.travelbook-logo { display: block; overflow: hidden; max-width: 220px; }
.travelbook-logo img { width: 100%; height: auto; transition: transform .7s; }
.travelbook-logo:hover img { transform: scale(1.025); }
.travelbook-copy { display: grid; grid-template-columns: 1fr auto; gap: 8px 36px; align-items: center; }
.travelbook-copy > .eyebrow { color: #d4b46a; font-size: 8px; margin: 0; grid-column: 1; }
.travelbook-copy h2 { font-size: 32px; line-height: 1.1; grid-column: 1; }
.travelbook-copy h2 br { display: none; }
.travelbook-copy h2 em { font-weight: 400; font-style: normal; }
.travelbook-copy h2 em::before { content: ' '; }
.travelbook-copy > p:not(.eyebrow) { color: #b9c8c8; font-size: 11px; line-height: 1.7; margin: 4px 0; grid-column: 1; }
.channel-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; grid-column: 2; grid-row: 1/4; }
.channel-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; padding: 10px 0; border-bottom: 1px solid #a9afa154; }
.channel-links a:hover { color: #e8b954; }
.channel-links a > span:last-child { margin-left: 6px; }
.social-icon { width: 24px; height: 24px; flex: 0 0 24px; color: #e8b954; }
.travelbook :focus-visible { outline-color: #e8b954; }

/* The photographer supports the travel brand, with a deliberately small portrait. */
.about {
  display: grid;
  grid-template-columns: 120px minmax(0, 700px);
  justify-content: center;
  gap: 65px;
  background: #101010;
  padding-block: 85px;
  align-items: start;
}
.about-photo { width: 110px; margin-top: 7px; justify-self: center; }
.about-photo img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; filter: saturate(.8); }
.about-photo span { display: block; margin-top: 18px; color: var(--muted); text-align: center; font-size: 8px; line-height: 1.6; }
.about h2 { font-size: 50px; }
.about-copy > .eyebrow { margin: 0 0 26px; }
.about-copy > p { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 650px; }
.about-copy > .about-lead { font-family: var(--serif); font-size: 28px; line-height: 1.35; color: var(--ink); letter-spacing: -.03em; margin: 28px 0 20px; }
.contact-link { display: inline-flex; gap: 65px; align-items: center; font-size: 13px; border-bottom: 1px solid var(--ink); padding: 12px 0; margin-top: 22px; }
.contact-link span { font-size: 23px; transition: transform .2s; }
.contact-link:hover span { transform: translate(3px, -3px); }
.site-footer { padding-block: 42px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-name { font-family: var(--serif); font-size: 25px; letter-spacing: -.04em; }
.site-footer p { margin: 6px 0; font-size: 10px; color: var(--muted); }
.site-footer > a:not(.footer-name) { font-size: 11px; }
.rights-link { display: inline-block; padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.rights-page { max-width: 960px; margin-inline: auto; padding-block: 170px 64px; }
.rights-page h1 { font: 400 clamp(38px, 6vw, 64px)/1.1 var(--serif); letter-spacing: -.04em; }
.rights-page .rights-lead { font: 24px/1.5 var(--serif); color: var(--ink); }
.rights-page section { margin-block: 40px; }
.rights-page h2 { font-size: 30px; }
.rights-page p { max-width: 68ch; color: var(--muted); line-height: 1.8; }
.rights-page .contact-link { font-size: 18px; }

/* Native dialog supplies modality, focus containment, and Escape semantics. */
.lightbox { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px 3vw; border: 0; background: #080808; color: #f5f3ed; overflow: auto; }
.lightbox::backdrop { background: #080808; }
.lightbox[open] { display: flex; flex-direction: column; animation: viewer-in .2s ease-out; }
.lightbox :focus-visible { outline-color: #fff; }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.viewer-top { min-height: 44px; }
.viewer-close { font-size: 12px; display: flex; align-items: center; gap: 15px; padding: 8px; }
.viewer-close span { font-size: 30px; font-weight: 300; }
.viewer-stage { display: flex; align-items: center; justify-content: center; position: relative; flex: 1; min-height: 0; margin: 16px 0; }
.viewer-stage > img { width: auto; height: auto; max-width: calc(100% - 120px); max-height: calc(100svh - 185px); object-fit: contain; }
.viewer-stage { touch-action: pan-y pinch-zoom; }
#viewer-outgoing { position: absolute; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .24s ease; }
#viewer-outgoing.is-visible { opacity: 1; transition: none; }
.viewer-arrow { z-index: 2; }
.viewer-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 25px; width: 48px; height: 48px; background: #ffffff0d; border-radius: 50%; }
.viewer-arrow:hover { background: #ffffff22; }
.previous { left: 0; }
.next { right: 0; }
.viewer-bottom { min-height: 50px; padding-inline: 60px; font-size: 12px; }
.viewer-bottom p { margin: 5px 0; }
.viewer-rights { color: #b2bab1; font-size: 10px; }
#viewer-counter { white-space: nowrap; }
#viewer-error { text-align: center; font-size: 13px; }

@keyframes hero-image-in { from { transform: scale(1.04); } to { transform: scale(1); } }
@keyframes hero-text-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1800px) {
  .section-shell { padding-inline: max(5.2vw, calc((100vw - 1600px) / 2)); }
}

@media (max-width: 900px) {
  .hero { min-height: 600px; }
  .site-header nav { gap: 22px; }
  .photo-grid { columns: 2; column-gap: 12px; }
  .photo-item { margin-bottom: 12px; }
  .destinations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .view-switch { width: 100%; }
  .travelbook { grid-template-columns: 160px 1fr; gap: 30px; }
  .travelbook-copy { display: block; }
  .travelbook-copy h2 { font-size: 29px; margin-top: 12px; }
  .channel-links { flex-direction: row; gap: 20px; margin-top: 12px; }
  .channel-links a { font-size: 10px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer > div { width: 50%; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: calc(118px + env(safe-area-inset-top)); }
  .section-shell { padding-inline: max(5vw, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .site-header, .site-header.scrolled, body[data-page=destinations] .site-header {
    position: fixed;
    padding: calc(12px + env(safe-area-inset-top)) max(5vw, env(safe-area-inset-left), env(safe-area-inset-right)) 5px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #080808f2;
    color: var(--ink);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .wordmark { display: flex; align-items: baseline; gap: 11px; align-self: flex-start; font-size: 28px; min-height: 37px; }
  .wordmark span { font-size: 8px; margin: 0; letter-spacing: .22em; }
  .site-header nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    color: #c9c9c3;
  }
  .site-header nav a { display: flex; align-items: center; min-height: 44px; padding: 12px 0; font-size: 12px; }
  .site-header nav .social-link { min-width: 44px; margin-right: -10px; }
  .site-header nav a:focus-visible { outline-offset: 1px; }
  .hero { height: 100svh; min-height: 610px; max-height: 960px; }
  .hero-image { object-position: 55% center; }
  .hero-shade { background: linear-gradient(180deg, #00121e22 22%, #00121e14 40%, #00121ed9 100%); }
  .hero-content { inset: auto 5vw max(28px, env(safe-area-inset-bottom)); }
  .hero h1 { font-size: clamp(54px, 17vw, 100px); margin-bottom: 28px; }
  .hero h1 span { font-size: clamp(21px, 6.2vw, 35px); line-height: 1.2; margin-top: 20px; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 23px; letter-spacing: .13em; }
  .hero-side { display: none; }
  .hero-bottom { font-size: 11px; padding-top: 18px; align-items: stretch; flex-direction: column; gap: 12px; }
  .explore-link { font-size: 12px; justify-content: space-between; gap: 12px; padding: 10px 0; min-height: 44px; line-height: 1.7; }
  .explore-link span { font-size: 23px; }
  .hero-bottom p { max-width: none; }
  .work { padding-top: 40px; padding-bottom: 56px; }
  .section-intro { margin-bottom: 18px; }
  .section-intro > p:last-child { display: none; }
  .eyebrow { font-size: 8px; }
  .gallery-heading { padding-bottom: 17px; margin-bottom: 22px; }
  .gallery-heading h2, .gallery-heading h1 { font-size: clamp(42px, 11vw, 60px); }
  .view-switch { display: none; }
  .photo-grid { columns: 1; }
  .photo-item { margin-bottom: 12px; }
  .load-more { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 16px 18px; margin-top: 26px; border: 1px solid #393731; border-radius: 12px; background: #050505; font-size: 12px; text-align: left; }
  .load-more:hover, .load-more:active { background: #181713; border-color: var(--accent); }
  #load-more-count { margin-left: auto; color: var(--muted); font-size: 10px; white-space: nowrap; }
  .photo-hint { display: none; }
  .destinations-grid { grid-template-columns: 1fr; gap: 32px; }
  .destination-image, .destination-empty { aspect-ratio: 3/2; }
  .destination h3 { font-size: 31px; }
  .destination-meta { padding-top: 13px; gap: 12px; }
  .destination-meta span { font-size: 10px; }
  .destination-empty span { font-size: 19px; }
  body[data-page=destinations] .work { padding-top: calc(140px + env(safe-area-inset-top)); }
  .collection-toolbar { gap: 12px; flex-wrap: wrap; }
  .travelbook { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; text-align: center; }
  .travelbook-logo { width: 156px; max-width: 100%; justify-self: center; }
  .travelbook-copy h2 { font-size: 29px; margin-top: 9px; }
  .travelbook-copy > p:not(.eyebrow) { font-size: 12px; margin-top: 10px; }
  .channel-links { flex-direction: column; align-items: center; gap: 4px; margin: 18px auto 0; max-width: 320px; }
  .channel-links a { justify-content: center; min-height: 46px; padding: 10px 0; font-size: 12px; }
  .travelbook-copy > .eyebrow { font-size: 8px; letter-spacing: .14em; }
  .about { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; }
  .about-photo { width: 64px; justify-self: start; margin: 0; }
  .about-photo img { width: 64px; height: 64px; }
  .about-photo span { display: none; }
  .about h2 { font-size: 40px; }
  .about-copy > p { max-width: none; }
  .about-copy > .about-lead { font-size: clamp(21px, 6.2vw, 24px); }
  .about-copy > .eyebrow { margin-bottom: 20px; }
  .site-footer { padding-block: 30px max(30px, env(safe-area-inset-bottom)); gap: 20px; }
  .footer-name { width: 100%; }
  .site-footer > div { width: 100%; margin-bottom: 7px; }
  .site-footer > a:last-child { margin-left: auto; }
  .lightbox { padding: max(14px, env(safe-area-inset-top)) max(4vw, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(4vw, env(safe-area-inset-left)); }
  .viewer-top > .eyebrow { font-size: 8px; }
  .viewer-stage > img { max-width: 100%; max-height: calc(100svh - 240px); }
  .viewer-stage { margin: 8px 0 52px; }
  .viewer-arrow { top: auto; bottom: -46px; transform: none; width: 44px; height: 44px; font-size: 23px; }
  .previous { left: calc(50% - 55px); }
  .next { right: calc(50% - 55px); }
  .viewer-bottom { padding-inline: 0; align-items: flex-end; }
  .viewer-bottom > div { max-width: 75%; }
  .viewer-rights { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .photo-item:hover img, .destination:hover img { transform: none; }
}
