/* ==========================================================================
   Lucha — Main Stylesheet
   ========================================================================== */

/* ─── Variables ─────────────────────────────────────────────────────────── */

:root {
  --color-bg:           #f8f8f6;
  --color-bg-off:       #f8f8f6;
  --color-text:         #111110;
  --color-text-muted:   #6b6b68;
  --color-border:       #e8e8e4;
  --color-nav-bg:       rgba(18, 18, 16, 0.45);

  --font-family:        'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:          8px;
  --radius-md:          12px;
  --radius-lg:          16px;

  --nav-height:         64px;
  --container-max:      1200px;
  --container-pad:      clamp(24px, 5vw, 80px);

  --section-pad-v:      clamp(80px, 10vw, 120px);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */

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

/* GPU compositing hints — prevent sub-pixel flicker on scrolling pages */
* {
  -webkit-font-smoothing: antialiased;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;   /* must be on html AND body to fully prevent horizontal scroll */
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
  /* Prevent images from creating overflow by exceeding their container */
  overflow: hidden;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

/* ─── Typography Scale ───────────────────────────────────────────────────── */

.text-display {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.text-h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.text-h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.text-h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.text-h4 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-body-lg {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.7;
}

.text-body {
  font-size: 16px;
  line-height: 1.7;
}

.text-small {
  font-size: 14px;
  line-height: 1.6;
}

.text-muted {
  color: var(--color-text-muted);
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding-top: var(--section-pad-v);
  padding-bottom: var(--section-pad-v);
}

.section--off {
  background-color: var(--color-bg-off);
}

/* ─── Eyebrow Labels ─────────────────────────────────────────────────────── */

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background-color: var(--color-text);
  color: #ffffff;
}

.btn--primary:hover {
  opacity: 0.85;
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.btn--outline:hover {
  border-color: #00f5d0;
  box-shadow: 0 0 0 1px #00f5d0;
}

.btn--ghost {
  color: var(--color-text);
  padding: 0;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}

.btn--ghost:hover {
  opacity: 0.6;
}

.btn--nav {
  background-color: #ffffff;
  color: var(--color-text);
  padding: 11px 26px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.btn--nav:hover {
  opacity: 0.9;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1000;
  display: flex;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  isolation: isolate;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* State 2: scrolling through hero — hidden */
.site-nav.nav-hidden {
  opacity: 0;
  pointer-events: none;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  height: var(--nav-height);
  padding: 0 24px;
  position: relative;
  overflow: hidden;

  /* Transparent by default */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  /* Transition background only — not backdrop-filter — to avoid Chrome repaint flash */
  transition: background 0.3s ease;

  border-radius: var(--radius-md);
  border: none;
  box-shadow: none;

  pointer-events: all;
}

/* State 3: past hero — dark pill with blur */
.site-nav.nav-scrolled .site-nav__inner {
  background: rgba(14, 14, 12, 0.82);
  backdrop-filter:         blur(40px) saturate(160%) brightness(0.88);
  -webkit-backdrop-filter: blur(40px) saturate(160%) brightness(0.88);
}

.site-nav.nav-scrolled {
  pointer-events: all;
}

.site-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: auto;
}

.site-nav__logo svg {
  height: 32px;
  width: auto;
  color: #ffffff;
  fill: currentColor;
  transition: color 0.3s ease;
  shape-rendering: crispEdges;
  overflow: visible;
}

.site-nav__logo:hover svg {
  color: #00f5d0;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav__links a:hover,
.site-nav__links .current-menu-item > a,
.site-nav__links .current_page_item > a {
  color: #00f5d0;
}

.site-nav__home {
  display: flex;
  align-items: center;
  color: #ffffff;
  transition: color 0.3s ease;
  line-height: 1;
}

.site-nav__home:hover {
  color: #00f5d0;
}

.site-nav__home svg {
  display: block;
}

.site-nav__cta {
  margin-left: auto;
  flex-shrink: 0;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-text);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.site-nav__mobile a {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.site-nav__mobile a:hover {
  opacity: 0.5;
}

.site-nav__mobile .btn--nav {
  margin-top: 16px;
  font-size: 18px;
  padding: 16px 36px;
}

.site-nav__mobile-close {
  position: absolute;
  top: 32px;
  right: var(--container-pad);
  color: #ffffff;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
}

.site-nav__mobile-close:hover {
  opacity: 1;
}

.site-nav--mobile-open .site-nav__mobile {
  display: flex;
}

.site-nav--mobile-open .site-nav__toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-nav--mobile-open .site-nav__toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav--mobile-open .site-nav__toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Page offset for fixed nav */
.site-header-spacer {
  height: 96px;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  background-color: var(--color-text);
  color: #ffffff;
  padding: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 80px;
  padding: 72px 0 56px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

.site-footer__logo {
  display: block;
}

.site-footer__brand svg {
  height: 34px;
  width: auto;
  color: #ffffff;
  fill: currentColor;
  display: block;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.site-footer__brand a:hover svg {
  color: #00f5d0;
}

.site-footer__brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

.site-footer__nav h3 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.site-footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__nav li {
  margin-bottom: 12px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__nav a:hover {
  color: #00f5d0;
}

.site-footer__contact h3 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.site-footer__contact .footer__email {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.site-footer__contact .footer__email:hover {
  color: #00f5d0;
}

.site-footer__contact p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 16px 0;
}

.footer__social {
  color: rgba(255, 255, 255, 0.5);
  display: inline-block;
  transition: color 0.3s ease;
}

.footer__social:hover {
  color: #00f5d0;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__bottom a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__bottom a:hover {
  color: #ffffff;
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #f8f8f6;
}

/* Framed background image — inset with rounded corners so white shows as border */
.hero__bg {
  position: absolute;
  inset: 12px;
  z-index: 0;
  border-radius: 20px;
  overflow: hidden;
  transform: translateZ(0);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: blur(8px);
  transform: scale(1.1) translateZ(0);
}

/* Overlay follows the same inset and radius */
.hero__overlay {
  position: absolute;
  inset: 12px;
  z-index: 1;
  border-radius: 20px;
  background: rgba(6, 6, 5, 0.58);
}

/* Corner labels inside the image frame */
.hero__corners {
  position: absolute;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
}

.hero__corner {
  position: absolute;
  bottom: 24px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1;
}

.hero__corner--bl { left: 24px; }
.hero__corner--br { right: 24px; }

/* Spacer and content sit above overlay */
.hero .site-header-spacer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero__heading {
  font-size: clamp(44px, 8vw, 120px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-bottom: 0;
  color: #ffffff;
}

.hero__tagline {
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: #ffffff;
  margin-top: 16px;
  margin-bottom: 48px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero__platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin: 0;
}

.hero__platforms img {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.65;
}

/* Buttons on image hero */
.btn--hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  background-color: #ffffff;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.btn--hero-primary:hover {
  opacity: 0.88;
}

.btn--hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  position: relative;
}

.btn--hero-outline::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #00f5d0 0%, transparent 0%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  transition: background 0.6s ease;
  pointer-events: none;
}

.btn--hero-outline:hover::after {
  background: conic-gradient(from 0deg, #00f5d0 100%, transparent 100%);
}

/* ─── Logo Ticker ────────────────────────────────────────────────────────── */

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-ticker-section {
  background-color: #f8f8f6;
  padding: 48px 0;
}

.logo-ticker-section__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 var(--container-padding, 48px);
}

.logo-ticker-section__label {
  flex-shrink: 0;
  width: 140px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111110;
  line-height: 1.5;
}

.logo-ticker {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.logo-ticker__fade--left,
.logo-ticker__fade--right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}

.logo-ticker__fade--left {
  left: 0;
  background: linear-gradient(to right,
    #f8f8f6 0%,
    #f8f8f6 15%,
    rgba(248,248,246,0.9) 35%,
    rgba(248,248,246,0.5) 60%,
    rgba(248,248,246,0.1) 85%,
    transparent 100%
  );
}

.logo-ticker__fade--right {
  right: 0;
  background: linear-gradient(to left,
    #f8f8f6 0%,
    #f8f8f6 15%,
    rgba(248,248,246,0.9) 35%,
    rgba(248,248,246,0.5) 60%,
    rgba(248,248,246,0.1) 85%,
    transparent 100%
  );
}

.logo-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: ticker 32s linear infinite;
}

.logo-ticker__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  flex-shrink: 0;
  padding: 0 80px;
}

.logo-ticker__item img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  opacity: 1;
}

.logo-ticker__placeholder {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  opacity: 0.4;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ─── Section Headers ────────────────────────────────────────────────────── */

.section-header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-header__text {
  max-width: 640px;
}

.section-header__sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ─── Services List ──────────────────────────────────────────────────────── */

.services-list {
  list-style: none;
}

.service-row {
  border-bottom: 1px solid var(--color-border);
}

.service-row__inner {
  display: grid;
  grid-template-columns: 56px 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 48px 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.service-row__inner:hover {
  opacity: 0.75;
}

.service-row__inner:hover .service-row__arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-row__inner:hover .service-row__title {
  transform: translateX(4px);
}

.service-row__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #00f5d0;
  color: #111110;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.service-row__title {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  transition: transform 0.25s ease;
}

.service-row__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 360px;
}

.service-row__arrow {
  font-size: 20px;
  color: var(--color-text);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

/* Temporary — restore Work nav link when case studies are ready */
.site-nav a[href*="/work/"],
.site-nav__mobile a[href*="/work/"] { display: none; }

/* ─── Work Card Grid (asymmetric pairs, Velstar-style) ───────────────────── */

.work-card-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Row 1: asymmetric pair — 62% left, 38% right, same height */
.work-card-pair {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 24px;
  align-items: stretch;
}

/* Row 2+: full-width solo card */
.work-card-pair--full {
  display: block;
}

/* ─── Individual card ─────────────────────────────────────────────────────── */

.wcp-card {
  display: flex;
  flex-direction: column;
  background-color: #1a1a18;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

/* Image: aspect-ratio drives height on standard cards */
.wcp-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #242420;
}

.wcp-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.wcp-card:hover .wcp-card__image img {
  transform: scale(1.04);
}

/* Text content below image */
.wcp-card__body {
  padding: 28px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.wcp-card__client {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* Headline = key result, e.g. "128% Increase in revenue year on year" */
.wcp-card__headline {
  font-size: clamp(18px, 1.9vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #ffffff;
}

.wcp-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.65;
}

.wcp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

/* Tags inside dark cards */
.wcp-card .tag {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.46);
}

/* ─── Full-width card variant (3rd / solo card) ───────────────────────────── */

/* Taller image: fixed height so it reads as dramatic at full container width */
.wcp-card--full .wcp-card__image {
  aspect-ratio: unset;
  height: 480px;
}

/* Larger headline — more presence at full width */
.wcp-card--full .wcp-card__headline {
  font-size: clamp(22px, 2.8vw, 40px);
}

/* More generous body padding and slightly larger description */
.wcp-card--full .wcp-card__body {
  padding: 36px 48px 48px;
  gap: 16px;
}

.wcp-card--full .wcp-card__desc {
  font-size: 15px;
  max-width: 700px; /* keep line lengths readable even at full width */
}

/* Keep work-card styles for the archive pages */
.work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.work-card:hover {
  border-color: #c0c0bc;
}

.work-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-bg-off);
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card__image img {
  transform: scale(1.03);
}

.work-card__image-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-off);
}

.work-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-card__client {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.work-card__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.work-card__result {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-card__result-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.work-card__result-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.work-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ─── Dark Section ───────────────────────────────────────────────────────── */

.section--dark {
  background-color: var(--color-text); /* #111110 */
}

/* Invert section header text on dark */
.section--dark .text-h2 {
  color: #ffffff;
}

.section--dark .btn--outline {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.section--dark .btn--outline:hover {
  border-color: #00f5d0;
  box-shadow: 0 0 0 1px #00f5d0;
}

/* Dark work cards */
.section--dark .work-card {
  background-color: #1a1a18;
  border-color: rgba(255, 255, 255, 0.07);
}

.section--dark .work-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.section--dark .work-card__image {
  background-color: #242420;
}

.section--dark .work-card__image-placeholder,
.section--dark .work-card__image-placeholder--dark {
  background-color: #242420;
}

.section--dark .work-card__client {
  color: rgba(255, 255, 255, 0.42);
}

.section--dark .work-card__title {
  color: #ffffff;
}

.section--dark .work-card__result {
  border-top-color: rgba(255, 255, 255, 0.09);
}

.section--dark .work-card__result-number {
  color: #ffffff;
}

.section--dark .work-card__result-label {
  color: rgba(255, 255, 255, 0.48);
}

.section--dark .tag {
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.45);
}

/* ─── Homepage Image Break ───────────────────────────────────────────────── */
/* PLACEHOLDER image — replace with real photography before launch.          */

.home-image-break {
  width: 100%;
}

.home-image-break__inner {
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.home-image-break__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .home-image-break__inner {
    height: 300px;
  }
}

/* ─── Homepage About Intro ───────────────────────────────────────────────── */

.home-about-intro {
  background-color: var(--color-bg);
  padding: clamp(80px, 10vw, 120px) 0;
}

.home-about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 7vw, 120px);
  align-items: start;
}

.home-about-intro__headline {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
}

.home-about-intro__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.home-about-intro__body p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.home-about-intro__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  flex-wrap: wrap;
}

.home-about-stat__number {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 5px;
}

.home-about-stat__label {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: -0.005em;
}

/* ─── About Section ──────────────────────────────────────────────────────── */

.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

/* Left: large pull statement */
.about-text__statement {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-text__mark {
  width: 20px;
  height: 20px;
  opacity: 0.25;
  object-fit: contain;
}

.about-text__quote {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
}

/* Right: content */
.about-text__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text__body {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-text__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  list-style: none;
}

.about-text__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.about-text__bullets li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
  flex-shrink: 0;
}

/* ─── Insights Grid ──────────────────────────────────────────────────────── */

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

.insight-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.insight-card:hover {
  border-color: #c0c0bc;
}

.insight-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-bg-off);
}

