/* ============================================================
   X3 Agency — Design System
   Premium German Digital Agency
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Custom Properties ────────────────────────────────── */
:root {
  --ink:        #0A0909;
  --paper:      #F7F4EF;
  --smoke:      #888683;
  --fog:        #C4C1BB;
  --stone:      #141312;
  --wire:       #242220;
  --wire-light: #312F2C;
  --gold:       #BBA98A;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.76, 0, 0.24, 1);
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --section-pad: 140px;
  --nav-h: 72px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

img, video {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button {
  cursor: none;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ─── Custom Cursor ─────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--paper);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-smooth),
              width 0.3s var(--ease-smooth),
              height 0.3s var(--ease-smooth),
              background 0.3s ease;
  will-change: transform;
}

.cursor.is-hovering {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--paper);
}

.cursor.is-hidden {
  opacity: 0;
}

/* ─── Page Transition ───────────────────────────────────────── */
.transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--stone);
  z-index: 9000;
  transform: translateY(0);
  pointer-events: none;
}

/* ─── Typography ────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
}

.display-sm {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
}

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
}

.body-lg {
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--smoke);
}

.body-sm {
  font-size: 14px;
  line-height: 1.6;
  color: var(--smoke);
}

/* ─── Line Reveal Animation ─────────────────────────────────── */
.line-wrap {
  overflow: hidden;
  display: block;
}

.line-inner {
  display: block;
  transform: translateY(105%);
  will-change: transform;
}

/* ─── Reveal ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

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

/* ─── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: var(--section-pad) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

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

/* ─── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(10, 9, 9, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--wire);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__logo span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fog);
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--paper);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--paper);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  margin-left: 24px;
}

/* Mobile Menu Toggle */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--paper);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  z-index: 490;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav__mobile.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__link {
  font-size: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper);
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth);
  will-change: transform;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--wire-light);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth);
  will-change: transform;
  cursor: none;
}

.btn-outline:hover {
  border-color: var(--fog);
  color: var(--paper);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: none;
  transition: gap 0.3s var(--ease-smooth), color 0.3s ease;
}

.btn-text:hover {
  gap: 16px;
  color: var(--paper);
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(187, 169, 138, 0.04) 0%, transparent 70%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--wire) 1px, transparent 1px),
    linear-gradient(90deg, var(--wire) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.4) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  margin-bottom: 48px;
}

.hero__title .line-inner {
  font-family: var(--font-display);
  font-size: clamp(60px, 9.5vw, 128px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.hero__title .line-inner.line-italic {
  font-style: italic;
  color: var(--gold);
}

.hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.hero__tagline {
  max-width: 360px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--wire-light);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDown 2s var(--ease-in-out) infinite;
}

@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ─── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--wire);
}

.page-hero__label {
  margin-bottom: 32px;
}

.page-hero__title {
  max-width: 900px;
}

.page-hero__desc {
  margin-top: 32px;
  max-width: 520px;
}

/* ─── Marquee ───────────────────────────────────────────────── */
.marquee-section {
  padding: 28px 0;
  border-top: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.marquee-inner {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  flex-shrink: 0;
}

.marquee-inner span {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke);
  padding: 0 40px;
  white-space: nowrap;
}

.marquee-inner .accent {
  color: var(--gold);
  padding: 0;
  font-size: 10px;
  vertical-align: middle;
}

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

/* ─── Section Header ────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  gap: 32px;
  flex-wrap: wrap;
}

.section-header__left {}

.section-header__right {
  padding-bottom: 8px;
}

.section-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ─── Work Cards ────────────────────────────────────────────── */
.work-section {
  padding: var(--section-pad) 0;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--wire);
  transition: border-color 0.4s ease;
}

.work-card:hover {
  border-color: var(--wire-light);
}

.work-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.work-card__img-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease-out-expo);
}

.work-card:hover .work-card__img-inner {
  transform: scale(1.04);
}

/* Art-directed CSS backgrounds for project cards */
.work-card--01 .work-card__img-inner {
  background: #1A1613;
  background-image:
    linear-gradient(135deg, #1A1613 0%, #0D0B09 100%);
}

.work-card--01 .work-card__img-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--wire) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--wire) 40px);
  opacity: 0.6;
}

.work-card--01 .work-card__img-inner::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 40%;
  border: 1px solid rgba(187,169,138,0.18);
  transform: rotate(-3deg);
}

