@font-face {
  font-family: Archivo;
  src: url("/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Archivo;
  src: url("/fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #4bb84a;
  --red: #cd2813;
  --gold: #f8d838;
  --ink: #3f403e;
  --paper: #fcfcfb;
  --edge: min(1680px, calc(100% - 12rem));
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scrollbar-color: var(--green) var(--paper); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, sans-serif;
  font-size: 1.5rem;
  line-height: 1.4;
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

a { color: inherit; }

@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-thickness: 2px; }
  a:active { transform: translateY(1px); }
  .mast nav a:hover,
  .jumps a:hover { background: var(--gold); color: var(--ink); }
}

.hero {
  position: relative;
  min-height: 90svh;
  display: grid;
  place-items: end center;
  padding: max(1.5rem, env(safe-area-inset-top)) 1.25rem 8vh;
  background: var(--green);
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.display {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 100%;
  background: var(--gold);
  color: var(--ink);
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-align: center;
  padding: 0.16em 0.35em 0.2em;
}

.plate {
  width: var(--edge);
  margin: 0 auto;
  padding: 1.5rem 0 0;
}

.frame {
  position: relative;
  margin: 0 1.5rem;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
}

.plate-nav {
  position: absolute;
  top: 3.5%;
  left: 3.5%;
  display: flex;
  gap: 1.35rem;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1.35rem;
  background: var(--green);
}

.plate-nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.plate-nav a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.bar-red {
  position: absolute;
  top: 4.2%;
  right: 3%;
  width: 24%;
  height: 2.35rem;
  background: var(--red);
}

.tick {
  position: absolute;
  display: block;
}

.tick-red {
  left: -14px;
  top: 46%;
  width: 16px;
  height: 16px;
  background: var(--red);
}

.tick-gold {
  left: -16px;
  top: 54%;
  width: 15px;
  height: 68px;
  background: var(--gold);
}

.tick-gold-right {
  right: -14px;
  top: 30%;
  width: 15px;
  height: 56px;
  background: var(--gold);
}

.tick-green {
  right: -20px;
  bottom: 24%;
  width: 58px;
  height: 18px;
  background: var(--green);
}

.plate-title {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 6%;
  margin: 0;
  background: var(--gold);
  color: var(--ink);
  font-size: clamp(2.2rem, 5.6vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-align: center;
  padding: 0.14em 0.2em 0.18em;
}

.plays .green { background: var(--green); }
.plays .red { background: var(--red); }
.plays .gold { background: var(--gold); color: var(--ink); }

.facts {
  max-width: 62ch;
  margin: 1.25rem auto 0;
  text-align: left;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: stretch;
  background: var(--green);
  padding-top: env(safe-area-inset-top);
}

.mast-phone { display: none; }

.mast .name,
.mast nav a {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 0 1.1rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.mast nav { display: flex; margin-left: auto; }

.mast nav a[aria-current="page"] { background: var(--gold); }

.dock { position: sticky; top: 0; z-index: 6; }

.dock .mast { position: static; }

.jumps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.jumps a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.35rem 0.4rem;
  border-right: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.jumps a:last-child { border-right: 0; }

.group h2 {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.08em 0.22em 0.12em;
  background: var(--gold);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lede { margin: 0 0 1.35rem; max-width: 46ch; }

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.band figure {
  position: relative;
  margin: 0;
  min-height: 28rem;
  overflow: hidden;
  clip-path: inset(0);
}

.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band img.paper {
  object-position: center top;
  transform: scale(1.7);
  transform-origin: center top;
}

.band.flip figure { order: 2; }

.copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.25rem;
}

.copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.6rem, 4.5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.copy p { margin: 0 0 1rem; max-width: 36ch; }

.copy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.band.gold .copy { background: var(--gold); color: var(--ink); }
.band.red .copy { background: var(--red); color: var(--paper); }
.band.ink .copy { background: var(--ink); color: var(--paper); }

.plays {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0 0;
  padding: 0;
}

.plays li {
  display: grid;
  place-items: center;
  min-height: 4.75rem;
  padding: 0.8rem 1rem;
  color: var(--paper);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  scroll-margin-top: 5.5rem;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--ink);
}

.site-foot p { margin: 0; }

.site-foot p:last-child { margin-left: auto; }

.site-foot a { font-weight: 700; }

.page {
  width: min(1520px, calc(100% - 18rem));
  margin: 0 auto;
  padding: max(1.25rem, env(safe-area-inset-top)) 0 4rem;
}

.dock + .page,
.mast + .page { padding-top: 1.5rem; }

.page .display {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.group { margin-top: 3.5rem; scroll-margin-top: 11rem; }

.shots {
  columns: 3;
  column-gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shots li { break-inside: avoid; margin: 0 0 0.5rem; }
.shots a { display: block; }
.shots img { display: block; width: 100%; height: auto; }

.press { display: grid; gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.press img { display: block; width: 100%; height: auto; }
.press figcaption { margin-top: 0.6rem; max-width: 62ch; }

.clip {
  margin: 0 0 1.75rem;
}
.clip video { display: block; width: 100%; height: auto; background: var(--ink); }

@media (max-width: 800px) {
  :root { --edge: min(1680px, calc(100% - 6rem)); }
  .mast-phone { display: flex; }
  .plate-nav { display: none; }
  .hero { min-height: 88svh; }
  .plate { padding-top: 1.35rem; }
  .frame { margin-inline: 0; }
  .band, .band.flip { grid-template-columns: 1fr; }
  .band.flip figure { order: 0; }
  .band figure { min-height: 16rem; }
  .copy { padding: 1.6rem 1.15rem 2rem; }
  .page { width: min(1520px, calc(100% - 8rem)); }
  .shots { columns: 2; }
  .tick { display: none; }
  .bar-red { height: 1.4rem; }
  .plate-title { font-size: clamp(1.85rem, 9vw, 2.8rem); }
}

@media (max-width: 520px) {
  .mast { flex-wrap: wrap; }
  .mast .name {
    flex: 1 0 100%;
    background: var(--ink);
    color: var(--paper);
  }
  .mast nav { width: 100%; }
  .mast nav a { flex: 1; justify-content: center; }
  .display { font-size: clamp(2.15rem, 12vw, 3rem); }
}
