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

:root {
  --bg: #e8dcc8;
  --text: #2c2418;
  --text-muted: #6b5d4d;
  --text-faint: #9a8b78;
  --border: rgba(44, 36, 24, 0.15);
  --gap: 3px;
  --page-margin: 24px;
  --font: system-ui, -apple-system, sans-serif;
}

html { -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 500; }

/* Nav */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px var(--page-margin);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.nav-left { display: flex; align-items: center; gap: 20px; }
.site-name { font-size: 16px; color: var(--text); text-decoration: none; font-weight: 600; }
.nav-icons { display: flex; align-items: center; gap: 14px; }
.nav-icons a { color: var(--text-muted); transition: color 0.1s; display: flex; }
.nav-icons a:hover { color: var(--text); }
.nav-icons svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 15px; color: var(--text-muted); text-decoration: none; transition: color 0.1s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 18px; height: 0.5px; background: var(--text-muted); }

/* Overview grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  padding: var(--page-margin);
}
.cell { background: #1a1a1a; overflow: hidden; cursor: pointer; display: block; position: relative; aspect-ratio: 1 / 1; }
.cell:hover { opacity: 0.86; transition: opacity 0.12s; }
.cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Travel grid */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  padding: var(--page-margin);
}
.travel-cell { aspect-ratio: 1 / 1; background: #1a1a1a; overflow: hidden; cursor: pointer; position: relative; }
.travel-cell:hover { opacity: 0.86; transition: opacity 0.12s; }
.travel-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.travel-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 10px 9px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.travel-label span { font-size: 14px; color: rgba(255,255,255,0.85); letter-spacing: 0.04em; }

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; padding: var(--page-margin);
}
.video-card { cursor: pointer; }
.video-card:hover { opacity: 0.86; transition: opacity 0.12s; }
.video-thumb {
  aspect-ratio: 16 / 9; background: #1a1a1a;
  border-radius: 4px; overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn {
  position: absolute; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 0.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.play-btn svg { margin-left: 2px; }
.video-meta { padding: 9px 2px 0; }
.video-title { font-size: 16px; color: var(--text); margin-bottom: 3px; }
.video-sub   { font-size: 14px; color: var(--text-muted); }

/* Info page */
.info-layout {
  display: flex; gap: 48px; align-items: flex-start;
  max-width: 1100px; margin: 0 auto; padding: 52px 40px 72px;
}
.info-photo {
  width: 500px; min-width: 500px; aspect-ratio: 3 / 4;
  background: #c9b99a; border-radius: 4px; overflow: hidden;
  position: sticky; top: 80px;
}
.info-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-content { flex: 1; }
.info-section { margin-bottom: 40px; }
.info-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.info-body { font-size: 16px; color: var(--text-muted); line-height: 1.85; }
.info-body p { margin-bottom: 10px; }
.info-body p:last-child { margin-bottom: 0; }
.info-list { list-style: none; }
.info-list li { font-size: 16px; color: var(--text-muted); line-height: 1.95; display: flex; justify-content: space-between; gap: 16px; }
.info-list li span { font-size: 14px; color: var(--text-faint); white-space: nowrap; }
.info-link { color: var(--text); text-decoration: none; border-bottom: 0.5px solid var(--border); padding-bottom: 1px; }
.info-link:hover { border-color: var(--text-muted); }
.info-divider { height: 0.5px; background: var(--border); margin-bottom: 40px; }


/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.93);
  align-items: center; justify-content: center; flex-direction: column;
  gap: 14px; cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 85vh; object-fit: contain; display: block; }
.lightbox-hint { font-size: 13px; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }

/* Footer */
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--page-margin); margin-top: var(--gap);
}
.footer-copy { font-size: 13px; color: var(--text-faint); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 13px; color: var(--text-faint); text-decoration: none; }
.footer-links a:hover { color: var(--text-muted); }

/* Mobile */
@media (max-width: 640px) {
  nav { padding: 14px 16px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 48px; left: 0; right: 0;
    background: var(--bg);
    padding: 16px 16px 20px; gap: 16px; z-index: 9;
  }
  .nav-hamburger { display: flex; }
  .photo-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid  { grid-template-columns: 1fr; padding: 14px; }
  .info-layout { flex-direction: column; padding: 36px 16px 56px; }
  .info-photo  { width: 100%; min-width: auto; aspect-ratio: 4 / 3; position: static; }
  footer { padding: 12px 16px; flex-direction: column; gap: 8px; align-items: flex-start; }
}
