@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Space+Grotesk:wght@400;500;600&display=swap');

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:      #fafaf8;
  --fg:      #1a1a1a;
  --muted:   #888;
  --border:  rgba(0,0,0,.06);
  --borderM: rgba(0,0,0,.1);
  --radius:  4px;
  --gap:     14px;
  --nav-h:   68px;
  --px:      clamp(20px, 4vw, 48px);
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--fg); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ─── Site wrapper ────────────────────────────────────────── */
.site-frame { max-width: 1200px; margin: 0 auto; }

/* ─── Nav ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: lowercase;
  color: var(--fg);
}

.nav-list { list-style: none; display: flex; gap: 28px; }

.nav-list a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: lowercase;
  color: var(--muted);
  transition: color .25s;
}

.nav-list a:hover,
.nav-list a[aria-current] { color: var(--fg); }

/* ─── Utility ─────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: lowercase;
  color: var(--muted);
}

.text-link {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: lowercase;
  color: var(--muted);
  transition: color .2s;
}

.text-link:hover { color: var(--fg); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  border-bottom: 1px solid var(--border);
  padding: 80px var(--px) 60px;
  display: flex;
  justify-content: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 48ch;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: lowercase;
  text-wrap: balance;
}

.hero-desc {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
}

.hero-meta {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: lowercase;
  border: 1px solid var(--borderM);
  border-radius: 20px;
  color: var(--muted);
}

.cta-links { display: flex; gap: 20px; margin-top: 4px; justify-content: center; }


/* ─── Section band ────────────────────────────────────────── */
.section-band {
  padding: clamp(32px, 5vw, 52px) var(--px);
  border-bottom: 1px solid var(--border);
}

/* ─── Photo grid: home 3-up ───────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.grid-3 .photo-slot {
  height: 180px;
  background: #e8e8e6;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  cursor: pointer;
}

.grid-3 .photo-slot img {
  position: absolute;
  inset: 0;
  height: 100%;
  transition: transform .5s cubic-bezier(.25,.1,.25,1);
}

.grid-3 .photo-slot:hover img { transform: scale(1.04); }

/* ─── Photographer strip ──────────────────────────────────── */
.about-strip {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(40px, 6vw, 64px) var(--px);
  border-bottom: 1px solid var(--border);
}

.about-img {
  flex-shrink: 0;
  width: 260px;
  height: 325px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8e8e6;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.about-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.2;
  text-transform: lowercase;
  letter-spacing: .02em;
  text-wrap: balance;
}

.about-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 34ch;
}

/* ─── Blog cards (home) ───────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.blog-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity .2s;
}

.blog-card:hover { opacity: .6; }

.blog-card:first-child {
  padding-right: clamp(20px, 3vw, 36px);
  border-right: 1px solid var(--border);
}

.blog-card:last-child { padding-left: clamp(20px, 3vw, 36px); }

.blog-meta { display: flex; align-items: center; gap: 9px; }

.tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: lowercase;
  padding: 2px 8px;
  border: 1px solid var(--borderM);
  border-radius: 20px;
  color: var(--muted);
}

.blog-date { font-size: 11px; color: var(--muted); }

.blog-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: .01em;
  text-transform: lowercase;
  color: var(--fg);
}

/* ─── Blog post body ──────────────────────────────────────── */
.blog-post {
  padding: clamp(40px, 6vw, 64px) var(--px);
  border-bottom: 1px solid var(--border);
  max-width: 640px;
}

.blog-post-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.blog-post-meta { display: flex; align-items: center; gap: 10px; }

.blog-post-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: lowercase;
  color: var(--fg);
}

.blog-post-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}

.blog-post-body p { color: var(--muted); }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: .03em;
  color: var(--fg);
}

.footer-copy { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

/* ─── Page intro (gallery / blog) ────────────────────────── */
.page-intro {
  padding: clamp(40px, 6vw, 64px) var(--px) clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: .02em;
  line-height: 1.05;
  text-transform: lowercase;
}

.page-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 44ch;
}

/* ─── Masonry (gallery page) ──────────────────────────────── */
.masonry-section { padding: clamp(20px, 3vw, 36px) var(--px) 52px; }

.gallery-city-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.masonry {
  position: relative;
}

.masonry-item {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .6s ease forwards;
}

.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .5s cubic-bezier(.25,.1,.25,1), filter .4s;
}

.masonry-item:hover img { transform: scale(1.03); filter: brightness(1.04); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ─── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  cursor: zoom-out;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  transition: transform .35s cubic-bezier(.25,.1,.25,1);
  transform: scale(.95);
}

.lightbox.open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  color: rgba(255,255,255,.6);
  font-size: 28px;
  cursor: pointer;
  transition: color .2s;
}

.lightbox-close:hover { color: #fff; }

.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: rgba(255,255,255,.6);
  font-size: 36px;
  cursor: pointer;
  padding: 16px;
  transition: color .2s;
  user-select: none;
}

.lightbox-nav:hover { color: #fff; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ─── Blog page list ──────────────────────────────────────── */
.blog-list { list-style: none; }

.blog-list-item {
  display: grid;
  grid-template-columns: 90px 1fr 80px;
  align-items: baseline;
  gap: 24px;
  padding: 18px var(--px);
  border-bottom: 1px solid var(--border);
  transition: opacity .15s;
}

.blog-list-item:hover { opacity: .55; }

.blog-list-date {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.blog-list-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .01em;
  text-transform: lowercase;
  color: var(--fg);
}

.blog-list-tag {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: var(--muted);
  text-align: right;
}

/* ─── About page ──────────────────────────────────────────── */
.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 8vw, 80px) var(--px);
  border-bottom: 1px solid var(--border);
  gap: 28px;
}

.about-hero-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8e8e6;
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 44ch;
}

.about-page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: .02em;
}

.about-long-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  max-width: 36ch;
  margin-top: 12px;
}

.gear-section {
  padding: clamp(32px, 5vw, 52px) var(--px);
  border-bottom: 1px solid var(--border);
}

.gear-section .eyebrow { display: block; margin-bottom: 20px; }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gear-item {
  background: var(--bg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gear-label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: lowercase;
  color: var(--muted);
}

.gear-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: lowercase;
  color: var(--fg);
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero { padding: clamp(40px, 6vw, 64px) var(--px); }

  .about-strip { flex-direction: column; align-items: flex-start; }
  .about-img { width: 140px; height: 175px; }

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 .photo-slot:last-child { display: none; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:first-child {
    padding-right: 0; border-right: none;
    padding-bottom: 24px; border-bottom: 1px solid var(--border);
  }
  .blog-card:last-child { padding-left: 0; padding-top: 24px; }



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

  .blog-list-item { grid-template-columns: 1fr; gap: 5px; }
  .blog-list-tag { text-align: left; }
}
