:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111111;
  --panel-2: #1a1a1a;
  --ink: #f5f5f0;
  --muted: #a6a6a6;
  --line: rgba(245, 245, 240, 0.13);
  --cyan: #069494;
  --cyan-deep: #069494;
  --orange: #ff6a1a;
  --orange-soft: #ff8a3d;
  --radius: 8px;
  --max: 1180px;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-stats: "Anton", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(6, 148, 148, 0.08), transparent 28rem),
    radial-gradient(circle at 86% 22%, rgba(255, 106, 26, 0.05), transparent 22rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  opacity: 0.42;
}

body::selection {
  background: var(--cyan);
  color: var(--bg);
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 48px);
  background: linear-gradient(rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0));
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-solid {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
  padding-block: 14px;
}

.brand,
.header-cta {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.9rem;
}

.main-nav a,
.header-cta {
  transition: color 160ms ease;
}

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

.header-cta {
  justify-self: end;
  color: var(--cyan);
}

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

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

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: none;
  transform: scale(1.04);
  transition: transform 900ms ease-out;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.18) 62%, rgba(5, 5, 5, 0.48)),
    linear-gradient(0deg, var(--bg), rgba(5, 5, 5, 0.04) 40%, rgba(5, 5, 5, 0.24));
}

.motion-grid,
.light-sweep {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.motion-grid {
  background:
    linear-gradient(90deg, transparent, rgba(6, 148, 148, 0.16), transparent),
    linear-gradient(rgba(6, 148, 148, 0.08) 1px, transparent 1px);
  background-size: 42% 100%, 100% 108px;
  mix-blend-mode: screen;
  opacity: 0.18;
  transform: translateX(-22%);
  animation: grid-drift 9s ease-in-out infinite alternate;
}

.light-sweep {
  background:
    linear-gradient(104deg, transparent 0 38%, rgba(6, 148, 148, 0.18), transparent 54%),
    radial-gradient(circle at 78% 72%, rgba(255, 106, 26, 0.1), transparent 22rem);
  opacity: 0.7;
  animation: light-sweep 7s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  padding: 150px 0 12svh;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content > .eyebrow {
  margin-bottom: 18px;
  font-family: var(--font-stats);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.eyebrow.section-eyebrow {
  font-family: var(--font-stats);
  font-weight: 400;
}

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

h1 {
  max-width: 1040px;
  margin-bottom: 26px;
  font-family: var(--font-heading);
  font-size: clamp(4.4rem, 8vw, 7.25rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 5.8vw, 5.6rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  font-weight: 600;
  line-height: 0.96;
}

h1 span,
h2 span,
.intro span {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(6, 148, 148, 0.22);
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 28px rgba(6, 148, 148, 0.16);
}

.button.primary:hover {
  box-shadow: 0 0 36px rgba(6, 148, 148, 0.32);
}

.button.secondary,
.button.ghost {
  border-color: rgba(255, 106, 26, 0.62);
  background: rgba(255, 106, 26, 0.05);
  color: var(--ink);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: var(--orange);
  background: rgba(255, 106, 26, 0.12);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 11vw, 140px) 0;
}

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

.intro p {
  max-width: 1060px;
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 5.25rem);
  font-weight: 500;
  line-height: 0.92;
}

.career-stats {
  border-bottom: 1px solid var(--line);
  background: #0a0a0a;
}

.career-stats-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 6vw, 78px) 0;
}

.career-stats-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.career-stats-heading .eyebrow,
.career-stats-heading h2 {
  margin-bottom: 0;
}

.career-stats-heading h2 {
  max-width: 690px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  text-align: right;
}

.career-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
}

.career-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
}

