:root {
  color-scheme: dark;
  --black: #101010;
  --black-soft: #171717;
  --ink: #f4f1ec;
  --muted: #aaa49a;
  --muted-strong: #d4cec3;
  --line: rgba(244, 241, 236, 0.16);
  --red: #e31f3f;
  --red-dark: #b91431;
  --paper: #f4f1ec;
  --paper-ink: #161616;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(244, 241, 236, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 241, 236, 0.03) 1px, transparent 1px),
    var(--black);
  background-size: 48px 48px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 18px max(20px, calc((100vw - var(--max-width)) / 2));
  background: rgba(16, 16, 16, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-link img {
  width: 234px;
  height: auto;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 18px;
  color: var(--paper);
  background: var(--red);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 46.875svh;
  margin: 0 auto;
  padding: 75px 0 88px;
  overflow: hidden;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
  line-height: 1.12;
}

.button {
  min-width: 188px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  color: var(--paper);
  background: var(--red);
}

.featured-section {
  color: var(--paper-ink);
  background: var(--paper);
}

.featured-content {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 86px) 0;
}

.featured-heading {
  margin-bottom: 24px;
}

.featured-heading h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  overflow: hidden;
  background: #fffdfa;
  border: 1px solid rgba(16, 16, 16, 0.12);
  border-radius: 8px;
}

.featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.08;
  padding: 18px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

.featured-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.featured-card-body {
  padding: 18px 18px 14px;
}

.featured-card-body h3 {
  margin-bottom: 14px;
  min-height: 2.5em;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.12;
}

.featured-card-body p {
  margin-bottom: 0;
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
}

.featured-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 18px 18px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--red);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.featured-button:hover,
.featured-button:focus-visible {
  background: var(--red-dark);
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 72px 0 86px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 36px;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.gear-card {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.58);
}

.gear-card p,
.blackbook-section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.58;
}

.card-number {
  display: block;
  margin-bottom: 60px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
}

.brand-wall {
  width: 100%;
  margin: 0 0 76px;
  padding: 62px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.82);
}

.brand-wall-viewport {
  position: relative;
  overflow: hidden;
}

.brand-wall-viewport::before,
.brand-wall-viewport::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: min(18vw, 220px);
  pointer-events: none;
  content: "";
}

.brand-wall-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--black), rgba(16, 16, 16, 0));
}

.brand-wall-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--black), rgba(16, 16, 16, 0));
}

.brand-wall-track {
  display: flex;
  width: max-content;
  animation: brand-marquee 64s linear infinite;
  will-change: transform;
}

.brand-wall-set {
  display: flex;
  gap: clamp(58px, 8vw, 124px);
  align-items: center;
  padding-right: clamp(58px, 8vw, 124px);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(118px, 11vw, 176px);
  height: 54px;
  flex: 0 0 auto;
}

.brand-logo img {
  width: 100%;
  max-height: 54px;
  filter: invert(1) grayscale(1);
  opacity: 0.58;
  object-fit: contain;
}

.brand-logo-apple img {
  width: 48px;
  max-height: 54px;
}

.brand-logo-pelican,
.brand-logo-sony {
  width: clamp(146px, 13vw, 198px);
}

.brand-logo-pelican img {
  width: 178px;
}

.brand-logo-smallrig img {
  width: 142px;
}

.brand-logo-sony img {
  width: 184px;
}

.brand-logo-zeiss img {
  width: 146px;
}

@keyframes brand-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-wall-track {
    animation: none;
    transform: translate3d(-18%, 0, 0);
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 40px max(20px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(28px, 5vw, 64px);
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--red);
  font-weight: 750;
  text-decoration: none;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--red-dark);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 65px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 14px;
    padding: 14px;
  }

  .brand-link img {
    width: 193px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero,
  .section,
  .featured-content {
    width: min(100% - 28px, var(--max-width));
  }

  .site-footer {
    padding: 40px 14px;
  }

  .hero {
    gap: 32px;
    padding: 52px 0 44px;
  }

  h1 {
    font-size: clamp(1.55rem, 6vw, 1.95rem);
  }

  .featured-content {
    padding: 48px 0;
  }

  .featured-heading {
    margin-bottom: 22px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .section {
    padding: 62px 0;
  }

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

  .gear-card {
    min-height: 190px;
  }

  .card-number {
    margin-bottom: 34px;
  }

  .brand-wall {
    margin-bottom: 58px;
    padding: 48px 0;
  }

  .brand-wall-set {
    gap: 54px;
    padding-right: 54px;
  }

  .brand-logo {
    width: 132px;
    height: 46px;
  }

  .brand-logo-pelican,
  .brand-logo-sony {
    width: 154px;
  }

  .brand-logo-apple img {
    width: 42px;
    max-height: 46px;
  }

  .brand-logo-pelican img {
    width: 150px;
  }

  .brand-logo-sony img {
    width: 154px;
  }

  .footer-meta {
    flex-direction: row;
    gap: 6px 18px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
