:root {
  --bg: #070f1a;
  --surface: #0c1a2b;
  --surface-elevated: #112240;
  --text: #f0f6fc;
  --text-muted: rgba(240, 246, 252, 0.65);
  --text-secondary: rgba(240, 246, 252, 0.8);
  --heading: #ffffff;
  --brand: #3b9eff;
  --brand-glow: rgba(59, 158, 255, 0.25);
  --brand-gradient: linear-gradient(135deg, #1a7de8 0%, #4db5ff 100%);
  --accent: #64d2ff;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: min(1200px, calc(100vw - 48px));
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  hanging-punctuation: first last;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

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

/* ── NOISE GRAIN OVERLAY ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ── PAGE LOADER ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  box-shadow: 0 0 60px var(--brand-glow);
}

.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loader-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 2px;
}

@keyframes loaderFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── CUSTOM CURSOR ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 300ms;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(59, 158, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 300ms cubic-bezier(0.23, 1, 0.32, 1),
              height 300ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 300ms,
              opacity 300ms;
}

.cursor-ring.is-hovering {
  width: 56px;
  height: 56px;
  border-color: rgba(59, 158, 255, 0.8);
}

.cursor-ring.is-clicking {
  width: 28px;
  height: 28px;
}

@media (pointer: coarse), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--brand-gradient);
  z-index: 2;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(7, 15, 26, 0.75);
  border-bottom: 1px solid var(--line);
  transition: background 300ms;
  transform: translateY(-100%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
}

.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms;
}

.site-nav a:hover { color: var(--text); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: white !important;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--brand-glow);
  transition: transform 200ms, box-shadow 200ms;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--brand-glow);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.language-option {
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 200ms, color 200ms, box-shadow 200ms;
}

.language-option:hover {
  color: var(--text);
}

.language-option.is-active {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 16px var(--brand-glow);
}

html[data-language="zh"] .eyebrow,
html[data-language="zh"] .section-tag,
html[data-language="zh"] .stats-grid span,
html[data-language="zh"] .text-marquee-track span {
  letter-spacing: 0.06em;
}

html[data-language="zh"] .hero h1,
html[data-language="zh"] .section-heading h2,
html[data-language="zh"] .about-copy h2,
html[data-language="zh"] .clients-copy h2,
html[data-language="zh"] .contact-copy h2 {
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 200ms, opacity 200ms;
}

/* ── HERO ── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-media {
  will-change: transform;
}

.hero-media img {
  width: 100%; height: 120%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  background:
    linear-gradient(135deg, rgba(7, 15, 26, 0.92) 0%, rgba(7, 15, 26, 0.6) 50%, rgba(7, 15, 26, 0.4) 100%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}

.hero-glow {
  background: radial-gradient(ellipse 600px 400px at 30% 50%, rgba(59, 158, 255, 0.12) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0%   { opacity: 0.6; transform: translate(0, 0); }
  100% { opacity: 1; transform: translate(40px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 120px;
  max-width: 720px;
}

.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before, .section-tag::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.hero h1 {
  margin: 28px 0 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--heading);
  text-wrap: balance;
}

/* Split text word containers */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 6px;
  margin-bottom: -6px;
}

.word-inner {
  display: inline-block;
  will-change: transform;
}

.hero-lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  letter-spacing: 0.005em;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-indicator span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--brand);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 200ms, box-shadow 200ms, background 200ms;
  will-change: transform;
}

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

.btn-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 8px 30px var(--brand-glow);
}

.btn-primary:hover { box-shadow: 0 12px 40px rgba(59, 158, 255, 0.35); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.btn-full { width: 100%; }

/* ── STATS BAR ── */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stats-grid article {
  padding: 32px 28px;
  background: var(--surface);
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stats-grid span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── SECTIONS ── */
.section { padding: 120px 0; }

.section-heading { max-width: 640px; margin-bottom: 60px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-heading h2,
.about-copy h2,
.clients-copy h2,
.contact-copy h2 {
  margin: 18px 0 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--heading);
  text-wrap: balance;
}

.section-heading p,
.about-copy p,
.clients-copy p,
.contact-copy p {
  color: var(--text-muted);
  font-size: 1.06rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 60ch;
  letter-spacing: 0.005em;
}

.section-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ── ABOUT ── */
.section-about {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(59, 158, 255, 0.08) 0%, transparent 50%),
    var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p { margin-bottom: 20px; }

.discipline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.discipline-pills span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.2);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
}

