@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --red: #ef3323;
  --red-dark: #d72418;
  --black: #070707;
  --ink: #141414;
  --grey: #f3f3f3;
  --muted: #666;
  --white: #fff;
  --container: 1240px;
  --header-h: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background-color 0.45s ease,
    border-color 0.45s ease,
    backdrop-filter 0.45s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  display: inline-flex;
  width: 200px;
  flex: 0 0 auto;
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a,
.nav-dropdown-toggle {
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: none;
  border: 0;
  padding: 12px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--red);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  margin-left: 9px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 270px;
  transform: translate(-50%, 8px);
  display: grid !important;
  gap: 0 !important;
  padding: 10px 0 !important;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.78rem;
  text-transform: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #111;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 700px;
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0) 62%);
  z-index: 2;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-inner {
  position: relative;
  z-index: 3;
  min-height: 700px;
  padding-top: 168px;
}

.hero-copy {
  width: min(650px, 54%);
  padding-top: 130px;
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 650px;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  line-height: 1.42;
  color: rgba(17, 17, 17, 0.72);
}

/* Review rotator */
.fm-review-rotator {
  position: absolute;
  top: 215px;
  left: 0;
  width: min(760px, 58%);
  color: #222;
  z-index: 5;
}

.fm-review-track {
  position: relative;
  min-height: 92px;
}

.fm-review-item {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.fm-review-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fm-review-stars {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}

.fm-star {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 94%, 50% 72%, 21% 94%, 32% 57%, 2% 35%, 39% 35%);
}

.fm-star.empty {
  opacity: 0.25;
}

.fm-review-text {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.86);
}

/* Hero services rotator */
.hero-services {
  position: absolute;
  bottom: 75px;
  left: 47%;
  width: 320px;
  height: 55px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #111;
  opacity: 0.86;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-services::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 10px;
  opacity: 0.82;
}

.hero-services .service {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-services .service.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Statistics */
.stats-strip {
  background: #050505;
  color: #fff;
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.stat-icon {
  width: 82px;
  height: 82px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.stat-icon svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-number {
  display: block;
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

/* About */
.about-interactive {
  --accent: 239 51 35;
  padding: 105px 0 115px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  align-items: center;
}

.about-text h2 {
  margin: 0 0 30px;
  font-size: clamp(2.3rem, 3.2vw, 3.25rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.about-text p {
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0 0 18px;
  color: #444;
}

.highlight {
  color: rgb(var(--accent));
  font-weight: 700;
}

.about-card {
  position: relative;
  background: linear-gradient(180deg, #fff, #fafafa);
  padding: 58px 58px;
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
  overflow: hidden;
  outline: none;
}

.about-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(239, 51, 35, 0.28), 0 18px 46px rgba(0, 0, 0, 0.08);
}

.card-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 115px;
  background: rgb(var(--accent));
  transform: translateY(-50%);
  border-radius: 0 3px 3px 0;
}

.card-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(var(--accent));
  transform: translateY(-50%);
  opacity: 0.35;
}

.year-bg {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: clamp(6rem, 10vw, 9rem);
  line-height: 1;
  font-weight: 800;
  color: rgb(var(--accent));
  opacity: 0.06;
  pointer-events: none;
}

.card-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(0, 0, 0, 0.28) 0 0.5px, transparent 0.7px 3px);
  mix-blend-mode: multiply;
}

.since {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
  transform: translateZ(20px);
}

.about-card .year {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 700;
  color: rgb(var(--accent));
  transform: translateZ(25px);
}

.card-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  transform: translateZ(15px);
}

/* Services intro */
.services-intro {
  padding: 92px 0 56px;
  background: var(--grey);
}

.section-kicker {
  margin: 0 0 8px;
  text-align: center;
  color: var(--red);
  font-size: 1rem;
  font-weight: 500;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.services-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 66px;
  margin-top: 62px;
}

.services-copy-grid p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.services-tagline {
  margin: 60px 0 0;
  text-align: center;
  color: #777;
  font-size: 1rem;
}

/* Service cards */
.services-full {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #000;
}

.service-card {
  appearance: none;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.service-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease, filter 0.6s ease;
}

.cinematic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.08) 68%);
  opacity: 0.72;
  transition: opacity 0.5s ease, background 0.5s ease;
  z-index: 1;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: transparent;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
  z-index: 3;
  pointer-events: none;
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.service-info {
  position: absolute;
  right: 24px;
  bottom: 26px;
  left: 24px;
  z-index: 2;
}

.service-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.13;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  font-weight: 500;
}

.service-description {
  display: block;
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.service-card:hover img,
.service-card:focus-visible img {
  transform: scale(1.1);
  filter: brightness(0.6);
}

.service-card:hover .cinematic-overlay,
.service-card:focus-visible .cinematic-overlay {
  opacity: 0.9;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.2) 68%);
}

.service-card:hover .play-button,
.service-card:focus-visible .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.service-card:hover .play-button {
  pointer-events: auto;
}

