:root {
  color-scheme: dark;
  --ink: #080807;
  --ink-2: #11110f;
  --paper: #f5efe3;
  --muted: #b6ad9d;
  --line: rgba(245, 239, 227, 0.18);
  --line-bright: rgba(245, 239, 227, 0.3);
  --glass: rgba(20, 18, 15, 0.46);
  --glass-strong: rgba(12, 12, 10, 0.7);
  --red: #ff4f1f;
  --lime: #ff7a1a;
  --cyan: #ffb15a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --display: "Bebas Neue", "Barlow Condensed ExtraBold", "Akkordeon Ten", "Bahnschrift Condensed", sans-serif;
  --body: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  --mono: "B612 Mono", "Cascadia Code", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    linear-gradient(110deg, rgba(255, 122, 26, 0.13), transparent 34rem),
    linear-gradient(160deg, #070706 0%, #14120f 45%, #070706 100%);
  background-attachment: fixed;
  font-family: var(--body);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 239, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 227, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), transparent 78%);
}

@keyframes textRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softSweep {
  0% {
    transform: translateX(-140%);
  }

  100% {
    transform: translateX(140%);
  }
}

@keyframes accentBreath {
  from {
    text-shadow: 0 0 16px rgba(255, 122, 26, 0.22);
  }

  to {
    text-shadow: 0 0 34px rgba(255, 122, 26, 0.42);
  }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

section[id] {
  scroll-margin-top: 96px;
}

a,
button {
  color: inherit;
}

button {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 46px;
  background: linear-gradient(to bottom, rgba(8, 8, 7, 0.78), rgba(8, 8, 7, 0));
}

.brand {
  width: 96px;
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--glass);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--mono);
  line-height: 1.05;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(245, 239, 227, 0.08);
}

.brand span:first-child {
  color: var(--lime);
  font-size: 1.05rem;
  font-weight: 800;
}

.brand span:last-child {
  color: rgba(245, 239, 227, 0.76);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(245, 239, 227, 0.08);
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(245, 239, 227, 0.78);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.72rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 122, 26, 0.14);
  color: var(--paper);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.9) 0%, rgba(8, 8, 7, 0.5) 42%, rgba(8, 8, 7, 0.2) 100%),
    linear-gradient(to top, rgba(8, 8, 7, 0.9), rgba(8, 8, 7, 0.08) 58%, rgba(8, 8, 7, 0.42));
}

.hero-content {
  width: min(1130px, calc(100% - 48px));
  margin: 0 auto 142px;
  padding-top: 120px;
}

.eyebrow,
.section-kicker,
.project-type {
  margin: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.accent-text {
  display: inline;
  color: var(--lime);
  text-shadow: 0 0 24px rgba(255, 122, 26, 0.28);
}

.hero h1 .accent-text,
.reviews-heading h2 .accent-text {
  animation: accentBreath 3.8s ease-in-out infinite alternate;
}

.hero h1,
.section-heading h2,
.services-layout h2,
.contact-section h2,
.dialog-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  margin-top: 16px;
  overflow-wrap: break-word;
  font-size: 6.4rem;
  text-wrap: balance;
}

.hero h1 > span {
  display: block;
  animation: textRise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 > span:nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy {
  max-width: min(610px, 100%);
  margin: 26px 0 0;
  color: rgba(245, 239, 227, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
  animation: textRise 700ms 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  animation: textRise 700ms 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.button-primary,
.button-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.76rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), #ff9b45);
  box-shadow: 0 0 26px rgba(255, 122, 26, 0.16);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.45);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.button-secondary:hover {
  border-color: var(--paper);
  background: rgba(245, 239, 227, 0.1);
}

.hero-facts {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.18);
  box-shadow: inset 0 1px 0 rgba(245, 239, 227, 0.08);
  animation: textRise 700ms 500ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-facts span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 0 14px;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(245, 239, 227, 0.78);
}

.hero-facts span:last-child {
  border-right: 0;
}

.ticker {
  display: flex;
  overflow: auto;
  border-block: 1px solid rgba(8, 8, 7, 0.24);
  background: var(--paper);
  color: var(--ink);
  scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker span {
  flex: 0 0 auto;
  min-height: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(8, 8, 7, 0.22);
  padding: 0 44px;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.74rem;
}

.work-section,
.services-section,
.contact-section,
.showreel-section,
.reviews-section {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 239, 227, 0.08), rgba(245, 239, 227, 0.015)),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(245, 239, 227, 0.1);
  backdrop-filter: blur(18px) saturate(1.18);
}

.showreel-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 86px;
  padding: 20px;
  overflow: hidden;
}

.showreel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(255, 122, 26, 0.14), transparent 28rem);
}

