:root {
  --carbon: #050505;
  --charcoal: #111111;
  --charcoal-2: #181818;
  --graphite: #242424;
  --green: #00b86b;
  --green-hot: #18ff8f;
  --white: #ffffff;
  --soft: #b8b8b8;
  --muted: #777777;
  --font-display: "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --container: 1360px;
  --section: clamp(82px, 9vw, 150px);
  --radius: 8px;
  --line: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 180ms var(--ease);
  --slow: 700ms var(--ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--white);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 184, 107, 0.1), transparent 28rem),
    var(--carbon);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--green);
  color: var(--carbon);
  transition: top var(--fast);
}

.skip-link:focus {
  top: 16px;
}

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

.section-dark,
.section-panel {
  position: relative;
  padding: var(--section) 0;
}

.section-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--charcoal);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-hot);
  font: 700 0.78rem/1 var(--font-body);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.9;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 0.96;
}

p {
  color: var(--soft);
  line-height: 1.75;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background var(--fast), border-color var(--fast), backdrop-filter var(--fast);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(5, 5, 5, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(calc(100% - 32px), 1480px);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__mark {
  width: 34px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.site-logo__text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 768px) {
  .site-logo__mark {
    width: 30px;
    max-height: 36px;
  }

  .site-logo__text {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.desktop-nav a,
.site-footer nav a {
  position: relative;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--fast);
}

.desktop-nav a::after,
.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--green-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.site-footer nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(24, 255, 143, 0.35);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast), border-color var(--fast);
}

.nav-cta,
.btn-primary {
  background: var(--green);
  color: #03130c;
  box-shadow: 0 0 28px rgba(0, 184, 107, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--green-hot);
}

.nav-cta:hover,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green-hot);
  box-shadow: 0 0 34px rgba(24, 255, 143, 0.28);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform var(--fast), opacity var(--fast);
}

.site-header.menu-active .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.menu-active .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 78px 0 0;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 34px 24px 110px;
  background: rgba(5, 5, 5, 0.97);
  transform: translateX(100%);
  transition: transform var(--slow);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu nav {
  display: grid;
  gap: 8px;
}

.mobile-menu nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 14vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.mobile-menu-actions,
.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mobile-menu-actions a {
  flex: 1;
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 124px;
}

.hero-video,
.hero-media,
.hero-grid,
.contact-bg {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  background: var(--carbon);
  transform: translateY(calc(var(--parallax, 0) * 0.08px)) scale(1.02);
}

.hero-media {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 30%, rgba(0, 184, 107, 0.22), transparent 34rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.78) 38%, rgba(5, 5, 5, 0.34) 76%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.16), rgba(5, 5, 5, 0.5) 56%, var(--carbon) 98%);
  pointer-events: none;
}

.hero-grid {
  z-index: 2;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 72%, transparent);
}

.hero::after,
.contact::after {
  content: "";
  position: absolute;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  right: 4%;
  top: 14%;
  background: radial-gradient(circle, rgba(0, 184, 107, 0.18), transparent 68%);
  filter: blur(10px);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding-bottom: clamp(88px, 13vh, 160px);
}

.hero-copy {
  grid-column: span 8;
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 1180px;
  font-size: clamp(2.72rem, 6.46vw, 7.57rem);
  line-height: 0.84;
}

.hero h1 span {
  display: block;
}

.glitch {
  position: relative;
  color: var(--white);
  text-shadow: 2px 0 rgba(24, 255, 143, 0.55), -3px 0 rgba(255, 255, 255, 0.16);
}

.glitch::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--green-hot);
  clip-path: inset(8% 0 62% 0);
  transform: translateX(0.035em);
  opacity: 0.7;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 30px;
  font-size: clamp(1.04rem, 1.6vw, 1.35rem);
}

.tech-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.68);
  backdrop-filter: blur(14px);
}

.tech-strip span {
  padding: 18px clamp(16px, 4vw, 48px);
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 70px;
  z-index: 4;
  width: 30px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-hot);
  transform: translateX(-50%);
  animation: scrollDot 1.7s infinite;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: clamp(38px, 6vw, 76px);
}

.section-heading .eyebrow {
  grid-column: span 3;
}

.section-heading h2 {
  grid-column: span 9;
}

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

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  align-items: start;
}

.service-card {
  grid-column: span 4;
  min-height: 500px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal-2);
  transition: transform var(--fast), border-color var(--fast), box-shadow var(--fast);
}

.service-card-wide {
  grid-column: span 8;
}

.service-card img {
  min-height: 260px;
  object-fit: cover;
  object-position: center center;
  transition: transform var(--slow), filter var(--fast);
}