.play-button:hover {
  background: var(--red);
  border-color: var(--red);
}

.service-card:focus-visible {
  outline: 4px solid var(--red);
  outline-offset: -4px;
}

.services-more {
  padding: 16px 0;
  text-align: center;
  background: #fff;
}

.services-more a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.services-more a:hover {
  text-decoration: underline;
}

/* Clients */
.clients-section {
  position: relative;
  overflow: hidden;
  padding: 58px 0 92px;
  background: radial-gradient(circle at 50% 0%, #202020 0, #121212 35%, #0d0d0f 100%);
  color: #fff;
}

.clients-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--container));
  height: 1px;
  transform: translateX(-50%);
  background: var(--red);
  opacity: 0.8;
}

.clients-heading {
  margin-bottom: 62px;
  text-align: center;
}

.clients-heading p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 1.05rem;
}

.clients-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 3.5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.clients-full {
  position: relative;
}

.clients-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 62px 78px;
  margin-bottom: 78px;
}

.clients-row:last-child {
  margin-bottom: 0;
}

.logo-float {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.logo-float.is-revealed {
  opacity: 1;
  transform: translateY(0);
  animation: logo-float 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.logo-float img {
  display: block;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter 0.4s ease, opacity 0.4s ease, scale 0.4s ease;
}

.logo-float img:hover {
  filter: grayscale(0%);
  opacity: 1;
  scale: 1.07;
}

@keyframes logo-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.clients-row.flagship img { height: 92px; }
.clients-row.primary img { height: 62px; }
.clients-row.secondary img { height: 34px; opacity: 0.62; }

/* Team */
.team-section {
  padding: 105px 0 112px;
  background: #fff;
}

.team-subtitle {
  margin: 0 0 10px;
  color: var(--red);
  text-align: center;
}

.team-section .section-title {
  margin-bottom: 10px;
}

.team-lead {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.5;
  color: #555;
}

.team-featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 7px;
  margin-bottom: 18px;
}

.team-card h3,
.team-list h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 500;
}

.team-card p,
.team-list p {
  margin: 0;
  color: var(--red);
  font-size: 0.95rem;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}

/* Contact */
.site-contact-cta,
.modal-contact-cta {
  position: relative;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

.site-contact-cta {
  padding: 70px 0;
}

.contact-inner {
  width: min(calc(100% - 48px), 1100px);
  margin: auto;
}

.contact-links {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
  gap: 82px;
}

.contact-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: transform 0.35s ease;
}

.contact-item .label {
  margin-bottom: 10px;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #777;
}

.contact-item .value {
  position: relative;
  width: fit-content;
  font-size: 1.05rem;
  line-height: 1.42;
  color: #fff;
  transition: color 0.3s ease;
}

.contact-item .value::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.contact-item:hover .value,
.contact-item:focus-visible .value {
  color: var(--red);
}

.contact-item:hover .value::after,
.contact-item:focus-visible .value::after {
  width: 100%;
}

/* Footer */
.site-footer {
  background: var(--red);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 70px;
  padding: 74px 0 58px;
}

.footer-logo {
  display: block;
  width: 190px;
}

.footer-column h3 {
  margin: 0 0 24px;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li + li {
  margin-top: 13px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 18px;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.footer-copyright {
  padding: 0 24px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-funding {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  padding: 8px 20px;
}

.footer-funding img {
  max-height: 34px;
  width: auto;
}

/* Modals */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  overflow-y: auto;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  background: #141419;
  color: #fff;
  border: 2px solid var(--red);
  border-radius: 2%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
  transform: translateY(20px) scale(0.985);
  transition: transform 0.25s ease;
}

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

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #242424;
  color: #fff;
  font-size: 1.45rem;
  line-height: 0;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--red);
  outline: none;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-consent-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 30px;
  text-align: center;
  background: #090909;
}

.video-consent-placeholder p {
  max-width: 560px;
  margin: 0;
  color: #d1d1d1;
}

.video-external-link {
  justify-self: center;
  display: inline-flex;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.modal-copy {
  padding: 44px 72px 46px;
  text-align: center;
}

.modal-copy h2 {
  max-width: 780px;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.modal-copy .modal-subtitle {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--red);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
}

.modal-copy .modal-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.modal-copy .modal-body p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.62;
  color: #e5e5e5;
}

