/* ==========================================================================
   DARSO STUDIO — Design System
   Deep black / warm off-white / neutral greys + one signal accent.
   Display: Space Grotesk · Body: Inter · Data/labels: IBM Plex Mono
   ========================================================================== */

:root{
  --black: #0a0a0b;
  --black-soft: #101012;
  --ink: #141416;
  --white: #f8f7f4;
  --white-dim: #efeee9;
  --grey-100: #e4e3de;
  --grey-300: #b9b8b3;
  --grey-500: #86847f;
  --grey-700: #4a4a48;
  --grey-900: #201f1d;
  --accent: #cba437;
  --accent-dim: #cba43722;
  --accent-line: #cba43755;
  --cyan: #35e0c9;

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1360px;
  --gutter: clamp(24px, 5vw, 72px);
  --radius: 2px;

  --ease: cubic-bezier(.16,.8,.24,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}

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

body{
  margin:0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.theme-light{ background: var(--white); color: var(--ink); }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ list-style: none; margin:0; padding:0; }
button{ font-family: inherit; background:none; border:none; cursor:pointer; color:inherit; }
input,select,textarea{ font-family: inherit; }

::selection{ background: var(--accent); color: var(--black); }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:'';
  width: 22px; height: 1px;
  background: var(--accent);
}

.section{ position: relative; padding: clamp(56px,8vw,112px) 0; }
.section-tight{ padding: clamp(40px,6vw,72px) 0; }
.section-head{ max-width: 720px; margin-bottom: clamp(28px,4vw,52px); }
.section-head h2{ font-size: clamp(34px, 4.4vw, 60px); margin-top: 18px; }
.section-head p{ margin-top: 20px; color: var(--grey-300); font-size: 18px; max-width: 60ch; }
.theme-light .section-head p{ color: var(--grey-700); }

.divider{ height:1px; width:100%; background: linear-gradient(90deg, transparent, var(--grey-700), transparent); }

/* ---------- Buttons ---------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--grey-700);
  overflow: hidden;
  transition: border-color .4s var(--ease), color .4s var(--ease);
  white-space: nowrap;
}
.btn span{ position:relative; z-index:2; }
.btn::before{
  content:'';
  position:absolute; inset:0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index:1;
}
.btn:hover::before{ transform: translateY(0); }
.btn:hover{ color: var(--black); border-color: var(--accent); }
.btn-primary{ background: var(--white); color: var(--black); border-color: var(--white); }
.btn-primary::before{ background: var(--accent); }
.btn-primary:hover{ color: var(--black); }
.theme-light .btn{ border-color: var(--grey-300); }
.theme-light .btn-primary{ background: var(--black); color: var(--white); border-color: var(--black); }
.btn-ghost{ border-color: transparent; padding-left: 0; padding-right: 0; }
.btn-ghost::before{ display:none; }
.btn-ghost:hover{ color: var(--accent); }
.btn-arrow{ transition: transform .4s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 200;
  padding: 14px var(--gutter);
  display:flex; align-items:center; justify-content:space-between;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled{
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(14px);
  border-color: var(--grey-900);
  padding-top: 16px; padding-bottom: 16px;
}
.theme-light .nav.scrolled{ background: rgba(248,247,244,.86); border-color: var(--grey-100); }

.nav-logo{ font-family: var(--font-display); font-size: 19px; letter-spacing: .01em; display:flex; align-items:center; gap:10px; z-index:210; perspective: 600px; }
.nav-logo img{
  height: 120px; width: auto; display:block;
  transition: height .35s var(--ease);
  transform-style: preserve-3d;
  animation: navLogoSpin 2.6s linear infinite;
}
@keyframes navLogoSpin{
  from{ transform: rotateY(0deg); }
  to{ transform: rotateY(360deg); }
}
.nav.scrolled .nav-logo img{ height: 64px; }
.footer-brand .nav-logo img{ height: 80px; width:auto; }
.nav-logo .dot{ width:7px; height:7px; background: var(--accent); display:inline-block; }

.nav-links{ display:flex; align-items:center; gap: 36px; }
.nav-links a{
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  position:relative; padding: 4px 0; color: var(--grey-300);
  transition: color .3s var(--ease);
}
.theme-light .nav-links a{ color: var(--grey-700); }
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--accent);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color: var(--white); }
.theme-light .nav-links a:hover, .theme-light .nav-links a.active{ color: var(--black); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

.nav-right{ display:flex; align-items:center; gap:28px; }
.nav-cta{ display:inline-flex; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float{
  position:fixed; bottom:26px; right:26px; z-index:500;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 28px rgba(0,0,0,.5);
  transition: transform .3s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width:30px; height:30px; fill:#fff; }
html[dir="rtl"] .whatsapp-float{ right:auto; left:26px; }

/* ---------- 3D logo intro / preloader ---------- */
#darso-intro{
  position:fixed; inset:0; z-index:9999;
  background: var(--black);
  display:none; align-items:center; justify-content:center;
}
#darso-intro-canvas{ width:100%; height:100%; display:block; }

