:root {
  --ink: #172026;
  --muted: #65717b;
  --line: #dde3e8;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --brand: #0f6d7a;
  --brand-dark: #0a4b54;
  --accent: #b84a32;
  --shadow: 0 18px 50px rgba(22, 32, 38, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--brand-dark);
}

.navbar {
  min-height: 68px;
}

.navbar-brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--muted);
  font-weight: 650;
}

.nav-link:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 86vh;
  padding: 8rem 0 5rem;
  overflow: hidden;
  color: #fff;
  background: #10171d;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 18, 24, .92), rgba(10, 18, 24, .58) 48%, rgba(10, 18, 24, .24)),
    linear-gradient(0deg, rgba(10, 18, 24, .7), rgba(10, 18, 24, .08) 42%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 980px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 .8rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4b38e;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
}

h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.lead {
  max-width: 740px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.btn {
  border-radius: .45rem;
  font-weight: 750;
}

.btn-primary {
  border-color: var(--brand);
  background: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .72);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-intro {
  background: var(--surface);
}

.intro-copy {
  color: #34404a;
  font-size: 1.08rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2rem;
}

.section-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.video-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(23, 32, 38, .1);
  border-radius: .5rem;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(22, 32, 38, .07);
}

.video-card.is-wide {
  grid-column: span 2;
}

.video-card video {
  width: 100%;
  height: 100%;
  background: #111820;
  object-fit: contain;
}

.ratio {
  position: relative;
}

.video-duration {
  position: absolute;
  right: .55rem;
  bottom: .5rem;
  z-index: 2;
  padding: .1rem .3rem;
  border-radius: .25rem;
  color: rgba(255, 255, 255, .8);
  background: rgba(17, 24, 32, .28);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  pointer-events: none;
}

.video-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem;
}

.video-body p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}

.credit-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--muted);
  line-height: 1.02;
  font-size: .95rem;
}

.credit-lines span {
  display: block;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-body a {
  align-self: flex-start;
  font-weight: 750;
}

.section-credits {
  padding-top: 0;
}

.credits-panel {
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(23, 32, 38, .1);
  border-radius: .5rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.credits-panel p:last-child {
  max-width: 800px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  padding: 1.5rem 0;
  color: #d7e1e5;
  background: #10171d;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 750;
}

@media (max-width: 1199.98px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .navbar {
    min-height: 60px;
  }

  .hero {
    min-height: 78vh;
    padding: 7rem 0 3.5rem;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(10, 18, 24, .92), rgba(10, 18, 24, .48));
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card.is-wide {
    grid-column: auto;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
