﻿:root {
  --accent: #FFBE0C;
  --dark: #303030;
  --light: #F4F4F4;
  --white: #FFFFFF;
  --text: #1f1f1f;
  --muted: #6f6f6f;
  --line: rgba(48, 48, 48, 0.12);
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  --page-gutter: clamp(32px, 5.6vw, 132px);
  --container: min(1720px, calc(100vw - (var(--page-gutter) * 2)));
  --radius: 10px;
  --header-height: 82px;
  --section-heading-size: clamp(2rem, 2.4vw, 2.7rem);
  --cta-width: clamp(8.4rem, 12vw, 12.2rem);
  --cta-height: clamp(38px, 3.4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scroll-snap-type: none;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

main > section {
  scroll-snap-align: none;
}

main > section:not(.hero) {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-orientation: from-image;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(48, 48, 48, 0.08);
  backdrop-filter: blur(12px);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(48, 48, 48, 0.94);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand img,
.site-footer img {
  width: 144px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}

.site-nav a {
  font-size: clamp(0.92rem, 0.82vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.nav-cta,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: fit-content;
  min-width: var(--cta-width);
  min-height: var(--cta-height);
  height: var(--cta-height);
  padding: 0 clamp(0.82rem, 1.08vw, 1.15rem);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  font-weight: 500;
  font-size: clamp(0.82rem, 0.92vw, 1rem);
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
}

.nav-cta {
  background: #3a3a3a;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.button-primary {
  background: #3a3a3a;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.site-header.is-scrolled .nav-cta {
  background: #3a3a3a;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  color: var(--white);
  background: #222;
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 120%;
  background-image: url("assets/images/hero_4.png.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-bg,
.services-hero-media,
.services-image-break-media,
.about-page-hero-media,
.about-image-band-media,
.references-values-media img {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.services-hero-media,
.services-image-break-media,
.about-page-hero-media {
  background-position: center calc(50% + var(--parallax-y, 0px));
  background-repeat: no-repeat;
  background-size: cover;
  will-change: background-position;
}

.hero-bg {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
}

body.home-page .about-full {
  background-position: center calc(50% + var(--about-parallax-y, 0px)) !important;
  background-attachment: scroll !important;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  max-width: 620px;
  margin-left: clamp(18px, 2.8vw, 54px);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(18, 18, 18, 0.72) 0%,
      rgba(18, 18, 18, 0.62) 14%,
      rgba(18, 18, 18, 0.48) 26%,
      rgba(18, 18, 18, 0.28) 38%,
      rgba(18, 18, 18, 0.12) 50%,
      rgba(18, 18, 18, 0.04) 60%,
      rgba(18, 18, 18, 0) 70%);
}

.eyebrow {
  display: none;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.84rem, 0.82vw, 1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow.is-visible {
  display: block;
}

.accent {
  color: var(--accent);
}

.hero h1,
.statement h2,
.section-head h2,
.content-panel h2,
.services h2,
.why-copy h2,
.contact h2 {
  margin: 0;
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: none;
  width: min(100%, 640px);
  font-size: clamp(3rem, 4.2vw, 4.4rem);
  line-height: 1.04;
}

.lead {
  max-width: 31rem;
  font-size: clamp(1.12rem, 1.25vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 16px 0 0;
  line-height: 1.26;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: fit-content;
  min-width: var(--cta-width);
  min-height: var(--cta-height);
  height: var(--cta-height);
  padding: 0 clamp(0.82rem, 1.08vw, 1.15rem);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  font-weight: 500;
  font-size: clamp(0.82rem, 0.92vw, 1rem);
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.button:hover,
.button:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: #f0b100;
  color: #252525;
  box-shadow: 0 16px 34px rgba(255, 190, 12, 0.24);
  outline: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #f0b100;
  color: #252525;
  border-color: transparent;
  outline: none;
}

.site-header.is-scrolled .nav-cta:hover,
.site-header.is-scrolled .nav-cta:focus-visible {
  background: #f0b100;
  color: #252525;
  border-color: transparent;
}

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

.service-row,
.benefit-list article,
.contact-card,
.project-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.portfolio,
.services,
.why,
.contact {
  padding: calc(var(--header-height) + clamp(20px, 3.4vh, 38px)) 0 clamp(24px, 4vh, 44px);
}

.portfolio {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 100svh;
  background: var(--white);
}

.portfolio-stage,
.why-layout,
.contact-layout {
  display: grid;
  gap: 36px;
}

.portfolio-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100svh;
  grid-template-columns: minmax(340px, 0.34fr) minmax(0, 0.66fr);
  gap: 0;
  align-items: stretch;
  background: var(--white);
}

.portfolio-stage-legacy {
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(10px, 1.8vh, 18px)) 0 clamp(10px, 1.8vh, 18px);
  background: var(--white);
  box-sizing: border-box;
}

.portfolio-stage-legacy .portfolio-layout {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  height: calc(100svh - var(--header-height) - clamp(20px, 3.6vh, 36px));
  min-height: 0;
  width: 100%;
  padding-inline: clamp(18px, 2.2vw, 36px);
}

.portfolio-stage-legacy .portfolio-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  flex: 0 0 auto;
}

.portfolio-stage-legacy .portfolio-intro h2 {
  margin: 2px 0 0;
  font-size: var(--section-heading-size);
  font-weight: 300;
  line-height: 1.05;
}

.portfolio-stage-legacy .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 12px;
  align-items: stretch;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.portfolio-stage-legacy .project-card {
  opacity: 1;
  transform: none;
  flex: none;
  scroll-snap-align: unset;
  height: 100%;
  grid-column: span 4;
}

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

.portfolio-stage-legacy .project-card::after {
  opacity: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.02) 18%, rgba(19, 19, 19, 0.38) 100%);
}

.portfolio-stage-legacy .project-card-content {
  opacity: 0;
  transform: translateY(12px);
}

.portfolio-stage-legacy .project-card:hover::after,
.portfolio-stage-legacy .project-card:focus-within::after {
  opacity: 1;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 12%, rgba(24, 24, 24, 0.18) 38%, rgba(24, 24, 24, 0.78) 100%);
}

.portfolio-stage-legacy .project-card:hover .project-card-content,
.portfolio-stage-legacy .project-card:focus-within .project-card-content {
  opacity: 1;
  transform: translateY(0);
}

.section-copy,
.why-copy,
.contact-copy {
  max-width: 32rem;
}

.section-copy h2,
.section-head h2,
.services h2,
.why-copy h2,
.contact h2 {
  font-size: var(--section-heading-size);
  margin-bottom: 18px;
}

.section-copy p,
.why-copy p,
.contact-copy p,
.section-head p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

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

.section-head p {
  max-width: 35rem;
}

.portfolio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(32px, 5vw, 72px) clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px) var(--page-gutter);
  min-width: 0;
}

.portfolio-copy h2 {
  margin: 0;
  font-size: var(--section-heading-size);
  font-weight: 300;
  line-height: 1.04;
}

.portfolio-copy-text {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.portfolio-link {
  margin-top: 4px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.portfolio-carousel-shell {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 0 0 0;
  height: 100%;
}

.portfolio-carousel {
  display: flex;
  gap: clamp(18px, 2vw, 34px);
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
  padding: 0 0 8px;
  scroll-padding-inline: 0;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.portfolio-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #d9d9d9;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  aspect-ratio: auto;
  user-select: none;
  -webkit-user-select: none;
}

.project-card * {
  user-select: none;
  -webkit-user-select: none;
}

.portfolio-card {
  flex: 0 0 clamp(410px, 34vw, 680px);
  height: clamp(500px, 80svh, 920px);
  scroll-snap-align: center;
  border-radius: 12px;
  opacity: 0.6;
  transform: scale(0.965);
  transition: opacity 240ms ease, transform 240ms ease;
}

.portfolio-card.is-active {
  opacity: 1;
  transform: scale(1);
}

.portfolio-controls {
  position: absolute;
  right: 0;
  bottom: clamp(18px, 3vw, 34px);
  z-index: 10;
  display: flex;
  gap: 10px;
  pointer-events: none;
}

.portfolio-arrow {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(48, 48, 48, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.portfolio-arrow:hover,
.portfolio-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 360ms ease, filter 320ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.04) 18%, rgba(19, 19, 19, 0.72) 100%);
  opacity: 1;
  transition: opacity 260ms ease, background 260ms ease;
}

.project-card-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 22px 24px 24px;
  color: var(--white);
  opacity: 1;
  transform: translateY(0);
  transition: transform 260ms ease;
}

.project-card-content p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.82rem, 0.9vw, 1.24rem);
  font-weight: 700;
}

.project-card-content h3 {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 2.4rem);
  line-height: 1.02;
}

.project-card-content span {
  display: block;
  margin-top: 6px;
  max-width: 25ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.8rem, 0.88vw, 1.24rem);
  line-height: 1.2;
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.045);
}

.project-card:hover::after,
.project-card:focus-within::after {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 12%, rgba(24, 24, 24, 0.14) 36%, rgba(24, 24, 24, 0.82) 100%);
}

.project-card:hover .project-card-content,
.project-card:focus-within .project-card-content {
  transform: translateY(0);
}

.portfolio-page {
  background: var(--white);
}

.services-page {
  background: var(--white);
}

.services-page .site-header {
  background: rgba(48, 48, 48, 0.94);
}

.services-page main > section {
  min-height: auto;
}

.services-page main > section:not(.services-hero) {
  min-height: 0 !important;
  display: block;
  align-items: initial;
}

.services-hero {
  position: relative;
  min-height: clamp(420px, 56vh, 690px) !important;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(36px, 4vw, 56px)) 0 clamp(36px, 6vw, 80px);
  color: var(--white);
  background: #1f1f1f;
}

.services-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.76), rgba(12, 12, 12, 0.38) 52%, rgba(12, 12, 12, 0.14)),
    url("assets/images/sections/optimized/services-hero.jpg") center / cover;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.services-hero h1 {
  margin: 8px 0 0;
  max-width: 17ch;
  font-size: var(--subpage-h1);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.services-hero-content p:last-child {
  margin: clamp(18px, 2vw, 28px) 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--subpage-p);
  line-height: 1.5;
}

.services-intro {
  padding: clamp(56px, 8vw, 120px) 0;
  min-height: 0 !important;
  display: block;
  background: var(--white);
}

.services-intro h2 {
  margin: 0;
  max-width: 22ch;
  font-size: var(--subpage-h2);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.services-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
  margin-top: clamp(32px, 5vw, 72px);
}

.services-category-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 8px;
}

.services-line-icon {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
}

.services-category-card h3,
.services-mini-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: var(--subpage-h3);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.services-category-card p,
.services-mini-grid p,
.services-accordion-list p {
  margin: 0;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.52;
}

.services-image-break {
  position: relative;
  min-height: clamp(420px, 56vh, 720px) !important;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px) 0;
  color: var(--white);
  background: #222;
}

.services-image-break-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center calc(50% + var(--parallax-y, 0px));
}

.services-image-break-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 15, 15, 0.62), rgba(15, 15, 15, 0.24) 50%, rgba(15, 15, 15, 0.12));
}

.services-image-break-media-first {
  background-image: url("assets/images/sections/optimized/services-break.jpg");
}

.services-image-break-media-second {
  background-image: url("assets/images/sections/optimized/services-break.jpg");
}

.services-image-break .container {
  position: relative;
  z-index: 1;
}

.services-image-copy {
  max-width: 46rem;
  padding: clamp(20px, 4vw, 36px);
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.5), rgba(17, 17, 17, 0.1) 85%, transparent);
}

.services-image-copy .eyebrow {
  margin-bottom: 12px;
}

.services-image-break h2 {
  margin: 0;
  max-width: 17ch;
  font-size: var(--subpage-h2);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.services-capabilities {
  padding: clamp(64px, 8vw, 132px) 0;
  background: #f6f6f4;
}

.services-capabilities-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.services-capabilities-copy {
  max-width: 42rem;
}

.services-capabilities-copy h2,
.services-accordion-layout h2 {
  margin: 0;
  max-width: 19ch;
  font-size: var(--subpage-h2);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: -0.045em;
}

.services-capabilities-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.55;
}

.services-capabilities-copy .button {
  margin-top: 24px;
}

.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.services-mini-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(48, 48, 48, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 46px rgba(17, 17, 17, 0.06);
}

.services-mini-grid article img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-top: 2px;
}

.services-mini-grid span {
  color: var(--accent);
  font-size: var(--subpage-p);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.services-mini-grid h3 {
  margin-top: 4px;
}

.services-mini-grid p {
  margin-top: 8px;
  font-size: var(--subpage-p);
  line-height: 1.45;
}

.services-accordion-section {
  padding: clamp(64px, 9vw, 140px) 0;
  background: var(--white);
}

.services-accordion-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
}

.services-accordion-copy {
  max-width: 38rem;
}

.services-accordion-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.55;
}

.services-accordion-list {
  display: grid;
  border-top: 1px solid var(--line);
  align-self: center;
}

.services-accordion-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.services-accordion-list summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  color: var(--text);
  cursor: pointer;
  font-size: var(--subpage-h3);
  line-height: 1.2;
  font-weight: 400;
  list-style: none;
}

.services-accordion-list summary::-webkit-details-marker {
  display: none;
}

.services-accordion-list summary::after {
  content: "\2193";
  margin-left: auto;
  color: var(--muted);
}

.services-accordion-list details[open] summary::after {
  content: "\2191";
}

.services-accordion-list summary span {
  color: var(--muted);
  font-size: var(--subpage-p);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.services-accordion-list p {
  max-width: 56rem;
  padding: 0 0 24px 52px;
  font-size: var(--subpage-p);
  line-height: 1.55;
  color: var(--muted);
}

.about-page {
  background: var(--white);
}

:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) {
  --subpage-h1: var(--subpage-h2);
  --subpage-h2: clamp(1.8rem, 3.2vw, 4rem);
  --subpage-h3: clamp(1rem, 1.7vw, 2.4rem);
  --subpage-p: clamp(0.92rem, 1.15vw, 1.45rem);
}

.about-page .site-header {
  background: rgba(48, 48, 48, 0.94);
}

.about-page main > section {
  min-height: auto;
}

.about-page-hero {
  position: relative;
  min-height: clamp(560px, 72vh, 820px) !important;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(42px, 5vw, 72px)) 0 clamp(48px, 7vw, 96px);
  color: var(--white);
  background: #202020;
}

.about-page-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.78), rgba(14, 14, 14, 0.4) 54%, rgba(14, 14, 14, 0.1)),
    url("assets/images/sections/optimized/o-nas-hero.jpg") center / cover;
  --parallax-scale: 1.08;
}

.about-page-hero-content {
  position: relative;
  z-index: 1;
}

.about-page-hero h1 {
  margin: 8px 0 0;
  max-width: 15ch;
  color: var(--white);
  font-size: clamp(3rem, 4rem, 5rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: 0;
}

.about-page-hero-content p:last-child {
  margin: clamp(18px, 1.7rem, 28px) 0 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.08rem, 1.16rem);
  line-height: 1.55;
}

.about-trust {
  padding: clamp(70px, 7rem, 132px) 0;
  background: var(--white);
}

.about-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5rem, 96px);
  align-items: start;
}

.about-trust-copy h2,
.about-process-copy h2,
.about-cta h2 {
  margin: 0;
  max-width: 13ch;
  color: var(--text);
  font-size: clamp(2.2rem, 3.1rem, 4rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0;
}

.about-trust-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 35rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.about-trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  background: transparent;
  border: 0;
}

/* Homepage "why" card parity for the agreed white card groups only. */
.about-page .about-trust-points article,
.services-page .services-category-card,
.services-page .services-mini-grid article {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.about-page .about-trust-points article:hover,
.about-page .about-trust-points article:focus-within,
.services-page .services-category-card:hover,
.services-page .services-category-card:focus-within,
.services-page .services-mini-grid article:hover,
.services-page .services-mini-grid article:focus-within {
  transform: translateY(-10px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.about-page .about-trust-points h3,
.services-page .services-category-card h3,
.services-page .services-mini-grid h3,
.about-page .about-process-list strong,
.services-page .services-accordion-list summary {
  font-size: clamp(0.98rem, 1.2vw, 1.35rem) !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.about-page .about-trust-points p,
.services-page .services-category-card p,
.services-page .services-mini-grid p {
  font-size: clamp(0.82rem, 1vw, 1.45rem) !important;
  line-height: 1.38 !important;
  color: rgba(37, 37, 37, 0.8) !important;
}

.about-trust-points article {
  min-height: clamp(140px, 16vw, 205px);
  display: grid;
  align-content: start;
  gap: clamp(0.8vh, 1.2vh, 1.6vh);
  padding: clamp(18px, 1.8vw, 28px);
  background: #fff;
}

.about-trust-points span,
.about-process-list span {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-trust-points h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.98rem, 1.2vw, 1.35rem);
  line-height: 1.1;
  font-weight: 500;
}

.about-trust-points p {
  margin: 0;
  color: rgba(37, 37, 37, 0.8);
  font-size: clamp(0.82rem, 1vw, 1.45rem);
  line-height: 1.38;
}

.about-image-band {
  position: relative;
  min-height: clamp(420px, 56vh, 690px) !important;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.68), rgba(15, 15, 15, 0.24) 52%, rgba(15, 15, 15, 0.08)),
    url("assets/images/sections/optimized/o-nas-band.jpg") center calc(50% + var(--about-band-parallax-y, 0px)) / cover no-repeat;
  background-attachment: scroll;
}

.about-image-band-media {
  display: none;
}

.about-image-band .container {
  position: relative;
  z-index: 1;
}

.about-image-band-copy {
  max-width: 48rem;
  padding: clamp(20px, 2rem, 36px);
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.52), rgba(17, 17, 17, 0.12) 86%, transparent);
}

.about-image-band h2 {
  margin: 0;
  max-width: 17ch;
  color: var(--white);
  font-size: var(--subpage-h2);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: 0;
}

.about-process {
  padding: clamp(72px, 8rem, 138px) 0;
  background: #f6f6f4;
}

.about-process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5rem, 92px);
  align-items: center;
}

.about-process-media {
  min-height: 560px;
  overflow: hidden;
  border-radius: 20px;
  background: #ddd;
}

.about-process-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.about-process-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.about-process-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 0.38fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.about-process-list strong {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 500;
}

.about-process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.about-cta {
  padding: clamp(54px, 6vw, 92px) 0;
  background: var(--dark);
  color: var(--white);
}

.about-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.7fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}

.about-cta h2 {
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.about-cta p:not(.eyebrow) {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.22vw, 1.38rem);
  line-height: 1.52;
}

.about-cta-layout > p {
  align-self: center;
  padding: clamp(22px, 2.4vw, 34px);
  border-left: 1px solid rgba(255, 190, 12, 0.5);
  background: rgba(255, 255, 255, 0.035);
}

.about-cta .button {
  grid-column: 2;
  justify-self: start;
  margin-top: 0;
  min-width: 0;
}

.portfolio-page .site-header {
  background: rgba(48, 48, 48, 0.94);
}

.portfolio-page-hero {
  min-height: auto !important;
  padding: calc(var(--header-height) + clamp(28px, 4vw, 56px)) 0 clamp(8px, 1.6vw, 20px);
  background: var(--white);
}

.portfolio-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.38fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}

.portfolio-page-copy {
  max-width: 58rem;
}

.portfolio-page-copy h1 {
  margin: 0;
  max-width: 14ch;
  font-size: var(--subpage-h1);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.portfolio-page-copy p:last-child {
  margin: clamp(12px, 1.6vw, 20px) 0 0;
  max-width: 48rem;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.5;
}

.portfolio-page-note {
  display: grid;
  gap: 12px;
  padding-bottom: clamp(6px, 0.8vw, 12px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.portfolio-page-note span {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.portfolio-page-note p {
  margin: 0;
  max-width: 20rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.portfolio-filter-section {
  min-height: auto !important;
  padding: clamp(4px, 0.8vw, 10px) 0 clamp(6px, 1vw, 14px);
  background: var(--white);
}

.portfolio-filter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(22px, 2.8vw, 36px);
}

.portfolio-filter-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 4rem);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: 0;
}

.portfolio-reset-filter {
  border: 1px solid rgba(48, 48, 48, 0.16);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.portfolio-reset-filter:hover,
.portfolio-reset-filter:focus-visible {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  outline: none;
}

.portfolio-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 132px));
  justify-content: center;
  gap: clamp(10px, 1.8vw, 24px);
}