.showreel-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.showreel-copy h2,
.reviews-heading h2 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.showreel-copy p:not(.section-kicker),
.reviews-heading p {
  max-width: 560px;
  margin: 18px 0 28px;
  color: rgba(245, 239, 227, 0.72);
  line-height: 1.65;
}

.showreel-poster {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #050505;
  text-decoration: none;
}

.showreel-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.showreel-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 8, 7, 0.82), transparent 54%),
    linear-gradient(135deg, rgba(227, 58, 34, 0.16), transparent 45%);
}

.showreel-poster span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 239, 227, 0.42);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(8, 8, 7, 0.54);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.showreel-poster:hover img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.04);
}

.work-section {
  padding: 96px 0 116px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 32px;
  align-items: end;
  margin-top: 18px;
}

.section-heading h2,
.services-layout h2,
.contact-section h2 {
  max-width: 860px;
  font-size: 4.9rem;
  text-wrap: balance;
}

.section-heading h2 > span {
  display: block;
}

.section-heading p {
  margin: 0;
  color: rgba(245, 239, 227, 0.68);
  line-height: 1.72;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 36px 0 18px;
}

.filter-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(245, 239, 227, 0.74);
  background: rgba(245, 239, 227, 0.04);
  cursor: pointer;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  grid-column: span 4;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 239, 227, 0.055), rgba(245, 239, 227, 0.01)),
    var(--ink-2);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  isolation: isolate;
  animation: cardIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.project-card.is-featured,
.project-card.is-hero {
  grid-column: span 12;
  aspect-ratio: 16 / 6.8;
}

.project-card.is-wide {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}

.project-card.is-large {
  grid-column: span 8;
  aspect-ratio: 16 / 8;
}

.project-card[hidden] {
  display: none;
}

.project-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms ease, filter 520ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.42) 46%, rgba(8, 8, 7, 0.08) 100%),
    linear-gradient(135deg, rgba(255, 122, 26, 0.3), transparent 38%);
}

.project-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.03);
}

.project-card:hover {
  border-color: rgba(255, 122, 26, 0.56);
  transform: translateY(-3px);
  box-shadow:
    0 30px 82px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(255, 122, 26, 0.12);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.reveal-ready.is-visible:hover {
  transform: translateY(-3px);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(245, 239, 227, 0.08) 44%, transparent 60%);
  opacity: 0;
  transform: translateX(-140%);
}

.project-card:hover::after {
  opacity: 1;
  animation: softSweep 900ms ease;
}

.project-copy {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.project-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(245, 239, 227, 0.34);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.project-type {
  margin-bottom: 8px;
  color: rgba(255, 122, 26, 0.95);
}

.project-card h3 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-card.is-featured h3,
.project-card.is-hero h3 {
  max-width: 12ch;
  font-size: 6.7rem;
}

.project-subtitle {
  margin: 10px 0 0;
  color: rgba(245, 239, 227, 0.86);
  font-weight: 700;
}

.project-description {
  max-width: 610px;
  margin: 10px 0 0;
  color: rgba(245, 239, 227, 0.75);
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 239, 227, 0.24);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(8, 8, 7, 0.22);
  color: rgba(245, 239, 227, 0.8);
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.66rem;
}

.services-section {
  padding: 0 0 110px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(340px, 0.38fr);
  gap: 42px;
  margin-top: 18px;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article {
  border: 1px solid rgba(245, 239, 227, 0.12);
  border-left-color: rgba(255, 122, 26, 0.34);
  border-radius: 8px;
  padding: 18px;
  background: rgba(245, 239, 227, 0.035);
  backdrop-filter: blur(12px);
}

.service-list span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.service-list h3 {
  margin: 8px 0;
  font-size: 1.2rem;
}

.service-list p {
  margin: 0;
  color: rgba(245, 239, 227, 0.68);
  line-height: 1.62;
}

.reviews-section {
  padding: 0 0 106px;
}

.reviews-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(280px, 0.5fr);
  gap: 32px;
  align-items: end;
  margin-top: 14px;
}

.reviews-heading h2 {
  max-width: 620px;
}

.reviews-heading p {
  margin-bottom: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.review-card {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 227, 0.14);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(245, 239, 227, 0.07), rgba(245, 239, 227, 0.018)),
    rgba(8, 8, 7, 0.48);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--lime), rgba(255, 122, 26, 0));
  opacity: 0.58;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 26, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 122, 26, 0.1), rgba(245, 239, 227, 0.018)),
    rgba(8, 8, 7, 0.52);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(255, 122, 26, 0.08);
}

.review-card span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.review-card p {
  margin: 24px 0 0;
  color: rgba(245, 239, 227, 0.76);
  line-height: 1.62;
}

