@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;450;500;550;600&display=swap');

:root {
  --paper: #ffffff;
  --ink: #000000;
  --muted: #626262;
  --surface: #f5f5f5;
  --focus: #2455d6;
  --font: 'Albert Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
.shell { width: calc(100% - 112px); max-width: 1440px; margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 36px; gap: 24px; }
.wordmark { font-size: 22px; font-weight: 550; letter-spacing: -.7px; line-height: 1.2; }
.wordmark span { display: block; margin-top: 7px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.site-header nav { display: flex; gap: 30px; font-size: 13px; }
.site-header nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-block: 60px 72px; }
h1 { font-size: clamp(44px, 5.2vw, 78px); line-height: 1.03; font-weight: 450; letter-spacing: -.055em; margin: 0; }
.intro-aside { padding-bottom: 4px; }
.intro-aside p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.text-link { font-size: 13px; text-decoration: underline; text-decoration-color: #bdbdbd; text-underline-offset: 5px; }
.section-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; }
.section-bar h2 { font-size: 14px; font-weight: 500; margin: 0; }
.count { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 16px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 26px; }
.photo-card { min-width: 0; margin: 0; }
.photo-card.portrait-start { grid-column-start: 1; }
.photo-button { display: block; position: relative; width: 100%; height: auto; border: 0; padding: 0; background: var(--surface); text-align: left; }
.photo-button img { width: 100%; height: auto; display: block; }
.photo-open { position: absolute; right: 16px; bottom: 16px; background: white; color: black; padding: 8px 12px; font-size: 12px; opacity: 0; transition: opacity .15s; }
.photo-button:hover .photo-open, .photo-button:focus-visible .photo-open { opacity: 1; }
.photo-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; }
.photo-title { font-size: 13px; font-weight: 450; }
.photo-location { color: var(--muted); font-size: 11px; }
.gallery-foot { padding-top: 36px; text-align: center; font-size: 12px; color: var(--muted); }
.gallery-foot p { margin-bottom: 16px; }
.load-more { background: white; border: 1px solid black; padding: 12px 24px; font-size: 13px; color: black; }
.load-more:hover { background: var(--surface); }
.load-more[hidden] { display: none; }
.gear-section { padding-block: 100px 85px; }
.gear-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.gear-heading h2 { font-size: 38px; font-weight: 450; letter-spacing: -1.4px; line-height: 1.1; margin: 0; }
.gear-heading > p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.gear-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.device-button { position: relative; width: 100%; height: 270px; display: grid; place-items: center; border: 0; background: var(--surface); overflow: hidden; perspective: 700px; }
.device { width: 90%; max-width: 360px; position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease; filter: drop-shadow(0 10px 8px #00000016); z-index: 1; }
.device-ground { position: absolute; width: 57%; height: 14px; background: #00000025; border-radius: 50%; filter: blur(12px); bottom: 57px; }
.phone-ground { width: 30%; bottom: 32px; }
.gear-hint { position: absolute; bottom: 16px; left: 18px; right: 18px; font-size: 11px; color: var(--muted); text-align: center; }
.gear-details { margin-top: 20px; }
.gear-details h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.gear-details p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.capture-flash { position: absolute; inset: 0; background: white; opacity: 0; pointer-events: none; z-index: 2; }
.capturing .capture-flash { animation: flash .5s ease-out; }
.capturing .shutter { transform: translateY(3px); }
.capturing .lens-glass { animation: shutter .5s ease; }
.capturing .device { animation: click .4s ease; }
footer { padding-block: 30px 36px; display: grid; grid-template-columns: 1fr auto; gap: 25px; }
.footer-name { font-size: 16px; font-weight: 500; letter-spacing: -.3px; }
footer p { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
footer > .text-link { align-self: start; }
.copyright { font-size: 11px; color: var(--muted); }
.skip-link { position: fixed; top: -70px; left: 20px; padding: 15px; background: black; color: white; z-index: 20; }
.skip-link:focus { top: 10px; }
.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; }

dialog { background: white; color: black; border: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 25px 36px; overflow: auto; }
dialog::backdrop { background: white; }
body.viewer-open { overflow: hidden; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); height: 40px; }
.lightbox-top button { border: 0; background: transparent; font-size: 13px; padding: 8px; }
.lightbox-top button span { margin-left: 15px; font-size: 24px; vertical-align: -2px; }
.viewer-stage { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: calc(100% - 135px); }
.viewer-stage img { max-height: 100%; max-width: calc(100% - 200px); object-fit: contain; min-width: 0; }
.viewer-control { border: 0; background: none; font-size: 13px; padding: 12px; flex: none; text-decoration: underline; text-underline-offset: 5px; }
.viewer-caption { text-align: center; padding-top: 20px; }
.viewer-caption h2 { font-size: 22px; font-weight: 450; margin-bottom: 6px; }
.viewer-caption p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: .85; } 100% { opacity: 0; } }
@keyframes shutter { 30% { opacity: .1; } 100% { opacity: 1; } }
@keyframes click { 40% { translate: 0 3px; } 100% { translate: 0 0; } }