.portfolio-filter-card {
  position: relative;
  overflow: visible;
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  isolation: isolate;
  box-shadow: none;
}

.portfolio-filter-card::after {
  content: none;
}

.portfolio-filter-media,
.portfolio-filter-media img {
  width: clamp(92px, 7.2vw, 124px);
  height: clamp(92px, 7.2vw, 124px);
}

.portfolio-filter-media {
  position: relative;
  z-index: 0;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: #d7d7d7;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
}

.portfolio-filter-media img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.04);
  transition: filter 360ms ease, transform 360ms ease;
}

.portfolio-filter-card:hover .portfolio-filter-media img,
.portfolio-filter-card:focus-visible .portfolio-filter-media img,
.portfolio-filter-card.is-active .portfolio-filter-media img {
  filter: grayscale(0) contrast(1);
  transform: scale(1);
}

.portfolio-filter-card:hover,
.portfolio-filter-card:focus-visible,
.portfolio-filter-card.is-active {
  outline: 0;
}

.portfolio-filter-card.is-active::before {
  border-color: rgba(48, 48, 48, 0.42);
}

.portfolio-filter-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.portfolio-filter-content > span {
  display: block;
  color: var(--text);
  font-size: clamp(0.82rem, 0.86vw, 1.05rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-filter-content strong {
  display: block;
  max-width: 17rem;
  color: var(--muted);
  font-size: clamp(0.84rem, 1.02vw, 1.35rem);
  font-weight: 400;
  line-height: 1.35;
}

.portfolio-page-note span {
  color: var(--accent);
  font-size: clamp(0.82rem, 0.86vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.portfolio-page-note p {
  margin: 0;
  max-width: 24rem;
  font-size: clamp(0.82rem, 1vw, 1.25rem);
  line-height: 1.45;
}

.portfolio-list-section {
  min-height: auto !important;
  padding: clamp(10px, 1.4vw, 18px) 0 clamp(34px, 4vw, 72px);
  background: var(--white);
}

.portfolio-list-layout {
  display: grid;
  gap: clamp(12px, 1.4vw, 20px);
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(260px, 24vw, 420px);
  gap: clamp(10px, 1.1vw, 16px);
}

.portfolio-page-grid .project-card {
  grid-column: span 4;
  height: auto;
}

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

.portfolio-page-grid .project-card.is-filtered-out {
  display: none;
}

.portfolio-page-grid .project-card {
  animation: portfolioCardIn 280ms ease both;
}

.project-detail-page {
  background: var(--white);
  overflow-x: hidden;
}

.references-page {
  background: var(--white);
}

.references-page .site-header {
  background: rgba(48, 48, 48, 0.94);
}

.references-page main > section {
  min-height: auto;
}

.references-logos {
  padding: clamp(64px, 8vw, 132px) 0;
  background: var(--white);
}

.references-logos-layout,
.references-proof-layout,
.references-values-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.references-section-copy,
.references-proof-copy,
.references-values-copy {
  max-width: 36rem;
}

.references-section-copy h2,
.references-proof-copy h2,
.references-reviews-head h2,
.references-values-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--subpage-h2);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.references-section-copy h2,
.references-proof-copy h2 {
  max-width: 14ch;
}

.references-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.references-logo-wall span {
  min-height: clamp(108px, 10vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  background: #f7f7f5;
  font-size: var(--subpage-p);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.references-proof {
  background: #f6f6f4;
}

.references-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(48, 48, 48, 0.12);
  border: 1px solid rgba(48, 48, 48, 0.12);
}

.references-stat-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2.2vw, 34px);
  background: var(--white);
}

.references-stat-grid span,
.references-value-list span {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.references-stat-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: var(--subpage-h3);
  line-height: 1.15;
  font-weight: 500;
}

.references-stat-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.5;
}

.references-reviews {
  display: block !important;
  padding: clamp(70px, 8vw, 140px) 0;
  color: var(--white);
  background: #222222;
}

.references-reviews-head {
  margin-bottom: clamp(28px, 4vw, 58px);
}

.references-reviews-head h2 {
  max-width: 13ch;
  color: var(--white);
}

.references-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 24px);
}

.references-review-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.2vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

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

.references-review-card .quote-mark {
  margin: 0;
  color: var(--accent);
  font-size: clamp(3rem, 4vw, 5rem);
  line-height: 0.76;
}

.references-review-card p {
  margin: clamp(18px, 2vw, 28px) 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--subpage-p);
  line-height: 1.55;
}

.references-review-card-large p {
  max-width: 48rem;
  font-size: var(--subpage-h3);
  line-height: 1.45;
}

.references-review-card div {
  display: grid;
  gap: 4px;
}

.references-review-card strong {
  color: var(--white);
  font-weight: 600;
}

.references-review-card div span {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.98rem, 0.9vw, 1.08rem);
}

.references-values-media {
  overflow: hidden;
  min-height: clamp(460px, 58vw, 720px);
  border-radius: 8px;
  background: #d7d7d7;
}

.references-values-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  --parallax-scale: 1.1;
}

.references-values-copy {
  align-self: center;
}

.references-values-copy h2 {
  max-width: 14ch;
  font-size: var(--subpage-h2);
}

.references-value-list {
  display: grid;
  gap: 1px;
  margin: clamp(24px, 3vw, 44px) 0 26px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.references-value-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px 18px;
  padding: 20px 0;
  background: var(--white);
}

.references-value-list h3 {
  margin: 0;
  color: var(--text);
  font-size: var(--subpage-h3);
  line-height: 1.16;
  font-weight: 500;
}

.references-value-list p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.5;
}

.references-page .site-header {
  background: rgba(48, 48, 48, 0.96);
}

.references-page main {
  background: var(--white);
}

.references-logos {
  min-height: auto !important;
  display: block !important;
  padding: calc(var(--header-height) + clamp(54px, 7vw, 104px)) 0 clamp(64px, 8vw, 128px);
  background:
    linear-gradient(180deg, rgba(246, 246, 244, 0) 0%, #f6f6f4 100%),
    var(--white);
}

.references-logos-layout {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: clamp(34px, 6vw, 104px);
}

.references-section-copy h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--text);
  font-size: var(--subpage-h1);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.references-section-copy p:not(.eyebrow) {
  margin: clamp(18px, 2vw, 28px) 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.55;
}

.references-logo-stage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  align-items: stretch;
}

.references-logo-feature {
  position: relative;
  overflow: hidden;
  min-height: clamp(260px, 24vw, 430px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.2vw, 38px);
  border-radius: 8px;
  background: #2d2d2d;
  color: var(--white);
  isolation: isolate;
}

.references-logo-feature:nth-child(1) {
  grid-column: span 3;
  background:
    linear-gradient(180deg, rgba(25, 25, 25, 0.12), rgba(25, 25, 25, 0.9)),
    url("assets/portfolio/accolade-1/cover.jpg") center / cover;
}

.references-logo-feature:nth-child(2) {
  grid-column: span 3;
  background:
    linear-gradient(180deg, rgba(25, 25, 25, 0.1), rgba(25, 25, 25, 0.88)),
    url("assets/portfolio/new-yorker ZliÄŤĂ­n/20220313_123159.jpg") center / cover;
}

.references-logo-feature:nth-child(3) {
  grid-column: 2 / span 4;
  min-height: clamp(220px, 19vw, 320px);
  background:
    linear-gradient(90deg, rgba(25, 25, 25, 0.86), rgba(25, 25, 25, 0.42)),
    url("assets/portfolio/oasis/20230127_130805.jpg") center / cover;
}

.references-logo-feature span {
  display: block;
  margin-bottom: auto;
  color: var(--white);
  font-size: var(--subpage-h1);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.references-logo-feature strong {
  display: block;
  margin-top: clamp(48px, 8vw, 120px);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.references-logo-feature p {
  margin: 10px 0 0;
  max-width: 23rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--subpage-p);
  line-height: 1.46;
}

.references-logo-wall {
  width: var(--container);
  margin-top: clamp(18px, 2vw, 30px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(48, 48, 48, 0.12);
  border-bottom: 0;
  border-right: 0;
}

.references-logo-wall span {
  min-height: clamp(86px, 8vw, 128px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid rgba(48, 48, 48, 0.12);
  border-bottom: 1px solid rgba(48, 48, 48, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: var(--subpage-p);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.16;
  text-align: center;
  text-transform: uppercase;
}

.references-logo-wall span:nth-child(3n + 1) {
  background: var(--dark);
  color: var(--white);
}

.references-logo-wall span:nth-child(4n) {
  background: var(--accent);
  color: var(--text);
}

.references-reviews {
  min-height: auto !important;
  display: block !important;
  padding: clamp(70px, 8vw, 140px) 0;
  background: #222222;
}

.references-reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}

.references-reviews-head {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  margin: 0;
}

.references-reviews-head h2 {
  max-width: 11ch;
  color: var(--white);
  font-size: var(--subpage-h1);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.references-reviews-head p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 31rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--subpage-p);
  line-height: 1.55;
}

.references-review-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.2vw, 22px);
}

.references-review-card {
  grid-column: span 3;
  min-height: clamp(300px, 25vw, 440px);
  padding: clamp(24px, 2.4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.references-review-card-large {
  grid-column: span 6;
  min-height: clamp(360px, 28vw, 520px);
  background:
    linear-gradient(135deg, rgba(255, 190, 12, 0.14), rgba(255, 255, 255, 0.045) 36%),
    rgba(255, 255, 255, 0.045);
}

.references-review-card-tall {
  min-height: clamp(380px, 34vw, 560px);
}

.references-review-card .quote-mark {
  color: var(--accent);
  font-size: clamp(3rem, 5vw, 6.5rem);
}

.references-review-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--subpage-p);
  line-height: 1.56;
}

.references-review-card-large p {
  max-width: 58rem;
  font-size: var(--subpage-h3);
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.references-review-card strong {
  color: var(--white);
}

.references-review-card div span {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.98rem, 0.9vw, 1.08rem);
}

.project-detail-page .site-header {
  background: rgba(48, 48, 48, 0.94);
}

.project-detail-page main > section {
  min-height: auto;
}

.project-detail-hero {
  padding: calc(var(--header-height) + clamp(28px, 4vw, 64px)) 0 clamp(24px, 4vw, 58px);
  background: var(--white);
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(18px, 2.2vw, 30px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.project-back-link:hover,
.project-back-link:focus-visible {
  color: var(--text);
  outline: none;
}

.project-detail-hero-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: 0;
  max-height: 560px;
  border-radius: 14px;
  background: #d7d7d7;
  isolation: isolate;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.13);
}

.project-detail-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04) 18%, rgba(17, 17, 17, 0.7) 100%);
  z-index: 1;
}

.project-detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-detail-hero-content {
  position: absolute;
  inset: auto clamp(24px, 4.5vw, 70px) clamp(24px, 4vw, 58px);
  z-index: 2;
  max-width: 54rem;
  color: var(--white);
}

.project-detail-hero-content h1 {
  margin: 8px 0 0;
  font-size: clamp(3rem, 7vw, 8.4rem);
  line-height: 0.92;
  font-weight: 300;
  letter-spacing: -0.055em;
}

.project-detail-hero-content span {
  display: block;
  margin-top: clamp(14px, 1.5vw, 22px);
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.12vw, 1.25rem);
  line-height: 1.45;
}

.project-overview {
  padding: clamp(28px, 5vw, 76px) 0 clamp(46px, 7vw, 110px);
  background: var(--white);
}

.project-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(34px, 8vw, 130px);
  align-items: start;
}

.project-overview-grid > * {
  min-width: 0;
}

.project-overview-copy {
  max-width: 62rem;
}

.project-overview-copy h2,
.project-section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--section-heading-size);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.project-overview-copy p:not(.eyebrow) {
  margin: clamp(20px, 2vw, 30px) 0 0;
  max-width: 58rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.65;
}

.project-details-card {
  padding: clamp(26px, 3.2vw, 46px);
  border-radius: 12px;
  background: #f4f5f3;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.06);
}

.project-details-card h2 {
  margin: 0 0 22px;
  font-size: var(--section-heading-size);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.project-award-note {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 190, 20, 0.11);
}

.project-award-note span {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-award-note strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.project-details-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.project-details-card dl div {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-top: 1px solid rgba(48, 48, 48, 0.1);
}

.project-details-card dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-details-card dd {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.35;
}

.project-features {
  padding: clamp(48px, 7vw, 112px) 0;
  background: #edf1f2;
}

.project-section-head {
  margin-bottom: clamp(28px, 4vw, 62px);
}

.project-section-head.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.project-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
}

.project-feature {
  padding: clamp(24px, 3vw, 42px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(48, 48, 48, 0.08);
}

.project-feature span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: clamp(28px, 3vw, 44px);
  border-radius: 999px;
  background: var(--dark);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-feature h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.28rem, 1.7vw, 2rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.project-feature p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.project-gallery {
  padding: clamp(54px, 8vw, 126px) 0;
  background: var(--white);
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 20px);
}

.project-gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  background: #d7d7d7;
  cursor: zoom-in;
  transition: transform 220ms ease, filter 220ms ease;
}

.project-gallery-grid img:hover,
.project-gallery-grid img:focus-visible {
  filter: brightness(0.92);
  transform: translateY(-3px);
  outline: none;
}

body.is-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(52px, 1fr) minmax(0, min(78vw, 980px)) minmax(52px, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: clamp(18px, 4vw, 58px);
  background: rgba(246, 246, 244, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox::before,
.gallery-lightbox::after {
  content: "";
  position: absolute;
  inset: 12vh auto 12vh 0;
  width: 34vw;
  background: var(--lightbox-preview, none);
  opacity: 0.16;
  pointer-events: none;
}

.gallery-lightbox::after {
  inset: 12vh 0 12vh auto;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(48, 48, 48, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

.gallery-lightbox-close {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  width: 46px;
  height: 46px;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-lightbox-nav {
  width: clamp(44px, 5vw, 62px);
  height: clamp(44px, 5vw, 62px);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
}

.gallery-lightbox-prev {
  justify-self: end;
}

.gallery-lightbox-next {
  justify-self: start;
}

.gallery-lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.gallery-lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 34px 90px rgba(17, 17, 17, 0.18);
}

.gallery-lightbox-figure figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.project-more {
  padding: clamp(54px, 8vw, 124px) 0;
  background: #f6f6f4;
}

.project-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

.project-template-status,
[data-portfolio-status] {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.project-more-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(290px, 30vw, 440px);
  overflow: hidden;
  padding: 24px;
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
  background: var(--dark);
}

.project-more-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.02) 18%, rgba(18, 18, 18, 0.76) 100%);
}

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

.project-more-card:hover img,
.project-more-card:focus-visible img {
  transform: scale(1.06);
}

.project-more-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-more-card strong {
  margin-top: 7px;
  font-size: clamp(1.35rem, 1.9vw, 2.25rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.project-more-card em {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-style: normal;
}

.project-more-card-all {
  place-content: center;
  justify-items: center;
  text-align: center;
  background: var(--dark);
}

.project-more-card-all::after {
  z-index: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 190, 20, 0.24), transparent 24%),
    linear-gradient(135deg, #303030, #1e1e1e);
}

.project-more-card-all > * {
  position: relative;
  z-index: 1;
}

@keyframes portfolioCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.quote-mark {
  color: var(--accent);
  font-size: 5rem;
  line-height: 0.8;
  font-weight: 700;
}

.quote-mark-bottom {
  align-self: end;
}

.why-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-combined {
  background: var(--white);
  padding: calc(var(--header-height) + 18px) 0 18px;
}

.about-combined-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  min-height: calc(100svh - var(--header-height) - 40px);
}

.about-quote {
  background: var(--white);
  padding: clamp(30px, 4.4vh, 54px) clamp(28px, 4vw, 54px) clamp(18px, 2.4vh, 28px);
}

.about-quote h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: var(--section-heading-size);
  font-weight: 300;
  line-height: 1.04;
}

.about-quote-body {
  display: grid;
  grid-template-columns: auto minmax(0, 0.76fr) auto;
  align-items: start;
  gap: 16px;
  max-width: 1380px;
  margin: 0 auto;
}

.about-quote-body p {
  margin: 0;
  font-size: clamp(1.24rem, 1.7vw, 1.9rem);
  line-height: 1.14;
  color: #303030;
  font-style: italic;
}

.about-quote .quote-mark {
  align-self: center;
  font-size: clamp(3.4rem, 4.2vw, 5rem);
  line-height: 0.72;
}

.about-quote .quote-mark-bottom {
  align-self: end;
  transform: translateY(10px);
}

.about-showcase {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: min(50svh, 536px);
  background: #262626;
  overflow: hidden;
}

.about-showcase-image {
  position: absolute;
  inset: 0;
}

.about-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-showcase-copy {
  position: absolute;
  inset: 0 0 0 auto;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 4vw, 74px) clamp(36px, 4.2vw, 76px);
  color: var(--white);
  background: rgba(70, 74, 73, 0.1);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.about-showcase-copy h3 {
  margin: 2px 0 18px;
  font-size: clamp(3.2rem, 4.9vw, 5.8rem);
  line-height: 1.02;
  font-weight: 300;
}

.about-showcase-copy p:last-of-type {
  max-width: 24ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 1.28vw, 1.34rem);
  line-height: 1.18;
}

.about-full {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(520px, 76svh, 760px);
  overflow: visible;
  background-color: #aabfc0;
  transform: none;
  will-change: auto;
  filter: none;
  perspective: none;
}

main > section.about-full {
  display: block;
  min-height: clamp(520px, 76svh, 760px);
}

body:not(.show-legacy-about) .about-full {
  background-image: url("assets/images/sections/optimized/about-full.jpg") !important;
  background-attachment: scroll !important;
  background-size: cover !important;
  background-position: center calc(50% + var(--about-parallax-y, 0px)) !important;
  background-repeat: no-repeat !important;
}

.about-compare-toggle {
  position: absolute;
  top: calc(var(--header-height) + 14px);
  right: var(--page-gutter);
  z-index: 8;
  border: 1px solid rgba(48, 48, 48, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-full-legacy {
  display: none;
}

body.show-legacy-about .about-media-inner,
body.show-legacy-about .about-full-panel {
  display: none;
}

body.show-legacy-about .about-full-legacy {
  display: block;
}

body.show-legacy-about .about-full {
  min-height: auto;
  overflow: visible;
  background: var(--white);
}

body.show-legacy-about .about-full::before {
  display: none;
}

.about-media-inner,
.about-full-media {
  display: none !important;
}

.about-full-panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(50%, 900px);
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(32px, 4vw, 72px);
  background:
    linear-gradient(90deg, rgba(229, 233, 232, 0.34) 0%, rgba(229, 233, 232, 0.24) 74%, rgba(229, 233, 232, 0.08) 100%);
  backdrop-filter: blur(4px) saturate(102%);
  -webkit-backdrop-filter: blur(4px) saturate(102%);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.18), 12px 0 32px rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.about-full-copy {
  width: min(100%, 28rem);
  color: var(--white);
}

.about-full-copy .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.about-full-copy h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--white);
  max-width: 12ch;
}

.about-full-copy > p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.42;
  max-width: 28ch;
}

body.show-legacy-about .about-full-legacy {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100svh;
  padding: calc(var(--header-height) + 18px) 0 18px;
  background: var(--white);
  box-sizing: border-box;
}

