:root {
  color-scheme: dark;
  --bg: #060707;
  --bg-soft: #0d1010;
  --ink: #f4f0e8;
  --muted: #b8b1a5;
  --quiet: #7b817d;
  --line: rgba(244, 240, 232, 0.14);
  --gold: #d8b56d;
  --blue: #100dff;
  --teal: #59c8c1;
  --graphite: #171b1c;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

.site-header {
  align-items: center;
  background: rgba(6, 7, 7, 0.64);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 18px clamp(18px, 5vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(6, 7, 7, 0.88);
  border-color: var(--line);
}

.brand {
  align-items: center;
  display: flex;
  min-width: max-content;
}

.brand img {
  display: block;
  height: 34px;
  object-fit: contain;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.nav a,
.header-cta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav a:hover,
.header-cta:hover {
  color: var(--ink);
}

.header-cta {
  border: 1px solid var(--line);
  padding: 11px 15px;
}

.menu-button {
  background: transparent;
  border: 1px solid var(--line);
  display: none;
  height: 42px;
  padding: 0 10px;
  width: 46px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.hero {
  align-items: end;
  display: grid;
  min-height: 96svh;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 54px) 86px;
  position: relative;
}

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

.hero-media,
.hero-fallback {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-fallback {
  z-index: 0;
}

.hero-media {
  z-index: 1;
}

.hero-scrim {
  background:
    radial-gradient(circle at 78% 44%, rgba(16, 13, 255, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(6, 7, 7, 0.66) 0%, rgba(6, 7, 7, 0.36) 48%, rgba(6, 7, 7, 0.14) 100%),
    linear-gradient(180deg, rgba(6, 7, 7, 0.12) 0%, rgba(6, 7, 7, 0.74) 100%);
  z-index: 2;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 3;
}

.hero-logo {
  display: block;
  height: auto;
  margin-bottom: 24px;
  max-width: min(380px, 72vw);
  width: 100%;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  letter-spacing: 0;
  line-height: 1.03;
  margin: 14px 0 20px;
  text-transform: uppercase;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.48;
  margin: 0;
  max-width: 620px;
}

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

.button {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

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

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-strip {
  align-items: center;
  border-top: 1px solid var(--line);
  bottom: 0;
  display: grid;
  gap: 100px;
  grid-template-columns: repeat(3, 1fr);
  left: clamp(18px, 5vw, 54px);
  padding: 20px 0;
  position: absolute;
  right: clamp(18px, 5vw, 54px);
  z-index: 3;
}

.hero-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 92px clamp(18px, 4vw, 34px);
}

.intro-grid {
  display: grid;
  gap: clamp(24px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  margin-top: 20px;
}

h2 {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.intro p,
.manifesto p,
.service-card p,
.timeline-list p,
.quote-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.intro-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.intro-visual {
  align-self: end;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  margin: auto 0 0;
  max-height: 360px;
  max-width: 480px;
  overflow: hidden;
  width: clamp(360px, 28vw, 480px);
}

.intro-visual video {
  display: block;
  height: 120%;
  max-height: 360px;
  max-width: 420px;
  object-fit: cover;
  width: 120%;
}

.showreel-band {
  max-width: none;
  padding-bottom: 116px;
  padding-top: 0;
}

.showreel-frame {
  align-items: end;
  background:
    linear-gradient(120deg, rgba(16, 13, 255, 0.18), transparent 42%),
    linear-gradient(90deg, #101414, #080909);
  border-block: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 74px minmax(0, var(--max));
  justify-content: center;
  min-height: 290px;
  overflow: hidden;
  padding: 42px clamp(18px, 5vw, 54px);
  position: relative;
}

.showreel-graphic {
  bottom: -42%;
  height: 150%;
  max-width: none;
  opacity: 0.18;
  position: absolute;
  right: -9%;
  width: auto;
}

.play-orb {
  background: conic-gradient(from 90deg, var(--blue), var(--teal), var(--blue));
  height: 74px;
  position: relative;
  width: 74px;
  z-index: 1;
}

.play-orb::after {
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--bg);
  border-top: 12px solid transparent;
  content: "";
  left: 30px;
  position: absolute;
  top: 25px;
}

.showreel-frame p {
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 18px;
  max-width: 840px;
  position: relative;
  z-index: 1;
}

.showreel-frame span {
  color: var(--muted);
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.about-founders {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
}

.founders-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  justify-self: start;
  margin: 0;
  max-width: 460px;
  min-height: 420px;
  min-width: 340px;
  overflow: hidden;
  width: 100%;
}

.founders-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.founders-copy h2 {
  margin: 18px 0 24px;
}

.founders-copy p,
.story-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

.founders-copy p + p,
.story-copy p + p {
  margin-top: 16px;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.portfolio {
  max-width: none;
  padding-left: clamp(18px, 5vw, 54px);
  padding-right: clamp(18px, 5vw, 54px);
}

.portfolio-head {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  margin: 0 auto 28px;
  max-width: var(--max);
}

.portfolio-head h2 {
  margin-top: 18px;
}

.portfolio-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 24px;
  max-width: var(--max);
}

.portfolio-filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-height: 42px;
  padding: 0 15px;
}

.portfolio-filters button:hover,
.portfolio-filters button.is-active {
  border-color: rgba(16, 13, 255, 0.82);
  color: var(--ink);
}

.portfolio-grid {
  display: grid;
  gap: 10px;
  grid-auto-flow: dense;
  grid-auto-rows: 190px;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 auto;
  max-width: 1480px;
}

.portfolio-item {
  background: #030404;
  border: 1px solid rgba(244, 240, 232, 0.08);
  display: grid;
  grid-column: span 2;
  justify-items: stretch;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.portfolio-item.wide {
  grid-column: span 3;
}

.portfolio-item.tall {
  grid-row: span 2;
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item img {
  display: block;
  filter: saturate(0.94) contrast(1.04);
  height: 100%;
  object-fit: contain;
  transition: filter 240ms ease;
  width: 100%;
}

.portfolio-item:hover img {
  filter: saturate(1.04) contrast(1.08);
}

.portfolio-item::after {
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.68) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.portfolio-item figcaption {
  bottom: 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  left: 14px;
  position: absolute;
  text-transform: uppercase;
  z-index: 1;
}

.service-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.service-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  min-height: 312px;
  padding: 24px;
}

.service-card span,
.timeline-list strong,
.quote-panel span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 24px;
  line-height: 1.1;
  margin: 68px 0 16px;
}

.story {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.story-main {
  background: var(--graphite);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 52px);
}

.story-main h2 {
  margin-top: 18px;
  max-width: 720px;
}

.story-copy {
  display: grid;
  margin-top: 34px;
  max-width: 820px;
}

.quote-panel {
  align-content: space-between;
  background: #f4f0e8;
  color: #0c0d0d;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.quote-panel img {
  height: auto;
  opacity: 0.09;
  position: absolute;
  right: -110px;
  top: -42px;
  width: 360px;
}

.quote-panel p {
  color: #0c0d0d;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.22;
  position: relative;
  z-index: 1;
}

.quote-panel span {
  color: #0c0d0d;
  position: relative;
  z-index: 1;
}

.manifesto,
.contact {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact {
  border-bottom: 1px solid var(--line);
}

.footer {
  align-items: center;
  color: var(--quiet);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 28px clamp(18px, 4vw, 34px) 40px;
}

.footer img {
  display: block;
  height: 30px;
  object-fit: contain;
  width: auto;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .nav.is-open {
    background: rgba(6, 7, 7, 0.98);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0;
    grid-column: 1 / -1;
    inset: 74px 0 auto;
    padding: 12px clamp(18px, 5vw, 54px) 24px;
    position: fixed;
  }

  .nav.is-open a {
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 18px;
    padding: 18px 0;
  }

  .intro-grid,
  .story,
  .manifesto,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-founders {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  }

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

  .portfolio-head {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-auto-rows: 230px;
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-item,
  .portfolio-item.wide {
    grid-column: span 2;
  }

  .quote-panel {
    min-height: 280px;
  }

  .founders-photo {
    max-width: 420px;
    min-height: 400px;
    min-width: 320px;
  }
}

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

  .brand img {
    height: 28px;
    max-width: 172px;
  }

  .hero {
    align-items: end;
    min-height: 100svh;
    padding: 110px 16px 132px;
  }

  .hero-media,
  .hero-fallback {
    object-position: center;
  }

  .hero-logo {
    margin-bottom: 22px;
    max-width: min(330px, 82vw);
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 24px;
  }

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

  .button {
    min-height: 46px;
  }

  .hero-strip {
    left: 16px;
    padding: 16px 0;
    right: 16px;
  }

  .hero-scrim {
    background:
      radial-gradient(circle at 72% 34%, rgba(16, 13, 255, 0.14), transparent 34%),
      linear-gradient(90deg, rgba(6, 7, 7, 0.72) 0%, rgba(6, 7, 7, 0.48) 100%),
      linear-gradient(180deg, rgba(6, 7, 7, 0.12) 0%, rgba(6, 7, 7, 0.82) 100%);
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 72px);
    line-height: 1.06;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .hero-strip span:nth-child(2),
  .hero-strip span:nth-child(3) {
    display: none;
  }

  .section {
    padding: 68px 16px;
  }

  h2 {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1.02;
  }

  .intro p,
  .manifesto p,
  .service-card p,
  .quote-panel p,
  .founders-copy p,
  .story-copy p {
    font-size: 16px;
  }

  .showreel-frame {
    align-items: start;
    grid-template-columns: 1fr;
    min-height: 310px;
  }

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

  .portfolio-grid {
    grid-auto-rows: minmax(260px, auto);
    grid-template-columns: 1fr;
  }

  .about-founders {
    grid-template-columns: 1fr;
  }

  .portfolio-item,
  .portfolio-item.wide,
  .portfolio-item.tall {
    aspect-ratio: 4 / 5;
    grid-column: span 1;
    grid-row: span 1;
  }

  .portfolio-item.wide {
    aspect-ratio: 16 / 10;
  }

  .service-card {
    min-height: 260px;
  }

  .founders-photo {
    aspect-ratio: 4 / 5;
    max-width: min(100%, 360px);
    min-height: 0;
    min-width: 0;
  }

  .contact-actions .button {
    width: 100%;
  }
}