@media (max-width: 1050px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell { width: calc(100% - 64px); }
  .intro { gap: 24px; }
  h1 { font-size: clamp(42px, 5.4vw, 57px); }
  .intro-aside p { font-size: 12px; }
  .device-button { height: 220px; }
  .device-ground { bottom: 50px; }
  .phone-ground { bottom: 30px; }
  .gear-grid { gap: 20px; }
  .photo-card figcaption { display: block; }
  .photo-location { display: block; margin-top: 3px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .site-header { padding-block: 25px; gap: 15px; }
  .wordmark { font-size: 18px; }
  .wordmark span { font-size: 11px; margin-top: 5px; }
  .site-header nav { gap: 17px; font-size: 12px; }
  .intro { display: block; padding-block: 40px 45px; }
  h1 { font-size: clamp(39px, 7.9vw, 55px); }
  .intro-aside { margin-top: 24px; }
  .intro-aside p { font-size: 13px; margin-bottom: 15px; }
  .section-bar { display: block; padding-bottom: 22px; }
  .section-bar h2 { margin-bottom: 15px; }
  .photo-grid { gap: 20px; }
  .photo-title { font-size: 12px; }
  .photo-location { font-size: 11px; }
  .gallery-foot { font-size: 11px; }
  .gear-section { padding-block: 65px 40px; }
  .gear-heading { display: block; margin-bottom: 26px; }
  .gear-heading h2 { font-size: 32px; letter-spacing: -1px; }
  .gear-heading > p { margin-top: 18px; font-size: 12px; }
  .gear-grid { grid-template-columns: 1fr; gap: 30px; }
  .device-button { height: 270px; }
  .device { width: 310px; max-width: 90%; }
  .device-ground { bottom: 46px; max-width: 190px; }
  .phone-ground { bottom: 28px; max-width: 90px; }
  .gear-details { margin-top: 15px; }
  footer { grid-template-columns: 1fr; gap: 20px; padding-block: 30px; }
  dialog { padding: 15px; }
  .viewer-stage { position: relative; padding-bottom: 46px; gap: 0; }
  .viewer-stage img { max-width: 100%; margin-inline: auto; }
  .viewer-control { position: absolute; bottom: 0; left: 0; }
  .viewer-control:last-child { left: auto; right: 0; }
  .viewer-caption h2 { font-size: 20px; }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 370px) {
  .site-header { align-items: flex-start; }
  .site-header nav { gap: 10px; font-size: 11px; padding-top: 3px; }
  .wordmark { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.travel-section { padding-block: 20px 75px; }
.travel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.travel-heading h2 { font-size: 38px; line-height: 1.1; font-weight: 450; letter-spacing: -1.4px; margin: 0; }
.travel-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.travel-map { margin: 42px 0 24px; }
.travel-map img { display: block; width: 100%; height: auto; }
.travel-map figcaption { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; color: var(--muted); margin-top: 20px; }
.map-legend { width: 7px; height: 7px; background: #303d4d; border-radius: 50%; }
.travel-details { text-align: center; font-size: 12px; }
.travel-details summary { display: list-item; width: fit-content; margin-inline: auto; cursor: pointer; text-underline-offset: 4px; }
.travel-details summary:hover { text-decoration: underline; }
.travel-details summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.travel-details ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; text-align: left; list-style: none; padding: 30px 0 0; margin: 0; color: var(--muted); }
@media (max-width: 700px) {
  .travel-section { padding-block: 25px 45px; }
  .travel-heading { display: block; }
  .travel-heading h2 { font-size: 32px; letter-spacing: -1px; }
  .travel-heading p { margin-top: 16px; font-size: 12px; }
  .travel-map { margin-top: 28px; }
  .travel-details ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
}