.service-card div {
  padding: 24px;
}

.service-card div > p:first-child {
  color: var(--green-hot);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card h3,
.video-card__content h3 {
  margin-bottom: 12px;
}

.service-card a {
  color: var(--green-hot);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card:hover,
.review-card:hover,
.review-card:focus-visible,
.timeline li:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 255, 143, 0.52);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.service-card:hover img,
.video-card:hover .video-card__preview {
  transform: scale(1.055);
  filter: saturate(1.12) contrast(1.08);
}

.realizations .section-heading {
  margin-bottom: clamp(48px, 6vw, 88px);
}

.video-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  grid-template-rows: repeat(3, minmax(178px, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}

.video-card {
  position: relative;
  min-height: clamp(220px, 17vw, 260px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(24, 255, 143, 0.06), transparent 38%),
    var(--charcoal);
  color: var(--white);
  cursor: pointer;
  padding: 0;
  text-align: left;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  isolation: isolate;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.video-card--featured {
  grid-row: 1 / span 3;
  min-height: clamp(540px, 54vw, 680px);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.video-card::after {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.1), transparent 34%),
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.05) 100%);
}

.video-card__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform var(--slow), filter var(--fast);
}

.video-card--featured .video-card__preview {
  object-position: center 42%;
}

.video-card--bmw7 .video-card__preview {
  object-position: center center;
}

.video-card--xc60 .video-card__preview {
  object-position: center center;
}

.video-card--focus .video-card__preview {
  object-position: center center;
}

.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 255, 143, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  color: var(--green-hot);
  font-size: 1rem;
  box-shadow: 0 0 24px rgba(24, 255, 143, 0.16);
  transform: translate(-50%, -50%);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease,
    background 300ms ease;
}

.video-card--featured .video-card__play {
  width: 72px;
  height: 72px;
  font-size: 1.14rem;
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
  border-color: var(--green-hot);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 0 30px rgba(24, 255, 143, 0.25);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card__content {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 2.4vw, 30px);
  right: clamp(20px, 2.4vw, 30px);
  bottom: clamp(20px, 2.4vw, 30px);
}

.video-card__tag {
  display: inline-flex;
  max-width: 100%;
  white-space: normal;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(24, 255, 143, 0.34);
  color: var(--green-hot);
  font-size: clamp(0.58rem, 0.72vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.video-card__content h3 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
}

.video-card--featured .video-card__content h3 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.video-card--focus .video-card__tag {
  font-size: 0.68rem;
  max-width: 90%;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 184, 107, 0.12), transparent 38%),
    rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 92vw);
  max-height: 86vh;
  padding: 22px;
  border: 1px solid rgba(24, 255, 143, 0.2);
  border-radius: 22px;
  background: linear-gradient(180deg, #111111 0%, #050505 100%);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 184, 107, 0.12);
  transform: scale(0.96) translateY(16px);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.is-open .video-modal__dialog {
  transform: scale(1) translateY(0);
}

.video-modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: border-color var(--fast), color var(--fast), background var(--fast);
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  border-color: var(--green-hot);
  color: var(--green-hot);
  background: rgba(24, 255, 143, 0.08);
}

.video-modal__eyebrow {
  margin: 0 54px 8px 0;
  color: var(--green-hot);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.video-modal__title {
  margin: 0 54px 14px 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.video-modal__player {
  width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: 16px;
  background: #000000;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 184, 107, 0.1), transparent 38%),
    rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
}

.review-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 92vw);
  max-height: 88vh;
  display: grid;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(24, 255, 143, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, #111111 0%, #050505 100%);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.72),
    0 0 56px rgba(0, 184, 107, 0.12);
  transform: scale(0.96) translateY(16px);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.review-modal.is-open .review-modal__dialog {
  transform: scale(1) translateY(0);
}

.review-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: border-color var(--fast), color var(--fast), background var(--fast);
}

.review-modal__close:hover,
.review-modal__close:focus-visible {
  border-color: var(--green-hot);
  color: var(--green-hot);
  background: rgba(24, 255, 143, 0.08);
}

.review-modal__image {
  width: auto;
  max-width: 100%;
  max-height: calc(88vh - 44px);
  height: auto;
  justify-self: center;
  object-fit: contain;
  border-radius: 16px;
  background: #202124;
}

body.modal-open {
  overflow: hidden;
}

.split-layout,
.comparison-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.studio-visual {
  position: relative;
  grid-column: span 6;
  min-height: clamp(440px, 46vw, 640px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.studio-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.04) brightness(0.9);
}

.why-copy,
.comparison-copy,
.contact-copy {
  grid-column: span 6;
}

.why-copy > p:not(.eyebrow),
.comparison-copy > p,
.contact-copy > p {
  max-width: 680px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 16px 16px 16px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  width: 10px;
  aspect-ratio: 1;
  border: 2px solid var(--green-hot);
  transform: rotate(45deg);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 42px 0 0;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.timeline li {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--fast), border-color var(--fast), box-shadow var(--fast);
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 24px;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green-hot);
  box-shadow: 0 0 22px rgba(24, 255, 143, 0.72);
}