.modal-contact-cta {
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-contact-cta .contact-inner {
  width: min(calc(100% - 40px), 840px);
}

.modal-contact-cta .contact-links {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.modal-contact-cta .contact-item .value {
  font-size: 0.88rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 3000;
  right: 22px;
  bottom: 22px;
  width: min(540px, calc(100% - 44px));
  padding: 22px;
  background: #151515;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: 0.25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #e5e5e5;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.cookie-actions button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 15px;
  cursor: pointer;
  color: #fff;
  background: transparent;
}

.cookie-actions .cookie-accept {
  background: var(--red);
  border-color: var(--red);
}

/* Legal pages */
.legal-page {
  background: #f7f7f7;
}

.legal-header-spacer {
  height: var(--header-h);
  background: #000;
}

.legal-hero {
  padding: 86px 0 66px;
  background: #111;
  color: #fff;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-content {
  padding: 80px 0 100px;
}

.legal-article {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 70px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.legal-article h2 {
  margin: 42px 0 14px;
  font-size: 1.35rem;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p,
.legal-article li {
  font-size: 1rem;
  line-height: 1.72;
  color: #3f3f3f;
}

.legal-article ul {
  padding-left: 22px;
}

.legal-article a {
  color: var(--red-dark);
}

/* Responsive */
@media (max-width: 1200px) {
  .primary-nav ul { gap: 23px; }
  .site-logo { width: 220px; }
  .hero-copy { width: 56%; }
  .clients-row.flagship img { height: 80px; }
  .clients-row.primary img { height: 55px; }
}

@media (max-width: 1050px) {
  :root { --header-h: 78px; }

  .menu-toggle { display: block; }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1001;
    display: block;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: rgba(0, 0, 0, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
    overflow-y: auto;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > ul {
    display: grid;
    gap: 0;
    width: min(calc(100% - 40px), 650px);
    margin: 30px auto;
  }

  .primary-nav a,
  .nav-dropdown-toggle {
    color: #fff;
    display: block;
    width: 100%;
    padding: 16px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .primary-nav .nav-dropdown-menu {
    position: static;
    min-width: 0;
    display: grid !important;
    padding: 0 0 0 18px !important;
    max-height: 0;
    overflow: hidden;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 320px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .nav-dropdown-menu a {
    padding: 12px 0;
    font-size: 0.84rem;
  }

  .hero,
  .hero-inner {
    min-height: 860px;
  }

  .hero-media {
    width: 100%;
    opacity: 1;
  }

  .hero-copy {
    width: 60%;
    padding-top: 300px;
  }

  .fm-review-rotator {
    top: 185px;
    width: 68%;
  }

  .about-wrap {
    gap: 60px;
  }

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

  .clients-row {
    gap: 50px 58px;
  }

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

@media (max-width: 820px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .site-logo { width: 195px; }

  .hero,
  .hero-inner {
    min-height: 850px;
  }

  .hero-media {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    object-position: 72% center;
    opacity: 1;
  }

  .hero::before {
    background: linear-gradient(180deg, #fff 0%, #fff 47%, rgba(255, 255, 255, 0.88) 57%, rgba(255, 255, 255, 0) 74%);
  }

  .hero-inner {
    padding-top: 125px;
  }

  .fm-review-rotator {
    position: relative;
    top: auto;
    width: 100%;
    margin-top: 20px;
  }

  .fm-review-track {
    min-height: 105px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 42px;
  }

  .hero h1 {
    max-width: 580px;
  }

  .hero-lead {
    max-width: 560px;
  }

  .hero-services {
    bottom: 38px;
    left: 50%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .stat-item {
    justify-content: flex-start;
    width: min(390px, 100%);
    margin: auto;
  }

  .about-wrap {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-card {
    max-width: 590px;
  }

  .services-copy-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .clients-row {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 52px;
    padding: 10px 7vw 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .logo-float {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .clients-row.flagship img { height: 80px; }
  .clients-row.primary img { height: 58px; }
  .clients-row.secondary img { height: 34px; }

  .team-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }

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

  .contact-links {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .modal-panel {
    max-height: calc(100vh - 36px);
  }

  .modal-copy {
    padding: 36px 30px 38px;
  }

  .modal-contact-cta .contact-links {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .legal-article {
    padding: 42px 32px;
  }
}

@media (max-width: 600px) {
  .hero,
  .hero-inner {
    min-height: 790px;
  }

  .fm-review-text {
    font-size: 0.9rem;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-services {
    width: 260px;
    font-size: 0.95rem;
  }

  .stats-strip {
    padding: 54px 0;
  }

  .stat-icon {
    width: 66px;
    height: 66px;
  }

  .stat-icon svg {
    width: 34px;
    height: 34px;
  }

  .stat-number { font-size: 2rem; }

  .about-interactive,
  .team-section {
    padding-block: 78px;
  }

  .about-card {
    padding: 44px 32px;
  }

  .services-intro {
    padding-top: 72px;
  }

  .services-full {
    grid-template-columns: 1fr;
  }

  .service-card {
    aspect-ratio: 16 / 10.5;
  }

  .clients-section {
    padding-top: 50px;
  }

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

  .team-featured {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .modal-close {
    top: 8px;
    right: 8px;
  }

  .service-modal {
    padding: 0;
  }

  .modal-panel {
    max-height: 100vh;
    width: 100%;
  }

  .modal-copy {
    padding: 34px 22px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .cookie-actions {
    flex-direction: column-reverse;
  }

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

  .legal-content {
    padding: 30px 0 60px;
  }

  .legal-article {
    padding: 34px 22px;
    box-shadow: none;
  }
}

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

.legal-page .social-links a { width: auto; height: auto; font-size: .84rem; }
