/*
  style.css
  Still Dying

  Created by Michel Storms on 27/09/2026.
*/
:root {
  --ink: #e8e2d6;
  --muted: #a39c8f;
  --ground: #121212;
  --panel: #1b1b1a;
  --rust: #c47346; /* 5.25:1 on --ground, above the 4.5:1 minimum */
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-text {
  position: relative;
  max-width: 44rem;
  padding: var(--gutter);
}

/* A full-width fade so the text stays readable without a visible box edge. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(18, 18, 18, 0.9) 60%, var(--ground));
}

.hero-text {
  z-index: 1;
  /* Keeps the text readable over any part of the photo, whatever the screen height. */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tagline {
  margin: 0.4rem 0 1rem;
  color: var(--rust);
  font-size: 1.25rem;
  font-weight: 600;
}

.status { color: var(--muted); font-size: 0.95rem; }

main { padding: 0 var(--gutter); }

.loop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--gutter);
  max-width: 72rem;
  margin: 4rem auto;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
}

.loop p { margin: 0; color: var(--ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 12px;
  max-width: 72rem;
  margin: 0 auto 4rem;
}

figure { margin: 0; background: var(--panel); }
figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { padding: 0.5rem 0.75rem; color: var(--muted); font-size: 0.9rem; }

.follow {
  max-width: 72rem;
  margin: 0 auto 4rem;
}

.follow ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }

footer {
  padding: 2rem var(--gutter);
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid #2a2a28;
}