/* ---------- Language switcher ---------- */
.lang-switch{ display:flex; align-items:center; gap:2px; font-family: var(--font-mono); font-size:11px; letter-spacing:.06em; }
.lang-switch a{ padding:5px 8px; color: var(--grey-500); border:1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.lang-switch a:hover{ color: var(--white); }
.lang-switch a.is-active{ color: var(--accent); border-color: var(--accent-line); }
.mm-lang{ display:flex; gap:10px; margin-top:20px; font-family: var(--font-mono); font-size:14px; letter-spacing:.06em; }
.mobile-menu .mm-lang a{
  font-family: var(--font-mono); font-size:14px; font-weight:400;
  padding:8px 14px; border:1px solid var(--grey-900); border-bottom:1px solid var(--grey-900);
  color: var(--grey-300); display:inline-flex; justify-content:center; align-items:center;
}
.mobile-menu .mm-lang a.is-active{ color: var(--accent); border-color: var(--accent-line); }
.nav-burger{ display:none; flex-direction:column; gap:5px; width:26px; z-index:210; }
.nav-burger span{ height:1px; width:100%; background: currentColor; transition: transform .35s var(--ease), opacity .3s; }

.mobile-menu{
  position: fixed; inset:0; z-index:190;
  background: var(--black);
  display:flex; flex-direction:column; justify-content:center; padding: 0 var(--gutter);
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
}
.mobile-menu.open{ transform: translateY(0); }
.mobile-menu a{
  font-family: var(--font-display); font-size: clamp(32px,9vw,54px); font-weight:500;
  padding: 12px 0; border-bottom: 1px solid var(--grey-900); color: var(--white);
  display:flex; justify-content:space-between; align-items:center;
}
.mobile-menu .mm-cta{ margin-top: 32px; }
body.menu-open{ overflow:hidden; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-top: 180px;
  overflow:hidden;
}
.hero-canvas-wrap{ position:absolute; inset:0; z-index:0; }
#ledGrid{ width:100%; height:100%; display:block; opacity:.55; }
.hero-veil{
  position:absolute; inset:0; z-index:1;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, transparent 0%, var(--black) 78%),
              linear-gradient(180deg, rgba(10,10,11,.2) 0%, var(--black) 96%);
}
.hero-inner{ position:relative; z-index:2; padding-bottom: 72px; }
.hero-kicker{
  font-family: var(--font-mono); font-size: 13px; letter-spacing:.18em; text-transform:uppercase;
  color: var(--grey-300); display:flex; align-items:center; gap:12px; margin-bottom: 26px;
}
.hero-kicker .pulse{ width:7px; height:7px; background: var(--accent); border-radius:50%; box-shadow: 0 0 0 0 var(--accent-line); animation: pulse 2.2s infinite; }
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 var(--accent-line); }
  70%{ box-shadow: 0 0 0 12px transparent; }
  100%{ box-shadow: 0 0 0 0 transparent; }
}
.hero h1{
  font-size: clamp(52px, 11vw, 148px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.hero h1 span{ color: transparent; -webkit-text-stroke: 1px var(--grey-500); }
.hero-sub{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 2.6vw, 32px);
  color: var(--white); margin-top: 20px; max-width: 20ch;
}
.hero-row{ display:flex; justify-content:space-between; align-items:flex-end; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-text{ max-width: 460px; color: var(--grey-300); font-size: 17px; }
.hero-actions{ display:flex; gap: 16px; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; right: var(--gutter); bottom: 28px; z-index:2;
  display:flex; align-items:center; gap:10px; font-family: var(--font-mono); font-size:11px;
  letter-spacing: .12em; text-transform:uppercase; color: var(--grey-500);
}
.hero-scroll .line{ width:1px; height:34px; background: var(--grey-700); position:relative; overflow:hidden; }
.hero-scroll .line::after{ content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--accent); animation: scrollline 2.4s infinite var(--ease); }
@keyframes scrollline{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }

.svc-section-top{
  padding-top: clamp(150px, 12vw, 170px);
  padding-bottom: 20px;
}

/* ---------------- Services slider ---------------- */
.svc-slider{ position:relative; margin-top:8px; }
.svc-track{ position:relative; width:100%; aspect-ratio: 16/8; max-height: 74vh; overflow:hidden; background:#050506; border-top:1px solid var(--grey-900); border-bottom:1px solid var(--grey-900); }
.theme-light .svc-track{ border-color: var(--grey-100); }

.svc-slide{
  position:absolute; inset:0;
  display:grid; grid-template-columns: 1.1fr 1fr;
  opacity:0; visibility:hidden;
  transform: scale(1.03);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), visibility 0s linear 1s;
  pointer-events:none;
}
.svc-slide.is-active{
  opacity:1; visibility:visible; transform: scale(1);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  pointer-events:auto;
}

.svc-visual{ position:relative; overflow:hidden; background:#0c0c0d; perspective: 1200px; }
.svc-visual canvas{ position:absolute; inset:0; width:100%; height:100%; }
.svc-visual::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(90deg, transparent 55%, #050506 100%);
}
.svc-glyph{
  position:absolute; width:92%; max-width:620px; stroke: var(--accent);
  top:50%; left:50%;
  transform-style: preserve-3d;
  transform: translate(-50%,-50%) perspective(1000px) rotateX(5deg) rotateY(-7deg);
  opacity:.55;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.5));
  transition: opacity 1s var(--ease);
}
.svc-slide.is-active .svc-glyph{
  opacity:.92;
  animation: svcFloat3d 9s ease-in-out infinite;
}
@keyframes svcFloat3d{
  0%,100%{ transform: translate(-50%,-50%) perspective(1000px) rotateX(7deg) rotateY(-9deg) translateZ(0px) scale(1.02); }
  50%{ transform: translate(-50%,-50%) perspective(1000px) rotateX(-3deg) rotateY(8deg) translateZ(34px) scale(1.06); }
}