.about-images {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.about-img-main {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.about-img-secondary {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 8;
}

.about-img-main img,
.about-img-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Image reveal clip-path */
.img-reveal {
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
  transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}

.img-reveal.is-revealed {
  clip-path: inset(0 0% 0 0);
}

/* ── TEXT MARQUEE ── */
.text-marquee {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

.text-marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: textMarquee 25s linear infinite;
  will-change: transform;
}

.text-marquee-track span {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 16px;
  flex-shrink: 0;
}

.text-marquee-track .sep {
  color: var(--brand);
  font-size: clamp(1.4rem, 3vw, 2rem);
  padding: 0 8px;
}

@keyframes textMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── VALUES ── */
.section-values {
  background:
    radial-gradient(ellipse at 80% 100%, rgba(59, 158, 255, 0.06) 0%, transparent 50%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.value-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 400ms, background 400ms, transform 200ms;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.value-card:hover {
  border-color: rgba(59, 158, 255, 0.3);
  background: rgba(59, 158, 255, 0.04);
}

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
  border-radius: inherit;
}

.value-card:hover .card-glow {
  opacity: 1;
}

.value-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.value-card h3 {
  margin: 16px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

/* ── SERVICES ── */
.section-services {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 158, 255, 0.06) 0%, transparent 40%),
    var(--bg);
}

/* BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.bento-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: default;
  grid-column: span 2;
}

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.bento-card:hover img { transform: scale(1.08); }

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 26, 0.1) 0%, rgba(7, 15, 26, 0.85) 85%);
  transition: background 400ms;
}

.bento-card:hover .bento-overlay {
  background: linear-gradient(180deg, rgba(7, 15, 26, 0.05) 0%, rgba(7, 15, 26, 0.75) 85%);
}

.bento-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  padding: 28px;
  transform: translateY(4px);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-card:hover .bento-content {
  transform: translateY(0);
}

.bento-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  margin: 0 0 8px;
}

.bento-content p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms 100ms, transform 400ms 100ms;
}

.bento-card:hover .bento-content p {
  opacity: 1;
  transform: translateY(0);
}

.bento-wide { grid-column: span 4; }
.bento-grid .bento-card:nth-child(3) { grid-column: span 3; }
.bento-grid .bento-card:nth-child(4) { grid-column: span 3; }
.bento-grid .bento-card:last-child.bento-wide { grid-column: span 6; }

/* SERVICE LIST */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 300ms, background 300ms, transform 300ms;
}

.service-item:hover {
  border-color: rgba(59, 158, 255, 0.25);
  background: rgba(59, 158, 255, 0.03);
  transform: translateY(-2px);
}

.service-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(59, 158, 255, 0.1);
  color: var(--brand);
}

.service-icon svg { width: 22px; height: 22px; }

.service-item h4 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--heading);
}

.service-item p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── EXPERTISE GALLERY (CSS scroll-snap horizontal) ── */
.section-expertise {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.gallery-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  padding: 0 calc((100vw - var(--container)) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track:active { cursor: grabbing; }
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  position: relative;
  flex: 0 0 520px;
  height: 480px;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: default;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover { transform: scale(1.02); }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(7, 15, 26, 0.92));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(59, 158, 255, 0.2);
  border: 1px solid rgba(59, 158, 255, 0.4);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

/* Gallery scroll progress bar */
.gallery-progress {
  margin: 20px calc((100vw - var(--container)) / 2) 0;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.gallery-progress-fill {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 2px;
  width: 0%;
  transition: width 100ms linear;
}

/* ── CLIENTS ── */
.section-clients {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.clients-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.clients-figure img { width: 100%; }

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  padding: 8px 0;
}

.marquee-row {
  display: flex;
  margin-bottom: 12px;
}

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

.marquee-content {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
  flex-shrink: 0;
}

.marquee-reverse .marquee-content {
  animation-direction: reverse;
  animation-duration: 40s;
}

.marquee-content span {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: border-color 300ms, color 300ms, background 300ms;
}

.marquee-content span:hover {
  border-color: rgba(59, 158, 255, 0.3);
  color: var(--accent);
  background: rgba(59, 158, 255, 0.06);
}

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

/* ── CONTACT ── */
.section-contact {
  padding-bottom: 80px;
}

.contact-shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-bg-img {
  position: absolute;
  inset: 0;
}

.contact-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 15, 26, 0.94) 0%, rgba(12, 26, 43, 0.88) 100%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 64px;
  align-items: center;
}

.contact-copy .section-tag { color: var(--accent); }
.contact-copy .section-tag::before { background: var(--accent); }
.contact-copy h2 { color: white; }
.contact-copy p { color: var(--text-secondary); }

