/* Vogue-inspired: sharp lines, white, premium bold — responsive + cooler */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #525252;
  --line: #0a0a0a;
  --transition: 0.2s ease;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Loading screen */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 1.25rem;
}

.loader-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--line);
  border-top-color: transparent;
  border-radius: 50%;
  animation: loader-spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

.menu-gallery-link,
.menu-gallery-link:link,
.menu-gallery-link:visited {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  padding: 0.4rem 0;
  transition: var(--transition);
}

.menu-gallery-link:hover {
  color: var(--muted);
}

.menu-gear-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
}

.menu-gear-list li {
  padding: 0.2rem 0;
}

.main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

@media (min-width: 640px) {
  .main {
    padding: 2rem 1.5rem 4rem;
  }
}

/* Header — minimal: logo only, small bar */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.nav {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-menu-btn {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.nav-menu-btn:hover {
  background: var(--text);
  color: var(--bg);
}

@media (min-width: 640px) {
  .nav {
    padding: 0.6rem 1.5rem;
  }
  .nav-logo {
    font-size: 1.35rem;
  }
}

/* Menu popup */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  width: 100%;
  max-width: 22rem;
  background: var(--bg);
  border-left: 2px solid var(--line);
  padding: 1.5rem;
  overflow-y: auto;
  position: relative;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
}

.menu-close:hover {
  color: var(--muted);
}

.menu-section {
  margin-bottom: 2rem;
}

.menu-section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}

.menu-tag {
  display: block;
  width: 100%;
  text-align: left;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0.4rem 0;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.menu-tag:hover {
  color: var(--muted);
}


/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

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

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--bg);
  cursor: pointer;
  padding: 0.25rem;
  z-index: 301;
}

.lightbox-close:hover {
  color: var(--muted);
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
}

.hero-img.lightbox-source,
.photo-strip img.lightbox-source {
  cursor: pointer;
}

/* Hero — full-bleed, sharp crop */
.hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 0;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
}

.hero-img {
  width: 100%;
  height: 50vmin;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .hero-img {
    height: 60vmin;
    min-height: 320px;
  }
}

/* Photo strip */
.photo-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 2px solid var(--line);
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.photo-strip img:hover {
  transform: scale(1.02);
}

@media (min-width: 640px) {
  .photo-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Page head */
.page-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .page-head {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
  }
}

.page-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.1;
}

.page-tagline {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .page-tagline {
    font-size: 0.875rem;
    margin-top: 1rem;
  }
}

/* Filter bar — wraps on small screens */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--muted);
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.active {
  color: var(--text);
  border-bottom-color: var(--line);
}

@media (min-width: 640px) {
  .filter-btn {
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    padding: 1rem 1.5rem;
  }
}

/* Posts grid — responsive, cooler cards */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

@media (min-width: 480px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

.post-card {
  background: var(--bg);
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
}

.post-card:hover {
  background: #f8f8f8;
}

@media (min-width: 640px) {
  .post-card:hover {
    transform: translateY(-2px);
  }
}

.post-card-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card-link {
  display: block;
  padding: 1.25rem 1rem;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 640px) {
  .post-card-link {
    padding: 1.5rem 1.25rem;
  }
}

.post-card-category {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .post-card-category {
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
  }
}

.post-card-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  color: var(--text);
}

@media (min-width: 640px) {
  .post-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

.post-card-excerpt {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .post-card-excerpt {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
}

.post-card-date {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Single post */
.post-full {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .post-full {
    padding: 0;
  }
}

.post-full-thumbnail {
  display: block;
  width: 100%;
  max-height: 40vh;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .post-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
  }
}

.post-full .post-category {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.post-full .post-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--text);
}

.post-header time {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 640px) {
  .post-header time {
    font-size: 0.8125rem;
  }
}

.post-body {
  margin-top: 1.5rem;
}

.post-body p {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .post-body p {
    font-size: 1rem;
  }
}

.post-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.post-body a:hover {
  color: var(--muted);
}

.post-body h2,
.post-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

/* Embeds — sharp corners, responsive */
.embeds {
  margin: 1.5rem 0;
}

.embed-wrap {
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  overflow: hidden;
}

.embed-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.embed-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.embed-audio iframe {
  display: block;
  max-width: 100%;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .site-footer {
    padding: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
}

.footer-divider {
  letter-spacing: 0.3em;
}

.footer-instagram {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-instagram:hover {
  color: var(--text);
}

/* Gallery page */
.gallery-page-head {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.gallery-page-head .page-tagline {
  margin-top: 0.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.03);
}
