:root {
  --bg: #101114;
  --panel: #191b20;
  --panel-strong: #20242b;
  --text: #f4f0ea;
  --muted: #b8b0a7;
  --line: rgba(244, 240, 234, 0.14);
  --accent: #e85b42;
  --accent-2: #47c7bd;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body::selection {
  background: var(--accent);
  color: #fff;
}

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

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

code {
  color: #ffe0d7;
  font-size: 0.95em;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(16, 17, 20, 0.78);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(18px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101114;
  display: inline-flex;
  font-size: 0.8rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 28px);
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  align-items: end;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 124px clamp(18px, 5vw, 64px) 68px;
  position: relative;
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.92), rgba(16, 17, 20, 0.52) 45%, rgba(16, 17, 20, 0.18)),
    linear-gradient(0deg, rgba(16, 17, 20, 0.8), rgba(16, 17, 20, 0.02) 46%);
}

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

.eyebrow {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 22px;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.15rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 620px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.button.primary {
  background: var(--text);
  color: var(--bg);
}

.button.secondary {
  background: rgba(244, 240, 234, 0.06);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  padding: clamp(70px, 10vw, 126px) clamp(18px, 5vw, 64px);
}

.section-heading {
  margin-bottom: 32px;
  max-width: 780px;
}

.section-heading.compact {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  max-width: none;
}

.showreel-section {
  background: #131519;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(232, 91, 66, 0.2), transparent 42%),
    linear-gradient(315deg, rgba(71, 199, 189, 0.18), transparent 44%),
    var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.featured-video {
  max-width: 1180px;
}

.video-frame video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-frame video:not([src]) + .video-empty,
.video-frame video source + .video-empty {
  display: grid;
}

.video-frame.has-video .video-empty {
  display: none;
}

.video-empty {
  align-content: center;
  background: linear-gradient(0deg, rgba(16, 17, 20, 0.82), rgba(16, 17, 20, 0.54));
  inset: 0;
  justify-items: center;
  padding: 20px;
  pointer-events: none;
  position: absolute;
  text-align: center;
}

.video-empty span {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.video-empty strong {
  font-size: clamp(1.1rem, 3vw, 2rem);
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
}

.project-card .video-frame {
  border: 0;
  box-shadow: none;
}

.project-copy {
  padding: 22px;
}

.project-copy p:last-child,
.services-list p:last-child,
.about-copy p:last-child {
  margin-bottom: 0;
}

.project-type {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.split-section,
.about-section,
.contact-section {
  display: grid;
  gap: clamp(32px, 6vw, 90px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.services-list {
  display: grid;
  gap: 18px;
}

.services-list div,
.stats div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.about-section {
  background: #f4f0ea;
  color: #181818;
}

.about-section p,
.about-section .eyebrow {
  color: #45413c;
}

.stats {
  display: grid;
  gap: 18px;
  margin: 0;
}

.stats dt {
  color: #7a2f21;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.stats dd {
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.contact-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(232, 91, 66, 0.2), transparent 36%),
    #15171b;
  padding: clamp(70px, 10vw, 112px) clamp(18px, 5vw, 64px);
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 64px);
}

.site-footer a:hover {
  color: var(--text);
}

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

  .hero {
    min-height: 88vh;
  }

  .section-heading.compact,
  .split-section,
  .about-section,
  .contact-section {
    display: block;
  }

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

  .services-list,
  .stats,
  .contact-actions {
    margin-top: 28px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 150px;
  }

  .button {
    width: 100%;
  }

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