@font-face {
  font-family: "Station";
  src: url("/assets/fonts/station-medium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "DIN Next";
  src: url("/assets/fonts/din-next-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Rockwell";
  src: url("/assets/fonts/rockwell.woff2") format("woff2");
  font-display: swap;
}

:root {
  --yellow: #ffff66;
  --ink: #101010;
  --paper: #fff;
  --stage: 980px;
  --content: 700px;
}

* { box-sizing: border-box; }

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: 226px;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DIN Next", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: #fff;
  border: 2px solid;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: var(--yellow);
  box-shadow: 0 14px 20px rgb(0 0 0 / 17%);
}

.header-inner {
  width: min(100%, var(--stage));
  margin-inline: auto;
  min-height: 190px;
  padding: 40px 21px 34px 19px;
  display: grid;
  grid-template-columns: 246px 1fr;
  gap: 24px;
  align-items: start;
}

.brand img { width: 246px; }
.header-copy { min-width: 0; }

.tagline {
  margin: 7px 0 17px;
  font-family: "Station", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.tagline a { text-decoration: none; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 0 2px;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: grid;
  height: 33px;
  padding: 0 8px;
  place-items: center;
  border: 1px solid #111;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 60%);
  font-family: "Rockwell", Georgia, serif;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: #34383a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 9px rgb(0 0 0 / 35%);
}

.nav-list a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.nav-list a:active {
  transform: translateY(1px) scale(.98);
  box-shadow: 0 1px 2px rgb(0 0 0 / 45%);
}

.nav-list li:nth-child(1) a { width: 97px; }
.nav-list li:nth-child(2) { margin-left: 18px; }
.nav-list li:nth-child(2) a { width: 67px; }
.nav-list li:nth-child(3) { margin-left: 20px; }
.nav-list li:nth-child(3) a { width: 97px; }
.nav-list li:nth-child(4) { margin-left: 21px; }
.nav-list li:nth-child(4) a { width: 81px; }
.nav-list li:nth-child(5) { margin-left: 19px; }
.nav-list li:nth-child(5) a { width: 246px; }

main {
  max-width: var(--stage);
  margin-inline: auto;
}

.content {
  width: min(var(--content), calc(100% - 40px));
  margin: 34px auto 80px;
}

.page-layout {
  width: min(100%, var(--stage));
  margin-inline: auto;
  padding-top: 36px;
  display: grid;
  grid-template-columns: 250px 665px;
  gap: 40px;
  align-items: start;
}

.page-layout .content {
  width: 100%;
  margin: 0 0 80px;
}

.section-nav {
  position: sticky;
  top: 244px;
  width: 222px;
  margin: 18px 0 0 26px;
  font-family: "Rockwell", Georgia, serif;
  font-size: 13px;
  line-height: 1.4;
}

.section-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-nav li + li { margin-top: 8px; }

.section-nav a {
  display: flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
}

.section-nav a::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background-color .2s ease;
}

.section-nav a:hover,
.section-nav a:focus-visible { text-decoration: none; }

.section-nav a:hover::before,
.section-nav a:focus-visible::before { background: currentColor; }

h1, h2, h3, h4 {
  font-family: "Station", Arial, sans-serif;
  font-weight: 400;
}

h1 { margin: 0 0 48px; font-size: 30px; }
h2 { margin: 2.6rem 0 1rem; font-size: 24px; }
h3 { margin: 2rem 0 1rem; font-size: 20px; }
p { margin: 0 0 1.35rem; }
ul { padding-left: 1.6rem; }

.home-page { overflow-x: hidden; background: var(--yellow); }
.home-page .site-header { box-shadow: 0 14px 20px rgb(0 0 0 / 12%); }
.home-page main { background: var(--yellow); }

.home-hero {
  min-height: calc(100vh - 190px);
  padding: 134px 40px 90px 29.6%;
}

.home-hero h1 {
  max-width: 380px;
  margin: 0;
  font-size: 36px;
  line-height: normal;
}

.home-intro {
  display: block;
  animation: home-fade 850ms ease-out both;
}

.home-hero strong {
  display: block;
  margin-top: 41px;
  font-weight: 400;
  animation: home-slide 1100ms 180ms cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes home-fade {
  from { opacity: .08; }
}

@keyframes home-slide {
  from { opacity: 0; transform: translateX(min(70vw, 900px)); }
}

.film-hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.film-hero video {
  width: 100%;
  height: auto;
}

.lead { font-size: 20px; }
.section-label { margin-bottom: .8rem; font-size: 20px; }

figure { margin: 0; }
figcaption { margin-top: .45rem; text-align: center; font-size: 15px; }

.framed-image {
  width: 100%;
  border: 1px solid #777;
  border-radius: 5px;
}

.services-grid,
.two-columns,
.profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.media-stack { display: grid; gap: 34px; }
.media-stack img { width: 100%; border-radius: 5px; }
.services-grid li { margin-bottom: .55rem; }
.delivery-grid { align-items: start; }
.delivery-grid img { width: min(100%, 325px); margin-inline: auto; }

.video-list { display: grid; gap: 50px; }
.video-card h2 { margin-top: 0; font-family: "DIN Next", Arial, sans-serif; font-size: 20px; }
.video-frame { position: relative; background: #000; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 56px;
  height: 56px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.video-play[hidden] { display: none; }
.video-play:hover,
.video-play:focus-visible { transform: translate(-50%, -50%) scale(1.07); background: rgb(0 0 0 / 18%); }
.video-play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.video-play:active { transform: translate(-50%, -50%) scale(.96); }
.video-play span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-block: 9px solid transparent;
  border-left: 14px solid currentColor;
}

.about-logo { width: 236px; margin: 1.4rem auto; }
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  margin-top: 4rem;
}
.history-grid img { width: 100%; border-radius: 7px; box-shadow: 1px 2px 4px rgb(0 0 0 / 35%); }
.profiles { margin-top: 4rem; }
.profile img { width: 197px; height: 295px; object-fit: cover; margin-bottom: 1.2rem; border-radius: 6px; }
.profile ul { margin: 0; padding-left: 1.2rem; }
.profile li { margin-bottom: .8rem; }

.reference-page h1 { margin-bottom: 20px; }
.reference-tools { width: min(100%, 360px); margin-bottom: 1rem; }
.reference-tools input {
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #888;
  border-radius: 4px;
  font: inherit;
}
.reference-tools input:focus,
.reference-tools input:focus-visible {
  border-color: #888 !important;
  outline: none !important;
  box-shadow: none !important;
}
.table-wrap { overflow-x: auto; border: 1px solid #bbb; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: .55rem .7rem; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
th { position: sticky; top: 0; background: var(--yellow); font-family: "Station", Arial, sans-serif; font-weight: 400; }
tbody tr:nth-child(even) { background: #f5f5f5; }
.table-status { margin-top: .75rem; font-size: 15px; }

.contact-block { margin-bottom: 3.5rem; }
.legal { max-width: 760px; }
.legal h2 { margin-top: 3.5rem; font-size: 30px; }
.legal h3 { margin-top: 2.7rem; font-size: 23px; }
.legal h4 { margin-top: 2rem; font-size: 19px; }
.legal li { margin-bottom: .9rem; }

.site-footer { height: 68px; max-width: var(--stage); margin-inline: auto; }

@media (max-width: 780px) {
  html { scroll-padding-top: 20px; }
  body { font-size: 17px; }
  .site-header { position: static; }
  .header-inner {
    min-height: auto;
    padding: 20px;
    grid-template-columns: 150px 1fr;
    gap: 16px;
  }
  .brand img { width: 150px; }
  .tagline { margin: 2px 0 14px; font-size: clamp(20px, 5vw, 27px); white-space: normal; }
  .nav-list { gap: 8px; margin-left: 0; }
  .nav-list li:nth-child(n) { margin-left: 0; }
  .nav-list li:nth-child(n) a { width: auto; padding: 0 9px; }
  .nav-list a { font-size: 14px; }
  .page-layout { width: 100%; padding: 30px 16px 0; grid-template-columns: 1fr; gap: 28px; }
  .section-nav { position: static; margin: 0; }
  .section-nav ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .section-nav li + li { margin-top: 0; }
  .home-hero { min-height: calc(100vh - 220px); padding: 90px 24px; display: grid; place-items: start center; }
  .home-hero h1 { font-size: clamp(31px, 9vw, 38px); }
  .content { width: min(100% - 32px, var(--content)); margin-top: 30px; }
  h1 { margin-bottom: 34px; }
  .services-grid, .two-columns, .profiles, .history-grid { grid-template-columns: 1fr; gap: 26px; }
  .history-grid, .profiles { margin-top: 3rem; }
  .history-grid img { max-width: 420px; }
  .profile img { width: min(100%, 250px); height: auto; }
}

@media (max-width: 520px) {
  .header-inner { grid-template-columns: 105px 1fr; padding: 16px 12px; gap: 12px; }
  .brand img { width: 105px; }
  .tagline { font-size: 20px; }
  .nav-list { grid-column: 1 / -1; }
  .nav-list a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .home-intro, .home-hero strong { animation: none; }
  .nav-list a { transition: none; }
  .video-play { transition: none; }
}