.svc-content{
  position:relative; z-index:2;
  display:flex; flex-direction:column; justify-content:center; gap:14px;
  padding: clamp(28px,4vw,64px);
}
.svc-num{ font-family: var(--font-mono); font-size:13px; color: var(--grey-500); }
.svc-content h3{ font-size: clamp(24px,3.2vw,42px); max-width: 14ch; }
.svc-content p{ color: var(--grey-300); font-size:15.5px; max-width:44ch; }
.svc-content .btn{ align-self:flex-start; margin-top:6px; }

.svc-controls{ display:flex; align-items:center; justify-content:center; gap:24px; padding: 14px 0 0; }
.svc-arrow{
  width:42px; height:42px; border:1px solid var(--grey-700); display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-size:16px; transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.theme-light .svc-arrow{ border-color: var(--grey-300); }
.svc-arrow:hover{ border-color: var(--accent); color: var(--accent); }
.svc-progress{ display:flex; gap:10px; }
.svc-dot{ width:56px; height:2px; background: var(--grey-900); position:relative; overflow:hidden; }
.theme-light .svc-dot{ background: var(--grey-100); }
.svc-dot span{ position:absolute; inset:0; width:0%; background: var(--accent); transform-origin:left; }
.svc-dot.is-active span{ animation: svcFill linear forwards; animation-duration: var(--svc-duration, 6s); }
.svc-dot.is-done span{ width:100%; }
@keyframes svcFill{ from{ width:0%; } to{ width:100%; } }

@media (max-width: 1080px){
  .svc-track{ aspect-ratio:auto; min-height: 640px; }
  .svc-slide{ grid-template-columns: 1fr; grid-template-rows: 240px 1fr; }
  .svc-content{ padding: 28px var(--gutter); }
}

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ opacity:0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay: .02s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: .09s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: .23s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay: .30s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay: .37s; }