.career-stat-value {
  display: block;
  color: var(--ink);
  font-family: var(--font-stats);
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.career-stat.is-featured .career-stat-value {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(6, 148, 148, 0.14);
}

.career-stat span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.clients-section {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(72px, 9vw, 118px) 0 clamp(78px, 10vw, 132px);
  background: var(--bg);
}

.clients-heading {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}

.clients-title {
  margin: 0;
  color: #767676;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.client-marquee {
  overflow: hidden;
  padding: 18px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.client-track.is-ready {
  animation: client-scroll 58s linear infinite;
}

.client-logo-group {
  display: flex;
  flex-shrink: 0;
  gap: 22px;
  padding-right: 22px;
}

.client-logo-tile {
  --tile-rotation: -0.65deg;
  width: clamp(230px, 21vw, 310px);
  height: clamp(172px, 17vw, 228px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 8px;
  padding: clamp(28px, 3vw, 42px);
  background: #1a1a1a;
  transform: rotate(var(--tile-rotation));
}

.client-logo-tile:nth-child(even) {
  --tile-rotation: 0.65deg;
}

.client-logo-tile:nth-child(3n) {
  --tile-rotation: -0.25deg;
}

.client-logo-tile img {
  display: block;
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 68%;
  object-fit: contain;
  opacity: 0.92;
  filter: grayscale(1) brightness(0) invert(1);
}

.client-logo-tile.is-wide img {
  max-width: 84%;
  max-height: 56%;
}

.client-logo-tile.is-ultrawide img {
  max-width: 90%;
  max-height: 42%;
}

.client-logo-tile.is-padded img {
  transform: scale(1.45);
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter:hover,
.filter.is-active {
  border-color: rgba(6, 148, 148, 0.72);
  background: rgba(6, 148, 148, 0.1);
  color: var(--cyan);
}

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

.project-card {
  grid-column: span 3;
  transition: opacity 220ms ease, transform 220ms ease;
}

.project-card.is-hidden {
  display: none;
}

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

.project-card a,
.project-trigger {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.project-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(6, 148, 148, 0.16), rgba(255, 106, 26, 0.1)),
    var(--project-cover, url("assets/project/hero-filmmaker.png")) center / cover;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover .project-frame {
  border-color: rgba(6, 148, 148, 0.76);
  box-shadow: 0 0 34px rgba(6, 148, 148, 0.12);
  transform: translateY(-6px);
}

.project-card.portrait .project-frame {
  aspect-ratio: 9 / 16;
}

.project-card.landscape .project-frame {
  aspect-ratio: 16 / 9;
}

.project-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(6, 148, 148, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.74));
  transition: opacity 180ms ease;
}

.project-frame::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: linear-gradient(120deg, transparent 35%, rgba(6, 148, 148, 0.24), transparent 58%);
  opacity: 0;
  transform: translateX(-32%) rotate(8deg);
  transition: opacity 220ms ease, transform 600ms ease;
}

.project-card:hover .project-frame::after {
  opacity: 0.55;
}

.project-card:hover .project-frame::before {
  opacity: 1;
  transform: translateX(24%) rotate(8deg);
}

.play-mark {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(6, 148, 148, 0.74);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.48);
  box-shadow: 0 0 20px rgba(6, 148, 148, 0.16);
}

.play-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--cyan);
  transform: translate(-35%, -50%);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 2px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-meta .tag {
  color: var(--orange-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-meta strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1;
  text-align: right;
}

.testimonials-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090909;
}

.testimonials-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.testimonials-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1.5fr);
  align-items: end;
  gap: clamp(28px, 7vw, 100px);
  margin-bottom: clamp(42px, 7vw, 78px);
}

.testimonials-heading .eyebrow,
.testimonials-heading h2 {
  margin-bottom: 0;
}

.testimonials-heading h2 {
  max-width: 820px;
}

.testimonials-heading h2 span {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(6, 148, 148, 0.18);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: repeat(3, minmax(96px, auto));
  column-gap: clamp(54px, 9vw, 130px);
  align-items: stretch;
}

.testimonial-selector {
  display: grid;
  grid-column: 1;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 96px;
  border: 0;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line);
  padding: 20px 0 20px 16px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.testimonial-selector:first-of-type {
  border-top: 1px solid var(--line);
}

.testimonial-selector[data-testimonial-target="lascar"] {
  grid-row: 1;
}

.testimonial-selector[data-testimonial-target="meufs-mortelles"] {
  grid-row: 2;
}

.testimonial-selector[data-testimonial-target="wanderlust"] {
  grid-row: 3;
}

.testimonial-selector:hover,
.testimonial-selector.is-active {
  border-left-color: var(--cyan);
  background: rgba(6, 148, 148, 0.045);
  color: var(--ink);
}

.testimonial-index {
  color: var(--cyan);
  font-family: var(--font-stats);
  font-size: 1rem;
}

.testimonial-client {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonial-person {
  color: var(--muted);
  font-size: 0.78rem;
}

.testimonial-panel {
  position: relative;
  display: none;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: start;
  min-width: 0;
  padding: 8px 0 0 clamp(34px, 5vw, 72px);
}

.testimonial-panel::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-heading);
  font-size: clamp(4.8rem, 8vw, 7rem);
  line-height: 1;
  opacity: 0.7;
}

.testimonial-panel.is-active {
  display: block;
  animation: testimonial-enter 360ms ease both;
}