.timeline span {
  display: block;
  margin-bottom: 40px;
  color: var(--green-hot);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

.before-after {
  position: relative;
  grid-column: span 6;
  min-height: clamp(560px, 56vw, 760px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal-2);
}

.after-layer {
  position: absolute;
  inset: 0;
  width: 56%;
  overflow: hidden;
  border-right: 2px solid var(--green-hot);
}

.before-img,
.after-layer img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.after-layer img {
  width: calc(100vw - 40px);
  max-width: calc(var(--container) / 2);
}

.before-after input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 56%;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 255, 143, 0.7);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.82);
  box-shadow: 0 0 28px rgba(24, 255, 143, 0.28);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ba-handle::before,
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--green-hot);
  border-left: 2px solid var(--green-hot);
}

.ba-handle::before {
  left: 13px;
  transform: translateY(-50%) rotate(-45deg);
}

.ba-handle::after {
  right: 13px;
  transform: translateY(-50%) rotate(135deg);
}

.ba-label {
  position: absolute;
  top: 20px;
  z-index: 2;
  padding: 8px 11px;
  background: rgba(5, 5, 5, 0.7);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ba-label.before {
  left: 20px;
}

.ba-label.after {
  right: 20px;
}

.review-card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--charcoal);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  cursor: zoom-in;
  transition: transform var(--fast), border-color var(--fast), box-shadow var(--fast);
}

.review-card img {
  width: 100%;
  height: auto;
  max-height: 620px;
  display: block;
  object-fit: contain;
  border-radius: 14px;
}

.review-card:hover,
.review-card:focus-visible {
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(24, 255, 143, 0.1);
}

