/* ============================================================
   20471120 — global styles
   Design tokens live in :root so the whole site can be
   re-themed from one place as it grows into more pages.
   ============================================================ */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #8a8a8a;
  --accent: #e5322d;              /* the red from the archive gloves */

  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --space: clamp(1rem, 2vw, 2rem);
  --maxw: 900px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   Landing layout — first screen
   ============================================================ */
.landing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space);
  padding: var(--space);
}

.landing__head { padding-top: clamp(1rem, 4vh, 3rem); }

.wordmark {
  line-height: 0; /* strip inline-image gap */
}

.wordmark__img {
  width: clamp(240px, 55vw, 520px);
  height: auto;
}

/* ---- hero image ---- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--maxw);
  min-height: 0; /* allow the image to shrink inside the flex column */
}

.hero__img {
  max-height: 70dvh;
  width: auto;
  object-fit: contain;
}

/* ---- links ---- */
.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.links__caption {
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
}

.links__item {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.25em 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.links__item:hover,
.links__item:focus-visible {
  color: var(--fg);
  border-color: var(--accent);
  outline: none;
}

/* ============================================================
   Instagram feed
   ============================================================ */
.feed {
  padding: 0 var(--space) clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.feed__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1100px;
}

/* Instagram injects its own iframe; make the card wide and centered.
   IG's embed.js caps the rendered width around 658px — we target that. */
.feed__grid .instagram-media {
  flex: 1 1 660px;
  max-width: 660px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}

/* ---- footer ---- */
.site-foot {
  padding: var(--space);
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}