.services {
  background: #eef2f5;
  min-height: auto;
  padding: clamp(56px, 8svh, 92px) 0 clamp(54px, 7svh, 86px);
  align-items: flex-start;
}

main > section.services {
  min-height: auto;
  display: flex;
  align-items: flex-start;
}

.services .container {
  transform: none;
}

.services-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 44rem;
}

.services-head p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.42;
}

.services .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
}

.services h2 {
  font-size: 3rem;
  margin-bottom: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.services-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(28px, 5svh, 48px);
}

.services-column {
  display: grid;
}

.service-row {
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(48, 48, 48, 0.14);
  border-radius: 0;
  padding: 14px 0 12px;
  display: block;
  font-size: 1.24rem;
  font-weight: 300;
  line-height: 1.18;
}

.service-row > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.service-row > summary::-webkit-details-marker {
  display: none;
}

.service-row > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--dark);
  font-size: 1.05em;
  line-height: 1;
  font-weight: 300;
  transition: transform 180ms ease, color 180ms ease;
}

.service-row[open] > summary::after {
  content: "â’";
  color: var(--accent);
}

.service-row > p {
  display: none;
  margin: 12px 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1.5;
}

.service-row[open] > p {
  display: block;
}

.service-row:hover,
.service-row:focus-visible,
.service-row > summary:focus-visible {
  transform: none;
  color: var(--accent);
}

.why {
  position: relative;
  display: block;
  height: 100svh;
  min-height: 100svh;
  padding: var(--header-height) 0 0;
  overflow: hidden;
  background: #ffffff;
}

.why > .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.why-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: 100%;
  max-width: none !important;
  margin: 0;
  gap: clamp(28px, 3.6vw, 76px);
  height: calc(100svh - var(--header-height));
  min-height: 0;
  padding: 0 var(--page-gutter);
}

.why-pane {
  min-height: 0;
}

.why-pane-left {
  display: flex;
}

.why-fixed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: clamp(1.25rem, 2vh, 2rem) 0 clamp(1rem, 2vw, 2.5rem) clamp(1rem, 2vw, 2.5rem);
}

.why-fixed h2 {
  margin: clamp(4rem, 6vh, 6rem) 0 clamp(2rem, 3vh, 3rem);
  font-size: var(--section-heading-size);
  line-height: 1.04;
  font-weight: 300;
  text-align: center;
}

.why-visual {
  position: sticky;
  top: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  height: 100%;
}

.why-visual::before {
  content: none;
}

.why-visual img {
  width: min(90%, 900px);
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.why-pane-right {
  height: 100%;
  min-width: 0;
  padding-right: 0;
}

.why-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: clamp(5vh, 7vh, 8vh) 0 clamp(5vh, 7vh, 8vh);
}

.why-scroll::-webkit-scrollbar {
  display: none;
}

.benefit-list {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.why-item {
  width: min(100%, 1120px) !important;
  min-height: clamp(340px, 48vh, 520px);
  padding: clamp(1.25rem, 2.5vh, 2rem) 0;
  border-bottom: 1px solid rgba(48, 48, 48, 0.12);
  background: transparent;
  display: grid;
  grid-template-columns: clamp(170px, 11vw, 225px) minmax(0, 1fr);
  gap: clamp(2.25rem, 3.2vw, 4.25rem);
  align-items: center;
}

.why-item img {
  width: clamp(170px, 11vw, 225px);
  height: clamp(110px, 7.1vw, 145px);
  margin-top: 0;
  align-self: center;
  object-fit: contain;
}

.why-item-copy {
  padding-top: clamp(0.2rem, 0.4vw, 0.45rem);
  width: 100%;
  max-width: none;
}

.why-item h3 {
  margin: 0 0 1rem;
  width: min(100%, 15ch);
  max-width: none;
  font-size: clamp(30px, 2.05vw, 40px);
  line-height: 1.08;
  font-weight: 400;
}

.why-item p {
  margin: 0;
  width: min(100%, 52ch);
  max-width: none;
  color: #5d5d5d;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.34;
}

.why {
  height: auto;
  min-height: 100svh;
  padding: 0;
  overflow: visible;
  background: #F2F2F2;
}

.why > .container {
  width: var(--container) !important;
  max-width: var(--container) !important;
  margin: 0 auto !important;
}

.why-shell {
  grid-template-columns: minmax(360px, 0.88fr) minmax(620px, 1.12fr);
  width: 100%;
  max-width: none !important;
  gap: clamp(44px, 5vw, 92px);
  height: auto;
  min-height: calc(100svh - var(--header-height));
  padding: calc(var(--header-height) + 34px) 0 42px;
  align-items: center;
}

.why-visual-column {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.why-visual-window {
  position: relative;
  width: 100%;
  height: clamp(560px, 78vh, 920px);
  min-height: 60vh;
  border-radius: 16px;
  overflow: hidden;
  clip-path: inset(0 round 16px);
  isolation: isolate;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.12);
  background: #d6d6d6;
}

.why-visual-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  --parallax-scale: 1.1;
}

.why-copy-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.why-copy-column h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--section-heading-size);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.03em;
  max-width: 14ch;
  width: 100%;
}

.why-card-grid {
  width: 100%;
  margin-top: clamp(24px, 3vw, 38px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
}

.why-card {
  min-height: clamp(178px, 22vw, 240px);
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.why-card-dark {
  background: #343434;
  color: var(--white);
}

.why-card-light {
  background: #f7f7f7;
  color: var(--text);
  border: 1px solid rgba(48, 48, 48, 0.08);
}

.why-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.18rem, 1.28vw, 1.46rem);
  line-height: 1.1;
  font-weight: 600;
}

.why-card p {
  margin: 0;
  font-size: clamp(0.94rem, 0.92vw, 1.04rem);
  line-height: 1.42;
  color: inherit;
  opacity: 0.9;
}

.why-compare-toggle {
  position: absolute;
  top: calc(var(--header-height) + 14px);
  right: var(--page-gutter);
  z-index: 8;
  border: 1px solid rgba(48, 48, 48, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.why-legacy {
  display: none;
}

body.show-legacy-why .why-shell {
  display: none;
}

body.show-legacy-why .why {
  height: 100svh;
  min-height: 100svh;
  padding: var(--header-height) 0 0;
  overflow: hidden;
  background: #ffffff;
}

body.show-legacy-why .why > .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.show-legacy-why .why-legacy {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: 100%;
  gap: clamp(28px, 3.6vw, 76px);
  height: calc(100svh - var(--header-height));
  min-height: 0;
  padding: 0 var(--page-gutter);
}

body.show-legacy-why .why-pane {
  min-height: 0;
}

body.show-legacy-why .why-pane-left {
  display: flex;
}

body.show-legacy-why .why-fixed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: clamp(1.25rem, 2vh, 2rem) 0 clamp(1rem, 2vw, 2.5rem) clamp(1rem, 2vw, 2.5rem);
}

body.show-legacy-why .why-fixed h2 {
  margin: clamp(4rem, 6vh, 6rem) 0 clamp(2rem, 3vh, 3rem);
  font-size: var(--section-heading-size);
  line-height: 1.04;
  font-weight: 300;
  text-align: center;
  color: var(--text);
}

body.show-legacy-why .why-visual {
  position: sticky;
  top: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  height: 100%;
  border-radius: 0;
  overflow: visible;
}

body.show-legacy-why .why-visual::before {
  content: none;
}

body.show-legacy-why .why-visual img {
  width: min(90%, 900px);
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

body.show-legacy-why .why-pane-right {
  height: 100%;
  min-width: 0;
  padding-right: 0;
}

body.show-legacy-why .why-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: clamp(5vh, 7vh, 8vh) 0 clamp(5vh, 7vh, 8vh);
}

body.show-legacy-why .why-scroll::-webkit-scrollbar {
  display: none;
}

body.show-legacy-why .benefit-list {
  display: grid;
  gap: 0;
  margin-top: 0;
}

body.show-legacy-why .why-item {
  width: min(100%, 1120px) !important;
  min-height: clamp(340px, 48vh, 520px);
  padding: clamp(1.25rem, 2.5vh, 2rem) 0;
  border-bottom: 1px solid rgba(48, 48, 48, 0.12);
  background: transparent;
  display: grid;
  grid-template-columns: clamp(170px, 11vw, 225px) minmax(0, 1fr);
  gap: clamp(2.25rem, 3.2vw, 4.25rem);
  align-items: center;
}

body.show-legacy-why .why-item img {
  width: clamp(170px, 11vw, 225px);
  height: clamp(110px, 7.1vw, 145px);
  margin-top: 0;
  align-self: center;
  object-fit: contain;
}

body.show-legacy-why .why-item-copy {
  padding-top: clamp(0.2rem, 0.4vw, 0.45rem);
  width: 100%;
  max-width: none;
}

body.show-legacy-why .why-item h3 {
  margin: 0 0 1rem;
  width: min(100%, 15ch);
  max-width: none;
  font-size: clamp(30px, 2.05vw, 40px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--text);
}

body.show-legacy-why .why-item p {
  margin: 0;
  width: min(100%, 52ch);
  max-width: none;
  color: #5d5d5d;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.34;
  opacity: 1;
}

.contact {
  background: var(--white);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
}

.contact-copy {
  max-width: 34rem;
  padding-top: clamp(0.5rem, 1.4vw, 1.2rem);
}

.contact-card {
  padding: 28px;
  background: var(--dark);
  color: var(--white);
  display: grid;
  gap: 18px;
}

.contact-form {
  gap: clamp(16px, 1.8vw, 22px);
  padding: clamp(22px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.98), rgba(236, 236, 236, 0.98));
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  color: var(--text);
}

.contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 16px);
}

.contact-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.contact-field-head strong {
  color: var(--text);
  font-size: clamp(0.92rem, 1vw, 1.08rem);
  font-weight: 600;
  line-height: 1.1;
}

.contact-field-head small {
  color: rgba(34, 34, 34, 0.55);
  font-size: 0.8rem;
  white-space: nowrap;
}

.contact-field :is(input, select, textarea) {
  font-family: inherit;
  width: 100%;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  padding: 15px 16px;
  font-size: clamp(0.92rem, 0.98vw, 1rem);
  line-height: 1.3;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.contact-field :is(input, select, textarea)::placeholder {
  color: rgba(31, 31, 31, 0.36);
}

.contact-field :is(input, select, textarea):focus {
  outline: none;
  border-color: rgba(255, 190, 12, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 190, 12, 0.18);
  background: #fff;
}

.contact-field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-field select {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6a6a6a 50%),
    linear-gradient(135deg, #6a6a6a 50%, transparent 50%);
  background-position:
    calc(100% - 22px) center,
    calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 46px;
}

.contact-form .button {
  justify-self: center;
  margin-top: 6px;
}

.contact-card > div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card > div:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-card span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
}

body.contact-page {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 36%, #f6f6f6 100%);
}

body.contact-page .site-header,
body.contact-page .site-header.is-scrolled {
  background: rgba(48, 48, 48, 0.94);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

body.contact-page main > section {
  min-height: auto;
  display: block;
  align-items: stretch;
}

body.contact-page .contact-page-hero,
body.contact-page .contact-page-main,
body.contact-page .contact-page-faq {
  padding: calc(var(--header-height) + clamp(24px, 4vh, 40px)) 0 clamp(24px, 4vh, 44px);
}

body.contact-page .contact-page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + clamp(34px, 5vh, 64px));
}

body.contact-page .contact-page-hero::before {
  content: none;
}

body.contact-page .contact-page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

body.contact-page .contact-page-hero-copy {
  max-width: 40rem;
}

body.contact-page .contact-page-hero-copy h1 {
  margin: 10px 0 14px;
  max-width: 14ch;
  font-size: var(--section-heading-size) !important;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 300;
}

body.contact-page .contact-page-hero-copy p {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.08vw, 1.12rem);
}

body.contact-page .contact-page-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

body.contact-page .contact-page-hero-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #313131 0%, #242424 100%);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.contact-page .contact-page-hero-card:hover,
body.contact-page .contact-page-hero-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 190, 12, 0.18);
  box-shadow: 0 30px 72px rgba(17, 17, 17, 0.2);
}

body.contact-page .contact-page-hero-card span {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.contact-page .contact-page-hero-card strong {
  max-width: 15ch;
  font-size: clamp(1.2rem, 1.85vw, 2rem);
  line-height: 1.15;
  font-weight: 300;
}

body.contact-page .contact-page-hero-card ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

body.contact-page .contact-page-contact-list {
  gap: 12px;
}

body.contact-page .contact-page-hero-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.35;
  font-size: 0.9rem;
}

body.contact-page .contact-page-hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

body.contact-page .contact-page-hero-card li strong {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
}

body.contact-page .contact-page-hero-card li span {
  margin: 0;
  display: inline;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

body.contact-page .contact-page-main {
  padding-top: clamp(42px, 6vh, 88px);
  padding-bottom: clamp(42px, 6vh, 88px);
  background: var(--light);
}

body.contact-page .contact-page-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
}

body.contact-page .contact-page-side {
  display: grid;
  gap: 24px;
}

body.contact-page .contact-page-copy {
  max-width: 34rem;
}

body.contact-page .contact-page-copy h2 {
  margin: 10px 0 14px;
  font-size: var(--section-heading-size);
  line-height: 1.05;
  font-weight: 300;
}

body.contact-page .contact-page-copy p {
  margin: 0;
  color: var(--muted);
}

body.contact-page .contact-page-steps {
  display: grid;
  gap: 14px;
}

body.contact-page .contact-page-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 18px;
  background: #fafafa;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

body.contact-page .contact-page-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 190, 12, 0.18);
  color: var(--dark);
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.contact-page .contact-page-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

body.contact-page .contact-page-step p {
  margin: 0;
  color: var(--muted);
}

body.contact-page .contact-page-note {
  padding: 22px 24px;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

body.contact-page .contact-page-note h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

body.contact-page .contact-page-note ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

body.contact-page .contact-page-form {
  align-self: start;
}

body.contact-page .contact-page-faq {
  padding-bottom: clamp(34px, 5vh, 64px);
}

body.contact-page .contact-page-faq-head {
  align-items: end;
}

body.contact-page .contact-page-faq-head p:last-child {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
}

body.contact-page .contact-page-faq-head h2 {
  margin: 8px 0 0;
  font-size: var(--section-heading-size);
  line-height: 1.05;
  font-weight: 300;
}

body.contact-page .contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.contact-page .contact-faq-grid details {
  padding: 20px 22px;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
}

body.contact-page .contact-faq-grid summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
}

body.contact-page .contact-faq-grid summary::-webkit-details-marker {
  display: none;
}

body.contact-page .contact-faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 600;
}

body.contact-page .contact-faq-grid details[open] summary::after {
  content: "-";
}

body.contact-page .contact-faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.full-width {
  width: 100%;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(160px, 0.8fr));
  gap: 32px;
  align-items: start;
  padding-bottom: 30px;
}

.footer-brand,
.footer-column {
  display: grid;
  gap: 12px;
}

.footer-brand p,
.footer-column p {
  margin: 0;
}

.footer-brand img {
  margin-bottom: 4px;
}

.footer-heading {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-note {
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-column a,
.footer-bottom a,
.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
}

.footer-column a:hover,
.footer-bottom a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links + .footer-links {
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-footer .container {
  width: var(--container);
  max-width: 2500px;
  margin-inline: auto;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 32px));
  z-index: 60;
  background: rgba(16, 16, 16, 0.96);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.cookie-banner__button--primary {
  background: var(--accent);
  color: #111;
}

.cookie-banner__button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cookie-banner[hidden] {
  display: none !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
}

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

body.privacy-page main > section:not(.hero) {
  min-height: auto;
  display: block;
}

body.privacy-page .site-header,
body.privacy-page .site-header.is-scrolled {
  background: rgba(48, 48, 48, 0.94);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

body.privacy-page .site-nav {
  color: rgba(255, 255, 255, 0.9);
}

body.privacy-page .menu-toggle {
  border-color: rgba(255, 255, 255, 0.18);
}

body.privacy-page .menu-toggle span:not(.sr-only) {
  background: var(--white);
}

body.privacy-page .page-intro {
  padding: 150px 0 44px;
}

body.privacy-page .intro-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

body.privacy-page .intro-copy {
  max-width: 860px;
  text-align: center;
}

body.privacy-page .intro-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 300;
}

body.privacy-page .intro-copy p {
  max-width: 54rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  margin-inline: auto;
}

body.privacy-page .content-section {
  padding: 0 0 72px;
}

body.privacy-page .narrow-content {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}

body.privacy-page .content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.05);
  text-align: left;
}

body.privacy-page .content-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

body.privacy-page .content-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  body.privacy-page .intro-layout {
    flex-direction: column;
    align-items: center;
  }

  body.privacy-page .narrow-content {
    grid-template-columns: 1fr;
  }
}

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (min-width: 1700px) {
  body.home-page .hero-content {
    max-width: min(66vw, 78rem);
  }

  body.home-page .hero h1 {
    width: min(100%, 12ch);
    max-width: 12ch;
    font-size: clamp(3rem, 3.6vw, 5.2rem);
  }

  main > section:not(.hero) {
    min-height: 100svh;
    display: flex;
    align-items: center;
  }

  main > section.services {
    min-height: auto;
    align-items: flex-start;
  }

  main > section.about-full {
    display: block;
    min-height: 760px;
  }

  .portfolio-stage-legacy {
    min-height: 100svh;
    padding: calc(var(--header-height) + 22px) 0 28px;
  }

  .portfolio-stage-legacy .portfolio-layout {
    gap: 20px;
  }

  .portfolio-stage-legacy .portfolio-intro h2 {
    font-size: var(--section-heading-size);
  }

  .portfolio-stage-legacy .portfolio-grid {
    gap: 16px;
  }

  .about-full-panel {
    width: min(48%, 860px);
    padding: 64px;
  }

  .about-full-copy {
    width: min(100%, 30rem);
  }

  .about-full-copy h2 {
    font-size: 3.2rem;
  }

  .about-full-copy > p {
    font-size: 1.06rem;
    line-height: 1.42;
  }

  .why-shell {
    gap: 76px;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 48px;
  }

  .why-visual-window {
    width: min(100%, 720px);
    height: min(760px, calc(100svh - var(--header-height) - 106px));
  }

  .why-copy-column h2 {
    font-size: var(--section-heading-size);
  }

  .why-card-grid {
    gap: 24px;
    margin-top: 44px;
  }

  .why-card {
    min-height: 230px;
    padding: 32px;
  }

  .why-card h3 {
    font-size: 1.55rem;
  }

  .why-card p {
    font-size: 1.1rem;
  }

  .contact {
    min-height: 100svh;
    padding: calc(var(--header-height) + 44px) 0 58px;
  }

  .contact-layout {
    align-items: center;
    gap: 86px;
  }

  .contact-copy h2 {
    font-size: var(--section-heading-size);
  }

  .contact-copy p {
    max-width: 40rem;
    font-size: 1.24rem;
    line-height: 1.55;
  }

  .contact-card {
    padding: 36px;
    gap: 24px;
  }

  .contact-form {
    padding: 36px;
  }

  .contact-card span,
  .contact-card strong {
    font-size: 1.08rem;
  }

  .services-hero-content {
    width: var(--container);
    max-width: var(--container);
    padding-left: 0;
  }

  .services-hero-content p:last-child {
    font-size: 1.22rem;
  }

  .services-category-grid {
    gap: 28px 52px;
  }

  .services-image-copy {
    max-width: 48rem;
  }

  .services-mini-grid article {
    padding: 24px 22px;
  }

  .services-mini-grid p {
    font-size: 1rem;
  }
}

