@font-face {
  font-family: Asap;
  src: url(/fonts/asap.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #252525;
  --text: #c1c8d1;
  --head: #d8dce0;
  --accent: #61ce70;
  --link: #6ec1e4;
  --sans: Roboto, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 16px/1.7 var(--sans);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--accent); }
h1, h2, h3 { color: var(--head); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h2.big { font: 400 clamp(2.2rem, 6vw, 3.4rem) Asap, var(--sans); text-transform: uppercase; }
h2.mid { font: 400 clamp(1.8rem, 4vw, 2.45rem) Asap, var(--sans); }
h2.plain { font-size: 1.9rem; }
figure { margin: 0; }
figcaption { font-size: .85rem; text-align: center; padding-top: .3em; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 9; background: #000; padding: 8px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: #1d1d1d;
  display: flex; justify-content: center;
}
.top a {
  color: var(--head); text-decoration: none; text-transform: uppercase;
  font-size: .8rem; letter-spacing: .05em; padding: 1.1em 1.3em;
}
.top a:hover, .top a[aria-current] { background: #000; color: #fff; }

/* layout */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
section { padding: 70px 0; }
.cols { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr 1fr; }
.cols > *, .grid > * { min-width: 0; }
.cols + .cols { margin-top: 70px; }
.center { text-align: center; }
.more { display: inline-block; margin-top: .4em; }
.fade { height: 92px; }
ul.ticks { padding-left: 1.2em; }

/* blocks */
.hero { background: #000 url(/img/hero.webp) center / cover no-repeat; aspect-ratio: 770 / 435; max-height: 85vh; width: 100%; }
.hero-me { position: relative; min-height: 620px; background: #111 url(/img/me-hero.webp) center 30% / cover no-repeat; display: grid; place-items: end start; }
.hero-me div { padding: 40px 16px; text-shadow: 0 2px 8px #000; }
.hero-me h1 { font-size: clamp(3rem, 9vw, 4.25rem); margin: 0; }
.welcome h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; }
.gored-bg { background: #000 url(/img/gored-bg.webp) center / cover no-repeat; aspect-ratio: 16 / 9; max-height: 90vh; }
.jam { background: #d8dce0; color: #333; }
.jam a { color: #1a6fa8; }
.jam .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jam img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.jam h3 { color: #1a6fa8; font-size: 1rem; margin: .8em 0 .2em; }
.jam ul { margin: 0; padding-left: 1.2em; font-size: .9rem; }
.video-link { position: relative; display: block; }
.video-link::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 72px; height: 50px;
  margin: -25px 0 0 -36px; border-radius: 12px; background: #f00 no-repeat center / 24px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0v12l10-6z' fill='%23fff'/%3E%3C/svg%3E");
}
.portrait-video { max-width: 300px; margin: 0 auto; }
.icons { display: flex; gap: 16px; align-items: center; }
.icons img { width: 72px; }
.about-link { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--head); text-decoration: none; font-size: 1.9rem; }
.about-link img { width: 70px; border-radius: 50%; }
.legal { max-width: 800px; }
.legal h2 { margin-top: 1.6em; }

/* footer */
footer { background: #1d1d1d; font-size: .85rem; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 22px 16px; }
footer nav a { color: var(--text); text-decoration: none; }
footer p { margin: 0; padding: 14px; text-align: center; background: #111; }

@media (max-width: 767px) {
  section { padding: 48px 0; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .cols .first-mobile { order: -1; }
  .jam .grid { grid-template-columns: 1fr 1fr; }
  .hero-me { min-height: 420px; }
}
