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

/* ── Base ── */
html, body {
  background: #f6f6f6;
  color: #000;
}

/* ── Typography helpers ── */
.t-switzer-medium  { font-family: 'Switzer', sans-serif; font-weight: 500; }
.t-switzer-light   { font-family: 'Switzer', sans-serif; font-weight: 300; }
.t-switzer-regular { font-family: 'Switzer', sans-serif; font-weight: 400; }
.t-mono-regular    { font-family: 'Geist Mono', monospace; font-weight: 400; }
.t-mono-light      { font-family: 'Geist Mono', monospace; font-weight: 300; }
.t-jetbrains       { font-family: 'JetBrains Mono', monospace; font-weight: 400; }

/* ─────────────────────────
   HEADER
───────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 78px;
  background: #f6f6f6;
  border-bottom: 0.5px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 218px;
}

.site-name {
  font-family: 'Switzer', sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -2.16px;
  color: #000;
  text-decoration: none;
  line-height: normal;
}

.header-nav {
  display: flex;
  gap: 51px;
  align-items: center;
}

.header-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -1.6px;
  color: #000;
  text-decoration: none;
  line-height: normal;
}

.header-nav a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   MASTER 4-COLUMN GRID
   margin: 0 200px creates the outer rails.
   Each column = (1920 - 400) / 4 = 380px.
   Column starts (from content left): 0, 380, 760, 1140.
   Content text indent = +18px per column start.
══════════════════════════════════════════ */
main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 200px;

  background-image:
    /* Outer left rail */
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 1px, transparent 1px),
    /* Outer right rail */
    linear-gradient(to left,  rgba(0, 0, 0, 0.8) 1px, transparent 1px),
    /* Inner 3 column dividers */
    linear-gradient(to right,
      transparent 25%,  rgba(0, 0, 0, 0.15) 25%,  rgba(0, 0, 0, 0.15) calc(25% + 1px),  transparent calc(25% + 1px),
      transparent 50%,  rgba(0, 0, 0, 0.15) 50%,  rgba(0, 0, 0, 0.15) calc(50% + 1px),  transparent calc(50% + 1px),
      transparent 75%,  rgba(0, 0, 0, 0.15) 75%,  rgba(0, 0, 0, 0.15) calc(75% + 1px),  transparent calc(75% + 1px)
    );
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, left top;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-clip: content-box;
}

/* ─────────────────────────
   SECTION DIVIDERS
───────────────────────── */
.section-divider {
  grid-column: 1 / -1;
  height: 0.5px;
  background: #000;
  position: relative;
}

.divider-mark {
  position: absolute;
  top: -5.5px;
  width: 11px; height: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-weight: 300;
  font-size: 11px;
  line-height: 1;
  color: #000;
  user-select: none;
}
.divider-mark::before { content: '+'; }
.divider-mark--left  { left:  -5.5px; }
.divider-mark--right { right: -5.5px; }

/* ─────────────────────────
   PLAY — CONTENT SECTION
   grid-column 1/-1 spans full content width.
   Photos inside are absolutely positioned
   relative to this 1520px-wide container.
   min-height: Figma y=1139 − header 78px = 1061px.
───────────────────────── */
.play-section {
  grid-column: 1 / -1;
  position: relative;
  min-height: 1061px;
}

/* ─────────────────────────
   PLAY — PHOTOS
   Coordinates converted from 1920px Figma canvas
   to content-area space (subtract 200px left rail).
   Percentages are of the 1520px content width.
───────────────────────── */
.play-photo {
  position: absolute;
  overflow: hidden;
}

.play-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─────────────────────────
   FOOTER
───────────────────────── */
.footer {
  grid-column: 1 / -1;
  padding: 0 18px;
}

.footer-headline {
  font-size: 96px;
  letter-spacing: -2.88px;
  line-height: normal;
  color: #000;
  white-space: nowrap;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-contact {
  display: block;
  font-size: 20px;
  line-height: normal;
  color: #000;
  white-space: nowrap;
  text-decoration: none;
}

.footer-contact + .footer-contact { margin-top: 45px; }
.footer-contact:hover { text-decoration: underline; }

.footer-btt {
  display: flex;
  justify-content: flex-end;
}

.back-to-top {
  font-family: 'Geist Mono', monospace;
  font-weight: 300;
  font-size: 20px;
  line-height: normal;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.back-to-top:hover { text-decoration: underline; }

.footer-credits {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: normal;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 16.5px;
  padding: 13px 0 40px 18px;
}

/* ─────────────────────────
   SPACING TOKENS
───────────────────────── */
.mt-xs  { margin-top: 16px; }
.mt-18  { margin-top: 18px; }
.mt-sm  { margin-top: 24px; }
.mt-md  { margin-top: 40px; }
.mt-lg  { margin-top: 56px; }
.mt-xl  { margin-top: 80px; }
.mt-2xl { margin-top: 120px; }
.mb-sm  { margin-bottom: 24px; }
.mb-md  { margin-bottom: 40px; }
