/* Queer Light London: the palette and type the page wears.
   Change the tokens at the top here — palette, scale, shape — and the rules
   underneath spend them consistently. */
:root {
  color-scheme: light dark;

  /* Palette. Clean warm neutrals with a warm magenta/violet accent — a
     vibrant, inclusive voice for a queer photography studio. */
  --ink: #1f1421;
  --muted: #766a78;
  --line: #ece4ea;
  --bg: #fbf7f8;
  --surface: #ffffff;
  --accent: #c02663;
  --accent-ink: #ffffff;

  /* Secondary accents for the colour‑block placeholders, drawn from the same
     warm magenta/violet family as the page accent so a gallery card never
     feels off‑brand. */
  --tone-1: #d6336c;
  --tone-2: #9d2a8e;
  --tone-3: #6a4c93;
  --tone-4: #f2741f;

  /* Type scale. */
  --step-0: 0.9375rem; /* small print */
  --step-1: 1.0625rem; /* body */
  --step-2: 1.375rem; /* section headings */
  --step-3: clamp(2.25rem, 6vw, 3rem); /* the masthead */

  /* Shape. */
  --radius: 10px;
  --shadow: 0 1px 2px rgb(31 20 33 / 0.05), 0 6px 20px rgb(31 20 33 / 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #efe6ea;
    --muted: #a99dab;
    --line: #2c232b;
    --bg: #16121a;
    --surface: #211a24;
    --accent: #ff5c97;
    --accent-ink: #1a0c18;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4);

    --tone-1: #ff5c97;
    --tone-2: #c576e0;
    --tone-3: #a78bd9;
    --tone-4: #ff8a4a;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    var(--step-1) / 1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.masthead,
main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* The product's name and its one sentence: the first thing a visitor reads. */
.masthead {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.masthead::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 1.25rem;
}

.masthead h1 {
  margin: 0 0 0.5rem;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 750;
  text-wrap: balance;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: var(--step-1);
  max-width: 34rem;
  text-wrap: pretty;
}

main {
  padding-bottom: 3rem;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: var(--step-2);
  letter-spacing: -0.015em;
  font-weight: 650;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* The gallery is a grid of cards — never fixed wider than the viewport. */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 36rem) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.series {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Inline‑SVG / CSS colour‑block placeholder: there is no image pipeline, so
   the visual is drawn from the palette rather than fetched. Each card cycles
   through a gradient built from the studio's accent tones. */
.series__visual {
  aspect-ratio: 4 / 3;
  width: 100%;
  display: block;
  background: linear-gradient(135deg, var(--tone-1), var(--tone-2));
}

.series__visual--2 {
  background: linear-gradient(135deg, var(--tone-2), var(--tone-3));
}

.series__visual--3 {
  background: linear-gradient(135deg, var(--tone-3), var(--tone-4));
}

.series__visual--4 {
  background: linear-gradient(135deg, var(--tone-4), var(--tone-1));
}

.series__body {
  padding: 1rem 1.25rem 1.4rem;
}

.series__title {
  margin: 0 0 0.4rem;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  font-weight: 650;
  line-height: 1.2;
}

.series__desc {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: var(--step-0);
  text-wrap: pretty;
}

.series__meta {
  margin: 0;
  font-size: var(--step-0);
}

.series__category {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.series__year {
  color: var(--muted);
  margin-left: 0.4rem;
}

/* An empty state is a designed state, not an absence. */
.empty {
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