/* ---------- Intro / values ---------- */
.intro-lead{ font-family: var(--font-display); font-weight:500; font-size: clamp(28px,4vw,46px); max-width: 18ch; letter-spacing:-.01em; }
.values{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--grey-900); margin-top: 40px; border: 1px solid var(--grey-900); }
.theme-light .values{ background: var(--grey-100); border-color: var(--grey-100); }
.value-card{ background: var(--black); padding: 40px 32px; transition: background .4s var(--ease); }
.theme-light .value-card{ background: var(--white); }
.value-card:hover{ background: var(--black-soft); }
.value-num{ font-family: var(--font-mono); color: var(--grey-500); font-size:13px; }
.value-card h3{ font-family: var(--font-mono); font-size:14px; letter-spacing:.1em; text-transform:uppercase; color: var(--accent); margin-top:22px; }
.value-card p{ margin-top:14px; font-size:19px; font-family: var(--font-display); font-weight:500; color: var(--white); }
.theme-light .value-card p{ color: var(--ink); }

/* ---------- Expertise cards ---------- */
.expertise-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-900); border:1px solid var(--grey-900); }
.theme-light .expertise-grid{ background: var(--grey-100); border-color: var(--grey-100); }
.expertise-card{
  background: var(--black); padding: 44px 34px; min-height: 300px;
  display:flex; flex-direction:column; justify-content:space-between;
  position:relative; overflow:hidden;
  transition: background .5s var(--ease);
}
.theme-light .expertise-card{ background: var(--white); }
.expertise-card:hover{ background: var(--black-soft); }
.expertise-card .glyph{ width:44px; height:44px; }
.expertise-card .glyph svg{ width:100%; height:100%; stroke: var(--accent); }
.expertise-card h3{ font-size: 24px; margin-top: 26px; }
.expertise-card p{ margin-top: 12px; color: var(--grey-300); font-size:15px; line-height:1.6; }
.theme-light .expertise-card p{ color: var(--grey-700); }
.expertise-card .tag{ margin-top:20px; font-family: var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--grey-500); }
.expertise-card::after{
  content:'→'; position:absolute; right:28px; bottom:28px; font-family: var(--font-mono); font-size: 20px;
  color: var(--accent); opacity:0; transform: translate(-6px,6px); transition: all .4s var(--ease);
}
.expertise-card:hover::after{ opacity:1; transform: translate(0,0); }

/* ---------- LED section ---------- */
.led-section{ background: var(--black); color: var(--white); position:relative; overflow:hidden; }
.led-stage{
  position:relative; margin-top: 36px; border: 1px solid var(--grey-900);
  aspect-ratio: 16/8; background: #050506; overflow:hidden;
}
.led-stage canvas{ width:100%; height:100%; display:block; }
.led-stage .frame-label{
  position:absolute; top:16px; left:16px; font-family: var(--font-mono); font-size:11px; letter-spacing:.1em;
  color: rgba(255,255,255,.6); text-transform:uppercase; display:flex; gap:8px; align-items:center;
}
.led-stage .frame-label span.rec{ width:6px;height:6px;border-radius:50%; background: var(--accent); animation: pulse 1.8s infinite; }
.stage-content{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0; animation: stageCycle 9s infinite; }
.stage-content:nth-child(2){ animation-delay:3s; }
.stage-content:nth-child(3){ animation-delay:6s; }
.stage-content svg{ width:60%; height:60%; max-width:320px; }
@keyframes stageCycle{
  0%{ opacity:0; transform:scale(.94); }
  5%{ opacity:1; transform:scale(1); }
  28%{ opacity:1; transform:scale(1); }
  34%{ opacity:0; transform:scale(1.03); }
  100%{ opacity:0; }
}
.led-features{ display:grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 36px; }
.led-feature{ border-top: 1px solid var(--grey-900); padding-top: 18px; }
.led-feature h4{ font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--accent); }
.led-feature p{ margin-top:10px; font-size:15px; color: var(--grey-300); }

