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

:root {
  --black:     #0a0a0a;
  --off-black: #111111;
  --accent:    #f5c518;
  --white:     #f0ede8;
  --mid:       #666660;
  --gap:       clamp(1.25rem, 4vw, 2.5rem);
}

html {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Page layout ───────────────────────────────────────────────────────────── */
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 1060px;
  margin: 0 auto;
  padding: var(--gap);
  gap: clamp(2rem, 5vw, 3.5rem);
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

/*
  Option A: full lockup image (preferred — drop GrouchyLockup-white.png into /images/)
  Option B: icon + CSS wordmark (fallback)
  Both are in the markup; show whichever asset you have.
*/

.brand-lockup {
  /* White-on-transparent lockup image */
  max-width: min(480px, 90vw);
  height: auto;
}

/* Fallback header if using icon + wordmark separately */
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-logo {
  width: clamp(64px, 12vw, 100px);
  height: auto;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: 'Bungee', sans-serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.01em;
}

/* Tagline sits below whichever header variant is used */
.tagline {
  margin-top: 1rem;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.6;
}

/* ── Gallery ───────────────────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  border: 1px solid #1e1e1e;
  background: #1e1e1e;
  border-radius: 4px;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  background: var(--off-black);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.gallery-item figcaption {
  padding: 0.55rem 0.75rem;
  font-family: 'Bungee', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--off-black);
  border-top: 1px solid #1e1e1e;
  flex-shrink: 0;
}

/* Missing photo — show hatched placeholder */
.gallery-item.no-photo img { display: none; }
.gallery-item.no-photo {
  background: repeating-linear-gradient(
    -45deg,
    #141414,
    #141414 8px,
    #181818 8px,
    #181818 16px
  );
}
.gallery-item.no-photo figcaption { border-top: none; }

/* ── Find us ───────────────────────────────────────────────────────────────── */
.find-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.find-us-line {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--white);
}

.find-us-line a {
  color: var(--accent);
  font-weight: 500;
}

.find-us-line.instagram { margin-top: 0.25rem; }

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.ig-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid #1e1e1e;
  font-size: 0.82rem;
}

.site-footer a { font-weight: 500; }

.footer-copy { color: var(--mid); }

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .gallery { grid-template-columns: 1fr; }
}