@media (max-width: 1100px) {
  main > section:not(.hero) {
    min-height: 100svh;
  }

  main > section.services {
    min-height: auto;
  }

  main > section.about-full {
    min-height: clamp(500px, 74svh, 680px);
  }

  .portfolio-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-page-copy h1 {
    max-width: 13ch;
    font-size: var(--subpage-h1);
  }

  .portfolio-filter-card {
    min-height: 0;
  }

  .portfolio-page-grid {
    grid-auto-rows: clamp(300px, 44vw, 460px);
  }

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

  .references-logos-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .references-section-copy {
    max-width: 100%;
  }

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

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

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

  .why {
    height: auto;
    min-height: auto;
    padding-bottom: 24px;
  }

  .why-shell {
    grid-template-columns: 1fr;
    height: auto;
    padding-inline: var(--page-gutter);
  }

  .why-fixed {
    height: auto;
  }

  .why-fixed h2 {
    text-align: center;
  }

  .why-visual {
    min-height: 340px;
  }

  .why-visual img {
    max-height: none;
  }

  .why-scroll {
    height: auto;
    overflow: visible;
    padding-top: 0;
  }

  .why-item {
    min-height: auto;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
  }

  .why-item img {
    width: 64px;
    height: 64px;
  }

  .about-combined-layout {
    min-height: auto;
  }

  .about-showcase {
    position: relative;
    min-height: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-showcase-copy {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 38px 28px 42px;
  }

  .portfolio-stage {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    margin-left: 0;
    min-height: auto;
  }

  .portfolio-copy {
    padding: 36px var(--page-gutter) 0;
  }

  .portfolio-carousel-shell {
    padding: 0 var(--page-gutter) 28px;
    align-items: stretch;
  }

  .portfolio-carousel {
    height: auto;
    min-height: 0;
  }

  .portfolio-card {
    flex-basis: clamp(300px, 72vw, 440px);
    height: clamp(340px, 60svh, 560px);
  }

  .portfolio-controls {
    right: var(--page-gutter);
  }

  .services-columns {
    gap: 32px;
  }

  .services h2,
  .about-full-copy h2 {
    font-size: 2.6rem;
  }

  .service-row {
    font-size: 1.16rem;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(calc(100vw - 28px), 1720px);
    --header-height: 74px;
  }

  .site-header {
    background: rgba(48, 48, 48, 0.94);
  }

  .header-inner {
    min-height: 74px;
    padding-inline: 5vw;
  }

  .brand img {
    width: clamp(7.5rem, 34vw, 10rem);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    z-index: 140;
    display: grid;
    gap: 0;
    padding: 18px;
    background: rgba(48, 48, 48, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, opacity 180ms ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav .nav-cta {
    justify-self: start;
    margin-top: 6px;
    padding-left: 34px;
    padding-right: 34px;
    min-width: fit-content;
  }

  .about-compare-toggle {
    top: 14px;
    right: 18px;
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .about-full {
    min-height: 560px;
  }

  main > section.about-full {
    min-height: 560px;
  }

  body:not(.show-legacy-about) .about-full {
    background-attachment: scroll !important;
  }

  .about-full-panel {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: auto;
    padding: 42px 22px;
    align-items: center;
  }

  .about-full-copy {
    width: min(100%, 24rem);
  }


  .contact {
    padding: calc(var(--header-height) + 18px) 0 24px;
  }

  .services {
    padding: 46px 0 48px;
  }

  main > section.services {
    min-height: auto;
  }

  .services-hero {
    min-height: 400px !important;
    padding: calc(var(--header-height) + 24px) 0 28px;
  }

  .services-hero h1 {
    max-width: 14ch;
    font-size: clamp(1.26rem, 6vw, 1.74rem);
    line-height: 1.08;
  }

  .services-hero-content p:last-child {
    font-size: var(--subpage-p);
  }

  .services-intro {
    padding: 44px 0 56px;
  }

  .services-intro h2 {
    max-width: 15ch;
    font-size: var(--subpage-h2);
  }

  .services-category-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .services-category-card {
    gap: 10px;
  }

  .services-line-icon {
    width: 46px;
    height: 46px;
  }

  .services-image-break {
    min-height: 360px !important;
    padding: 28px 0;
  }

  .services-image-copy {
    padding: 18px;
    border-radius: 18px;
  }

  .services-image-break h2 {
    max-width: 15ch;
    font-size: var(--subpage-h2);
  }

  .services-capabilities {
    padding: 56px 0 64px;
  }

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

  .services-mini-grid article {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 16px 14px;
  }

  .services-mini-grid article img {
    width: 30px;
    height: 30px;
  }

  .services-capabilities-copy h2,
  .services-accordion-layout h2 {
    max-width: 12ch;
    font-size: var(--subpage-h2);
  }

  .services-capabilities-copy p:not(.eyebrow),
  .services-accordion-copy p:not(.eyebrow) {
    font-size: var(--subpage-p);
  }

  .services-accordion-section {
    padding: 56px 0 64px;
  }

  .services-accordion-list summary {
    font-size: var(--subpage-h3);
    padding: 16px 0;
  }

  .services-accordion-list p {
    padding: 0 0 20px 42px;
  }

  .about-page-hero {
    min-height: 500px !important;
    padding: calc(var(--header-height) + 28px) 0 42px;
  }

  .about-page-hero h1 {
    max-width: 11ch;
    font-size: var(--subpage-h1);
  }

  .about-page-hero-content p:last-child {
    font-size: var(--subpage-p);
  }

  .about-trust,
  .about-process,
  .about-cta {
    padding: 56px 0 64px;
  }

  .about-trust-copy h2,
  .about-process-copy h2,
  .about-cta h2 {
    max-width: 12ch;
    font-size: var(--subpage-h2);
  }

  .about-trust-points article {
    padding: 20px 18px;
  }

  .about-image-band {
    min-height: 360px !important;
    padding: 28px 0;
  }

  .about-image-band-copy {
    padding: 18px;
    border-radius: 18px;
  }

  .about-image-band h2 {
    max-width: 15ch;
    font-size: var(--subpage-h2);
  }

  .about-process-media,
  .about-process-media img {
    min-height: 320px;
  }

  .about-process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .about-cta .button {
    justify-self: start;
    grid-column: auto;
    margin-top: 0;
  }

  .about-cta-layout > p {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 190, 12, 0.5);
    background: transparent;
  }

  .why-head h2 {
    font-size: var(--section-heading-size);
  }

  .why-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-item img {
    width: 56px;
    height: 56px;
  }

  .why-item h3,
  .why-item p {
    max-width: none;
  }

  .portfolio {
    padding: calc(var(--header-height) + 12px) 0 18px;
  }

  .portfolio-page-hero {
    padding: calc(var(--header-height) + 32px) 0 34px;
  }

  .portfolio-page-copy {
    max-width: 100%;
    min-width: 0;
  }

  .portfolio-page-copy h1 {
    max-width: 15ch;
    font-size: var(--subpage-h1);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  .portfolio-page-copy p:last-child {
    font-size: var(--subpage-p);
    max-width: 32ch;
  }

  .portfolio-filter-section,
  .portfolio-list-section {
    padding-left: 0;
    padding-right: 0;
  }

  .portfolio-filter-card {
    min-height: 0;
    padding: 0;
  }

  .portfolio-filter-media,
  .portfolio-filter-media img {
    width: 60px;
    height: 60px;
  }

  .portfolio-filter-content > span {
    font-size: 0.82rem;
  }

  .portfolio-filter-content strong {
    display: none;
  }

  .portfolio-page-grid {
    grid-auto-rows: 360px;
  }

  .about-combined {
    padding: calc(var(--header-height) + 12px) 0 18px;
  }

  .about-quote {
    padding: 18px 18px 14px;
  }

  .about-quote-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quote-mark {
    font-size: 3.5rem;
  }

  .quote-mark-bottom {
    justify-self: end;
    transform: none;
  }

  .about-showcase-copy {
    position: relative;
    padding: 24px 18px 28px;
  }

  .about-showcase-copy p:last-of-type {
    max-width: none;
    font-size: 1.08rem;
    line-height: 1.18;
  }

  .about-full-copy h2 {
    font-size: 2.1rem;
  }

  .portfolio-link {
    align-self: start;
    margin-bottom: 0;
  }

  .hero {
    height: 100vh;
    min-height: 100vh;
  }

  .hero-content {
    padding-top: 84px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 1;
  }

  .lead {
    max-width: 19rem;
    font-size: 1rem;
    line-height: 1.34;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .portfolio-card {
    aspect-ratio: auto;
  }

  .project-card-content {
    padding: 20px;
  }

  .project-card-content h3 {
    font-size: 1.9rem;
  }

  .project-card-content span {
    max-width: 15ch;
  }

  .portfolio-copy h2 {
    font-size: var(--section-heading-size);
  }

  .portfolio-copy-text {
    max-width: none;
  }

  .portfolio-card {
    flex-basis: 88vw;
    height: 62svh;
  }

  .portfolio-controls {
    position: static;
    justify-content: flex-end;
    padding-top: 8px;
  }

  .contact-card {
    padding: 22px;
  }

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

  .contact-field-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .about-compare-toggle {
    top: 14px;
    right: 14px;
  }

  .why-compare-toggle {
    top: 14px;
    right: 14px;
  }

  .about-full {
    min-height: auto;
  }

  main > section.about-full {
    min-height: auto;
  }

  body:not(.show-legacy-about) .about-full {
    background-attachment: scroll !important;
  }

  .about-full-panel {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: auto;
    padding: 42px 22px;
    align-items: center;
  }

  .about-full-copy {
    width: min(100%, 24rem);
  }

  .why-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: calc(var(--header-height) + 18px) 0 28px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-visual-column {
    justify-content: center;
  }

  .why-visual-window {
    width: 100%;
    height: clamp(420px, 58svh, 620px);
    border-radius: 14px;
    clip-path: inset(0 round 14px);
  }

  .why-visual-media {
    background-position: center;
  }

  .why-copy-column {
    width: 100%;
    padding: 0 4px;
  }

  .why-copy-column h2 {
    max-width: 14ch;
    font-size: var(--section-heading-size);
  }

  .why-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .why-card h3 {
    font-size: 1.3rem;
  }

  .why-card p {
    font-size: 0.98rem;
  }

  body.show-legacy-why .why {
    height: auto;
    min-height: auto;
    overflow: visible;
    padding: calc(var(--header-height) + 18px) 0 28px;
  }

  body.show-legacy-why .why-legacy {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    padding: 0;
    gap: 28px;
  }

  body.show-legacy-why .why-fixed {
    padding: 0;
  }

  body.show-legacy-why .why-fixed h2 {
    margin: 0 0 24px;
    font-size: var(--section-heading-size);
  }

  body.show-legacy-why .why-visual {
    min-height: 320px;
  }

  body.show-legacy-why .why-visual img {
    width: 100%;
    height: auto;
  }

  body.show-legacy-why .why-scroll {
    height: auto;
    overflow: visible;
    padding: 0;
  }

  body.show-legacy-why .why-item {
    width: 100% !important;
    min-height: auto;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
  }

  body.show-legacy-why .why-item img {
    width: 64px;
    height: 64px;
  }

  body.show-legacy-why .why-item h3,
  body.show-legacy-why .why-item p {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 780px) {
  .about-full {
    min-height: auto;
  }

  main > section.about-full {
    min-height: auto;
  }
}

.project-detail-page main > section {
  min-height: auto;
}

@media (max-width: 1100px) {
  .project-detail-page main > section {
    min-height: auto;
  }

  .project-overview-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .project-details-card {
    max-width: 620px;
  }

  .project-feature-grid,
  .project-more-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  body.home-page .hero-bg {
    top: -16%;
    height: 132%;
    background-position: center top;
  }

  body.home-page .about-full {
    background-size: auto 156% !important;
    background-position: center calc(50% + var(--about-parallax-y, 0px)) !important;
  }

  .services-hero-media,
  .services-image-break-media,
  .about-page-hero-media,
  .about-image-band-media,
  .references-values-media img {
    --parallax-scale: 1.34;
  }

  .project-detail-hero {
    padding-top: calc(var(--header-height) + 28px);
  }

  .project-detail-hero-media {
    aspect-ratio: 5 / 4;
    min-height: 0;
    max-height: none;
    border-radius: 12px;
  }

  .project-detail-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center center;
    transform: scale(1.2);
    transform-origin: center center;
  }

  .project-detail-hero-content {
    inset: auto 22px 24px;
    max-width: calc(100% - 44px);
  }

  .project-overview,
  .project-features,
  .project-gallery,
  .project-more {
    padding: 46px 0;
  }

  .project-section-head {
    display: grid;
    align-items: start;
    gap: 8px;
  }

  .cookie-banner {
    left: 50%;
    bottom: 12px;
    width: calc(100vw - 20px);
    padding: 16px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__button {
    width: 100%;
  }

  .site-footer {
    padding: 38px 0 24px;
  }

  .footer-inner {
    gap: 18px;
    padding-bottom: 22px;
  }

  .footer-brand,
  .footer-column {
    gap: 8px;
  }

  .footer-note {
    max-width: none;
  }

  .footer-heading {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
  }

  .footer-bottom {
    margin-top: 0;
    padding-top: 14px;
    gap: 8px;
    font-size: 0.86rem;
    line-height: 1.45;
  }
}

@media (max-width: 560px) {
  .project-detail-hero-media {
    min-height: 360px;
  }

  .project-detail-hero-content h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .project-overview-copy h2,
  .project-section-head h2 {
    font-size: var(--section-heading-size);
    max-width: calc(100vw - 28px);
    overflow-wrap: anywhere;
  }

  .project-overview-copy p:not(.eyebrow),
  .project-detail-hero-content span,
  .project-details-card {
    overflow-wrap: anywhere;
  }

  .project-detail-hero-content span {
    max-width: 30ch;
  }

  .project-overview-copy p:not(.eyebrow) {
    max-width: 34ch;
  }

  .project-details-card,
  .project-feature {
    padding: 22px;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-gallery-grid img {
    aspect-ratio: 4 / 3;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 70px 14px 22px;
  }

  .gallery-lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-lightbox-figure img {
    max-height: 68vh;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    grid-row: 2;
    margin-top: 12px;
  }

  .gallery-lightbox-prev {
    justify-self: end;
  }

  .gallery-lightbox-next {
    justify-self: start;
  }

  .project-more-card {
    min-height: 260px;
  }
}

/* Homepage-only viewport frame system. Subpages keep the normal document flow. */
body.home-page {
  --cta-width: clamp(8.4rem, 12vw, 12.2rem);
  --cta-height: clamp(38px, 3.4vw, 48px);
  --home-nav-height: clamp(72px, 9vh, 96px);
  --home-pad-x: var(--page-gutter);
  --home-section-pad-y: clamp(84px, 8vw, 136px);
  --home-pad-y: clamp(36px, 4.5vw, 72px);
  --home-gap: clamp(20px, 2.4vw, 40px);
  --home-card-radius: clamp(0.45rem, 0.7vw, 0.85rem);
  overflow-x: hidden;
}

html:has(body.home-page) {
  height: auto;
  overflow-y: scroll;
  scroll-snap-type: none;
}

body.home-page .site-header {
  height: auto;
  min-height: 0;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

body.home-page .site-header,
body.home-page .site-nav a {
  pointer-events: auto;
}

@media (min-width: 781px) {
  body.home-page .site-nav {
    pointer-events: auto;
  }
}

@media (max-width: 780px) {
  body.home-page .site-nav {
    pointer-events: none;
  }

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

body.home-page .header-inner {
  min-height: 82px;
}

body.home-page .brand img {
  width: 144px;
}

body.home-page main {
  width: auto;
  overflow: visible;
  position: relative;
  z-index: 0;
}

body.home-page main > section {
  position: relative;
  width: auto;
  height: auto;
  min-height: auto;
  max-height: none;
  overflow: visible;
  display: grid;
  grid-template-rows: auto;
  align-items: start;
  scroll-snap-align: none;
  padding: var(--home-section-pad-y) 0;
  margin: 0;
  box-sizing: border-box;
}

body.home-page .container {
  width: var(--container);
  max-width: 2500px;
  margin: 0 auto;
}

body.home-page main > section > .container,
body.home-page main > section > .portfolio-stage-legacy,
body.home-page main > section > .about-full-panel {
  grid-row: 1;
  min-height: 0;
}

body.home-page #portfolio,
body.home-page #client-voices {
  padding-block: var(--home-section-pad-y);
}

body.home-page #portfolio {
  padding-bottom: clamp(40px, 4.5vw, 76px);
}

body.home-page #services {
  padding-top: clamp(28px, 3.2vw, 54px);
  padding-bottom: clamp(48px, 5vw, 86px);
}

body.home-page .hero-content,
body.home-page .services > .container,
body.home-page .contact-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

body.home-page .hero {
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

body.home-page .hero-bg {
  top: 0;
  height: 100%;
}

body.home-page .hero-content {
  width: var(--container) !important;
  max-width: 2500px !important;
  height: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  justify-content: center !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

body.home-page .hero h1 {
  width: min(100%, 15ch);
  font-size: clamp(2.8rem, 4.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

body.home-page .lead {
  max-width: 40ch;
  font-size: clamp(0.96rem, 1.05vw, 1.18rem);
  line-height: 1.34;
}

body.home-page .hero-actions {
  gap: 1vw;
  margin-top: clamp(18px, 2.2vw, 32px);
}

body.home-page .portfolio-stage-legacy {
  width: auto;
  max-width: none;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
}

body.home-page .portfolio-stage-legacy .portfolio-layout {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: stretch;
  gap: clamp(18px, 2vw, 28px);
}

body.home-page .portfolio-stage-legacy .portfolio-header {
  width: 100%;
  max-width: none;
  gap: 2vw;
  align-items: end;
}

body.home-page .portfolio-stage-legacy .portfolio-intro {
  display: grid;
  gap: 0;
}

body.home-page .eyebrow {
  margin-bottom: clamp(8px, 0.8vw, 14px);
  font-size: clamp(0.84rem, 0.88vw, 1.05rem);
  letter-spacing: 0.14em;
}

body.home-page .portfolio-stage-legacy .portfolio-intro h2,
body.home-page .services h2,
body.home-page .why-copy-column h2,
body.home-page .contact h2,
body.home-page .about-full-copy h2 {
  max-width: 15ch;
  font-size: clamp(1.44rem, 2.56vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: 0;
  margin: 0;
}

body.home-page .portfolio-link {
  font-size: clamp(0.84rem, 0.92vw, 1.08rem);
  margin: 0;
}

body.home-page .portfolio-stage-legacy .portfolio-grid {
  inline-size: 100%;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  justify-self: stretch;
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  gap: clamp(16px, 1.6vw, 24px);
}

body.home-page .portfolio-row {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  align-items: stretch;
  gap: clamp(14px, 1.4vw, 22px);
}

body.home-page .portfolio-row-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home-page .portfolio-row-bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page .portfolio-row-bottom-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home-page .portfolio-stage-legacy .project-card,
body.home-page .portfolio-stage-legacy .project-card-wide {
  grid-column: span 1;
  min-width: 0;
}

body.home-page .project-card {
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: var(--home-card-radius);
}

body.home-page .portfolio-row-top .project-card,
body.home-page .portfolio-row-top .project-card-wide {
  min-height: clamp(280px, 26vw, 460px);
}

body.home-page .portfolio-row-bottom .project-card,
body.home-page .portfolio-row-bottom .project-card-wide {
  min-height: clamp(220px, 19vw, 340px);
}

body.home-page .portfolio-row-bottom-wide .project-card,
body.home-page .portfolio-row-bottom-wide .project-card-wide {
  min-height: clamp(280px, 26vw, 460px);
}

body.home-page .project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.home-page .project-card-content {
  padding: clamp(1rem, 1.2vw, 1.6rem);
}

body.home-page .project-card-content p {
  font-size: clamp(0.82rem, 0.9vw, 1.24rem);
}

body.home-page .project-card-content h3 {
  font-size: clamp(1rem, 1.7vw, 2.4rem);
  letter-spacing: 0;
}

body.home-page .project-card-content span {
  max-width: 25ch;
  font-size: clamp(0.8rem, 0.88vw, 1.24rem);
}

body.home-page .portfolio-mobile-link {
  display: none;
}

body.home-page .services {
  background: #eef2f5;
}

body.home-page .services > .container {
  gap: clamp(18px, 2.2vw, 34px);
  justify-content: flex-start;
}

body.home-page .services-head {
  max-width: min(48rem, 58vw);
  display: grid;
  gap: 0;
}

body.home-page .services-head .eyebrow {
  margin-bottom: clamp(4px, 0.45vw, 8px);
}

body.home-page .services-head p {
  margin-top: clamp(6px, 0.65vw, 11px);
  max-width: 48ch;
  font-size: clamp(0.82rem, 1vw, 1.45rem);
  line-height: 1.38;
}

body.home-page .services-columns {
  width: 100%;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 32px) clamp(48px, 6vw, 116px);
}

body.home-page .services-column {
  display: grid;
  gap: clamp(10px, 1vw, 16px);
  min-width: 0;
}

body.home-page .service-row {
  min-height: 0;
  padding-block: clamp(16px, 1.45vw, 24px);
  gap: clamp(18px, 2vw, 34px);
  font-size: clamp(1.55rem, 2vw, 2.45rem);
  line-height: 1.08;
}

body.home-page .about-full {
  background-attachment: scroll !important;
}

body.home-page .about-full-panel {
  position: relative;
  inset: auto;
  width: min(52vw, 920px);
  height: auto;
  min-height: auto;
  max-height: none;
  margin-left: calc((100vw - var(--container)) / 2);
  padding: clamp(3.5vh, 5.5vh, 6.5vh) clamp(3.5vw, 5vw, 5.75vw);
  display: flex;
  align-items: center;
  align-self: center;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.home-page .about-full-copy {
  width: min(100%, 38rem);
  min-width: 0;
}

body.home-page .about-full-copy > p {
  margin-top: clamp(1.1vh, 1.8vh, 2.2vh);
  max-width: 34ch;
  font-size: clamp(0.84rem, 1.02vw, 1.35rem);
  line-height: 1.38;
}

body.home-page .about-full-copy .button {
  margin-top: clamp(1.5rem, 2.4vh, 2.3rem);
  align-self: flex-start;
}

body.home-page .why-shell,
body.home-page .why-us-section {
  grid-row: 1;
  width: 100% !important;
  max-width: none !important;
  height: auto;
  min-height: 0;
  margin: 0 auto !important;
  padding: 0 var(--home-pad-x) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center !important;
  gap: clamp(24px, 3vw, 48px) !important;
}

body.home-page .why-visual-column,
body.home-page .why-copy-column {
  min-height: 0;
}

body.home-page .why-visual-column,
body.home-page .image-block {
  flex: 0 0 clamp(380px, 40vw, 720px);
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  align-self: center;
}

body.home-page .why-visual-window,
body.home-page .why-us-image-wrapper {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
}

body.home-page .why-visual-media,
body.home-page .why-us-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  --parallax-scale: 1.04;
}

body.home-page .why-copy-column,
body.home-page .text-block {
  flex: 1;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
  align-self: center;
}

body.home-page .why-copy-column h2 {
  max-width: 15ch;
  margin-bottom: clamp(1.2vh, 2vh, 2.8vh);
}

body.home-page .why-card-grid,
body.home-page .why-us-text-grid {
  width: 100%;
  max-width: none;
  margin-top: clamp(1.6vh, 2.8vh, 3.8vh);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

body.home-page .why-card {
  min-height: clamp(140px, 16vw, 205px);
  padding: clamp(18px, 1.8vw, 28px);
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(48, 48, 48, 0.08);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
}

body.home-page .why-card:hover,
body.home-page .why-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

body.home-page .why-card-dark,
body.home-page .why-card-light {
  background: #fff;
  color: var(--text);
}

body.home-page .why-card h3 {
  margin-bottom: clamp(0.8vh, 1.2vh, 1.6vh);
  font-size: clamp(0.98rem, 1.2vw, 1.35rem);
  line-height: 1.1;
  color: var(--text);
}

body.home-page .why-card p {
  max-width: 48ch;
  font-size: clamp(0.82rem, 1vw, 1.45rem);
  line-height: 1.38;
  color: rgba(37, 37, 37, 0.8);
}

body.home-page .contact-layout {
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.22fr);
  gap: clamp(2.5vw, 4vw, 6vw);
  align-items: center;
}

body.home-page .contact-copy {
  max-width: 36rem;
  padding-top: 0;
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.2vw, 18px);
}

body.home-page .contact-copy .eyebrow {
  margin-bottom: clamp(2px, 0.4vw, 6px);
}

body.home-page .contact-copy h2 {
  margin-bottom: 0;
}

body.home-page .contact-copy p {
  margin: 0;
  max-width: 39rem;
  line-height: 1.42;
}

body.home-page .contact-card {
  width: 100%;
  padding: clamp(2vh, 2.6vw, 3.2vw);
  gap: clamp(1.2vh, 2vh, 2.6vh);
  border-radius: var(--home-card-radius);
}

body.home-page .contact-card > div {
  padding-bottom: clamp(1vh, 1.8vh, 2.4vh);
}

body.home-page .contact-card span,
body.home-page .contact-card strong {
  font-size: clamp(0.84rem, 1.02vw, 1.15rem);
}

@media (max-width: 780px) {
  body.home-page {
    --home-nav-height: 74px;
    --home-pad-x: 4vw;
    --home-section-pad-y: clamp(48px, 13vw, 76px);
    --home-pad-y: clamp(28px, 8vw, 48px);
    --home-gap: clamp(18px, 6vw, 32px);
  }

  body.home-page .site-nav {
    inset: 74px 0 auto;
    max-height: calc(100svh - 74px);
    z-index: 140;
  }

  body.home-page .header-inner {
    min-height: 74px;
  }

  body.home-page .menu-toggle {
    width: clamp(2.5rem, 12vw, 3.4rem);
    height: clamp(2.5rem, 12vw, 3.4rem);
  }

  body.home-page .hero-content {
    max-width: 92vw;
  }

  body.home-page .hero {
    height: auto;
    min-height: clamp(520px, 78svh, 680px);
  }

  body.home-page .hero h1 {
    font-size: clamp(1.8rem, 9vw, 3rem);
    max-width: 8ch;
    line-height: 0.96;
  }

  body.home-page .lead {
    max-width: 30ch;
    font-size: clamp(0.8rem, 3.8vw, 0.98rem);
  }

  body.home-page .hero-actions {
    align-items: flex-start;
    margin-top: 14px;
  }

  body.home-page .hero-actions .button {
    width: fit-content;
    min-width: var(--cta-width);
  }

  body.home-page .portfolio-stage-legacy .portfolio-header {
    align-items: start;
  }

  body.home-page .portfolio-stage-legacy .portfolio-grid {
    height: auto;
    align-self: start;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  body.home-page .portfolio-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    width: 100%;
  }

  body.home-page .portfolio-row-top,
  body.home-page .portfolio-row-bottom {
    grid-template-columns: 1fr;
  }

  body.home-page .portfolio-row-bottom {
    grid-template-columns: 1fr;
  }

  body.home-page .portfolio-row-bottom-wide {
    display: none;
  }

  body.home-page .portfolio-row-bottom .project-card:nth-child(3) {
    grid-column: span 1;
  }

  body.home-page .portfolio-stage-legacy .project-card,
  body.home-page .portfolio-stage-legacy .project-card-wide {
    grid-column: span 1;
  }

  body.home-page .portfolio-row-top .project-card,
  body.home-page .portfolio-row-top .project-card-wide,
  body.home-page .portfolio-row-bottom .project-card,
  body.home-page .portfolio-row-bottom .project-card-wide,
  body.home-page .portfolio-row-bottom-wide .project-card,
  body.home-page .portfolio-row-bottom-wide .project-card-wide {
    min-height: clamp(170px, 44vw, 240px);
  }

  body.home-page .project-card-content {
    padding: 20px;
  }

  body.home-page .project-card {
    height: auto;
    min-height: clamp(170px, 44vw, 240px);
  }

  body.home-page .portfolio-row-top > :nth-child(n + 3),
  body.home-page .portfolio-row-bottom > :nth-child(n + 2) {
    display: none;
  }

  body.home-page .portfolio-header .portfolio-link {
    display: none;
  }

  body.home-page .portfolio-mobile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    min-height: var(--cta-height);
    border-radius: 999px;
    background: #3a3a3a;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  body.home-page .project-card-content p,
  body.home-page .project-card-content span {
    display: none;
  }

  body.home-page .project-card-content h3 {
    font-size: 0.82rem;
  }

  body.home-page .services-head {
    max-width: 92vw;
  }

  body.home-page .services > .container {
    padding-block: 0;
  }

  body.home-page .services h2,
  body.home-page .portfolio-stage-legacy .portfolio-intro h2,
  body.home-page .why-copy-column h2,
  body.home-page .contact h2 {
    font-size: clamp(1.65rem, 9vw, 2.45rem);
  }

  body.home-page .services-head p {
    font-size: clamp(0.84rem, 3.7vw, 1.02rem);
  }

  body.home-page .services-columns {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.4vh;
  }

  body.home-page .services-column {
    gap: 0.8vh;
  }

  body.home-page .service-row {
    min-height: 5.2vh;
    padding-block: 0.45vh;
    font-size: clamp(0.82rem, 4.1vw, 1.05rem);
  }

  body.home-page .about-full-panel {
    width: 100%;
    max-height: none;
    margin-left: 0;
    padding: var(--home-pad-y) var(--home-pad-x);
  }

  body.home-page .about-full-copy {
    width: min(100%, 24rem);
  }

  body.home-page .about-full-copy h2 {
    font-size: clamp(1.75rem, 9.5vw, 2.9rem);
  }

  body.home-page .about-full-copy > p {
    font-size: clamp(0.84rem, 3.9vw, 1.04rem);
  }

  body.home-page .why-shell,
  body.home-page .why-us-section {
    display: flex !important;
    flex-direction: column !important;
    width: 92% !important;
    padding: 0 !important;
    gap: 1.5vh;
  }

  body.home-page .why-visual-column,
  body.home-page .image-block,
  body.home-page .why-copy-column,
  body.home-page .text-block {
    flex: 0 1 auto;
    width: 100%;
  }

  body.home-page .why-visual-window,
  body.home-page .why-us-image-wrapper {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto !important;
    min-height: clamp(150px, 34vw, 220px) !important;
  }

  body.home-page .why-card-grid,
  body.home-page .why-us-text-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 1.4vh;
  }

  body.home-page .why-card {
    min-height: auto;
    padding: 16px 18px;
  }

  body.home-page .why-card h3 {
    font-size: clamp(0.82rem, 3.6vw, 1rem);
  }

  body.home-page .why-card p {
    font-size: clamp(0.84rem, 3.7vw, 1rem);
  }

  body.home-page .why-card-grid,
  body.home-page .why-us-text-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(74%, 74%);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  body.home-page .why-card-grid::-webkit-scrollbar,
  body.home-page .why-us-text-grid::-webkit-scrollbar {
    display: none;
  }

  body.home-page .why-card {
    min-height: auto;
    padding: 14px 16px;
    border-radius: 12px;
    scroll-snap-align: start;
  }

  body.home-page .why-card h3 {
    margin-bottom: 8px;
  }

  body.home-page .why-card p {
    line-height: 1.32;
  }

  body.home-page .contact-layout {
    grid-template-columns: 1fr;
    gap: 2vh;
  }

  body.home-page .contact-copy {
    max-width: 92vw;
  }

body.home-page .contact-card {
    width: 100%;
    padding: 2vh 4vw;
  }
}

@media (max-width: 1100px) {
  .references-logos-layout,
  .references-reviews-layout {
    grid-template-columns: 1fr;
  }

  .references-reviews-head {
    position: static;
  }

  .references-section-copy h1,
  .references-reviews-head h2 {
    max-width: 14ch;
  }
}

@media (max-width: 780px) {
  .references-logos {
    padding-top: calc(var(--header-height) + 34px);
  }

  .references-section-copy h1,
  .references-reviews-head h2 {
    font-size: var(--subpage-h1);
    line-height: 1;
  }

  .references-logo-stage,
  .references-review-grid,
  .references-logo-wall {
    grid-template-columns: 1fr;
  }

  .references-logo-feature,
  .references-logo-feature:nth-child(1),
  .references-logo-feature:nth-child(2),
  .references-logo-feature:nth-child(3),
  .references-review-card,
  .references-review-card-large,
  .references-review-card-tall {
    grid-column: auto;
  }

  .references-logo-feature {
    min-height: 300px;
  }

  .references-logo-feature:nth-child(3) {
    min-height: 260px;
  }

  .references-logo-feature span {
    font-size: var(--subpage-h1);
  }

  .references-logo-wall span {
    min-height: 74px;
    justify-content: flex-start;
    text-align: left;
  }

  .references-review-card,
  .references-review-card-large,
  .references-review-card-tall {
    min-height: auto;
  }

  .references-review-card-large p {
    font-size: var(--subpage-h3);
    line-height: 1.32;
  }

  .portfolio-filter-head {
    align-items: start;
    flex-direction: column;
  }

  .portfolio-page-hero {
    padding-bottom: 28px;
  }

  .portfolio-filter-section {
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .portfolio-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
  }

  .portfolio-filter-card {
    min-height: 0;
    padding: 6px 4px 8px;
    aspect-ratio: 0.84 / 1;
    gap: 10px;
  }

  .portfolio-filter-media,
  .portfolio-filter-media img {
    width: clamp(64px, 18vw, 86px);
    height: clamp(64px, 18vw, 86px);
  }

  .portfolio-filter-content > span {
    font-size: clamp(0.68rem, 2.6vw, 0.84rem);
    letter-spacing: 0.1em;
  }

  .portfolio-filter-content strong,
  .portfolio-page-note p {
    font-size: clamp(0.82rem, 3.5vw, 1rem);
  }

  .portfolio-page-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .portfolio-page-grid .project-card,
  .portfolio-page-grid .project-card-wide {
    grid-column: span 1;
    min-height: clamp(170px, 44vw, 240px);
  }

  .portfolio-page .project-card-content p,
  .portfolio-page .project-card-content span {
    display: none;
  }

  .portfolio-page .project-card-content h3 {
    font-size: clamp(0.82rem, 4vw, 1.1rem);
  }

  .portfolio-list-section {
    padding-top: 6px;
    padding-bottom: 32px;
  }
}

.references-clean {
  background: var(--white);
}

.references-clean main > section {
  min-height: auto;
  display: block;
}

.references-clean .site-header {
  background: rgba(48, 48, 48, 0.96);
}

.references-clean-hero {
  padding: calc(var(--header-height) + clamp(28px, 4vw, 58px)) 0 clamp(26px, 3.5vw, 52px);
  background: var(--white);
  text-align: center;
}

.references-clean-hero-inner {
  max-width: 760px;
}

.references-clean-hero .eyebrow {
  justify-content: center;
}

.references-clean-hero h1 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: var(--subpage-h1);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: 0;
}

.references-clean-hero p:not(.eyebrow) {
  margin: 14px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.62;
}

.references-company-section {
  padding: clamp(18px, 2.6vw, 38px) 0 clamp(48px, 5.5vw, 86px);
  background: var(--white);
  overflow: hidden;
}

.references-clean-heading {
  text-align: center;
}

.references-clean-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--subpage-h2);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0;
}

.references-clean-heading p {
  margin: 12px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: var(--subpage-p);
  line-height: 1.5;
}

.references-company-viewport {
  width: 100vw;
  margin-top: clamp(20px, 2.4vw, 34px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9vw, #000 calc(100% - 9vw), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9vw, #000 calc(100% - 9vw), transparent 100%);
}

.references-company-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: referencesLogoScroll 44s linear infinite;
  will-change: transform;
}

.references-company-viewport:hover .references-company-track,
.references-company-viewport:focus-within .references-company-track {
  animation-play-state: paused;
}

.references-company-set {
  display: grid;
  grid-template-columns: repeat(16, minmax(190px, 1fr));
  gap: 8px;
  padding-right: 8px;
  min-width: max-content;
}

.references-company-card {
  width: clamp(190px, 13vw, 250px);
  min-height: clamp(118px, 9vw, 168px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 22px;
  background: #f0f0f0;
  color: rgba(48, 48, 48, 0.52);
  text-align: center;
  border: 1px solid rgba(48, 48, 48, 0.04);
}

.references-company-card span {
  display: block;
  color: inherit;
  font-size: var(--subpage-h3);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.references-company-card small {
  color: rgba(48, 48, 48, 0.48);
  font-size: var(--subpage-p);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.references-company-card-dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.9);
}

.references-company-card-dark small {
  color: rgba(255, 255, 255, 0.58);
}

.references-company-card-accent {
  background: var(--accent);
  color: var(--text);
}

.references-company-card-accent small {
  color: rgba(31, 31, 31, 0.62);
}

@keyframes referencesLogoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .references-company-track {
    animation: none;
    transform: none;
  }

  .references-company-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.references-letter-section {
  padding: clamp(56px, 6vw, 96px) 0 clamp(72px, 7vw, 118px);
  background: #f7f7f5;
}

.references-letter-section .references-clean-heading {
  transform: translateY(calc(clamp(28px, 3.4vw, 54px) * -1));
}

.references-letter-grid {
  margin-top: clamp(44px, 4.5vw, 76px);
  columns: 3 280px;
  column-gap: clamp(28px, 4vw, 74px);
}

.references-letter {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 clamp(28px, 3.5vw, 56px);
  padding-left: 34px;
  color: var(--text);
}

.references-letter span {
  display: block;
  margin-left: -34px;
  margin-bottom: 8px;
  transform: translateY(clamp(12px, 1.2vw, 20px));
  color: rgba(48, 48, 48, 0.12);
  font-size: var(--subpage-h1);
  line-height: 0.65;
  font-weight: 700;
}

.references-letter p {
  margin: 0;
  color: rgba(31, 31, 31, 0.74);
  font-size: var(--subpage-p);
  line-height: 1.68;
}

.references-letter strong {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .references-company-set {
    grid-template-columns: repeat(16, minmax(178px, 1fr));
  }
}

@media (max-width: 780px) {
  .references-clean-hero {
    padding-top: calc(var(--header-height) + 32px);
  }

  .references-clean-hero h1 {
    font-size: var(--subpage-h1);
  }

  .references-company-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }

  .references-company-set {
    grid-template-columns: repeat(16, minmax(150px, 1fr));
  }

  .references-company-card {
    width: 150px;
    min-height: 104px;
    padding: 16px 12px;
  }

  .references-company-card span {
    font-size: var(--subpage-h3);
  }

  .references-letter-grid {
    columns: 1;
  }

  .references-letter {
    padding-left: 26px;
  }

  .references-letter span {
    margin-left: -26px;
    font-size: var(--subpage-h1);
  }
}

/* Compact subpage rhythm: homepage keeps full-screen sections, about page reads like a normal content page. */
.about-page .about-page-hero {
  min-height: clamp(420px, 56vh, 690px) !important;
  padding: calc(var(--header-height) + clamp(36px, 4vw, 56px)) 0 clamp(36px, 6vw, 80px);
}

.about-page .about-page-hero h1 {
  max-width: 14ch;
  font-size: var(--subpage-h1);
}

.about-page .about-trust,
.about-page .about-process {
  padding: clamp(48px, 6vw, 88px) 0;
}

.about-page .about-trust-layout,
.about-page .about-process-layout {
  gap: clamp(26px, 4vw, 62px);
}

.about-page .about-trust-copy h2,
.about-page .about-process-copy h2 {
  font-size: var(--subpage-h2);
}

.about-page .about-trust-points article {
  min-height: 190px;
  padding: clamp(18px, 1.6vw, 26px);
}

.about-page .about-image-band {
  min-height: clamp(360px, 50vh, 620px) !important;
  padding: clamp(28px, 4vw, 56px) 0;
}

.about-page .about-image-band-copy {
  max-width: 42rem;
  padding: clamp(18px, 1.8vw, 28px);
}

.about-page .about-image-band h2 {
  max-width: 18ch;
  font-size: var(--subpage-h2);
}

.about-page .about-process-media,
.about-page .about-process-media img {
  min-height: clamp(360px, 42vw, 500px);
}

.about-page .about-process-list {
  margin-top: 24px;
}

.about-page .about-process-list li {
  padding: 17px 0;
}

.about-page .about-cta {
  padding: clamp(42px, 5vw, 72px) 0;
}

@media (max-width: 780px) {
  .about-page .about-page-hero {
    min-height: 460px !important;
  }

  .about-page .about-trust,
  .about-page .about-process,
  .about-page .about-cta {
    padding: 42px 0 50px;
  }

  .about-page .about-image-band {
    min-height: 300px !important;
  }

  .about-page .about-process-media,
  .about-page .about-process-media img {
    min-height: 300px;
  }
}

.about-page .container {
  width: var(--container);
  max-width: 2500px;
  margin: 0 auto;
}

.services-page .container {
  width: var(--container);
  max-width: 2500px;
  margin: 0 auto;
}

.portfolio-page .container,
.references-page .container,
.references-clean .container {
  width: var(--container);
  max-width: 2500px;
  margin: 0 auto;
}

.about-page .about-page-hero {
  min-height: clamp(420px, 56vh, 690px) !important;
  align-items: center;
  padding: calc(var(--header-height) + 36px) 0 40px;
}

.about-page .about-page-hero h1 {
  max-width: 13ch;
  font-size: var(--subpage-h1);
}

.about-page .about-page-hero-content p:last-child {
  max-width: 48rem;
  font-size: var(--subpage-p);
  line-height: 1.48;
}

.about-page .about-trust,
.about-page .about-process {
  padding: clamp(92px, 8vw, 136px) 0;
}

.about-page .about-trust-layout {
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.about-page .about-process-layout {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.about-page .about-trust-copy h2,
.about-page .about-process-copy h2 {
  max-width: 15ch;
  font-size: var(--subpage-h2);
}

.about-page .about-trust-copy p:not(.eyebrow) {
  max-width: 41rem;
  font-size: var(--subpage-p);
  line-height: 1.52;
}

.about-page .about-trust-points article {
  min-height: 165px;
  padding: clamp(18px, 1.5vw, 24px);
}

.about-page .about-trust-points h3 {
  font-size: var(--subpage-h3);
}

.about-page .about-trust-points p {
  font-size: var(--subpage-p);
  line-height: 1.46;
}

.about-page .about-image-band {
  min-height: clamp(360px, 50vh, 620px) !important;
  padding: clamp(28px, 4vw, 56px) 0;
}

.about-page .about-image-band-copy {
  max-width: 54rem;
  padding: clamp(18px, 1.5vw, 24px) clamp(20px, 2vw, 34px);
}

.about-page .about-image-band h2 {
  max-width: 22ch;
  font-size: var(--subpage-h2);
}

.about-page .about-process-media,
.about-page .about-process-media img {
  min-height: clamp(310px, 34vw, 430px);
}

.about-page .about-process-list {
  margin-top: 22px;
}

.about-page .about-process-list li {
  grid-template-columns: 44px minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
}

.about-page .about-process-list strong {
  font-size: var(--subpage-h3);
}

.about-page .about-process-list p {
  font-size: var(--subpage-p);
  line-height: 1.48;
}

.about-page .about-cta {
  padding: clamp(88px, 8vw, 128px) 0;
}

.about-page .about-cta-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: clamp(26px, 4vw, 60px);
}

.about-page .about-cta h2 {
  max-width: 13ch;
  font-size: var(--subpage-h1);
}

@media (max-width: 1100px) {
  .about-page .about-trust-layout,
  .about-page .about-process-layout,
  .about-page .about-cta-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .about-page .about-page-hero {
    min-height: 400px !important;
  }

  .about-page .about-trust,
  .about-page .about-process,
  .about-page .about-cta {
    padding: 56px 0 64px;
  }

  .about-page .about-image-band {
    min-height: 260px !important;
    padding: 36px 0;
  }

  .about-page .about-page-hero h1,
  .about-page .about-trust-copy h2,
  .about-page .about-image-band h2,
  .about-page .about-process-copy h2,
  .about-page .about-cta h2 {
    font-size: clamp(1.26rem, 6vw, 1.74rem);
    line-height: 1.08;
  }

  .about-page .about-image-band h2 {
    max-width: 15ch;
    font-size: clamp(1.26rem, 6vw, 1.74rem);
    line-height: 1.08;
  }

  .about-page .about-trust-points {
    grid-template-columns: 1fr;
  }

  .about-page .about-process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.services-page .services-intro {
  padding: clamp(68px, 6vw, 104px) 0 clamp(60px, 5.5vw, 92px);
}

.services-page .services-intro h2 {
  max-width: 20ch;
  font-size: var(--subpage-h2);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.services-page .services-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(34px, 4.4vw, 64px);
}

.services-page .services-category-card {
  gap: clamp(0.8vh, 1.2vh, 1.6vh);
  min-height: 100%;
  padding: clamp(18px, 1.8vw, 28px);
  border: 1px solid rgba(48, 48, 48, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-page .services-category-card:hover,
.services-page .services-category-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.services-page .services-line-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  opacity: 1;
  transition: transform 220ms ease, opacity 220ms ease;
}

.services-page .services-category-card:hover .services-line-icon,
.services-page .services-category-card:focus-within .services-line-icon {
  transform: scale(1.06);
}

.services-page .services-category-card h3 {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.35rem);
  line-height: 1.1;
}

.services-page .services-category-card p {
  max-width: 22rem;
  font-size: clamp(0.82rem, 1vw, 1.45rem);
  line-height: 1.38;
  color: rgba(37, 37, 37, 0.8);
}

.services-page .services-capabilities {
  padding: clamp(72px, 6.5vw, 108px) 0;
}

.services-page .services-image-break {
  padding: clamp(52px, 4.8vw, 78px) 0;
}

.services-page .services-accordion-section {
  padding: clamp(72px, 6.5vw, 108px) 0;
}

.services-page .services-capabilities-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: start;
}

.services-page .services-capabilities-copy h2 {
  max-width: 13ch;
  font-size: var(--subpage-h2);
}

.services-page .services-capabilities-copy .button-primary {
  margin-top: 26px;
}

.services-page .services-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.services-page .services-mini-grid article {
  grid-template-columns: 1fr !important;
  gap: clamp(0.8vh, 1.2vh, 1.6vh) !important;
  align-content: start;
}

.services-page .services-mini-grid article > div {
  display: grid;
  gap: clamp(0.8vh, 1.2vh, 1.6vh);
}

.services-page .services-mini-grid article h3,
.services-page .services-mini-grid article p {
  max-width: 100%;
}

.services-page .services-mini-grid article p {
  margin-top: 0;
}

.services-page .services-mini-grid article > img {
  display: none !important;
}

.services-page .services-mini-grid article span {
  color: rgba(37, 37, 37, 0.42) !important;
}

.services-page .services-mini-grid article h3 {
  margin-top: 0;
}

.services-page .services-mini-grid article p {
  margin-top: 0;
}

/* Keep icon removal scoped only to the 4 services mini cards. */
.services-page .services-category-card .services-line-icon {
  display: block !important;
}

.about-page .about-trust-points article > span {
  color: var(--accent) !important;
}

.services-page .services-category-card {
  gap: clamp(0.8vh, 1.2vh, 1.6vh);
}

.services-page .services-category-card:hover .services-line-icon,
.services-page .services-category-card:focus-within .services-line-icon {
  transform: scale(1.06);
}

.services-page .services-category-card p {
  margin-top: 0;
}

.services-page .services-category-card h3 {
  margin: 0;
}

.services-page .services-category-card p,
.services-page .services-mini-grid article p {
  word-break: normal;
  overflow-wrap: normal;
}

.services-page .services-mini-grid article {
  min-height: clamp(140px, 16vw, 205px);
  grid-template-columns: 1fr;
  gap: clamp(0.8vh, 1.2vh, 1.6vh);
  align-content: start;
  padding: clamp(18px, 1.8vw, 28px);
}

.services-page .services-mini-grid article img {
  display: none !important;
  width: 40px;
  height: 40px;
}

.services-page .services-mini-grid h3 {
  margin-top: 6px;
  font-size: clamp(0.98rem, 1.2vw, 1.35rem);
  line-height: 1.1;
}

.services-page .services-mini-grid p {
  max-width: 32rem;
  margin-top: 12px;
  font-size: clamp(0.82rem, 1vw, 1.45rem);
  line-height: 1.38;
  color: rgba(37, 37, 37, 0.8);
}

.services-page .services-mini-grid article > img {
  display: none !important;
}

.services-page .services-mini-grid article span {
  color: rgba(37, 37, 37, 0.42) !important;
}

@media (max-width: 1100px) {
  .services-page .services-category-grid,
  .services-page .services-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .services-page .services-intro {
    padding: clamp(58px, 6.5vw, 86px) 0 clamp(52px, 6vw, 78px);
  }

  .services-page .services-capabilities,
  .services-page .services-accordion-section {
    padding: clamp(62px, 6.5vw, 92px) 0;
  }
}

@media (max-width: 780px) {
  .services-page .services-intro {
    padding: 56px 0 52px;
  }

  .services-page .services-intro h2,
  .services-page .services-capabilities-copy h2,
  .services-page .services-image-break h2,
  .services-page .services-accordion-layout h2 {
    font-size: clamp(1.26rem, 6vw, 1.74rem);
    line-height: 1.08;
  }

  .services-page .services-category-grid,
  .services-page .services-mini-grid {
    grid-template-columns: 1fr;
  }

  .services-page .services-mini-grid article {
    min-height: auto;
  }

  .services-page .services-capabilities,
  .services-page .services-accordion-section {
    padding: 60px 0 68px;
  }
}

/* Homepage master typography sync for subpages */
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-page-hero h1,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-hero h1,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .portfolio-page-copy h1,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-section-copy h1,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-hero h1 {
  font-size: clamp(1.44rem, 2.56vw, 3.2rem);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: 0;
}

:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-trust-copy h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-image-band h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-process-copy h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-cta h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-intro h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-capabilities-copy h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-image-break h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-layout h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-section-copy h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-proof-copy h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-reviews-head h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-values-copy h2,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-heading h2 {
  font-size: clamp(1.44rem, 2.56vw, 3.2rem);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: 0;
}

:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-trust-points h3,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-process-list strong,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-category-card h3,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-mini-grid h3,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-list summary,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-stat-grid strong,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-value-list h3,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-company-card span {
  font-size: clamp(1rem, 1.7vw, 2.4rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}

:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-page-hero-content p:last-child,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-hero-content p:last-child,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .portfolio-page-copy p:last-child,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-section-copy p:not(.eyebrow),
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-hero p:not(.eyebrow) {
  font-size: clamp(0.92rem, 1.15vw, 1.45rem);
  line-height: 1.34;
}

:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-trust-copy p:not(.eyebrow),
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-trust-points p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-process-list p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-cta p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-category-card p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-mini-grid p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-capabilities-copy p:not(.eyebrow),
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-copy p:not(.eyebrow),
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-list p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-review-card p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-review-card-large p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-values-copy p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-value-list p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-heading p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-company-card small,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-letter p,
:is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-letter strong {
  font-size: clamp(0.82rem, 1vw, 1.25rem);
  line-height: 1.38;
}

@media (max-width: 780px) {
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-page-hero h1,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-hero h1,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .portfolio-page-copy h1,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-section-copy h1,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-hero h1 {
    font-size: clamp(1.76rem, 9.6vw, 3.2rem);
  }

  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-trust-copy h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-process-copy h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-cta h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-intro h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-capabilities-copy h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-image-break h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-layout h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-section-copy h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-proof-copy h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-reviews-head h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-values-copy h2,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-heading h2 {
    font-size: clamp(1.32rem, 7.2vw, 1.96rem);
  }

  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-page-hero-content p:last-child,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-hero-content p:last-child,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .portfolio-page-copy p:last-child,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-section-copy p:not(.eyebrow),
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-hero p:not(.eyebrow),
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-trust-copy p:not(.eyebrow),
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-trust-points p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-process-list p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .about-cta p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-category-card p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-mini-grid p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-capabilities-copy p:not(.eyebrow),
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-copy p:not(.eyebrow),
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-list p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-review-card p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-review-card-large p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-values-copy p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-value-list p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-clean-heading p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-company-card small,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-letter p,
  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .references-letter strong {
    font-size: clamp(0.82rem, 3.5vw, 1rem);
    line-height: 1.38;
  }

  :is(.about-page, .services-page, .portfolio-page, .references-page, .references-clean) .services-accordion-list summary {
    font-size: clamp(0.82rem, 4.1vw, 1.05rem);
  }
}

.client-voices-section {
  background: #222222;
  color: var(--white);
  min-height: auto;
  padding: calc(var(--header-height) + clamp(34px, 5vw, 82px)) 0 clamp(84px, 9vw, 148px);
  display: block;
}

.client-voices-shell {
  width: var(--container);
  max-width: 2500px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: clamp(56px, 6vw, 108px);
}

.client-voices-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(36px, 6vw, 116px);
  align-items: center;
}

.client-voices-copy {
  display: grid;
  gap: clamp(14px, 1.5vw, 22px);
  max-width: 42vw;
}

.client-voices-copy h2,
.client-brand-copy h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.44rem, 2.56vw, 3.2rem);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: 0;
}

.client-voices-copy p:last-child,
.client-brand-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.82rem, 1vw, 1.45rem);
  line-height: 1.38;
}

.client-quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding: clamp(24px, 2.6vw, 48px);
  border-radius: var(--home-card-radius);
  background: #2d2d2d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.client-quote-stage {
  position: relative;
  min-height: clamp(260px, 20vw, 360px);
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.testimonial-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.client-quote-card__text {
  margin: 0;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.08vw, 1.45rem);
  line-height: 1.42;
}

.client-quote-card__footer {
  display: grid;
  gap: clamp(16px, 1.6vw, 28px);
  justify-items: end;
  min-width: max-content;
}

.client-quote-card__footer div:first-child {
  display: grid;
  gap: 4px;
  text-align: right;
}

.client-quote-card__footer strong {
  color: var(--white);
  font-weight: 600;
}

.client-quote-card__footer span {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.98rem, 0.9vw, 1.08rem);
}