.insight-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insight-card:hover .insight-card__image img {
  transform: scale(1.03);
}

.insight-card__image-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-off);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.insight-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.insight-card__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.insight-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.insight-card__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ─── Contact Section ────────────────────────────────────────────────────── */

.contact-section {
  background-color: var(--color-bg-off);
  padding-top: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.contact-intro__heading {
  margin-bottom: 16px;
}

.contact-intro__body {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 32px;
}

.contact-detail__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-detail__value {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}

.contact-detail__value a:hover {
  opacity: 0.6;
}

/* ─── Dark Contact Section (homepage) ───────────────────────────────────── */

.contact-section--dark {
  background-color: #111110;
}

.contact-section--dark .contact-intro__heading {
  color: #ffffff;
}

.contact-section--dark .contact-intro__body {
  color: rgba(255, 255, 255, 0.52);
}

.contact-section--dark .contact-detail {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.contact-section--dark .contact-detail__label {
  color: rgba(255, 255, 255, 0.38);
}

.contact-section--dark .contact-detail__value {
  color: #ffffff;
}

.contact-section--dark .contact-detail__value a:hover {
  color: #00f5d0;
  opacity: 1;
}

.contact-section--dark .form-label {
  color: rgba(255, 255, 255, 0.45);
}

.contact-section--dark .form-input,
.contact-section--dark .form-textarea {
  background-color: #1a1a1a;
  border-color: #2a2a2a;
  color: #ffffff;
}

.contact-section--dark .form-input::placeholder,
.contact-section--dark .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

.contact-section--dark .form-input:focus,
.contact-section--dark .form-textarea:focus {
  border-color: #00f5d0;
}

.contact-section--dark .btn--primary {
  background-color: #ffffff;
  color: #111110;
}

.contact-section--dark .btn--primary:hover {
  opacity: 0.9;
}

/* ─── Contact Form ───────────────────────────────────────────────────────── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e8e8e4;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 0.95rem;
  color: #111110;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #00f5d0;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-textarea {
  min-height: 140px;
  resize: none;
}

.form-submit {
  margin-top: 8px;
}

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-status--success {
  background-color: #f0faf4;
  border: 1px solid #a3e4b8;
  color: #1a6636;
}

.form-status--error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ─── Contact Page ───────────────────────────────────────────────────────── */

/* Light hero for the contact page */
.contact-page-hero {
  background-color: var(--color-bg);
  padding: clamp(80px, 10vw, 140px) 0 40px;
}


.contact-page-hero__heading {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.97;
  color: var(--color-text);
  margin-bottom: 28px;
  max-width: 760px;
}

.contact-page-hero__heading em {
  font-style: italic;
}

.contact-page-hero__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--color-text-muted);
  max-width: 500px;
  line-height: 1.75;
}