@media (min-width: 981px) {
  .reviews-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .reviews-grid .review-card {
    grid-column: span 2;
  }

  .reviews-grid .review-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .reviews-grid .review-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.contact {
  overflow: hidden;
  background: var(--carbon);
}

.contact-bg {
  opacity: 0.44;
  background:
    linear-gradient(90deg, var(--carbon), rgba(5, 5, 5, 0.7)),
    url("assets/mclaren-logo-studio.jpg") center / cover;
}

.contact-layout {
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.contact .contact-copy {
  grid-column: span 5;
  align-self: center;
}

.contact-details {
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  color: var(--soft);
  font-style: normal;
}

.contact-detail {
  position: relative;
  min-height: 168px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(24, 255, 143, 0.065), transparent 42%),
    rgba(17, 17, 17, 0.84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    text-shadow 220ms ease;
}

.contact-detail::after {
  content: "\2197";
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(24, 255, 143, 0.52);
  font-size: 1.05rem;
  transition: transform var(--fast), color var(--fast);
}

.contact-detail--phone {
  grid-column: 1 / -1;
  min-height: 220px;
}

.contact-detail span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-detail strong {
  color: #d7d7d7;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-transform: none;
}

.contact-link {
  color: #d7d7d7;
  text-decoration: none;
}

.contact-link--phone strong {
  color: var(--green);
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
  letter-spacing: 0.04em;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--green-hot);
  border-color: rgba(24, 255, 143, 0.5);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(24, 255, 143, 0.12);
  text-shadow: 0 0 18px rgba(24, 255, 143, 0.18);
  transform: translateY(-5px);
}

.contact-link:hover strong,
.contact-link:focus-visible strong,
.contact-link--address:hover strong,
.contact-link--address:focus-visible strong {
  color: var(--green-hot);
}

.contact-link--phone:hover strong,
.contact-link--phone:focus-visible strong {
  color: var(--green-hot);
  text-shadow: 0 0 24px rgba(24, 255, 143, 0.25);
}

.contact-link:hover::after,
.contact-link:focus-visible::after {
  color: var(--green-hot);
  transform: translate(3px, -3px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 70px 0 92px;
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-bg-text {
  position: absolute;
  left: 50%;
  bottom: -0.26em;
  color: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: clamp(7rem, 25vw, 24rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.footer-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.85;
}

.site-footer nav,
.social-links {
  display: grid;
  align-content: start;
  gap: 14px;
}

.social-links a {
  color: var(--soft);
  font-weight: 700;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.social-links a:hover {
  color: var(--green-hot);
  text-shadow: 0 0 18px rgba(24, 255, 143, 0.18);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.mobile-bottom-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(24, 255, 143, 0.35);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(16px);
}

.mobile-bottom-bar a {
  flex: 1;
  min-height: 54px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-bottom-bar a:first-child {
  background: var(--green);
  color: var(--carbon);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

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

.video-card.reveal {
  --video-reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--video-reveal-delay),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--video-reveal-delay),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.video-card.reveal:nth-child(2) {
  --video-reveal-delay: 120ms;
}

.video-card.reveal:nth-child(3) {
  --video-reveal-delay: 220ms;
}

.video-card.reveal:nth-child(4) {
  --video-reveal-delay: 320ms;
}

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

.video-card.reveal.is-visible:hover,
.video-card.reveal.is-visible:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(0, 184, 107, 0.55);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(0, 184, 107, 0.12);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content,
  .section-heading,
  .services-grid,
  .split-layout,
  .comparison-layout,
  .contact-layout {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-copy,
  .section-heading .eyebrow,
  .section-heading h2,
  .studio-visual,
  .why-copy,
  .comparison-copy,
  .before-after,
  .contact-copy,
  .contact-details {
    grid-column: 1 / -1;
  }

  .service-card {
    grid-column: span 3;
  }

  .service-card-wide {
    grid-column: span 6;
  }

  .video-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .video-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: clamp(460px, 58vw, 620px);
  }

  .video-card {
    min-height: clamp(300px, 34vw, 380px);
  }

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--green), transparent);
  }

  .timeline li {
    min-height: auto;
    margin-left: 42px;
  }

  .timeline li::before {
    top: 30px;
    left: -27px;
  }

  .timeline span {
    margin-bottom: 18px;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-shell {
    min-height: 70px;
    width: min(calc(100% - 24px), 1480px);
  }

  .mobile-menu {
    inset-block-start: 70px;
  }

  .hero {
    min-height: 85vh;
    padding-top: 96px;
  }

  .hero-media {
    background:
      radial-gradient(circle at 50% 24%, rgba(0, 184, 107, 0.18), transparent 22rem),
      linear-gradient(180deg, rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.92) 78%, var(--carbon));
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: clamp(2.21rem, 11.73vw, 3.91rem);
    line-height: 0.9;
  }

  .scroll-indicator {
    display: none;
  }

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

  .feature-list {
    grid-template-columns: 1fr;
  }

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

  .contact-detail,
  .contact-detail--phone {
    grid-column: 1 / -1;
    min-height: 150px;
  }

  .contact-detail--phone strong {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .tech-strip {
    grid-template-columns: 1fr;
  }

  .tech-strip span:nth-child(n + 2) {
    display: none;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .service-card,
  .service-card-wide {
    grid-column: 1 / -1;
  }

  .service-card {
    min-height: auto;
  }

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

  .review-card {
    padding: 12px;
    border-radius: 16px;
  }

  .review-card img {
    border-radius: 12px;
  }

  .review-modal {
    padding: 14px;
  }

  .review-modal__dialog {
    width: min(100%, 94vw);
    max-height: 86vh;
    border-radius: 18px;
  }

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

  .video-card {
    min-height: 390px;
    border-radius: 14px;
  }

  .video-card--featured {
    min-height: 480px;
  }

  .video-card__content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .video-card__play,
  .video-card--featured .video-card__play {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }

  .video-card__content h3,
  .video-card--featured .video-card__content h3 {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .video-card__tag,
  .video-card--focus .video-card__tag {
    font-size: 0.6rem;
  }

  .studio-visual,
  .before-after {
    min-height: 420px;
  }

  .before-after {
    min-height: min(680px, 118vw);
  }

  .after-layer img {
    width: calc(100vw - 28px);
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 112px;
  }

  .mobile-bottom-bar {
    display: flex;
  }
}

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

  .video-card,
  .video-card__preview,
  .video-card__play,
  .video-modal,
  .video-modal__dialog,
  .review-modal,
  .review-modal__dialog {
    animation: none !important;
    transition: none !important;
  }

  .video-card.reveal {
    opacity: 1;
    transform: none;
  }

  .video-card.reveal.is-visible:hover,
  .video-card.reveal.is-visible:focus-visible {
    transform: none;
  }

  .video-card:hover .video-card__preview,
  .video-card:focus-visible .video-card__preview {
    transform: none;
  }

  .video-card:hover .video-card__play,
  .video-card:focus-visible .video-card__play {
    transform: translate(-50%, -50%);
  }
}