.client-quote-card__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  grid-column: 2;
  justify-self: end;
  align-self: center;
}

.client-quote-card__counter {
  min-width: 3.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.client-quote-card__controls button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 190, 12, 0.52);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.client-quote-card__controls button:hover,
.client-quote-card__controls button:focus-visible {
  background: rgba(255, 190, 12, 0.12);
  transform: translateY(-1px);
}

.client-brand-row {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  justify-items: center;
  text-align: center;
}

.client-brand-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 1.6vw, 18px);
  align-items: start;
  max-width: 60rem;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.client-brand-copy h3 {
  width: min(24ch, 100%);
}

.client-brand-copy p {
  max-width: 36rem;
}

.client-brand-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9vw, #000 calc(100% - 9vw), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9vw, #000 calc(100% - 9vw), transparent 100%);
}

.client-brand-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: referencesLogoScroll 44s linear infinite;
  will-change: transform;
}

.client-brand-marquee:hover .client-brand-track,
.client-brand-marquee:focus-within .client-brand-track {
  animation-play-state: paused;
}

.client-brand-set {
  display: grid;
  grid-template-columns: repeat(12, minmax(190px, 1fr));
  gap: 8px;
  padding-right: 8px;
  min-width: max-content;
}

.client-brand-set span {
  width: clamp(190px, 13vw, 250px);
  min-height: clamp(76px, 6vw, 116px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.1vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .client-brand-track {
    animation: none;
    transform: none;
  }

  .client-brand-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 1100px) {
  .client-voices-grid,
  .client-brand-copy {
    grid-template-columns: 1fr;
  }

  .client-voices-copy {
    max-width: none;
  }

  .client-quote-card {
    grid-template-columns: 1fr;
  }

  .client-quote-stage {
    min-height: 0;
  }

  .testimonial-slide {
    position: relative;
    inset: auto;
  }

  .client-quote-card__footer {
    justify-items: start;
    min-width: 0;
  }

  .client-quote-card__footer div:first-child {
    text-align: left;
  }
}

@media (max-width: 780px) {
  .client-voices-section {
    min-height: auto;
    padding: calc(var(--header-height) + 28px) 0 40px;
  }

  .client-voices-shell {
    width: 92%;
    padding: 2vh 0;
    gap: 2.4rem;
  }

  .client-voices-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .client-quote-stage {
    display: block;
    min-height: 0;
  }

  .testimonial-slide {
    display: none;
    position: static;
    inset: auto;
  }

  .testimonial-slide.is-active {
    display: block;
  }

  .client-quote-card {
    padding: 22px;
    min-height: auto;
  }

  .client-quote-card__text {
    max-width: 100%;
    font-size: clamp(0.96rem, 4vw, 1.08rem);
    line-height: 1.5;
  }

  .client-quote-card__footer {
    margin-top: 18px;
    justify-items: start;
  }

  .client-quote-card__footer div:first-child {
    text-align: left;
  }

  .client-quote-card__controls {
    grid-column: auto;
    justify-content: center;
    width: 100%;
    gap: 16px;
    margin-top: -2px;
  }

  .client-quote-card__counter {
    min-width: 4rem;
    font-size: 1rem;
  }

  .client-brand-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }

  .client-brand-set {
    grid-template-columns: repeat(12, minmax(150px, 1fr));
  }

  .client-brand-set span {
    width: 150px;
    min-height: 72px;
    font-size: 0.9rem;
  }

}