/* Form heading inside the contact section */
.contact-page-form-heading {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 28px;
}

/* Taller textarea on the dedicated contact page */
.contact-page-textarea {
  min-height: 180px;
}

/* Right-hand sidebar: email + process steps */
.contact-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Remove the top border from the email detail when it's first in the sidebar */
.contact-page-sidebar .contact-page-sidebar__email {
  padding-top: 0;
  border-top: none;
}

/* "What happens next" section */
.contact-steps-block {
  display: flex;
  flex-direction: column;
}

.contact-steps-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: 0;
  margin-bottom: 0;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.contact-step {
  display: flex;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-step:first-child {
  border-top: 1px solid var(--color-border);
}

.contact-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #00f5d0;
  color: #111110;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.contact-step__body {
  flex: 1;
}

.contact-step__title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111110;
  line-height: 1.3;
  margin-bottom: 6px;
}

.contact-step__desc {
  font-size: 0.9rem;
  color: #6b6b68;
  line-height: 1.6;
}

.contact-detail__note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ─── Get Started Page ───────────────────────────────────────────────────── */

.gs-hero {
  background-color: var(--color-bg);
  padding: 120px 0 80px;
  text-align: center;
}

.gs-hero__heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.gs-hero__sub {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.gs-cards {
  background-color: var(--color-bg);
  padding: 0 0 120px;
}

.gs-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.gs-card {
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.gs-card--dark {
  background-color: #111110;
}

.gs-card--light {
  background-color: #f8f8f6;
  border: 1px solid #e8e8e4;
}

.gs-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.gs-card--dark .gs-card__label {
  color: #00f5d0;
}

.gs-card--light .gs-card__label {
  color: var(--color-text-muted);
}

.gs-card__heading {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.gs-card--dark .gs-card__heading {
  color: #ffffff;
}

.gs-card--light .gs-card__heading {
  color: var(--color-text);
}

.gs-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 40px;
}

.gs-card--dark .gs-card__desc {
  color: rgba(255, 255, 255, 0.55);
}

.gs-card--light .gs-card__desc {
  color: var(--color-text-muted);
}

.gs-card__btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gs-card__btn--solid {
  background-color: #ffffff;
  color: #111110;
  border: none;
}

.gs-card__btn--solid:hover {
  opacity: 0.88;
}

.gs-card__btn--outline {
  background: transparent;
  color: #111110;
  border: 1px solid #111110;
  position: relative;
}

.gs-card__btn--outline::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #00f5d0 0%, transparent 0%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  transition: background 0.6s ease;
  pointer-events: none;
}

.gs-card__btn--outline:hover {
  color: #111110;
  border-color: transparent;
}

.gs-card__btn--outline:hover::after {
  background: conic-gradient(from 0deg, #00f5d0 100%, transparent 100%);
}


/* ─── Archive Pages ──────────────────────────────────────────────────────── */

.archive-header {
  padding: 120px 0 80px;
  margin-bottom: 80px;
}

.archive-header__heading {
  margin-top: 16px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: var(--section-pad-v);
}

.archive-grid--work {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Work archive card (larger) */
.archive-grid--work .work-card__image {
  aspect-ratio: 16 / 10;
}

.archive-grid--work .work-card__title {
  font-size: 24px;
}

/* ─── Pagination ─────────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 80px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pagination a:hover {
  background-color: var(--color-bg-off);
  border-color: #c0c0bc;
}

.pagination .current {
  background-color: var(--color-text);
  color: #ffffff;
  border-color: var(--color-text);
}

/* ─── Single Case Study ──────────────────────────────────────────────────── */

/* 1. Hero */
.swp-hero {
  padding: 100px 0 0;
}

.swp-back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.swp-back-link:hover {
  color: var(--color-text);
}

.swp-hero__text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 64px;
}

.swp-hero__title {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--color-text);
}

.swp-hero__subtitle {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.swp-hero__image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

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

/* 2. Overview */
.swp-overview {
  padding: 80px 0;
}

.swp-overview__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.swp-overview__meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.swp-meta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swp-meta-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.swp-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swp-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.swp-meta-value {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swp-meta-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  background: #ebebea;
  border-radius: 12px;
  padding: 4px 12px;
  color: var(--color-text);
}

.swp-meta-link {
  font-size: 13px;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.swp-meta-link:hover {
  color: #00f5d0;
}

.swp-overview__heading {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--color-text);
}

.swp-overview__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
}

.swp-overview__body p {
  margin-bottom: 20px;
}

/* 3. Gallery */
.swp-gallery {
  padding: 0 0 80px;
}

.swp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.swp-gallery__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

/* 4. Accordion + sticky image */
.swp-accordion-section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.swp-accordion-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.swp-accordion-section__image {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.swp-accordion-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Accordion */
.work-accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.work-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  gap: 16px;
}

.work-accordion__label {
  flex: 1;
}

.work-accordion__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-muted);
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
  width: 20px;
  text-align: center;
}

