@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 200 800;
}

:root {
  color-scheme: dark;
  --ink: #f4f0dc;
  --paper: #111918;
  --paper-deep: #07100f;
  --moss: #183b30;
  --sage: #6f8174;
  --clay: #7b332b;
  --sand: #c9b99c;
  --line: rgba(244, 240, 220, 0.26);
  --shadow: rgba(0, 0, 0, 0.42);
  --font: "Bricolage Grotesque", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper-deep);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

body.video-ready .hero-fallback {
  opacity: 0;
}

body.video-ready .hero-video {
  opacity: 1;
}

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

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

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 30;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper-deep);
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  color: var(--ink);
  mix-blend-mode: normal;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  border: 1px solid transparent;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line);
  background: rgba(244, 240, 220, 0.08);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(7, 16, 15, 0.84) 0%, rgba(24, 59, 48, 0.64) 49%, rgba(123, 51, 43, 0.58) 100%),
    var(--paper-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(244, 240, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 220, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent 0, black 24%, black 78%, transparent 100%);
  opacity: 0.42;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 16, 15, 0.2), rgba(7, 16, 15, 0.92));
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  transition: opacity 500ms ease;
}

.hero-video {
  opacity: 0;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
}

.hero-fallback {
  display: grid;
  place-items: center;
  opacity: 0.34;
  background: radial-gradient(circle at 70% 30%, rgba(123, 51, 43, 0.24), transparent 34%), var(--paper-deep);
}

.hero-fallback img {
  width: min(58vw, 520px);
  opacity: 0.58;
}

.film-frame {
  position: absolute;
  inset: 88px 26px 74px;
  z-index: -1;
  border: 1px solid var(--line);
  pointer-events: none;
}

.film-frame::before,
.film-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, transparent 0 9px, rgba(244, 240, 220, 0.12) 9px 33px, transparent 33px 42px);
}

.film-frame::before {
  left: 0;
  border-right: 1px solid var(--line);
}

.film-frame::after {
  right: 0;
  border-left: 1px solid var(--line);
}

.hero-grid {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(240px, 0.84fr) minmax(430px, 1fr);
  align-items: center;
  gap: 48px;
  padding: 124px 88px 118px;
}

.hero-logo-wrap {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 360px;
}

.hero-logo {
  width: min(100%, 640px);
  filter: drop-shadow(0 24px 38px var(--shadow));
  transform: rotate(-2deg);
}

.hero-copy {
  max-width: 760px;
  justify-self: end;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 5.6rem;
  line-height: 0.98;
  font-weight: 800;
}

h1 span {
  display: block;
}

.lede {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(244, 240, 220, 0.88);
  font-size: 1.35rem;
  line-height: 1.35;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 34px;
}

.action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 16, 15, 0.52);
  padding: 14px 16px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.action-primary {
  background: var(--ink);
  color: var(--paper-deep);
  border-color: transparent;
}

.action:hover,
.action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(244, 240, 220, 0.7);
  background: var(--moss);
}

.action-primary:hover,
.action-primary:focus-visible {
  background: var(--clay);
  color: var(--ink);
}

.ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 15, 0.72);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 24s linear infinite;
}

.ticker span {
  display: block;
  padding: 14px 22px;
  color: var(--sand);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.info-strip {
  background: var(--ink);
  color: var(--paper-deep);
  padding: 48px 32px;
}

.info-strip p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
}

.quick-links {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  background: #101615;
  padding: 76px 32px 92px;
}

.quick-links > * {
  max-width: 1080px;
}

.section-label {
  justify-self: end;
  width: 160px;
  margin-top: 12px;
}

.link-list {
  width: min(100%, 920px);
}

.link-list h2 {
  margin: 0 0 22px;
  font-size: 3rem;
  line-height: 1;
}

.link-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  transition: color 180ms ease, padding 180ms ease;
}

.link-list a:last-child {
  border-bottom: 1px solid var(--line);
}

.link-list a span:first-child {
  font-size: 1.55rem;
  font-weight: 800;
}

.link-list a span:last-child {
  color: var(--sand);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.link-list a:hover,
.link-list a:focus-visible {
  color: var(--sand);
  padding-left: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  background: #101615;
  padding: 22px 32px;
  color: rgba(244, 240, 220, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 18px 20px;
  }

  .brand span {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
    padding: 104px 24px 104px;
  }

  .film-frame {
    inset: 78px 14px 66px;
  }

  .film-frame::before,
  .film-frame::after {
    width: 18px;
  }

  .hero-logo-wrap {
    align-items: center;
    min-height: 170px;
  }

  .hero-logo {
    width: min(86vw, 500px);
  }

  .hero-copy {
    justify-self: start;
    max-width: 660px;
    padding: 0 22px;
  }

  h1 {
    font-size: 4.1rem;
  }

  .lede {
    font-size: 1.22rem;
  }

  .info-strip p {
    font-size: 1.55rem;
  }

  .quick-links {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 58px 24px 74px;
  }

  .section-label {
    justify-self: start;
    width: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 2px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 8px;
    font-size: 0.76rem;
  }

  .hero-grid {
    padding: 96px 14px 96px;
  }

  .hero-copy {
    padding: 0 16px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .lede {
    margin-top: 18px;
    font-size: 1.05rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
  }

  .action {
    min-height: 50px;
  }

  .ticker span {
    padding: 12px 18px;
  }

  .info-strip {
    padding: 38px 22px;
  }

  .info-strip p {
    font-size: 1.32rem;
  }

  .link-list h2 {
    font-size: 2.2rem;
  }

  .link-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .link-list a span:first-child {
    font-size: 1.24rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video {
    display: none;
  }

  .hero-fallback {
    opacity: 0.38;
  }

  body.video-ready .hero-fallback {
    opacity: 0.38;
  }
}
