/* ============================================================
   STYLE — you shouldn't need to touch this file, but the
   theme knobs are all here at the top if you want to.
   ============================================================ */
:root {
  --bg: #f4f3f1;
  --ink: #111111;
  --ink-soft: #555550;
  --accent: #111111;
  --title-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Menu toggle (the "+") ---------- */
.menu-toggle {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.menu-toggle svg { width: 26px; height: 26px; transition: transform 0.35s ease; }
.menu-toggle line { stroke: var(--ink); stroke-width: 2; }
body.menu-open .menu-toggle svg { transform: rotate(45deg); }

/* ---------- Overlay menu ---------- */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
body.menu-open .overlay-menu { opacity: 1; visibility: visible; }
.overlay-menu a {
  font-family: var(--title-font);
  font-size: clamp(2rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.25;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.overlay-menu a:hover { opacity: 0.4; }
.overlay-menu a.active { text-decoration: line-through; text-decoration-thickness: 4px; }
.overlay-menu .menu-contact {
  margin-top: 40px;
  font-family: var(--body-font);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Home: scattered collage ---------- */
.collage-wrap { position: relative; padding: 120px 0 60px; overflow: clip; }

.site-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* sits BEHIND the images — they pass over it on scroll */
  font-family: var(--title-font);
  font-size: clamp(1.8rem, 4.6vw, 4.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  color: var(--ink);
}

.collage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 3.5vw;
  padding: 0 2vw;
  max-width: 1700px;
  margin: 0 auto;
}
.collage-col { display: flex; flex-direction: column; will-change: transform; }
/* stagger column starting offsets like the reference.
   The middle three columns are arranged so nothing covers the
   name in the center of the first screen. */
.collage-col:nth-child(1) { padding-top: 6vh; }
.collage-col:nth-child(2) { padding-top: 5vh; }
.collage-col:nth-child(3) { padding-top: 64vh; }
.collage-col:nth-child(4) { padding-top: 2vh; }
.collage-col:nth-child(5) { padding-top: 14vh; }
/* extra gap after the first image in cols 2 and 4 so the second
   image starts below the title band */
.collage-col:nth-child(2) .collage-item:first-child { margin-bottom: 38vh; }
.collage-col:nth-child(4) .collage-item:first-child { margin-bottom: 22vh; }

.collage-item { margin-bottom: 30vh; }
.collage-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s;
}
.collage-item img:hover { opacity: 0.85; }

/* ---------- Standard page shell ---------- */
.page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 130px 4vw 60px;
}
.page-heading {
  font-family: var(--title-font);
  font-size: clamp(2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 50px;
}

/* ---------- Work: masonry grid ---------- */
.work-grid { column-count: 3; column-gap: 24px; }
.work-grid .grid-item {
  break-inside: avoid;
  margin-bottom: 24px;
  cursor: pointer;
}
.work-grid img { width: 100%; transition: opacity 0.3s; }
.work-grid .grid-item:hover img { opacity: 0.85; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 12px;
}
.lightbox .lb-close { top: 22px; right: 26px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
}

/* ---------- Store ---------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-card h3 {
  font-family: var(--title-font);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 18px 0 4px;
}
.product-card .price { font-size: 14px; color: var(--ink-soft); }
.product-card .desc { font-size: 13px; color: var(--ink-soft); margin: 8px 0 14px; }
.buy-btn {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 10px 22px;
  transition: background 0.25s, color 0.25s;
}
.buy-btn:hover { background: var(--ink); color: var(--bg); }
.buy-btn.disabled {
  border-color: #bbb;
  color: #999;
  pointer-events: none;
}

/* ---------- About ---------- */
.about-body { max-width: 640px; }
.about-body p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.7; margin-bottom: 32px; }
.about-body .contact-link {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  margin-bottom: 40px;
}
.social-row { display: flex; gap: 22px; margin-bottom: 60px; }
.social-row a {
  font-size: 13px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.social-row a:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 4vw 50px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .collage { grid-template-columns: repeat(3, 1fr); gap: 0 4vw; }
  .collage-col:nth-child(n+4) { display: none; }
  .work-grid { column-count: 2; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .collage { grid-template-columns: repeat(2, 1fr); gap: 0 6vw; }
  .collage-col:nth-child(n+3) { display: none; }
  .collage-item { margin-bottom: 24vh; }
  .work-grid { column-count: 1; }
  .store-grid { grid-template-columns: 1fr; }
  .site-title { white-space: normal; text-align: center; width: 92vw; }
}