.work-accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
  overflow: hidden;
}

.work-accordion__body > div {
  overflow: hidden;
  min-height: 0;
}

.work-accordion__item.is-open .work-accordion__body {
  grid-template-rows: 1fr;
}

.work-accordion__body p {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* 5. Results */
.swp-results {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.swp-results__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.swp-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.swp-result-box {
  background: #f0f0ee;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 40px 32px;
}

.swp-result-box__number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--color-text);
}

.swp-result-box__label {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* 6. Testimonial */
.swp-testimonial {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.swp-testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.swp-testimonial__quote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 32px;
}

.swp-testimonial__attr {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  font-style: normal;
  display: block;
}

/* ─── Single Insight ─────────────────────────────────────────────────────── */

.single-insight-hero {
  padding: 120px 0 60px;
  margin-bottom: 80px;
}

.single-insight-hero__category {
  margin-bottom: 24px;
}

.single-insight-hero__heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.single-insight-hero__excerpt {
  font-size: 20px;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.single-insight-hero__byline {
  font-size: 14px;
  color: var(--color-text-muted);
}

.single-insight-image {
  margin-bottom: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.single-insight-image img {
  width: 100%;
  height: auto;
}

.single-insight-content {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.single-insight-body {
  font-size: 18px;
  line-height: 1.8;
}

.single-insight-body p {
  margin-bottom: 28px;
}

.single-insight-body h2,
.single-insight-body h3 {
  margin-top: 56px;
  margin-bottom: 16px;
}

.single-insight-body ul,
.single-insight-body ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 28px;
}

.single-insight-body blockquote {
  border-left: 3px solid var(--color-border);
  padding-left: 24px;
  margin: 40px 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--color-text);
}

/* ─── Generic Page ───────────────────────────────────────────────────────── */

.page-hero {
  padding: 120px 0 80px;
  margin-bottom: 80px;
}

.page-content {
  padding-bottom: var(--section-pad-v);
}

.page-content__inner {
  max-width: 760px;
}

.page-content__inner p {
  margin-bottom: 24px;
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.page-content__inner h2,
.page-content__inner h3 {
  margin-top: 48px;
  margin-bottom: 16px;
}

/* ─── 404 Page ───────────────────────────────────────────────────────────── */

.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.page-404__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-404__number {
  font-size: clamp(100px, 16vw, 180px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--color-border);
}

.page-404__heading {
  font-size: clamp(28px, 3vw, 40px);
}

.page-404__body {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 400px;
  line-height: 1.7;
}

/* ─── CTA Band ───────────────────────────────────────────────────────────── */

.cta-band {
  background-color: var(--color-text);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.cta-band__heading {
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto 32px;
}

.cta-band__body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-band .btn--primary {
  background-color: #ffffff;
  color: var(--color-text);
  font-size: 16px;
  padding: 16px 36px;
}

.cta-band .btn--primary:hover {
  opacity: 0.9;
}

/* ─── Divider Mark ───────────────────────────────────────────────────────── */

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 80px;
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.section-divider__mark {
  width: 16px;
  height: 16px;
  opacity: 0.3;
  flex-shrink: 0;
}

/* ─── Utility ────────────────────────────────────────────────────────────── */

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

.no-results {
  text-align: center;
  padding: 80px 0;
  color: var(--color-text-muted);
}

/* ─── Inner Page Hero (About & Services) ────────────────────────────────── */

.inner-page-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 112px);
}

.inner-page-hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.inner-page-hero__headline {
  display: flex;
  flex-direction: column;
}

.inner-page-hero__heading {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.97;
  color: var(--color-text);
  margin-top: 0;
}

.inner-page-hero__heading em {
  font-style: italic;
}

.inner-page-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.inner-page-hero__intro p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.inner-page-hero__actions {
  margin-top: 12px;
}

/* ─── About Page ────────────────────────────────────────────────────────── */

.about-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 112px);
}