.work-card--02 .work-card__img-inner {
  background: #0F1114;
}

.work-card--02 .work-card__img-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(187,169,138,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(100,90,80,0.06) 0%, transparent 50%);
}

.work-card--02 .work-card__img-inner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 1px solid rgba(187,169,138,0.12);
  border-radius: 50%;
}

.work-card--03 .work-card__img-inner {
  background: #131110;
}

.work-card--03 .work-card__img-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 24px, var(--wire) 25px);
  opacity: 0.4;
}

.work-card--03 .work-card__img-inner::after {
  content: '';
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(187,169,138,0.15);
}

.work-card__info {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--stone);
}

.work-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.work-card__cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.work-card__year {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--smoke);
}

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin-bottom: 20px;
}

.work-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--smoke);
  max-width: 360px;
  margin-bottom: 48px;
}

.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-smooth), gap 0.3s ease;
}

.work-card:hover .work-card__link {
  opacity: 1;
  transform: translateY(0);
}

.work-card__link:hover {
  gap: 18px;
  color: var(--gold);
}

/* ─── Portfolio Grid ────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: none;
  background: var(--stone);
}

.portfolio-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.portfolio-card__img-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out-expo);
}

.portfolio-card:hover .portfolio-card__img-inner {
  transform: scale(1.05);
}

/* Portfolio card backgrounds */
.portfolio-card--01 .portfolio-card__img-inner {
  background: #1A1613;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, var(--wire) 40px),
                    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--wire) 40px);
}

.portfolio-card--02 .portfolio-card__img-inner {
  background: #0F1114;
}

.portfolio-card--02 .portfolio-card__img-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(187,169,138,0.06) 0%, transparent 60%);
}

.portfolio-card--03 .portfolio-card__img-inner {
  background: #131110;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 24px, var(--wire) 25px);
}

.portfolio-card--04 .portfolio-card__img-inner {
  background: #161412;
}

.portfolio-card--04 .portfolio-card__img-inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 1px solid rgba(187,169,138,0.1);
  border-radius: 50%;
}

.portfolio-card--05 .portfolio-card__img-inner {
  background: #100F0D;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 39px, var(--wire) 40px);
}

.portfolio-card--06 .portfolio-card__img-inner {
  background: #12100E;
}

.portfolio-card--06 .portfolio-card__img-inner::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(187,169,138,0.08);
}

.portfolio-card__info {
  padding: 24px 28px;
  border-top: 1px solid var(--wire);
}

.portfolio-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.portfolio-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-card__name {
  color: var(--gold);
}

/* Filter Buttons */
.work-filters {
  display: flex;
  gap: 0;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--wire);
}

.filter-btn {
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  cursor: none;
  position: relative;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--paper);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
}

.filter-btn.is-active {
  color: var(--paper);
}

.filter-btn.is-active::after {
  transform: scaleX(1);
}

.filter-btn:hover {
  color: var(--paper);
}

/* ─── Services ──────────────────────────────────────────────── */
.services-list {
  border-top: 1px solid var(--wire);
}

.service-item {
  border-bottom: 1px solid var(--wire);
  overflow: hidden;
}

.service-item__header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  cursor: none;
  transition: background 0.3s ease;
  user-select: none;
}

.service-item__header:hover .service-item__title {
  color: var(--paper);
}

.service-item__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  min-width: 40px;
}

.service-item__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fog);
  flex: 1;
  transition: color 0.3s ease;
}

.service-item.is-open .service-item__title {
  color: var(--paper);
}

.service-item__arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wire-light);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-smooth), border-color 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}

.service-item.is-open .service-item__arrow {
  transform: rotate(45deg);
  border-color: var(--gold);
  background: rgba(187,169,138,0.08);
}

.service-item__arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--fog);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.service-item.is-open .service-item__arrow svg {
  stroke: var(--gold);
}

.service-item__body {
  height: 0;
  overflow: hidden;
}

.service-item__body-inner {
  padding: 0 0 48px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.service-item__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--smoke);
}

