@font-face {
  font-family: "Futura Cond XB";
  src: url("assets/fonts/FuturaStd-CondensedExtraBd.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Futura Cond";
  src: url("assets/fonts/FuturaStd-Condensed.ttf") format("truetype");
  font-display: swap;
}

:root {
  --green: #37ff21;
  --black: #000;
  --white: #fff;
  --mist: #e0e3ec;
  --grey: #8a8a8a;

  /* One spacing scale, used everywhere */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 96px;

  --pad: clamp(var(--s4), 6vw, var(--s6));
  --display: "Futura Cond XB", "Futura", "Helvetica Neue", Arial, sans-serif;
  --body: "Futura Cond", "Futura", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

main { background: var(--black); }

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }

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

/* ---------- Nav ---------- */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(var(--s4), 10vw, 160px);
  padding: var(--s3) var(--s3);
  background: var(--white);
}
.nav__brand img { width: clamp(96px, 11vw, 140px); height: auto; }
.nav__link {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.02em;
  padding: var(--s1) 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
.nav__link:first-child { justify-self: end; }
.nav__link:last-child { justify-self: start; }
.nav__link:hover,
.nav__link[aria-current="page"] { border-bottom-color: var(--green); }

/* ---------- Grid ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; }

.tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--pad);
}
.tile--media { padding: 0; }
.tile--black { background: var(--black); color: var(--white); }
.tile--green { background: var(--green); }
.tile--mist  { background: var(--mist); }

.quad { display: grid; grid-template-columns: 1fr 1fr; }
.quad > * { aspect-ratio: 1 / 1; overflow: hidden; }

/* ---------- Type ---------- */
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.05;
}
.copy {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
}
.copy--prose { max-width: 30ch; }
.list { list-style: none; margin: 0; padding: 0; }
.list li + li { margin-top: var(--s1); }
.green { color: var(--green); }

/* ---------- Bands ---------- */
.band {
  padding: var(--s6) var(--pad);
  text-align: center;
}
.band--black { background: var(--black); color: var(--white); }
.band a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  padding: var(--s5) var(--s3);
  background: var(--white);
  text-align: center;
}
.footer img { width: 72px; height: auto; }
.footer p {
  margin: 0;
  font-family: Inconsolata, ui-monospace, Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .nav { column-gap: var(--s4); padding: var(--s2); }
  .nav__brand img { width: 88px; }
  .nav__link { font-size: 15px; }

  .row { grid-template-columns: 1fr; }
  /* Text tiles don't need to be square on a phone */
  .tile:not(.tile--media) { aspect-ratio: auto; padding: var(--s6) var(--s4); }
  /* Keep the hero media first, then its caption */
  .display { font-size: clamp(36px, 10vw, 48px); }
}