.testimonial-logo {
  display: block;
  width: auto;
  max-width: 150px;
  height: 42px;
  margin: 0 0 28px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.84;
}

.testimonial-logo.is-detailed {
  height: 56px;
}

.testimonial-panel blockquote {
  margin: 0;
}

.testimonial-panel blockquote p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.75;
}

.testimonial-panel blockquote p:first-child {
  color: var(--ink);
}

.testimonial-panel blockquote strong {
  color: var(--cyan);
  font-weight: 700;
}

.testimonial-attribution {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-attribution strong {
  color: var(--ink);
}

.testimonial-attribution span {
  color: var(--orange-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
}

@keyframes testimonial-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: linear-gradient(90deg, rgba(6, 148, 148, 0.42), var(--line), rgba(255, 106, 26, 0.35));
  border: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "number title"
    "number copy";
  column-gap: 14px;
  min-height: 0;
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--panel);
  transition: background 180ms ease, transform 180ms ease;
}

.service-list article:hover {
  background:
    linear-gradient(145deg, rgba(6, 148, 148, 0.08), transparent 42%),
    var(--panel);
  transform: translateY(-3px);
}

.service-list span {
  grid-area: number;
  margin: 3px 0 0;
  color: var(--orange);
  font-weight: 700;
}

.service-list h3 {
  grid-area: title;
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 2.25vw, 2.2rem);
}

.service-list p {
  grid-area: copy;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.about {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
  align-items: end;
  gap: clamp(28px, 7vw, 100px);
  margin-bottom: clamp(30px, 5vw, 60px);
}

.about-heading .eyebrow,
.about-heading h2 {
  margin-bottom: 0;
}

.about-heading h2 {
  max-width: 820px;
}

.about-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(6, 148, 148, 0.08);
  background: linear-gradient(90deg, rgba(6, 148, 148, 0.04), transparent 30%, transparent 76%, rgba(255, 106, 26, 0.04));
  pointer-events: none;
}

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

.about-details {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(44px, 9vw, 130px);
  margin-top: clamp(34px, 5vw, 64px);
}

.about-description {
  max-width: 650px;
}

.about-description p {
  margin-top: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.7;
}

