@font-face {
  font-family: "Jockey One";
  src: url("/fonts/jockey-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("/fonts/noto-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #14121a;
  --fg: #ece9e2;
  --muted: #a39f99;
  --green: #445f58;
  --green-bright: #6f968c;
  --display: "Jockey One", "Noto Sans", sans-serif;
  --max: 56rem;
}

* { box-sizing: border-box; }

html { background: var(--bg); color: var(--fg); }

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: var(--green-bright); }
a:hover { color: var(--fg); }

/* header: logo left, nav right */
.site-header {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: block; line-height: 0; }
.logo img { width: 6.5rem; height: auto; }

.site-nav {
  display: flex;
  gap: 1.75rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--green-bright); }

main {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.hero h1 { text-align: center; }

/* intro: a studio line, then "we are building" as a ruled kicker above the title */
.intro { text-align: center; margin: 1.5rem 0 0; }

.lede {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 300;
  color: var(--fg);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-bright);
}

.kicker span { flex: none; white-space: nowrap; }

.kicker::before,
.kicker::after {
  content: "";
  flex: 0 1 6rem;
  min-width: 1.5rem;
  height: 1px;
  background: var(--green);
}

.tagline {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.5rem;
  overflow: hidden;
}

.video iframe,
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  padding: 0;
  margin: 0;
  background: #000;
  cursor: pointer;
}

.video-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.video-play:hover img { opacity: 1; }

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  height: 5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.5);
  transition: background 0.2s;
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 1rem 0 1rem 1.6rem;
  border-color: transparent transparent transparent var(--fg);
}

.video-play:hover .play-icon { background: var(--green-bright); }

.button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  margin: 1.5rem auto 0.5rem;
  padding: 0.75rem 1.75rem 0.75rem 1.5rem;
  background: var(--green);
  color: var(--fg);
  font-family: var(--display);
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.2s;
}

.button svg { flex: none; }
.button:hover { background: var(--green-bright); color: var(--fg); }

.meta {
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

.about { max-width: 40rem; }
.about h1 { margin-bottom: 1rem; }

/* footer: social icons, press line, copyright */
.site-footer {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p { margin: 0.25rem 0; }

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.socials a {
  color: var(--muted);
  line-height: 0;
  transition: color 0.2s, transform 0.2s;
}

.socials a:hover { color: var(--fg); transform: translateY(-2px); }
.socials svg { display: block; }

@media (max-width: 30rem) {
  .logo img { width: 5rem; }
  .site-nav { font-size: 1.125rem; gap: 1.25rem; }
}