/* Homepage why-section image centering:
   keep the visual vertically balanced as the viewport changes. */
body.home-page .why-shell,
body.home-page .why-us-section {
  min-height: 0;
  padding: 0 var(--home-pad-x) !important;
  align-items: center;
}

body.home-page .why-visual-column,
body.home-page .image-block {
  align-self: center;
}

body.home-page .why-visual-window,
body.home-page .why-us-image-wrapper {
  height: auto;
  min-height: clamp(360px, 34vw, 620px);
  max-height: none;
  aspect-ratio: 4 / 5;
  align-self: center;
}

body.home-page .why-visual-media,
body.home-page .why-us-image-wrapper img {
  height: 100%;
  object-position: center center;
}

@media (min-width: 1500px) {
  body.home-page .why-shell,
  body.home-page .why-us-section {
    padding: 0 var(--home-pad-x) !important;
  }

  body.home-page .why-visual-window,
  body.home-page .why-us-image-wrapper {
    min-height: clamp(420px, 32vw, 680px);
  }
}

@media (max-width: 1100px) {
  body.home-page .why-shell,
  body.home-page .why-us-section {
    padding: 0 var(--home-pad-x) !important;
  }

  body.home-page .why-visual-window,
  body.home-page .why-us-image-wrapper {
    min-height: clamp(320px, 48vw, 520px);
  }
}

@media (max-width: 1360px) {
  body.home-page main {
    overflow: visible;
  }

  body.home-page main > section:not(.hero) {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
    grid-template-rows: auto;
    align-items: start;
  }

  body.home-page .portfolio-stage-legacy,
  body.home-page .services > .container,
  body.home-page .contact-layout {
    height: auto;
  }

  body.home-page .portfolio-stage-legacy .portfolio-layout,
  body.home-page .portfolio-stage-legacy .portfolio-grid {
    height: auto;
  }

  body.home-page .portfolio-stage-legacy .portfolio-layout {
    grid-template-rows: auto auto;
  }

  body.home-page .portfolio-stage-legacy .portfolio-grid {
    grid-auto-rows: auto;
    gap: clamp(12px, 1.4vw, 18px);
  }

  body.home-page .portfolio-row {
    min-height: 0;
    gap: clamp(12px, 1.4vw, 18px);
  }

  body.home-page .portfolio-row-top .project-card,
  body.home-page .portfolio-row-top .project-card-wide {
    height: auto;
    min-height: clamp(280px, 24vw, 420px);
  }

  body.home-page .portfolio-row-bottom .project-card,
  body.home-page .portfolio-row-bottom .project-card-wide {
    height: auto;
    min-height: clamp(220px, 18vw, 300px);
  }

  body.home-page .about-full-panel {
    max-height: none;
  }
}