.svc-hero {
  padding-top: 120px;
}

.about-hero__grid {
  display: flex;
  align-items: stretch;
  gap: clamp(48px, 6vw, 96px);
}

.about-hero__text {
  flex: 55 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero__heading {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
  margin: 0;
}

.about-hero__sub {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.about-hero__image {
  flex: 45 1 0%;
  border-radius: 12px;
  overflow: hidden;
  min-height: 480px;
}

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

.about-image-break {
  padding: 0 0 clamp(64px, 8vw, 112px);
}

.about-image-break__img {
  border-radius: 12px;
  overflow: hidden;
  height: 480px;
}

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

.about-split {
  padding: clamp(80px, 10vw, 120px) 0;
}

.about-split__grid {
  display: flex;
  align-items: stretch;
  gap: clamp(60px, 7vw, 120px);
}

.about-split__grid--with-image {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.about-split__headline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
}

.about-split__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-split__body p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

.about-split__image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

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

.about-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.about-platforms img {
  height: 28px;
  width: auto;
  filter: brightness(0);
  opacity: 0.7;
}

.about-platforms__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b68;
  margin-bottom: 24px;
}

/* ─── About: Who We Work With (dark card grid) ──────────────────────────── */

.about-clients {
  padding: clamp(80px, 10vw, 120px) 0;
  background-color: #111110;
}

.about-clients__heading {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 clamp(40px, 5vw, 64px);
}

.about-clients__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 48px;
}