.service-item__deliverables h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-item__deliverables ul li {
  font-size: 14px;
  color: var(--fog);
  padding: 8px 0;
  border-bottom: 1px solid var(--wire);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-item__deliverables ul li::before {
  content: '—';
  color: var(--wire-light);
  font-size: 12px;
}

/* Services Overview (Homepage) */
.services-overview {
  border-top: 1px solid var(--wire);
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--wire);
  transition: background 0.3s ease;
  cursor: none;
}

.service-row:hover .service-row__title {
  color: var(--paper);
}

.service-row:hover .service-row__arrow {
  transform: translateX(6px);
  color: var(--gold);
}

.service-row__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.service-row__content {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.service-row__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fog);
  transition: color 0.3s ease;
  min-width: 200px;
}

.service-row__desc {
  font-size: 13px;
  color: var(--smoke);
  max-width: 400px;
}

.service-row__arrow {
  font-size: 18px;
  color: var(--wire-light);
  transition: transform 0.3s var(--ease-smooth), color 0.3s ease;
}

/* ─── Process Steps ─────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--wire);
}

.process-step {
  padding: 48px 40px;
  border-right: 1px solid var(--wire);
  position: relative;
}

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

.process-step__num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--wire-light);
  line-height: 1;
  margin-bottom: 32px;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.process-step__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--smoke);
}

.process-step__connector {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 40px;
  height: 1px;
  background: var(--wire-light);
  z-index: 1;
}

.process-step:last-child .process-step__connector {
  display: none;
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stats-section {
  padding: 100px 0;
  border-top: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 48px 40px;
  border-right: 1px solid var(--wire);
  text-align: center;
}

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

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-number .stat-suffix {
  color: var(--gold);
  font-size: 0.7em;
}

.stat-label {
  font-size: 13px;
  color: var(--smoke);
  font-weight: 400;
}

/* ─── CTA Strip ─────────────────────────────────────────────── */
.cta-strip {
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-strip__text {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── About Page ────────────────────────────────────────────── */
.about-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 120px;
  border-bottom: 1px solid var(--wire);
}

.about-hero__quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--paper);
  max-width: 1000px;
}

.about-hero__quote .quote-accent {
  color: var(--gold);
}

.story-section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--wire);
}

.story__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  position: sticky;
  top: 120px;
}

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

.story__p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.8;
  color: var(--smoke);
}

.story__p + .story__p {
  padding-top: 32px;
  border-top: 1px solid var(--wire);
}

.values-section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--wire);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--wire);
}

.value-item {
  padding: 56px 48px;
  border-right: 1px solid var(--wire);
}

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

.value-item__num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--wire-light);
  line-height: 1;
  margin-bottom: 24px;
}

.value-item__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.value-item__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--smoke);
}

.team-section {
  padding: var(--section-pad) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.team-card {
  background: var(--stone);
  border: 1px solid var(--wire);
}

.team-card__image {
  aspect-ratio: 1;
  background: var(--wire);
  position: relative;
  overflow: hidden;
}

.team-card__image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__initials {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--wire-light);
  letter-spacing: -0.04em;
}

.team-card__info {
  padding: 28px 32px;
  border-top: 1px solid var(--wire);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.team-card__role {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* ─── Contact Page ──────────────────────────────────────────── */
.contact-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--wire);
}

.contact-section {
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 120px;
  align-items: start;
}

.contact-info__label {
  margin-bottom: 48px;
}

.contact-info__item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--wire);
}

.contact-info__item:last-of-type {
  border-bottom: none;
}

.contact-info__type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-info__value {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--fog);
  font-weight: 400;
  line-height: 1.5;
}

.contact-info__value a {
  transition: color 0.3s ease;
}

.contact-info__value a:hover {
  color: var(--paper);
}

.contact-social {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--wire);
}

.contact-social__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color 0.3s ease;
  cursor: none;
}

.contact-social__link:hover {
  color: var(--paper);
}

/* Contact Form */
.contact-form {
  width: 100%;
}

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

.form-group {
  margin-bottom: 40px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--wire-light);
  color: var(--paper);
  font-size: 15px;
  font-weight: 400;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  cursor: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888683' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

.form-group select option {
  background: var(--stone);
  color: var(--paper);
}

.form-group textarea {
  resize: none;
  height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--wire-light);
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--smoke);
}

.form-success {
  display: none;
  padding: 20px 0;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--stone);
  border-top: 1px solid var(--wire);
  padding: 72px 0 40px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--wire);
  margin-bottom: 40px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.footer__logo span {
  color: var(--gold);
}