@media (max-width: 780px) {
  body.home-page .why-shell,
  body.home-page .why-us-section {
    padding: 1.5vh 0 2vh !important;
  }

  body.home-page .why-visual-window,
  body.home-page .why-us-image-wrapper {
    height: auto !important;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    min-height: clamp(160px, 38vw, 220px) !important;
  }
}

/* About page spacing polish: content-led sections, no full-screen dead zones. */
.about-page main > section:not(.about-page-hero) {
  min-height: auto;
  display: block;
  align-items: initial;
}

.about-page .about-page-hero {
  min-height: clamp(420px, 56vh, 690px) !important;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + clamp(36px, 4vw, 56px)) 0 clamp(36px, 6vw, 80px);
}

.about-page .about-page-hero h1 {
  max-width: 17ch;
}

.about-page .about-trust {
  padding: clamp(104px, 9vw, 154px) 0 clamp(96px, 8vw, 138px);
}

.about-page .about-trust-layout {
  align-items: center;
}

.about-page .about-trust-points article {
  min-height: clamp(180px, 13vw, 235px);
}

.about-page .about-image-band {
  min-height: clamp(340px, 38vh, 500px) !important;
  display: flex;
  align-items: center;
  padding: clamp(72px, 6vw, 112px) 0;
}

.about-page .about-process {
  padding: clamp(104px, 9vw, 156px) 0;
}

.about-page .about-process-layout {
  align-items: center;
}

.about-page .about-process-media,
.about-page .about-process-media img {
  min-height: clamp(360px, 36vw, 520px);
}

.about-page .about-process-list li {
  padding: clamp(14px, 1.2vw, 20px) 0;
}

.about-page .about-cta {
  padding: clamp(108px, 9vw, 164px) 0;
}

.about-page .about-cta-layout {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  gap: clamp(42px, 6vw, 118px);
  align-items: center;
}

.about-page .about-trust-copy h2,
.about-page .about-process-copy h2,
.about-page .about-cta h2 {
  max-width: 19ch;
}

.about-page .about-image-band h2 {
  max-width: 19ch;
  font-size: clamp(1.44rem, 2.56vw, 3.2rem);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: 0;
}

@media (max-width: 780px) {
  .about-page .about-image-band h2 {
    max-width: 15ch;
    font-size: clamp(1.26rem, 6vw, 1.74rem);
    line-height: 1.08;
  }
}

.about-page .about-cta-copy {
  display: grid;
  gap: clamp(18px, 1.8vw, 30px);
  max-width: 68rem;
}

.about-page .about-cta-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 58rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--subpage-p);
  line-height: 1.5;
}

.about-page .about-cta-card {
  display: grid;
  gap: clamp(20px, 2vw, 32px);
  padding: clamp(22px, 2.2vw, 34px) clamp(24px, 2.4vw, 42px);
  border-left: 1px solid rgba(255, 190, 12, 0.5);
  background: rgba(255, 255, 255, 0.045);
}

.about-page .about-cta-card p {
  margin: 0;
  max-width: 44rem;
}

.about-page .about-cta-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-page .about-cta-card li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.9rem, 0.92vw, 1.08rem);
  line-height: 1.25;
}

.about-page .about-cta-layout > p {
  padding: clamp(22px, 2.2vw, 34px) clamp(24px, 2.4vw, 42px);
}

.about-page .about-cta .button {
  grid-column: auto;
  justify-self: start;
  margin-top: 0;
}

.about-page .about-page-hero-media {
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.78), rgba(14, 14, 14, 0.4) 54%, rgba(14, 14, 14, 0.1)),
    url("assets/images/sections/optimized/o-nas-hero.jpg") center / cover !important;
  background-position: center calc(50% + var(--parallax-y, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.services-page .services-hero-media {
  background-position: center calc(50% + var(--parallax-y, 0px)) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.services-page .services-hero-media,
.about-page .about-page-hero-media {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

.about-page .about-image-band {
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.68), rgba(15, 15, 15, 0.24) 52%, rgba(15, 15, 15, 0.08)),
    url("assets/images/sections/optimized/o-nas-band.jpg") center calc(50% + var(--about-band-parallax-y, 0px)) / cover no-repeat !important;
}

@media (max-width: 1100px) {
  .about-page .about-trust,
  .about-page .about-process,
  .about-page .about-cta {
    padding: clamp(84px, 9vw, 124px) 0;
  }

  .about-page .about-image-band {
    padding: clamp(60px, 7vw, 92px) 0;
  }

  .about-page .about-cta .button {
    grid-column: auto;
    justify-self: start;
  }

  .about-page .about-cta-card {
    border-left: 0;
    border-top: 1px solid rgba(255, 190, 12, 0.5);
  }
}

@media (max-width: 780px) {
  .about-page .about-page-hero {
    min-height: auto !important;
    padding: calc(var(--header-height) + 36px) 0 56px;
  }

  .about-page .about-trust,
  .about-page .about-process,
  .about-page .about-cta {
    padding: 84px 0 96px;
  }

  .about-page .about-image-band {
    min-height: 320px !important;
    padding: 58px 0;
  }

  .about-page .about-process-media,
  .about-page .about-process-media img {
    min-height: 300px;
  }

  .about-page .about-trust-copy h2,
  .about-page .about-process-copy h2,
  .about-page .about-cta h2 {
    max-width: 16ch;
  }

  .about-page .about-cta-card ul {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 780px) {
  .references-clean-hero {
    padding: calc(var(--header-height) + 30px) 0 28px;
    text-align: left;
  }

  .references-clean-hero .eyebrow {
    justify-content: flex-start;
  }

  .references-clean-hero-inner {
    max-width: none;
  }

  .references-clean-hero h1 {
    max-width: 12ch;
  }

  .references-clean-hero p:not(.eyebrow) {
    margin-left: 0;
    margin-right: 0;
  }

  .references-company-section {
    padding: 14px 0 34px;
  }

  .references-clean-heading {
    text-align: left;
  }

  .references-clean-heading p {
    margin-left: 0;
  }

  .references-company-viewport {
    width: 100%;
    margin-left: 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .references-company-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    animation: none;
  }

  .references-company-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    padding-right: 0;
  }

  .references-company-set[aria-hidden="true"] {
    display: none;
  }

  .references-company-card {
    width: 100%;
    min-height: 96px;
    padding: 14px;
  }

  .references-company-card span {
    font-size: 0.92rem;
  }

  .references-company-card small {
    font-size: 0.72rem;
  }

  .references-letter-section {
    padding: 32px 0 52px;
  }

  .references-letter-section .references-clean-heading {
    transform: none;
    text-align: left;
  }

  .references-letter-grid {
    columns: 1;
    column-gap: 0;
    display: grid;
    gap: 16px;
  }

  .references-letter {
    break-inside: avoid;
    padding: 20px;
  }

  .references-letter p {
    font-size: 0.96rem;
  }

  .references-letter span {
    font-size: 2.4rem;
  }
}

@media (max-width: 780px) {
  body.home-page .why-shell,
  body.home-page .why-us-section {
    width: 92% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.1rem !important;
  }

  body.home-page .why-visual-window,
  body.home-page .why-us-image-wrapper {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 5 / 4 !important;
    min-height: clamp(170px, 42vw, 240px) !important;
  }

  body.home-page .why-card-grid,
  body.home-page .why-us-text-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(68%, 68%) !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    padding-bottom: 8px !important;
  }

  body.home-page .why-card-grid::-webkit-scrollbar,
  body.home-page .why-us-text-grid::-webkit-scrollbar {
    display: none;
  }

  body.home-page .why-card {
    min-height: clamp(180px, 44vw, 230px) !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    scroll-snap-align: start !important;
  }

  body.home-page .why-card h3 {
    margin-bottom: 8px !important;
    font-size: clamp(0.9rem, 4vw, 1.08rem) !important;
  }

  body.home-page .why-card p {
    line-height: 1.32 !important;
  }

  .references-clean .references-company-section {
    padding: 14px 0 34px;
  }

  .references-clean .references-company-viewport {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }

  .references-clean .references-company-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: referencesLogoScroll 34s linear infinite;
  }

  .references-clean .references-company-set {
    display: flex;
    gap: 10px;
    min-width: max-content;
    padding-right: 10px;
  }

  .references-clean .references-company-set[aria-hidden="true"] {
    display: flex;
  }

  .references-clean .references-company-card {
    width: clamp(150px, 42vw, 190px);
    min-height: 104px;
    padding: 14px 12px;
    flex: 0 0 auto;
  }

  .references-clean .references-letter-section {
    padding: 34px 0 54px;
  }

  .references-clean .references-letter-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(84%, 84%);
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    column-gap: 18px;
    margin-top: 18px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .references-clean .references-letter-grid::-webkit-scrollbar {
    display: none;
  }

  .references-clean .references-letter {
    padding: 20px 18px 18px;
    margin-bottom: 0;
    scroll-snap-align: start;
    border: 1px solid rgba(48, 48, 48, 0.08);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
  }

  .references-clean .references-letter span {
    display: none;
  }

  .references-clean .references-letter p {
    font-size: 0.96rem;
    line-height: 1.56;
  }

  .services-page .services-intro,
  .services-page .services-capabilities,
  .services-page .services-image-break,
  .services-page .services-accordion-section {
    padding-left: 0;
    padding-right: 0;
  }

  .services-page .services-intro {
    padding-top: 56px;
    padding-bottom: 52px;
  }

  .services-page .services-category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .services-page .services-capabilities-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .services-page .services-mini-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(78%, 78%) !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 8px !important;
    scrollbar-width: none !important;
  }

  .services-page .services-mini-grid::-webkit-scrollbar {
    display: none;
  }

  .services-page .services-mini-grid article {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    scroll-snap-align: start !important;
  }

  .services-page .services-accordion-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .services-page .services-accordion-copy h2 {
    max-width: 15ch;
  }

  .services-page .services-accordion-list summary {
    font-size: clamp(0.92rem, 4vw, 1.08rem);
    padding: 14px 0;
  }

  .services-page .services-accordion-list p {
    padding: 0 0 18px 42px;
  }

  .about-page .about-trust-layout,
  .about-page .about-process-layout,
  .about-page .about-cta-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .about-page .about-trust,
  .about-page .about-process,
  .about-page .about-cta {
    padding: 56px 0 62px !important;
  }

  .about-page .about-trust-points {
    grid-template-columns: 1fr !important;
  }

  .about-page .about-trust-points article {
    min-height: auto !important;
    padding: 20px 18px !important;
  }

  .about-page .about-process-list li {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 18px 0 !important;
  }

  .about-page .about-cta-card ul {
    grid-template-columns: 1fr !important;
  }

  .about-page .about-cta-card {
    padding: 20px !important;
  }
}

/* Final mobile containment for the homepage testimonials. Keep this at EOF. */
@media (max-width: 780px) {
  body.home-page #client-voices {
    --client-voices-gutter: 38px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    padding-top: calc(var(--header-height) + 24px) !important;
    padding-bottom: 34px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page #client-voices .client-voices-shell,
  body.home-page #client-voices .client-voices-grid,
  body.home-page #client-voices .client-voices-copy,
  body.home-page #client-voices .client-quote-stage,
  body.home-page #client-voices .testimonial-slide,
  body.home-page #client-voices .client-quote-card {
    box-sizing: border-box !important;
    width: var(--container) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home-page #client-voices .client-voices-shell {
    padding: 0 !important;
    gap: 22px !important;
  }

  body.home-page #client-voices .client-voices-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.home-page #client-voices .client-quote-stage {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.home-page #client-voices .testimonial-slide {
    display: none !important;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.home-page #client-voices .testimonial-slide.is-active {
    display: grid !important;
  }

  body.home-page #client-voices .client-quote-card {
    overflow: hidden !important;
    border-radius: 12px !important;
    padding: 22px 24px !important;
  }

  body.home-page #client-voices .client-voices-copy p,
  body.home-page #client-voices .client-quote-card__text {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  body.home-page #client-voices .client-quote-card__controls {
    grid-column: auto !important;
    width: var(--container) !important;
    max-width: 100% !important;
    justify-content: center !important;
    margin: 2px 0 0 !important;
  }
}

@media (max-width: 420px) {
  body.home-page #client-voices {
    --client-voices-gutter: 24px;
  }
}