.contact-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(20px);
}

.contact-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.contact-role {
  margin: 0 0 24px;
  font-size: 0.92rem;
  color: var(--text-muted) !important;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms;
}

.contact-links a:hover { color: var(--accent); }
.contact-links svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary svg { width: 18px; height: 18px; }

/* ── FOOTER ── */
.site-footer {
  padding: 24px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.footer-brand span,
.footer-shell > p {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin: 0;
}

/* ── HERO ENTRANCE (CSS-driven, triggered by body.loaded) ── */
.eyebrow,
.hero-lead,
.hero-actions,
.hero-scroll-indicator {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.word-inner {
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

body.loaded .eyebrow             { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
body.loaded .word-inner           { transform: translateY(0); }
body.loaded .hero h1 .word-wrap:nth-child(1) .word-inner { transition-delay: 0.25s; }
body.loaded .hero h1 .word-wrap:nth-child(2) .word-inner { transition-delay: 0.31s; }
body.loaded .hero h1 .word-wrap:nth-child(3) .word-inner { transition-delay: 0.37s; }
body.loaded .hero h1 .word-wrap:nth-child(4) .word-inner { transition-delay: 0.43s; }
body.loaded .hero h1 .word-wrap:nth-child(5) .word-inner { transition-delay: 0.49s; }
body.loaded .hero h1 .word-wrap:nth-child(6) .word-inner { transition-delay: 0.55s; }
body.loaded .hero h1 .word-wrap:nth-child(7) .word-inner { transition-delay: 0.61s; }
body.loaded .hero h1 .word-wrap:nth-child(8) .word-inner { transition-delay: 0.67s; }
body.loaded .hero h1 .word-wrap:nth-child(9) .word-inner { transition-delay: 0.73s; }
body.loaded .hero-lead            { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
body.loaded .hero-actions         { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
body.loaded .hero-scroll-indicator { opacity: 1; transform: translateY(0); transition-delay: 0.85s; }

/* ── REVEAL ANIMATIONS ── */
.reveal-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Stagger items — generic fade-up */
.stagger-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.stagger-item.stagger-scale {
  transform: translateY(32px) scale(0.95);
}

.stagger-item.stagger-left {
  transform: translateX(-24px);
}

.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) translateX(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-wide, .bento-grid .bento-card:last-child.bento-wide { grid-column: span 2; }
  .bento-grid .bento-card:nth-child(3),
  .bento-grid .bento-card:nth-child(4) { grid-column: span 1; }
  .bento-card { grid-column: span 1; }
  .services-list { grid-template-columns: 1fr; }
  .clients-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; padding: 48px; }
  .gallery-item { flex: 0 0 340px; height: 440px; }
}

@media (max-width: 768px) {
  :root { --container: min(100vw - 32px, 1200px); --header-h: 64px; }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px; right: 16px;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(12, 26, 43, 0.97);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .nav-cta { text-align: center; }
  .language-switch {
    width: 100%;
    margin-top: 8px;
  }
  .language-option {
    flex: 1;
    height: 38px;
  }
  .nav-toggle { display: inline-block; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 120px 0 100px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { margin-top: -40px; }

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

  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide, .bento-grid .bento-card:last-child.bento-wide,
  .bento-grid .bento-card:nth-child(3),
  .bento-grid .bento-card:nth-child(4),
  .bento-card { grid-column: auto; }

  /* Gallery becomes scrollable horizontally on mobile */
  .gallery-wrap { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .gallery-item { flex: 0 0 85vw; height: 400px; scroll-snap-align: center; }

  .contact-inner { padding: 32px 24px; gap: 32px; }

  .section { padding: 80px 0; }
}

@media (max-width: 480px) {
  :root { --container: min(100vw - 24px, 1200px); }

  .brand-mark { width: 36px; height: 36px; border-radius: 8px; }
  .brand-copy strong { font-size: 0.95rem; }

  .hero-content { padding: 100px 0 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid strong { font-size: 1.6rem; }
  .stats-grid article { padding: 22px 18px; }

  .section { padding: 64px 0; }
  .section-heading h2, .about-copy h2, .clients-copy h2, .contact-copy h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .gallery-item { flex: 0 0 85vw; height: 360px; }

  .contact-inner { padding: 24px 20px; }
  .contact-card { padding: 24px; }

  .footer-shell { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-fade { opacity: 1; transform: none; }
  .img-reveal { clip-path: inset(0 0% 0 0); }
  .cursor-dot, .cursor-ring { display: none !important; }
}
