/* styles/main.css */
/* Five Dollar Down — Global styles, typography, layout */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--c-white);
  background-color: var(--c-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ─── Typography ─────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.375rem;
  letter-spacing: 0.01em;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

caption, .caption, .label-sm {
  font-size: 0.875rem;
}

/* ─── Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── Sections ───────────────────────────────────────── */
section {
  scroll-margin-top: 60px;
}

.section-pad {
  padding-block: var(--space-lg);
  margin-top: 16px;
}

@media (min-width: 768px) {
  .section-pad {
    padding-block: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .section-pad {
    max-width: 1200px;
    margin-inline: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
  }
}

/* ─── Section headings ───────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-heading--gold {
  color: var(--c-white);
}

.section-subtext {
  text-align: center;
  font-size: 0.875rem;
  color: var(--c-muted);
  margin-top: calc(-1 * var(--space-sm));
  margin-bottom: var(--space-md);
}

/* ─── Media section has no bg — kill its outer padding so only the border gap shows ── */
#media { padding-block: 0; }

/* ─── Gap between Watch Us Play and Photos ───────────── */
#media .bg-ink { border-top: 16px solid var(--c-black); }

/* ─── Surface backgrounds ────────────────────────────── */
.bg-ink     { background-color: var(--c-ink); }
.bg-surface { background-color: var(--c-surface); }

/* ─── Two-column layout ──────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
  }
}

/* ─── Text colors ────────────────────────────────────── */
.text-gold   { color: var(--c-accent); }
.text-muted  { color: var(--c-muted); }
.text-white  { color: var(--c-white); }

/* ─── Utility ────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