.about-clients__pair {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.about-clients__pair--62-38 {
  grid-template-columns: 62fr 38fr;
}

.about-clients__pair--38-62 {
  grid-template-columns: 38fr 62fr;
}

.about-client-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #1a1a18;
  overflow: hidden;
}

.about-client-card__image {
  height: 300px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.about-client-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-client-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00f5d0;
  margin: 0;
}

.about-client-card__desc {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.65;
  margin: 0;
}

/* ─── About: How We Work (two-column) ───────────────────────────────────── */

.about-how {
  padding: clamp(80px, 10vw, 120px) 0;
  background-color: #ffffff;
}

.about-how__grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: stretch;
}

.about-how__left {
  display: flex;
  align-items: center;
  height: 100%;
}

.about-how__heading {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0;
}


.about-how__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-how__right p {
  font-size: 1.05rem;
  color: #111110;
  line-height: 1.8;
  margin: 0;
}

/* ─── Mission Statement (About) ─────────────────────────────────────────── */

.mission-statement-section {
  padding: clamp(80px, 10vw, 120px) 0;
}

.mission-statement {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
}

.mission-statement__text {
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--color-text);
  font-style: italic;
}

/* ─── Approach List (About) ──────────────────────────────────────────────── */

.approach-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.approach-item {
  padding: 40px;
  background-color: var(--color-bg);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.approach-item:nth-child(even) {
  border-right: none;
}

.approach-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.approach-item__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #00f5d0;
  color: #111110;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.approach-item__title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-text);
}

.approach-item__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── Platforms Block (About) ────────────────────────────────────────────── */

.platforms-section {
  padding: 56px 0;
}

.platforms-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.platforms-block__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.platforms-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  padding: 6px 28px;
  position: relative;
}

.platform-name + .platform-name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: var(--color-border);
}

/* ─── Team Grid (About) ──────────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.team-card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.team-card__name {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 6px;
}

.team-card__role {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

.team-card__bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-card__bio p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ─── Service Showcase (Services page — image-led layout) ───────────────── */

.service-showcase {
  display: flex;
  flex-direction: column;
}

.service-showcase__item {
  padding-bottom: clamp(72px, 9vw, 112px);
  margin-bottom: clamp(72px, 9vw, 112px);
}

.service-showcase__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 68 / 32 image pair */
.service-showcase__images {
  display: grid;
  grid-template-columns: 68fr 32fr;
  gap: 12px;
  margin-bottom: 48px;
}

.service-showcase__img-main,
.service-showcase__img-sec {
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 520px;
  background-color: var(--color-bg-off);
}

.service-showcase__img-main img,
.service-showcase__img-sec img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.service-showcase__item:hover .service-showcase__img-main img,
.service-showcase__item:hover .service-showcase__img-sec img {
  transform: scale(1.03);
}