/* Final homepage menu fix: closed mobile menu stays inert, open mobile menu is clickable. */
@media (max-width: 780px) {
  body.home-page .site-nav {
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.home-page .site-nav.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Final homepage menu fix: closed mobile menu stays inert, open mobile menu is clickable. */
@media (max-width: 780px) {
  body.home-page .site-nav {
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.home-page .site-nav.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Final homepage menu fix: closed mobile menu stays inert, open mobile menu is clickable. */
@media (max-width: 780px) {
  body.home-page .site-nav {
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.home-page .site-nav.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 780px) {
  body.home-page #client-voices {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page #client-voices .client-voices-shell,
  body.home-page #client-voices .client-voices-grid,
  body.home-page #client-voices .client-voices-copy,
  body.home-page #client-voices .client-quote-stage,
  body.home-page #client-voices .testimonial-slide,
  body.home-page #client-voices .client-quote-card {
    width: var(--container) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 780px) {
  body.home-page #client-voices {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page #client-voices .client-voices-shell,
  body.home-page #client-voices .client-voices-grid,
  body.home-page #client-voices .client-voices-copy,
  body.home-page #client-voices .client-quote-stage,
  body.home-page #client-voices .testimonial-slide,
  body.home-page #client-voices .client-quote-card {
    width: var(--container) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Homepage alignment pass: keep the homepage on the same content grid as the subpages. */
body.home-page .header-inner,
body.home-page .container,
body.home-page .hero-content,
body.home-page .services > .container,
body.home-page .contact-layout,
body.home-page .portfolio-stage-legacy .portfolio-layout,
body.home-page .client-voices-shell,
body.home-page .why-shell,
body.home-page .why-us-section {
  width: var(--container) !important;
  max-width: 2500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home-page main,
body.home-page main > section {
  width: auto !important;
}

body.home-page main > section {
  padding-top: clamp(84px, 8vw, 136px) !important;
  padding-bottom: clamp(84px, 8vw, 136px) !important;
}

body.home-page .hero {
  min-height: clamp(560px, 72svh, 820px) !important;
  padding: calc(var(--header-height) + clamp(42px, 5vw, 72px)) 0 clamp(48px, 7vw, 96px) !important;
}

body.home-page .hero-content {
  width: var(--container) !important;
  max-width: 2500px !important;
  height: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  justify-content: center !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

body.home-page .hero h1 {
  width: min(100%, 14ch) !important;
  font-size: clamp(2.8rem, 4.2vw, 5.6rem) !important;
}

body.home-page .lead {
  max-width: 40ch !important;
  font-size: clamp(0.96rem, 1.05vw, 1.18rem) !important;
}

body.home-page .hero-actions {
  margin-top: clamp(18px, 2.2vw, 32px) !important;
}

body.home-page .portfolio-stage-legacy {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home-page .portfolio-stage-legacy .portfolio-layout {
  min-width: 0 !important;
  height: auto !important;
  padding-inline: 0 !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

body.home-page .portfolio-stage-legacy .portfolio-header {
  width: 100% !important;
  max-width: none !important;
}

body.home-page .portfolio-stage-legacy .portfolio-grid {
  min-width: 0 !important;
  max-width: none !important;
  gap: clamp(16px, 1.6vw, 24px) !important;
}

body.home-page .project-card-content {
  padding: clamp(1rem, 1.2vw, 1.6rem) !important;
}

body.home-page .client-voices-section {
  padding: calc(var(--header-height) + clamp(34px, 5vw, 82px)) 0 clamp(84px, 9vw, 148px) !important;
}

body.home-page .client-voices-shell {
  padding: 0 !important;
  gap: clamp(56px, 6vw, 108px) !important;
}

body.home-page .about-full-panel {
  margin-left: calc((100vw - var(--container)) / 2) !important;
  padding: clamp(48px, 4.5vw, 96px) var(--page-gutter) !important;
}

body.home-page .about-media-inner,
body.home-page .about-full-media {
  display: none !important;
}

@media (max-width: 780px) {
  body.home-page .header-inner {
    padding-inline: 0 !important;
  }

  body.home-page .hero-content,
  body.home-page .services > .container,
  body.home-page .contact-layout,
  body.home-page .client-voices-shell,
  body.home-page .why-shell,
  body.home-page .why-us-section {
    width: var(--container) !important;
    max-width: 100% !important;
  }

  body.home-page .hero-content {
    max-width: 100% !important;
  }

  body.home-page .hero h1 {
    font-size: clamp(2.05rem, 10vw, 3.5rem) !important;
    max-width: 8ch !important;
  }

  body.home-page .lead {
    max-width: 31ch !important;
    font-size: clamp(0.84rem, 4vw, 1rem) !important;
  }

  body.home-page .services-head,
  body.home-page .contact-copy {
    max-width: 100% !important;
  }

  body.home-page .contact-card {
    width: 100% !important;
    padding: 2vh 4vw !important;
  }

  body.home-page .portfolio-stage-legacy .portfolio-layout {
    display: block !important;
  }

  body.home-page .portfolio-stage-legacy .portfolio-grid {
    display: block !important;
  }

  body.home-page .portfolio-row,
  body.home-page .portfolio-row-top,
  body.home-page .portfolio-row-bottom,
  body.home-page .portfolio-row-bottom-wide {
    display: block !important;
  }

  body.home-page .client-voices-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page .client-voices-shell {
    width: var(--container) !important;
    max-width: 100% !important;
  }

  body.home-page .client-brand-marquee {
    width: 100% !important;
    margin-left: 0 !important;
  }

  body.home-page .client-voices-grid {
    width: 100% !important;
  }

  body.home-page .client-quote-stage,
  body.home-page .client-quote-card,
  body.home-page .testimonial-slide {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.home-page .why-shell,
  body.home-page .why-us-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  body.home-page .why-visual-window,
  body.home-page .why-us-image-wrapper {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 5 / 4 !important;
    min-height: clamp(160px, 42vw, 230px) !important;
  }

  body.home-page .why-card-grid,
  body.home-page .why-us-text-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }

  body.home-page .why-card {
    width: min(100%, 340px) !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 780px) {
  body.home-page #client-voices {
    --client-voices-gutter: 38px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    padding-left: var(--client-voices-gutter) !important;
    padding-right: var(--client-voices-gutter) !important;
  }

  body.home-page #client-voices .client-voices-shell,
  body.home-page #client-voices .client-voices-grid,
  body.home-page #client-voices .client-voices-copy,
  body.home-page #client-voices .client-quote-stage,
  body.home-page #client-voices .testimonial-slide,
  body.home-page #client-voices .client-quote-card {
    box-sizing: border-box !important;
    width: calc(100dvw - (var(--client-voices-gutter) * 2)) !important;
    max-width: calc(100dvw - (var(--client-voices-gutter) * 2)) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.home-page #client-voices .client-voices-shell {
    padding: 0 !important;
  }

  body.home-page #client-voices .testimonial-slide.is-active,
  body.home-page #client-voices .client-quote-card {
    display: grid !important;
  }

  body.home-page #client-voices .client-quote-card {
    overflow: hidden !important;
    border-radius: 12px !important;
    padding: 22px 24px !important;
  }

  body.home-page #client-voices .client-voices-copy p,
  body.home-page #client-voices .client-quote-card__text {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 420px) {
  body.home-page #client-voices {
    --client-voices-gutter: 24px;
  }
}

html {
  overflow-x: clip;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  overflow-x: clip;
  overflow-y: visible;
}

body.home-page {
  overflow-x: clip;
  overflow-y: visible;
}

@media (max-width: 1120px) {
  body.contact-page .contact-page-hero-layout,
  body.contact-page .contact-page-main-layout {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-page-hero-copy h1 {
    max-width: 12ch;
  }

  body.contact-page .contact-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.contact-page .contact-page-hero {
    padding-top: calc(var(--header-height) + 28px);
  }

  body.contact-page .contact-page-hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.75rem);
  }

  body.contact-page .contact-page-hero-actions {
    align-items: stretch;
  }

  body.contact-page .contact-page-hero-actions .button,
  body.contact-page .contact-page-hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  body.contact-page .contact-page-step {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-page-step span {
    width: 38px;
    height: 38px;
  }

  body.contact-page .contact-field-row {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-page-faq-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 780px) {
  body.home-page .client-voices-section {
    padding: calc(var(--header-height) + 24px) 16px 36px !important;
    box-sizing: border-box !important;
  }

  body.home-page .client-voices-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 1.4rem !important;
    overflow: visible !important;
  }

  body.home-page .client-brand-row {
    gap: 1rem !important;
  }

  body.home-page .client-brand-copy {
    width: 100% !important;
    max-width: none !important;
  }

  body.home-page .client-brand-copy h3,
  body.home-page .client-brand-copy p {
    max-width: 100% !important;
  }

  body.home-page .client-brand-marquee {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }

  body.home-page .client-voices-grid {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.home-page .client-voices-copy {
    padding-right: 0 !important;
  }

  body.home-page .client-quote-stage {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.home-page .client-quote-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-sizing: border-box;
  }

  body.home-page .why-card-grid,
  body.home-page .why-us-text-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(68%, 68%) !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
  }

  body.home-page .why-card-grid::-webkit-scrollbar,
  body.home-page .why-us-text-grid::-webkit-scrollbar {
    display: none;
  }

  body.home-page .why-card {
    min-height: auto !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    scroll-snap-align: start !important;
  }

  body.home-page .why-card h3 {
    margin-bottom: 8px !important;
  }

  body.home-page .why-card p {
    line-height: 1.3 !important;
  }

  body.home-page .client-voices-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.home-page .client-voices-copy {
    max-width: none !important;
  }

  body.home-page .client-quote-stage {
    display: grid !important;
    gap: 12px !important;
    min-height: 0 !important;
  }

  body.home-page .testimonial-slide {
    display: none !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.home-page .testimonial-slide.is-active {
    display: block !important;
  }

  body.home-page .client-quote-card {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    min-height: auto !important;
    padding: 22px 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  body.home-page .client-quote-card__text {
    max-width: none !important;
    font-size: clamp(0.96rem, 4vw, 1.08rem) !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word !important;
  }

  body.home-page .client-quote-card__footer {
    justify-items: start !important;
    min-width: 0 !important;
    margin-top: 16px !important;
  }

  body.home-page .client-quote-card__footer div:first-child {
    text-align: left !important;
  }

  body.home-page .client-quote-card__controls {
    grid-column: auto !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 16px !important;
    margin-top: 0 !important;
  }

  body.home-page .client-quote-card__counter {
    min-width: 4rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 780px) {
  body.home-page .portfolio-stage-legacy {
    padding-top: 0 !important;
  }

  body.home-page #portfolio {
    padding-top: clamp(18px, 4vw, 28px) !important;
    padding-bottom: 32px !important;
  }

  body.home-page .portfolio-stage-legacy .portfolio-layout {
    display: block !important;
    grid-template-rows: none !important;
    gap: 0 !important;
  }

  body.home-page .portfolio-stage-legacy .portfolio-header {
    margin-bottom: 16px !important;
  }

  body.home-page .portfolio-stage-legacy .portfolio-intro h2 {
    margin-bottom: 12px !important;
  }

  body.home-page .portfolio-stage-legacy .portfolio-grid {
    display: block !important;
    grid-template-columns: none !important;
    grid-auto-rows: unset !important;
    gap: 0 !important;
    height: auto !important;
    align-self: stretch !important;
    margin-top: 4px !important;
  }

  body.home-page .portfolio-row,
  body.home-page .portfolio-row-top,
  body.home-page .portfolio-row-bottom,
  body.home-page .portfolio-row-bottom-wide {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home-page .portfolio-stage-legacy .project-card,
  body.home-page .portfolio-stage-legacy .project-card-wide {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-column: span 1 !important;
    min-height: clamp(170px, 44vw, 240px) !important;
    height: auto !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 0 12px !important;
  }

  body.home-page .portfolio-stage-legacy .project-card img,
  body.home-page .portfolio-stage-legacy .project-card-wide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body.home-page .portfolio-stage-legacy .project-card::after,
  body.home-page .portfolio-stage-legacy .project-card-wide::after {
    opacity: 1 !important;
    background: linear-gradient(180deg, rgba(19, 19, 19, 0.04) 18%, rgba(19, 19, 19, 0.72) 100%) !important;
  }

  body.home-page .project-card-content {
    padding: 18px 18px 16px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  body.home-page .project-card-content p,
  body.home-page .project-card-content span {
    display: none !important;
  }

  body.home-page .project-card-content h3 {
    display: block !important;
    font-size: clamp(0.88rem, 4.3vw, 1.08rem) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  }

  body.home-page .portfolio-row-top > :nth-child(n + 3),
  body.home-page .portfolio-row-bottom > :nth-child(n + 2),
  body.home-page .portfolio-row-bottom-wide {
    display: none !important;
  }

  body.home-page .portfolio-row-top > .project-card + .project-card,
  body.home-page .portfolio-row-top > .project-card-wide + .project-card-wide,
  body.home-page .portfolio-row-bottom > .project-card + .project-card,
  body.home-page .portfolio-row-bottom > .project-card-wide + .project-card-wide {
    margin-top: 12px !important;
  }

  body.home-page .portfolio-stage-legacy .portfolio-link {
    display: none !important;
  }

  body.home-page .portfolio-mobile-link {
    display: inline-flex !important;
  }
}

@media (min-width: 1700px) {
  body.home-page .hero-content {
    max-width: none !important;
  }

  body.home-page .hero h1 {
    width: min(100%, 11ch) !important;
    max-width: 11ch !important;
    font-size: clamp(3.2rem, 3vw, 5.4rem) !important;
    line-height: 0.94 !important;
  }

  body.home-page .lead {
    max-width: 44ch !important;
    font-size: clamp(1rem, 0.98vw, 1.35rem) !important;
    line-height: 1.28 !important;
  }

  body.home-page .hero-actions {
    margin-top: clamp(1.2rem, 1.8vh, 2rem) !important;
  }
}

@media (max-width: 780px) {
  body.home-page .why-shell,
  body.home-page .why-us-section {
    width: 92% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  body.home-page .why-visual-window,
  body.home-page .why-us-image-wrapper {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 5 / 4 !important;
    min-height: clamp(160px, 42vw, 230px) !important;
  }

  body.home-page .why-card-grid,
  body.home-page .why-us-text-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    gap: 12px !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding-bottom: 0 !important;
  }

  body.home-page .why-card {
    width: min(100%, 340px) !important;
    min-height: clamp(132px, 34vw, 176px) !important;
    margin-inline: auto !important;
    padding: 18px 18px 16px !important;
    border-radius: 18px !important;
    scroll-snap-align: unset !important;
  }

  body.home-page .why-card h3 {
    margin-bottom: 8px !important;
    font-size: clamp(0.96rem, 4vw, 1.08rem) !important;
  }

  body.home-page .why-card p {
    line-height: 1.32 !important;
  }

  .references-clean .references-company-section {
    padding-top: 14px !important;
  }

  .references-clean .references-company-viewport {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    overflow: hidden !important;
  }

  .references-clean .references-company-track {
    display: flex !important;
    width: max-content !important;
    gap: 0 !important;
    animation: referencesLogoScroll 34s linear infinite !important;
  }

  .references-clean .references-company-set {
    display: flex !important;
    gap: 10px !important;
    min-width: max-content !important;
    padding-right: 10px !important;
  }

  .references-clean .references-company-set[aria-hidden="true"] {
    display: flex !important;
  }

  .references-clean .references-company-card {
    width: clamp(150px, 42vw, 190px) !important;
    min-height: 104px !important;
    padding: 14px 12px !important;
    flex: 0 0 auto !important;
  }

  .references-clean .references-letter-section {
    padding: 34px 0 54px !important;
  }

  .references-clean .references-letter-grid {
    display: flex !important;
    gap: 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    padding-inline: 0 18px !important;
    padding-bottom: 14px !important;
    scroll-padding-inline: 0 18px !important;
    scrollbar-width: none !important;
  }

  .references-clean .references-letter-grid::-webkit-scrollbar {
    display: none;
  }

  .references-clean .references-letter {
    padding: 20px 20px 18px !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    flex: 0 0 calc(100% - 18px) !important;
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
    scroll-snap-align: start !important;
    border: 1px solid rgba(48, 48, 48, 0.08) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08) !important;
  }

  .references-clean .references-letter p {
    font-size: 0.96rem !important;
    line-height: 1.56 !important;
  }

  .services-page .services-intro,
  .services-page .services-capabilities,
  .services-page .services-image-break,
  .services-page .services-accordion-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .services-page .services-intro {
    padding-top: 56px !important;
    padding-bottom: 52px !important;
  }

  .services-page .services-category-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }

  .services-page .services-capabilities-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .services-page .services-mini-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(78%, 78%) !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 8px !important;
    scrollbar-width: none !important;
  }

  .services-page .services-mini-grid::-webkit-scrollbar {
    display: none;
  }

  .services-page .services-mini-grid article {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    scroll-snap-align: start !important;
  }

  .services-page .services-accordion-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .services-page .services-accordion-copy h2 {
    max-width: 15ch !important;
  }

  .services-page .services-accordion-list summary {
    font-size: clamp(0.92rem, 4vw, 1.08rem) !important;
    padding: 14px 0 !important;
  }

  .services-page .services-accordion-list p {
    padding: 0 0 18px 42px !important;
  }

  .about-page .about-trust-layout,
  .about-page .about-process-layout,
  .about-page .about-cta-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .about-page .about-trust,
  .about-page .about-process,
  .about-page .about-cta {
    padding: 56px 0 62px !important;
  }

  .about-page .about-trust-points {
    grid-template-columns: 1fr !important;
  }

  .about-page .about-process-list li {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .about-page .about-cta-card ul {
    grid-template-columns: 1fr !important;
  }

  .about-page .about-cta-card {
    padding: 20px !important;
  }
}

/* Final mobile containment for the homepage testimonials. Keep this at EOF. */
@media (max-width: 780px) {
  body.home-page #client-voices {
    --client-voices-gutter: 38px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    padding-top: calc(var(--header-height) + 24px) !important;
    padding-bottom: 34px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page #client-voices .client-voices-shell,
  body.home-page #client-voices .client-voices-grid,
  body.home-page #client-voices .client-voices-copy,
  body.home-page #client-voices .client-quote-stage,
  body.home-page #client-voices .testimonial-slide,
  body.home-page #client-voices .client-quote-card {
    box-sizing: border-box !important;
    width: var(--container) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home-page #client-voices .client-voices-shell {
    padding: 0 !important;
    gap: 22px !important;
  }

  body.home-page #client-voices .client-voices-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.home-page #client-voices .client-quote-stage {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.home-page #client-voices .testimonial-slide {
    display: none !important;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.home-page #client-voices .testimonial-slide.is-active {
    display: grid !important;
  }

  body.home-page #client-voices .client-quote-card {
    overflow: hidden !important;
    border-radius: 12px !important;
    padding: 22px 24px !important;
  }

  body.home-page #client-voices .client-voices-copy p,
  body.home-page #client-voices .client-quote-card__text {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  body.home-page #client-voices .client-quote-card__controls {
    grid-column: auto !important;
    width: var(--container) !important;
    max-width: 100% !important;
    justify-content: center !important;
    margin: 2px 0 0 !important;
  }
}

@media (max-width: 420px) {
  body.home-page #client-voices {
    --client-voices-gutter: 24px;
  }
}

/* Tablet bridge for homepage testimonials:
   desktop is too tight here, mobile rules start at 780px. */
@media (min-width: 781px) and (max-width: 1100px) {
  body.home-page #client-voices,
  body.home-page .client-voices-section {
    overflow-x: clip !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page #client-voices .client-voices-shell,
  body.home-page .client-voices-shell {
    box-sizing: border-box !important;
    width: min(var(--container), calc(100dvw - 72px)) !important;
    max-width: calc(100dvw - 72px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: clamp(34px, 5vw, 54px) !important;
  }

  body.home-page #client-voices .client-voices-grid,
  body.home-page .client-voices-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.home-page #client-voices .client-voices-copy,
  body.home-page .client-voices-copy {
    max-width: 36rem !important;
    width: 100% !important;
  }

  body.home-page #client-voices .client-quote-stage,
  body.home-page .client-quote-stage {
    display: block !important;
    width: min(100%, 580px) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home-page #client-voices .testimonial-slide,
  body.home-page .testimonial-slide {
    display: none !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: none !important;
  }

  body.home-page #client-voices .testimonial-slide.is-active,
  body.home-page .testimonial-slide.is-active {
    display: block !important;
    pointer-events: auto !important;
  }

  body.home-page #client-voices .client-quote-card,
  body.home-page .client-quote-card {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
    padding: 24px 26px !important;
    overflow: visible !important;
  }

  body.home-page #client-voices .client-quote-card__text,
  body.home-page .client-quote-card__text {
    max-width: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.home-page #client-voices .client-quote-card__footer,
  body.home-page .client-quote-card__footer {
    display: block !important;
    justify-items: start !important;
    min-width: 0 !important;
    margin-top: 18px !important;
  }

  body.home-page #client-voices .client-quote-card__footer div:first-child,
  body.home-page .client-quote-card__footer div:first-child {
    text-align: left !important;
  }

  body.home-page #client-voices .client-quote-card__controls,
  body.home-page .client-quote-card__controls {
    align-self: center !important;
    grid-column: auto !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 2px !important;
  }
}


/* Final homepage menu fix: closed mobile menu stays inert, open mobile menu is clickable. */
@media (max-width: 780px) {
  body.home-page .site-nav {
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.home-page .site-nav.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Final mobile homepage edge guard. Must stay at EOF. */
@media (max-width: 780px) {
  body.home-page {
    --home-mobile-gutter: clamp(24px, 6vw, 32px);
  }

  body.home-page main,
  body.home-page main > section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  body.home-page .header-inner,
  body.home-page .container,
  body.home-page .hero-content,
  body.home-page .portfolio-stage-legacy .portfolio-layout,
  body.home-page .services > .container,
  body.home-page .about-full-panel,
  body.home-page .why-shell,
  body.home-page .why-us-section,
  body.home-page .client-voices-shell,
  body.home-page .contact-layout {
    box-sizing: border-box !important;
    width: calc(100dvw - (var(--home-mobile-gutter) * 2)) !important;
    max-width: calc(100dvw - (var(--home-mobile-gutter) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page .about-full-panel {
    padding: var(--home-pad-y) var(--home-mobile-gutter) !important;
  }

  body.home-page #client-voices,
  body.home-page .client-voices-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home-page .client-voices-grid,
  body.home-page .client-voices-copy,
  body.home-page .client-quote-stage,
  body.home-page .testimonial-slide,
  body.home-page .client-quote-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.home-page #client-voices .client-voices-shell,
  body.home-page #client-voices .client-voices-grid,
  body.home-page #client-voices .client-voices-copy,
  body.home-page #client-voices .client-quote-stage,
  body.home-page #client-voices .testimonial-slide,
  body.home-page #client-voices .client-quote-card {
    box-sizing: border-box !important;
    width: calc(100dvw - (var(--home-mobile-gutter) * 2)) !important;
    max-width: calc(100dvw - (var(--home-mobile-gutter) * 2)) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home-page #client-voices .client-voices-grid,
  body.home-page #client-voices .client-voices-copy,
  body.home-page #client-voices .client-quote-stage {
    display: block !important;
    grid-template-columns: none !important;
    width: auto !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.home-page #client-voices .client-quote-stage {
    margin-top: 18px !important;
  }

  body.home-page #client-voices .testimonial-slide,
  body.home-page #client-voices .client-quote-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.home-page .client-brand-marquee {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%) !important;
  }

  body.home-page #client-voices .client-quote-card__controls,
  body.home-page .client-quote-card__controls {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 780px) {
  body:not(.home-page) {
    --mobile-header-gutter: clamp(24px, 6vw, 32px);
  }

  body:not(.home-page) .header-inner {
    box-sizing: border-box;
    width: calc(100dvw - (var(--mobile-header-gutter) * 2));
    max-width: calc(100dvw - (var(--mobile-header-gutter) * 2));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  body:not(.home-page) .brand img {
    width: 144px;
  }

  body:not(.home-page) .menu-toggle {
    width: clamp(2.5rem, 12vw, 3.4rem);
    height: clamp(2.5rem, 12vw, 3.4rem);
  }

  body:not(.home-page) .site-nav {
    max-height: calc(100svh - 74px);
  }
}

/* Exact tablet repair for the broken homepage testimonials range.
   781-1100px must not use the cramped desktop testimonial layout. */
@media (min-width: 781px) and (max-width: 1100px) {
  body.home-page #client-voices {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: calc(var(--header-height) + 36px) !important;
    padding-bottom: 56px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  body.home-page #client-voices .client-voices-shell {
    display: flex !important;
    flex-direction: column !important;
    width: calc(100dvw - 72px) !important;
    max-width: calc(100dvw - 72px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    gap: 34px !important;
  }

  body.home-page #client-voices .client-brand-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
  }

  body.home-page #client-voices .client-brand-copy {
    display: block !important;
    width: 100% !important;
    max-width: 36rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  body.home-page #client-voices .client-brand-copy h3 {
    width: min(24ch, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home-page #client-voices .client-brand-copy p {
    max-width: 42rem !important;
    margin-top: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home-page #client-voices .client-brand-marquee {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  body.home-page #client-voices .client-voices-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 22px !important;
  }

  body.home-page #client-voices .client-voices-copy {
    display: block !important;
    width: min(100%, 34rem) !important;
    max-width: 34rem !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body.home-page #client-voices .client-quote-stage {
    position: static !important;
    display: block !important;
    width: min(100%, 34rem) !important;
    max-width: 34rem !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  body.home-page #client-voices .testimonial-slide {
    position: static !important;
    inset: auto !important;
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: none !important;
  }

  body.home-page #client-voices .testimonial-slide.is-active {
    display: block !important;
    pointer-events: auto !important;
  }

  body.home-page #client-voices .client-quote-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 24px 26px !important;
    overflow: visible !important;
  }

  body.home-page #client-voices .client-quote-stage .testimonial-slide:not(.is-active) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  body.home-page #client-voices .client-quote-card__text {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    font-size: clamp(1rem, 2.2vw, 1.08rem) !important;
    line-height: 1.48 !important;
  }

  body.home-page #client-voices .client-quote-card__footer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 20px !important;
    text-align: left !important;
  }

  body.home-page #client-voices .client-quote-card__footer div:first-child {
    display: block !important;
    text-align: left !important;
  }

  body.home-page #client-voices .client-quote-card__footer span {
    display: block !important;
    margin-top: 4px !important;
  }

  body.home-page #client-voices .client-quote-card__controls {
    display: flex !important;
    grid-column: auto !important;
    align-self: center !important;
    justify-self: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px auto 0 !important;
    gap: 16px !important;
  }
}

/* Final about-page heading sync: "V terenu" must match regular subpage h2 sizing. */
.about-page .about-image-band h2 {
  font-size: clamp(1.44rem, 2.56vw, 3.2rem) !important;
  line-height: 1.03 !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 780px) {
  .about-page .about-image-band h2 {
    font-size: clamp(1.32rem, 7.2vw, 1.96rem) !important;
    line-height: 1.03 !important;
  }
}
