@font-face {
  font-family: 'Tektur';
  src: url('/assets/fonts/Tektur-Bold.woff2') format('woff2'),
       url('/assets/fonts/Tektur-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tektur';
  src: url('/assets/fonts/Tektur-ExtraBold.woff2') format('woff2'),
       url('/assets/fonts/Tektur-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tektur';
  src: url('/assets/fonts/Tektur-Black.woff2') format('woff2'),
       url('/assets/fonts/Tektur-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:     #000;
  --color-fg:     #fff;
  --color-accent: #2466FF;
  --color-muted:  rgba(255, 255, 255, 0.45);
  --color-border: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-tektur: 'Tektur', system-ui, sans-serif;

  /* Type scale */
  --font-size-h1: clamp(2.25rem, 9vw, 11.25rem);
  --font-size-h2: clamp(1.5rem,  5.5vw,  7.5rem);

  /* Layout */
  --width-max:  95vw;
  --padding-x:  1rem;
  --padding-y:  1.5rem;
  --grid-gap:   1.5rem;
  --nav-height: 3.5rem;
}

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

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* ── Base ────────────────────────────────────────────────── */
html {
  font-family: var(--font-tektur);
  background-color: var(--color-bg);
  color: var(--color-fg);
}

/* ── Navigation ──────────────────────────────────────────── */
body > nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(var(--padding-x), calc((100% - var(--width-max)) / 2 + var(--padding-x)));
  height: var(--nav-height);
  background: var(--color-bg);
  z-index: 100;
}

body[data-fixed-nav] > nav {
  position: sticky;
  top: 0;
}

body > nav > a, body > nav ul a {
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--color-fg);
  text-decoration: none;
}

body > nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

body > nav ul a:hover,
body > nav ul a[aria-current="page"] {
  color: var(--color-fg);
}

/* ── Layout grid ─────────────────────────────────────────── */
main > section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  padding: var(--padding-y) var(--padding-x);
  max-width: var(--width-max);
  margin-inline: auto;
}

main > section > div {
  grid-column: span var(--columns, 12);
}

@media (max-width: 48em) {
  main[data-stacked] > section > div {
    grid-column: 1 / -1;
  }
}

main > section:first-child {
  align-items: center;
}
main > section:first-child div:last-child figure video {
  max-height: 28vw;
  object-fit: contain;
}

/* ── Typography ──────────────────────────────────────────── */
h1 {
  font-size: var(--font-size-h1);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-fg);
}

h2 {
  text-transform: uppercase;
  line-height: 0.85;
  font-weight: 900;
}

h2, h3 {
  font-size: var(--font-size-h2);
  letter-spacing: -0.01em;
  color: var(--color-muted);
}

h3 {
  font-weight: 700;
  line-height: 0.9;
}

h2 strong, h3 strong {
  color: var(--color-fg);
}


/* ── Gallery block ───────────────────────────────────────── */
figure ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
  list-style: none;
}

figure ul img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ── Video ───────────────────────────────────────────────── */
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Footer media ────────────────────────────────────────── */
body > footer video,
body > footer img {
  width: 100%;
  height: auto;
}

@media (max-width: 48em) {
  body > footer video,
  body > footer img {
    aspect-ratio: 1;
    height: 100%;
    object-fit: cover;
  }
}

/* ── Accent link ─────────────────────────────────────────── */
a.accent, h2 a, h3 a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 700;
  letter-spacing: 0.05em;
}

a.accent:hover {
  text-decoration: underline;
}

/* ── Vimeo embed ─────────────────────────────────────────── */
.vimeo-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.vimeo-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