/* ---------- Portfolio ---------- */
.filters{ display:flex; gap: 10px; flex-wrap:wrap; margin-bottom: 48px; }
.filter-btn{
  font-family: var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  padding: 10px 18px; border:1px solid var(--grey-700); color: var(--grey-300); transition: all .3s var(--ease);
}
.theme-light .filter-btn{ color: var(--grey-700); border-color: var(--grey-300); }
.filter-btn:hover{ border-color: var(--accent); color: var(--white); }
.theme-light .filter-btn:hover{ color: var(--black); }
.filter-btn.active{ background: var(--accent); border-color: var(--accent); color: var(--black); }

.portfolio-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.p-item{ position:relative; aspect-ratio: 4/5; overflow:hidden; background: var(--grey-900); cursor:pointer; }
.p-item.hide{ display:none; }
.p-item .p-visual{ position:absolute; inset:0; overflow:hidden; background:#0a0a0b; transition: transform .8s var(--ease); }
.p-item .p-visual canvas{ position:absolute; inset:0; width:100%; height:100%; }
.p-illust{ position:absolute; inset:0; width:100%; height:100%; transform-origin:center; animation: illustDrift 11s ease-in-out infinite; }
@keyframes illustDrift{
  0%,100%{ transform: scale(1) translateY(0px); }
  50%{ transform: scale(1.035) translateY(-6px); }
}
.p-item:hover .p-visual{ transform: scale(1.06); }
.p-item .p-overlay{
  position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.88) 100%);
  display:flex; flex-direction:column; justify-content:flex-end; padding: 26px;
  opacity:0; transition: opacity .4s var(--ease);
}
.p-item:hover .p-overlay{ opacity:1; }
.p-item .p-cat{ font-family: var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: var(--accent); }
.p-item .p-name{ font-family: var(--font-display); font-size: 22px; color:var(--white); margin-top:8px; }
.p-item .p-sector{ font-size:13px; color: var(--grey-300); margin-top:4px; }

/* ---------- Method ---------- */
.method-track{ display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background: var(--grey-900); border:1px solid var(--grey-900); margin-top:36px; }
.theme-light .method-track{ background: var(--grey-100); border-color: var(--grey-100); }
.method-step{ background: var(--black); padding: 40px 30px; min-height: 260px; display:flex; flex-direction:column; justify-content:space-between; }
.theme-light .method-step{ background: var(--white); }
.method-step .m-num{ font-family: var(--font-mono); font-size:44px; color: var(--grey-700); }
.method-step h3{ font-size:20px; margin-top:24px; text-transform:uppercase; letter-spacing:.02em; }
.method-step p{ margin-top:10px; color: var(--grey-300); font-size:14.5px; }
.theme-light .method-step p{ color: var(--grey-700); }

/* ---------- Why ---------- */
.why-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 2px; margin-top:36px; }
.why-item{ padding: 36px 0; border-top: 1px solid var(--grey-900); display:flex; gap:24px; }
.theme-light .why-item{ border-color: var(--grey-100); }
.why-item .w-mark{ font-family: var(--font-mono); color: var(--accent); font-size:14px; padding-top:4px; }
.why-item h3{ font-size: 21px; }
.why-item p{ margin-top:10px; color: var(--grey-300); font-size:15px; }
.theme-light .why-item p{ color: var(--grey-700); }

/* ---------- Stats ---------- */
.stats-band{ border-top:1px solid var(--grey-900); border-bottom:1px solid var(--grey-900); }
.theme-light .stats-band{ border-color: var(--grey-100); }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); }
.stat{ padding: 34px 30px; border-left: 1px solid var(--grey-900); }
.theme-light .stat{ border-color: var(--grey-100); }
.stat:first-child{ border-left:none; }
.stat .s-num{ font-family: var(--font-display); font-size: clamp(34px,4vw,54px); color: var(--white); }
.theme-light .stat .s-num{ color: var(--black); }
.stat .s-label{ margin-top:10px; font-size:13.5px; color: var(--grey-300); max-width:22ch; }
.theme-light .stat .s-label{ color: var(--grey-700); }