.contact-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 108px max(24px, calc((100vw - 1480px) / 2)) 118px;
  border-block: 1px solid rgba(245, 239, 227, 0.12);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 122, 26, 0.14), transparent 34rem),
    linear-gradient(120deg, rgba(245, 239, 227, 0.03), transparent 58%),
    rgba(8, 8, 7, 0.38);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 239, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 227, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.76), transparent 82%);
  opacity: 0.42;
}

.contact-intro {
  display: grid;
  gap: 30px;
  align-items: start;
}

.contact-section h2 {
  max-width: 1080px;
  margin-top: 14px;
  font-size: clamp(4.1rem, 4.8vw, 6.15rem);
}

.contact-section h2 > span {
  display: block;
  white-space: nowrap;
}

.contact-cta {
  width: min(100%, 430px);
  min-height: 54px;
  justify-self: start;
  border: 1px solid rgba(255, 122, 26, 0.48);
  border-radius: 999px;
  padding: 0 22px;
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.22), rgba(245, 239, 227, 0.06)),
    rgba(8, 8, 7, 0.5);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.contact-cta:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.contact-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(245, 239, 227, 0.04);
  color: var(--paper);
  text-align: center;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.contact-grid a:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.project-dialog {
  width: min(1180px, calc(100% - 28px));
  max-height: min(760px, calc(100svh - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(245, 239, 227, 0.06), rgba(245, 239, 227, 0.012)),
    rgba(10, 10, 9, 0.94);
  color: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.project-dialog[open],
.contact-dialog[open] {
  animation: dialogIn 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(9px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 239, 227, 0.34);
  border-radius: 50%;
  background: rgba(8, 8, 7, 0.58);
  cursor: pointer;
}

.dialog-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--paper);
}

.dialog-close span:first-child {
  transform: rotate(45deg);
}

.dialog-close span:last-child {
  transform: rotate(-45deg);
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(300px, 0.34fr);
  min-height: 560px;
}

.dialog-media {
  min-height: 560px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #050505;
  overflow: hidden;
}

.dialog-image-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.dialog-image-stage > img,
.dialog-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}

.gallery-arrow {
  width: 48px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 239, 227, 0.38);
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.6);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 1.1rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.gallery-arrow:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-1px);
}

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.gallery-arrow[hidden] {
  display: none;
}

.dialog-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border-top: 1px solid rgba(245, 239, 227, 0.14);
  scrollbar-width: thin;
}

.dialog-thumbs button {
  position: relative;
  flex: 0 0 86px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 227, 0.22);
  border-radius: 5px;
  padding: 0;
  background: #0b0b0a;
  cursor: pointer;
}

.dialog-thumbs button::after {
  content: attr(data-label);
  position: absolute;
  left: 6px;
  bottom: 5px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

.dialog-thumbs button.is-active {
  border-color: var(--lime);
}

.dialog-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.dialog-thumbs button.is-active img,
.dialog-thumbs button:hover img {
  opacity: 1;
}

.dialog-copy {
  align-self: end;
  padding: 42px;
}

.dialog-copy h2 {
  font-size: 4.6rem;
}

.dialog-copy p:not(.eyebrow) {
  color: rgba(245, 239, 227, 0.74);
  line-height: 1.64;
}

.dialog-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 1px solid rgba(255, 122, 26, 0.48);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 122, 26, 0.1);
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.dialog-link:hover {
  border-color: var(--lime);
  background: rgba(255, 122, 26, 0.18);
}

.dialog-link[hidden] {
  display: none;
}

.contact-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 0;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(245, 239, 227, 0.08), rgba(245, 239, 227, 0.018)),
    rgba(10, 10, 9, 0.96);
  color: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(9px);
}

.contact-dialog-inner {
  padding: 44px;
}

.contact-dialog-inner h2 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 3.8rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-dialog-inner p:not(.eyebrow) {
  color: rgba(245, 239, 227, 0.74);
  line-height: 1.65;
}