/* Number + title + channel row */
.service-showcase__meta {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.service-showcase__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #00f5d0;
  color: #111110;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.service-showcase__name {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-showcase__channel {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

/* Two-column body: description + stat left, bullets right */
.service-showcase__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.service-showcase__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-showcase__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.service-showcase__stat {
  padding-top: 28px;
}

.service-showcase__stat-number {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-showcase__stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.service-showcase__right {
  padding-top: 4px;
}

/* ─── Services Page: Grid Section ───────────────────────────────────────── */

.svc-grid-section {
  background-color: #111110;
  padding: clamp(80px, 10vw, 120px) 0;
}

.svc-grid-section__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.svc-grid-section__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00f5d0;
  margin: 0 0 20px;
}

.svc-grid-section__heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.svc-card {
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-card__top {
  display: flex;
  align-items: flex-start;
}

.svc-card__name {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
}

.svc-card__desc {
  font-size: clamp(14px, 1.1vw, 16px);
  color: #9a9a96;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.svc-card__stat-wrap {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-card__stat {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: #00f5d0;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 6px;
}

.svc-card__stat-label {
  font-size: 12px;
  color: #9a9a96;
  line-height: 1.5;
  margin: 0;
}

.svc-card--full {
  grid-column: 1 / -1;
  padding: 48px;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
}

.svc-card--full .svc-card__top {
  flex-shrink: 0;
}

.svc-card--full .svc-card__name {
  font-size: clamp(22px, 2vw, 30px);
}

.svc-card--full .svc-card__desc {
  font-size: clamp(15px, 1.2vw, 17px);
}

.svc-card--full .svc-card__stat-wrap {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 48px;
  flex-shrink: 0;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-card--full .svc-card__stat {
  font-size: clamp(40px, 4vw, 60px);
}

.svc-case-wrap .section--dark {
  padding-bottom: 80px;
}

/* ─── Services Page: Process Section ────────────────────────────────────── */

.svc-process {
  background-color: #ffffff;
  padding: clamp(80px, 10vw, 120px) 0;
}

.svc-process__grid {
  display: flex;
  align-items: stretch;
  gap: clamp(60px, 8vw, 120px);
}

.svc-process__left {
  flex: 45 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-process__heading {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0;
}

.svc-process__steps {
  flex: 55 1 0%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.svc-step:first-child {
  padding-top: 0;
}

.svc-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.svc-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #00f5d0;
  color: #111110;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.svc-step__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-step__name {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.svc-step__desc {
  font-size: clamp(14px, 1.1vw, 15px);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ─── Services Case Studies Preview ─────────────────────────────────────── */

.services-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.services-case-card:hover {
  border-color: #c0c0bc;
  transform: translateY(-2px);
}

.services-case-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-bg-off);
}

.services-case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.services-case-card:hover .services-case-card__image img {
  transform: scale(1.04);
}

.services-case-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.services-case-card__client {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.services-case-card__title {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--color-text);
}

.services-case-card__blurb {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.services-case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.services-case-footer {
  margin-top: 48px;
  text-align: center;
}

/* ─── Service Detail List (Services) ─────────────────────────────────────── */

.service-detail-list {
  display: flex;
  flex-direction: column;
}

.service-detail {
  padding: clamp(56px, 7vw, 96px) 0;
}

.service-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 48px;
}

.service-detail__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #00f5d0;
  color: #111110;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.service-detail__name {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-detail__channel {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

.service-detail__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.service-detail__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.service-detail__stat {
  padding-top: 28px;
}

.service-detail__stat-number {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 8px;
}

.service-detail__stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.service-detail__right {
  padding-top: 4px;
}

/* ─── Service Bullets (Services) ─────────────────────────────────────────── */

.service-bullets {
  display: flex;
  flex-direction: column;
}

.service-bullets__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.service-bullet {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.service-bullet:first-of-type {
  border-top: 1px solid var(--color-border);
}

.service-bullet::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
  flex-shrink: 0;
}

/* ─── Process List (Services) ────────────────────────────────────────────── */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.process-item {
  padding: 36px 32px 40px;
  background-color: var(--color-bg);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-item:last-child {
  border-right: none;
}

.process-item__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00f5d0;
}

.process-item__title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-text);
}

.process-item__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {

  /* Work cards: all three stack to full width, one per row */
  .work-card-pair {
    grid-template-columns: 1fr;
  }

  /* Full-width card is already block — no change needed */

  /* Full card image: keep tall at tablet, no reduction needed */
  .wcp-card--full .wcp-card__image {
    height: 420px;
  }

  .wcp-card--full .wcp-card__body {
    padding: 28px 32px 40px;
  }

  /* Services list: hide description on smaller viewports */
  .service-row__inner {
    grid-template-columns: 48px 1fr auto;
  }

  .service-row__desc {
    display: none;
  }

  .about-text {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .work-grid,
  .insights-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .swp-overview__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .swp-overview__meta {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .swp-meta-block {
    flex: 1;
    min-width: 140px;
  }

  .swp-accordion-section__inner {
    grid-template-columns: 1fr;
  }

  .swp-accordion-section__image {
    position: static;
    aspect-ratio: 16 / 9;
    order: -1;
  }

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

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  /* Service showcase: stack image pair at tablet */
  .service-showcase__images {
    grid-template-columns: 1fr;
    height: auto;
  }

  .service-showcase__img-main {
    height: 420px;
  }

  .service-showcase__img-sec {
    height: 280px;
  }

  /* Service showcase body: stack columns */
  .service-showcase__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Services page: stack at tablet */
  .svc-process__grid {
    flex-direction: column;
  }

  /* Case studies: 2 columns at tablet (show first 2, hide 3rd via CSS not ideal — just let wrap) */
  .services-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About page: stack at tablet */
  .about-hero__grid {
    flex-direction: column;
  }

  .about-hero__image {
    min-height: 320px;
  }

  .about-split__grid {
    flex-direction: column;
  }

  .about-split__grid--with-image {
    grid-template-columns: 1fr;
  }

  .about-split__image {
    display: none;
  }

  .about-image-break__img {
    height: 300px;
  }

  .about-platforms {
    gap: 32px;
  }

  /* About clients: stack pair at tablet */
  .about-clients__pair--62-38,
  .about-clients__pair--38-62 {
    grid-template-columns: 1fr;
  }

  /* About how: stack at tablet */
  .about-how__grid {
    grid-template-columns: 1fr;
  }

  /* Homepage about intro: stack at tablet */
  .home-about-intro__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Inner page hero: stack at tablet */
  .inner-page-hero__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Team grid: stack at tablet */
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card__image {
    aspect-ratio: 16 / 9;
    max-width: 480px;
  }

  /* Service detail body: stack at tablet */
  .service-detail__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Process: 2 columns at tablet */
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-item:nth-child(2) {
    border-right: none;
  }

  .process-item:nth-child(1),
  .process-item:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-v: 64px;
    --nav-height: 56px;
  }

  .site-nav__links,
  .site-nav__cta {
    display: none;
  }

  .site-nav__toggle {
    display: flex;
  }

  .site-header-spacer {
    height: 80px;
  }

  /* Work cards: single column at mobile (already single-column from 1024px breakpoint) */
  .wcp-card__body {
    padding: 24px 24px 32px;
  }

  /* Full card image: reduce height at mobile */
  .wcp-card--full .wcp-card__image {
    height: 260px;
  }

  .wcp-card--full .wcp-card__body {
    padding: 24px 24px 32px;
  }

  .wcp-card--full .wcp-card__desc {
    max-width: 100%;
  }

  /* Services list: simpler on mobile */
  .service-row__inner {
    grid-template-columns: 40px 1fr auto;
    padding: 36px 0;
    gap: 16px;
  }

  .service-row__title {
    font-size: 22px;
  }

  /* About text: stack on mobile */
  .about-text {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text__statement {
    position: static;
  }

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

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

  .contact-page-hero__heading {
    font-size: clamp(36px, 8vw, 56px);
  }

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

  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .swp-gallery__grid {
    grid-template-columns: 1fr;
  }

  .swp-results__grid {
    grid-template-columns: 1fr;
  }

  .swp-result-box {
    padding: 28px 24px;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 80px;
  }

  .hero__bg,
  .hero__overlay,
  .hero__corners {
    inset: 6px;
  }

  .site-nav {
    top: 6px;
    left: 6px;
    right: 6px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .archive-header {
    padding: 100px 0 60px;
    margin-bottom: 48px;
  }

  .swp-hero {
    padding: 80px 0 0;
  }

  .single-insight-hero,
  .page-hero {
    padding: 100px 0 60px;
  }

  /* About page mobile */
  .approach-list {
    grid-template-columns: 1fr;
  }

  .approach-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .approach-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }

  .approach-item:last-child {
    border-bottom: none;
  }

  .platforms-list {
    gap: 0;
  }

  .platform-name {
    padding: 6px 20px;
  }

  /* About intro: tighter stats on mobile */
  .home-about-intro__stats {
    gap: 28px;
  }

  /* Service showcase mobile */
  .service-showcase__images {
    gap: 8px;
  }

  .service-showcase__img-main {
    height: 260px;
  }

  .service-showcase__img-sec {
    height: 180px;
  }

  .service-showcase__meta {
    gap: 16px;
    margin-bottom: 28px;
  }

  /* Services page: single column mobile */
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-card--full {
    flex-direction: column;
    gap: 20px;
    padding: 32px;
  }

  .svc-card--full .svc-card__stat-wrap {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 20px;
    min-width: unset;
  }

  /* Case studies: single column on mobile */
  .services-case-grid {
    grid-template-columns: 1fr;
  }

  /* Services page mobile */
  .service-detail__header {
    gap: 16px;
    margin-bottom: 32px;
  }

  /* Process: single column on mobile */
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .process-item:nth-child(1),
  .process-item:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  .process-item:last-child {
    border-bottom: none;
  }

  /* Hero platforms: tighter gap on mobile */
  .hero__platforms {
    gap: 24px;
  }

  /* CTA band: reduce padding on mobile */
  .cta-band {
    padding: 64px 0;
  }

  .cta-band__body {
    font-size: 16px;
  }

  /* Footer nav: ensure touch targets */
  .site-footer__nav a {
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* About platforms: tighter on mobile */
  .about-platforms {
    gap: 20px;
  }

  /* Get started cards: stack at mobile */
  .gs-cards__grid {
    grid-template-columns: 1fr;
  }

  .gs-card {
    padding: 36px 28px;
  }

  /* About how: ensure gap reduces when stacked */
  .about-how__grid {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
  }
}