.about-description p:first-child {
  color: var(--ink);
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-skills .eyebrow {
  margin-bottom: 20px;
  color: var(--orange-soft);
}

.about-skills ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-skills li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.about-skills li:last-child {
  border-bottom: 1px solid var(--line);
}

.about-skills li span {
  color: var(--cyan);
  font-family: var(--font-stats);
  font-size: 0.92rem;
}

.about-skills li strong {
  color: var(--ink);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 600;
}

.about h2 span,
.contact h2 span {
  color: var(--orange);
  text-shadow: 0 0 22px rgba(255, 106, 26, 0.18);
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.legal-link,
.legal-back {
  color: var(--muted);
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.legal-link:hover,
.legal-link:focus-visible,
.legal-back:hover,
.legal-back:focus-visible {
  color: var(--cyan);
}

.legal-body {
  min-height: 100vh;
  background: var(--bg);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 10vw, 112px);
}

.legal-page h1 {
  max-width: 760px;
  margin: 12px 0 28px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 500;
  line-height: 0.9;
}

.legal-status {
  max-width: 720px;
  margin: 0 0 56px;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--orange);
  color: var(--muted);
  line-height: 1.65;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-section a {
  color: var(--cyan);
}

.legal-missing {
  color: var(--orange-soft);
}

.legal-update {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.legal-footer {
  justify-content: space-between;
}

.error-page {
  min-height: calc(100vh - 92px);
}

.error-page h1 {
  max-width: 690px;
}

.error-page .button {
  display: inline-flex;
  margin-top: 4px;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(6, 148, 148, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 82%, rgba(255, 106, 26, 0.1), transparent 24rem),
    rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(88svh, 820px);
  overflow: auto;
  border: 1px solid rgba(6, 148, 148, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(6, 148, 148, 0.1), transparent 32%),
    linear-gradient(28deg, rgba(255, 106, 26, 0.08), transparent 28%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58), 0 0 38px rgba(6, 148, 148, 0.08);
  padding: clamp(18px, 3vw, 30px);
  transform: translateY(18px) scale(0.98);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.modal-heading .eyebrow {
  margin-bottom: 0;
  color: var(--orange-soft);
}

.modal-close {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(245, 245, 240, 0.04);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.modal-close:hover {
  border-color: var(--cyan);
  background: rgba(6, 148, 148, 0.08);
  color: var(--cyan);
}

.modal-panel h2 {
  max-width: 820px;
  margin-bottom: 22px;
}

.video-shell {
  overflow: hidden;
  border: 1px solid rgba(245, 245, 240, 0.12);
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-shell.is-portrait {
  width: min(420px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
}

.video-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-project-copy {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  width: min(760px, 100%);
  margin: 24px auto 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.modal-project-copy .eyebrow {
  margin: 3px 0 0;
  color: var(--cyan);
}

.modal-project-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.4vw, 1.04rem);
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.hero .reveal:nth-child(1) {
  --reveal-delay: 120ms;
}

.hero .reveal:nth-child(2) {
  --reveal-delay: 260ms;
}

.hero .reveal:nth-child(3) {
  --reveal-delay: 390ms;
}

.hero .reveal:nth-child(4) {
  --reveal-delay: 520ms;
}

.project-grid .reveal:nth-child(2),
.service-list .reveal:nth-child(2) {
  --reveal-delay: 110ms;
}

.project-grid .reveal:nth-child(3),
.service-list .reveal:nth-child(3) {
  --reveal-delay: 220ms;
}

.project-grid .reveal:nth-child(4) {
  --reveal-delay: 330ms;
}

@keyframes grid-drift {
  from {
    transform: translateX(-22%);
  }

  to {
    transform: translateX(16%);
  }
}

@keyframes light-sweep {
  from {
    opacity: 0.42;
    transform: translateX(-3%);
  }

  to {
    opacity: 0.82;
    transform: translateX(4%);
  }
}

@keyframes client-scroll {
  to {
    transform: translateX(-50%);
  }
}

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

  .main-nav {
    display: none;
  }

  .project-card {
    grid-column: span 6;
  }

  .project-card.wide {
    grid-column: span 12;
  }

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

  .about-heading,
  .about-details {
    grid-template-columns: 1fr;
  }

  .about-heading {
    gap: 14px;
  }

  .about-details {
    gap: 42px;
  }

  .testimonials-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .testimonials-layout {
    display: block;
  }

  .testimonial-selector {
    min-height: 82px;
  }

  .testimonial-panel {
    padding: 34px 0 44px 42px;
    border-bottom: 1px solid var(--line);
  }

  .testimonial-panel::before {
    top: 12px;
  }

  .testimonial-attribution {
    display: grid;
    gap: 5px;
  }

  .career-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }

  .service-list {
    display: block;
    background: transparent;
  }

  .service-list article + article {
    border-top: 1px solid var(--line);
  }

  .service-list article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "number title"
      "number copy";
    column-gap: 16px;
    min-height: 0;
    padding: 22px 4px;
  }

  .service-list span {
    grid-area: number;
    margin: 3px 0 0;
  }

  .service-list h3 {
    grid-area: title;
    margin-bottom: 7px;
    font-size: clamp(1.65rem, 5vw, 2rem);
  }

  .service-list p {
    grid-area: copy;
    margin-bottom: 0;
    line-height: 1.55;
  }

  .contact {
    display: grid;
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: min(100% - 28px, 720px);
  }

  h1 {
    font-size: clamp(3.8rem, 15vw, 5.2rem);
    line-height: 0.88;
  }

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

  .career-stats-inner {
    width: min(100% - 28px, var(--max));
  }

  .career-stats-heading {
    display: block;
  }

  .career-stats-heading .eyebrow {
    margin-bottom: 12px;
  }

  .career-stats-heading h2 {
    text-align: left;
  }

  .career-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .career-stat {
    gap: 12px;
  }

  .career-stat-value {
    font-size: clamp(3.2rem, 15vw, 4.4rem);
  }

  .career-stat span {
    font-size: 0.68rem;
  }

  .clients-heading {
    width: min(100% - 28px, var(--max));
  }

  .client-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .client-logo-group {
    gap: 14px;
    padding-right: 14px;
  }

  .client-logo-tile {
    width: 210px;
    height: 158px;
    padding: 26px;
  }

  .section-heading {
    display: block;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .project-card,
  .project-card.wide {
    grid-column: span 2;
  }

  .project-card.portrait {
    grid-column: span 1;
  }

  .project-meta {
    display: block;
  }

  .project-meta strong {
    display: block;
    text-align: left;
  }

  .site-footer {
    display: grid;
  }

  .video-modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: 92svh;
    padding: 16px;
  }

  .modal-heading {
    align-items: flex-start;
  }

  .modal-project-copy {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .client-track {
    width: 100%;
    transform: none !important;
  }

  .client-logo-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 14px;
  }

  .client-logo-group[aria-hidden="true"] {
    display: none;
  }
}