.contact-methods {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.contact-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.contact-method a,
.contact-method span {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(245, 239, 227, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(245, 239, 227, 0.035);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.contact-method a:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.copy-contact {
  min-width: 76px;
  min-height: 48px;
  border: 1px solid rgba(255, 122, 26, 0.44);
  border-radius: 8px;
  background: rgba(255, 122, 26, 0.08);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.copy-contact:hover,
.copy-contact.is-copied {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-1px);
}

@media (max-width: 1400px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 5.3rem;
  }

  .section-heading,
  .services-layout,
  .reviews-heading {
    grid-template-columns: 1fr;
  }

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

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

  .filter-bar {
    justify-content: flex-start;
  }

  .project-card,
  .project-card.is-wide,
  .project-card.is-large {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
  }

  .project-card.is-featured,
  .project-card.is-hero {
    grid-column: span 12;
    aspect-ratio: 16 / 9;
  }

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

  .contact-intro {
    gap: 30px;
  }

  .contact-section h2 {
    font-size: 4.35rem;
  }

  .contact-cta {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 82px;
  }

  .site-header {
    padding: 12px 14px;
    gap: 8px;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand {
    width: 82px;
    flex: 0 0 82px;
    min-height: 48px;
  }

  .nav-links {
    gap: 3px;
    padding: 6px;
    max-width: calc(100vw - 118px);
    margin-left: auto;
    overflow: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.56rem;
  }

  .hero-bg {
    object-position: 58% 42%;
  }

  .hero-content {
    width: calc(100vw - 28px);
    margin-bottom: 172px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.15rem, 16vw, 3.65rem);
  }

  .hero-copy {
    max-width: min(100%, 350px);
    font-size: 0.98rem;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .hero-facts {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
  }

  .hero-facts span {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 10px;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .hero-facts span:last-child {
    border-bottom: 0;
  }

  .ticker span {
    padding: 0 28px;
  }

  .work-section,
  .services-section,
  .contact-section,
  .showreel-section,
  .reviews-section {
    width: calc(100% - 28px);
  }

  .showreel-section {
    margin-top: 64px;
    padding: 12px;
  }

  .showreel-copy {
    padding: 20px;
  }

  .showreel-copy h2,
  .reviews-heading h2 {
    font-size: 3.2rem;
  }

  .showreel-poster {
    min-height: 220px;
  }

  .work-section {
    padding: 70px 0 84px;
  }

  .section-heading h2,
  .services-layout h2,
  .contact-section h2 {
    max-width: 100%;
    font-size: 3.35rem;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: wrap;
  }

  .section-heading h2 {
    font-size: clamp(2.85rem, 13vw, 3.35rem);
  }

  .section-heading h2 > span {
    display: inline;
  }

  .section-heading p {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .filter-bar {
    gap: 7px;
    margin-top: 28px;
  }

  .contact-section {
    width: 100%;
    padding: 76px 14px 88px;
  }

  .contact-intro {
    gap: 24px;
  }

  .contact-section h2 {
    font-size: clamp(2.75rem, 12.6vw, 3.2rem);
  }

  .contact-section h2 > span {
    white-space: normal;
  }

  .contact-cta {
    width: 100%;
  }

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

  .review-card {
    min-height: 0;
  }

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

  .project-card,
  .project-card.is-featured,
  .project-card.is-hero,
  .project-card.is-wide,
  .project-card.is-large {
    grid-column: 1;
    min-height: 430px;
    aspect-ratio: 4 / 5.25;
  }

  .project-card h3,
  .project-card.is-featured h3,
  .project-card.is-hero h3 {
    max-width: 10.5ch;
    font-size: clamp(2.95rem, 14vw, 3.35rem);
  }

  .project-copy {
    left: 20px;
    right: 18px;
    bottom: 20px;
  }

  .project-description {
    display: none;
  }

  .contact-grid,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    min-height: 0;
  }

  .dialog-image-stage > img {
    height: min(56svh, 360px);
  }

  .gallery-arrows {
    padding: 0 10px;
  }

  .gallery-arrow {
    width: 42px;
    height: 50px;
  }

  .contact-method {
    grid-template-columns: 1fr;
  }

  .dialog-copy {
    padding: 24px;
  }

  .dialog-copy h2 {
    font-size: clamp(2.75rem, 13vw, 3.1rem);
  }

  .contact-dialog-inner {
    padding: 32px 24px;
  }

  .contact-dialog-inner h2 {
    font-size: 3rem;
  }
}

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

  .brand {
    width: 80px;
    flex-basis: 80px;
  }

  .nav-links {
    max-width: calc(100vw - 112px);
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 0 7px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    margin-bottom: 178px;
  }

  .hero h1 {
    font-size: clamp(2.95rem, 15.3vw, 3.45rem);
  }

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

  .section-heading h2 {
    font-size: clamp(2.45rem, 12.2vw, 2.9rem);
    line-height: 0.94;
  }

  .section-heading p {
    font-size: 0.92rem;
  }

  .project-card,
  .project-card.is-featured,
  .project-card.is-hero,
  .project-card.is-wide,
  .project-card.is-large {
    min-height: 410px;
  }

  .project-card h3,
  .project-card.is-featured h3,
  .project-card.is-hero h3 {
    font-size: clamp(2.55rem, 12.8vw, 3rem);
  }

  .tag-row {
    gap: 6px;
  }

  .tag-row span {
    min-height: 26px;
    font-size: 0.58rem;
  }

  .contact-section h2 {
    font-size: clamp(2.35rem, 11.6vw, 2.75rem);
  }

  .contact-grid a {
    min-height: 52px;
    font-size: 0.72rem;
  }
}