.footer__tagline {
  font-size: 13px;
  color: var(--smoke);
  margin-top: 8px;
  max-width: 240px;
}

.footer__nav {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer__nav-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-col ul li a {
  font-size: 14px;
  color: var(--smoke);
  transition: color 0.3s ease;
}

.footer__nav-col ul li a:hover {
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 12px;
  color: var(--smoke);
}

.footer__address {
  font-size: 12px;
  color: var(--smoke);
  text-align: right;
}

/* ─── Horizontal Scroll (Home Featured) ────────────────────── */
.h-scroll-section {
  overflow: hidden;
}

.h-scroll-track {
  display: flex;
  gap: 24px;
}

.h-scroll-card {
  flex-shrink: 0;
  width: 480px;
}

/* ─── Divider ───────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--wire);
}

/* ─── Gold Line ─────────────────────────────────────────────── */
.gold-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  display: block;
  margin-bottom: 24px;
}

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--wire-light);
}

/* ─── Media Queries ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root {
    --section-pad: 100px;
  }

  .container {
    padding: 0 32px;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-card__image {
    aspect-ratio: 16/9;
  }

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

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

  .process-step:nth-child(3) {
    border-top: 1px solid var(--wire);
  }

  .process-step:nth-child(4) {
    border-top: 1px solid var(--wire);
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 80px;
  }

  .container {
    padding: 0 24px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

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

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

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

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

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--wire);
    border-right: 1px solid var(--wire);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--wire);
    border-right: none;
  }

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

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

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

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

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

  .process-steps {
    grid-template-columns: 1fr;
    border: none;
  }

  .process-step {
    border: 1px solid var(--wire);
    border-top: none;
  }

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

  .process-step__connector {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
  }

  .story__headline {
    position: static;
  }

  .service-item__body-inner {
    grid-template-columns: 1fr;
    padding-left: 40px;
    gap: 32px;
  }

  .footer__nav {
    gap: 40px;
  }

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

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .work-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .work-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

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

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

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

  .footer__address {
    text-align: left;
  }

  .cta-strip__buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ════════════════════════════════════════════════════════
   ENHANCEMENTS — 3D, Animation, New Sections
════════════════════════════════════════════════════════ */

/* ─── Preloader ─────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preloader__logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  opacity: 0;
}

.preloader__logo span {
  color: var(--gold);
}

/* ─── Scroll Progress Bar ────────────────────────────────────── */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  z-index: 9500;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  pointer-events: none;
  width: 100%;
}

/* ─── Hero Canvas (Three.js) ─────────────────────────────────── */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─── Hero Spotlight (cursor ambient) ───────────────────────── */
.hero__spotlight {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187,169,138,0.028) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  will-change: left, top;
  top: 50%;
  left: 50%;
  transition: opacity 0.3s ease;
}

/* ─── Manifesto Section ──────────────────────────────────────── */
.manifesto-section {
  padding: 160px 0;
  border-top: 1px solid var(--wire);
  position: relative;
  overflow: hidden;
}

.manifesto-section::after {
  content: '\201C';
  position: absolute;
  top: -80px;
  right: -40px;
  font-family: var(--font-display);
  font-size: clamp(240px, 30vw, 480px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--wire);
  pointer-events: none;
  user-select: none;
}

.manifesto-label {
  display: block;
  margin-bottom: 56px;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--paper);
  position: relative;
  z-index: 1;
}

.m-word {
  display: inline-block;
  opacity: 0.1;
  margin-right: 0.2em;
  will-change: opacity, transform;
  transition: none;
}

.m-word.m-gold {
  color: var(--gold);
}

.manifesto-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-top: 64px;
  transition: width 1.5s var(--ease-out-expo);
}

.manifesto-line.is-visible {
  width: 200px;
}

/* ─── Horizontal Scroll Section ──────────────────────────────── */
.hscroll-section {
  height: 400vh;
  position: relative;
}

.hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--wire);
  display: flex;
  flex-direction: column;
}

.hscroll-header {
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid var(--wire);
}

.hscroll-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--smoke);
}

.hscroll-current {
  color: var(--gold);
  transition: color 0.3s ease;
}

.hscroll-sep { color: var(--wire-light); }

.hscroll-track {
  display: flex;
  gap: 1px;
  flex: 1;
  align-items: stretch;
  will-change: transform;
}