/* ---------- Clients ---------- */
.clients-row{ display:grid; grid-template-columns: repeat(5, 1fr); gap:1px; background: var(--grey-900); border: 1px solid var(--grey-900); margin-top: 28px; }
.theme-light .clients-row{ background: var(--grey-100); border-color: var(--grey-100); }
.client-logo{
  background: var(--black); min-height:200px; display:flex; align-items:center; justify-content:center;
  padding: 28px 32px;
  transition: background .4s var(--ease);
}
.theme-light .client-logo{ background: var(--white); }
.client-logo:hover{ background: var(--black-soft); }
.theme-light .client-logo:hover{ background: var(--white-dim); }
.client-logo img{
  max-width:100%; max-height:130px; width:auto; height:auto; object-fit:contain;
  filter: brightness(0) invert(1);
  opacity:.45;
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease);
}
.theme-light .client-logo img{ filter:none; opacity:.55; }
.client-logo:hover img{ filter:none; opacity:1; transform: scale(1.06); }

/* ---------- CTA ---------- */
.cta-section{ text-align:left; position:relative; }
.cta-section h2{ font-size: clamp(38px,6.4vw,86px); max-width: 16ch; }
.cta-section .cta-text{ margin-top:26px; max-width:60ch; color: var(--grey-300); font-size:18px; }
.cta-actions{ display:flex; gap:18px; margin-top:30px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.footer{ border-top:1px solid var(--grey-900); padding: 48px 0 26px; }
.theme-light .footer{ border-color: var(--grey-100); }
.footer-top{ display:flex; justify-content:space-between; gap: 48px; flex-wrap:wrap; padding-bottom: 36px; }
.footer-brand .nav-logo{ margin-bottom: 14px; }
.footer-brand p{ font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--grey-500); }
.footer-cols{ display:flex; gap: 72px; flex-wrap:wrap; }
.footer-col h4{ font-family: var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--grey-500); margin-bottom:18px; }
.footer-col a{ display:block; font-size:15px; color: var(--grey-300); padding: 6px 0; transition: color .3s; }
.theme-light .footer-col a{ color: var(--grey-700); }
.footer-col a:hover{ color: var(--accent); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top: 28px; border-top:1px solid var(--grey-900); flex-wrap:wrap; gap:16px; }
.theme-light .footer-bottom{ border-color: var(--grey-100); }
.footer-bottom p{ font-family: var(--font-mono); font-size:12px; color: var(--grey-500); }
.footer-social{ display:flex; gap: 20px; }
.footer-social a{ font-family: var(--font-mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; color: var(--grey-300); }
.theme-light .footer-social a{ color: var(--grey-700); }
.footer-social a:hover{ color: var(--accent); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero{ padding: 200px 0 52px; }
.contact-hero-tight{ padding: 150px 0 24px; }
.contact-section-tight{ padding-top: 8px; padding-bottom: 40px; }
.page-hero h1{ font-size: clamp(42px,7vw,92px); margin-top:18px; }
.page-hero p{ margin-top: 24px; max-width: 60ch; font-size:18px; color: var(--grey-300); }
.theme-light .page-hero p{ color: var(--grey-700); }
.contact-hero-tight h1{ font-size: clamp(32px,4.4vw,54px); margin-top:12px; }
.contact-hero-tight p{ margin-top: 14px; font-size:16px; }
.breadcrumb{ font-family: var(--font-mono); font-size:12px; color: var(--grey-500); text-transform:uppercase; letter-spacing:.08em; }
.breadcrumb a:hover{ color: var(--accent); }

/* ---------- Services list ---------- */
.service-row{ display:grid; grid-template-columns: 60px 1fr 1.2fr; gap: 32px; padding: 28px 0; border-top:1px solid var(--grey-900); align-items:start; }
.theme-light .service-row{ border-color: var(--grey-100); }
.service-row:last-child{ border-bottom: 1px solid var(--grey-900); }
.theme-light .service-row:last-child{ border-color: var(--grey-100); }
.service-row .s-index{ font-family: var(--font-mono); color: var(--grey-500); font-size:13px; padding-top:6px; }
.service-row h3{ font-size: 26px; }
.service-row .s-body p{ color: var(--grey-300); font-size:15.5px; max-width: 62ch; }
.theme-light .service-row .s-body p{ color: var(--grey-700); }
.service-row .s-body .s-tags{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.service-row .s-body .s-tags span{ font-family: var(--font-mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color: var(--accent); border:1px solid var(--accent-line); padding:5px 10px; }

/* ---------- About page ---------- */
.pillars{ display:grid; grid-template-columns: repeat(3,1fr); gap:1px; background: var(--grey-900); border:1px solid var(--grey-900); margin-top: 28px;}
.theme-light .pillars{ background: var(--grey-100); border-color: var(--grey-100); }
.pillar{ background: var(--black); padding: 44px 30px; }
.theme-light .pillar{ background: var(--white); }
.pillar .p-letter{ font-family: var(--font-display); font-size: 48px; color: var(--accent); }
.pillar h3{ margin-top:18px; font-size:20px; text-transform:uppercase; letter-spacing:.02em; }
.pillar p{ margin-top:12px; color: var(--grey-300); font-size:15px; }
.theme-light .pillar p{ color: var(--grey-700); }

.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:center; }
.split-visual{ aspect-ratio: 4/5; position:relative; overflow:hidden; background: var(--grey-900); }

/* ---------- Case study ---------- */
.case-meta{ display:grid; grid-template-columns: repeat(5,1fr); gap: 24px; margin-top: 24px; padding-top:22px; border-top:1px solid var(--grey-900); }
.theme-light .case-meta{ border-color: var(--grey-100); }
.case-meta h4{ font-family: var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: var(--accent); }
.case-meta p{ margin-top:10px; font-size:14.5px; color: var(--grey-300); }
.theme-light .case-meta p{ color: var(--grey-700); }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field{ margin-bottom: 26px; }
.field label{ font-family: var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: var(--grey-500); display:block; margin-bottom:10px; }
.field input, .field select, .field textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid var(--grey-700);
  color: var(--white); font-size:16px; padding: 10px 0; transition: border-color .3s;
}
.theme-light .field input, .theme-light .field select, .theme-light .field textarea{ color: var(--ink); border-color: var(--grey-300); }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--accent); }
.field textarea{ resize: vertical; min-height: 110px; }
.field select option{ background: var(--black); color: var(--white); }
.contact-info{ display:flex; flex-direction:column; gap: 20px; }
.info-block h4{ font-family: var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: var(--accent); margin-bottom:8px; }
.info-block p, .info-block a{ font-size: 16px; color: var(--white); display:block; }
.theme-light .info-block p, .theme-light .info-block a{ color: var(--ink); }
.map-block{ aspect-ratio: 16/6; max-height:220px; background: var(--grey-900); position:relative; overflow:hidden; margin-top:0; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .hero{ padding-top: 150px; }
  .page-hero{ padding-top: 170px; }
  .nav-logo img{ height: 96px; }
  .clients-row{ grid-template-columns: repeat(3, 1fr); }
  .expertise-grid, .values, .method-track{ grid-template-columns: repeat(2,1fr); }
  .portfolio-grid{ grid-template-columns: repeat(2,1fr); }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; gap: 40px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 56px; }
  .led-features{ grid-template-columns: repeat(2,1fr); }
  .case-meta{ grid-template-columns: repeat(2,1fr); }
  .pillars{ grid-template-columns: 1fr; }
  .service-row{ grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px){
  .nav-links, .nav-cta, .lang-switch{ display:none; }
  .nav-burger{ display:flex; }
  .nav-logo img{ height: 72px; }
  .svc-track{ min-height: 560px; }
  .svc-slide{ grid-template-rows: 200px 1fr; }
  .svc-glyph{ width:70%; }
  .hero{ padding-top: 130px; }
  .page-hero{ padding-top: 150px; }
  .svc-section-top{ padding-top: 130px; }
  .expertise-grid, .values, .method-track, .stats-grid{ grid-template-columns: 1fr; }
  .clients-row{ grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .stat{ border-left:none; border-top:1px solid var(--grey-900); }
  .theme-light .stat{ border-color: var(--grey-100); }
  .stat:first-child{ border-top:none; }
  .footer-top{ flex-direction:column; gap: 40px; }
  .hero-row{ flex-direction:column; align-items:flex-start; }
}