.hscroll-card {
  flex-shrink: 0;
  width: min(640px, 78vw);
  background: var(--stone);
  border-right: 1px solid var(--wire);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.hscroll-card:first-child {
  border-left: none;
}

.hscroll-card__num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  z-index: 2;
}

.hscroll-card__image {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo);
}

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

.hscroll-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(20,19,18,0.95) 100%);
  z-index: 1;
}

/* Art-directed card backgrounds */
.hscroll-img--1 {
  background: #151210;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.03) 40px);
}

.hscroll-img--1::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80%;
  height: 60%;
  border: 1px solid rgba(187,169,138,0.1);
  transform: rotate(-2deg);
}

.hscroll-img--2 {
  background: #0E1012;
}

.hscroll-img--2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(187,169,138,0.06) 0%, transparent 60%);
}

.hscroll-img--2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border: 1px solid rgba(187,169,138,0.1);
  border-radius: 50%;
  z-index: 0;
}

.hscroll-img--3 {
  background: #111009;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(255,255,255,0.025) 25px);
}

.hscroll-img--4 {
  background: #0F0D0C;
}

.hscroll-img--4::before {
  content: '';
  position: absolute;
  bottom: 30%;
  right: 20%;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(187,169,138,0.08);
  transform: rotate(15deg);
}

.hscroll-card__info {
  padding: 32px 36px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  border-top: 1px solid var(--wire);
}

.hscroll-card__cat {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hscroll-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.hscroll-card__desc {
  font-size: 13px;
  color: var(--smoke);
  line-height: 1.7;
}

/* ─── Why X3 Section ─────────────────────────────────────────── */
.why-section {
  border-top: 1px solid var(--wire);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--wire);
}

.why-card {
  background: var(--stone);
  padding: 60px 52px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: none;
  border-right: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
  transition: background 0.4s ease;
}

.why-card:nth-child(2n) {
  border-right: none;
}

.why-card:nth-child(3),
.why-card:nth-child(4) {
  border-bottom: none;
}

.why-card:hover {
  background: #181614;
}

.why-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--wire-light);
  line-height: 1;
  margin-bottom: 32px;
  transition: color 0.4s ease;
}

.why-card:hover .why-card__num {
  color: var(--gold);
  opacity: 0.35;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.why-card:hover .why-card__title {
  color: var(--paper);
}

.why-card__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--smoke);
  max-width: 320px;
}

/* ─── Testimonials (Homepage) ────────────────────────────────── */
.testi-home-section {
  border-top: 1px solid var(--wire);
}

.testi-home-header {
  margin-bottom: 64px;
}

.testi-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.testi-card-home {
  background: var(--stone);
  border: 1px solid var(--wire);
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.testi-card-home:hover {
  border-color: var(--wire-light);
}

.testi-card-home::before {
  content: '\201C';
  position: absolute;
  top: -32px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 700;
  color: var(--wire);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testi-quote-home {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--fog);
  position: relative;
  z-index: 1;
  padding-top: 48px;
  font-style: italic;
}

.testi-author-home {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--wire);
}

.testi-avatar-home {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wire-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  border: 1px solid var(--wire-light);
}

.testi-name-home {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
}

.testi-role-home {
  font-size: 12px;
  color: var(--smoke);
  margin-top: 3px;
  display: block;
}

/* ─── Responsive updates ─────────────────────────────────────── */
@media (max-width: 900px) {
  .manifesto-section { padding: 100px 0; }
  .manifesto-text { font-size: clamp(36px, 8vw, 64px); }
  .manifesto-section::after { display: none; }

  .hscroll-section { height: 350vh; }
  .hscroll-header { padding: 20px 24px; }
  .hscroll-track { gap: 1px; }
  .hscroll-card { width: min(400px, 85vw); }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; }
  .why-card:nth-child(3),
  .why-card:nth-child(4) { border-bottom: 1px solid var(--wire); }
  .why-card:last-child { border-bottom: none; }

  .testi-home-grid { grid-template-columns: 1fr; }
  .testi-card-home { padding: 40px 32px; }
}

@media (max-width: 600px) {
  .hscroll-section { height: 300vh; }
  .hscroll-card { width: 88vw; }
  .why-card { padding: 40px 32px; }
}
