/* ============================================================
   VETTON CAPITAL v3 — Deep Operations
   ============================================================ */

:root {
  --ink:    #040C17;
  --navy:   #07101D;
  --navy-2: #0B1627;
  --blue:   #1E90FF;
  --blue-2: #7CC7FF;
  --gold:   #C9A84C;
  --gold-2: #E8C97A;
  --white:  #FFFFFF;
  --text:   #B9C7D8;
  --muted:  #6B7E94;
  --line:   rgba(185,199,216,0.12);
  --line-g: rgba(201,168,76,0.2);
  --shadow: 0 32px 96px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  color: var(--text);
  background: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,144,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,144,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black, transparent);
}

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

h1, h2, h3, h4 {
  overflow-wrap: anywhere;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--white);
  line-height: 1.05;
  font-weight: 600;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Skip link ────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 4px;
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 0.85rem;
  transform: translateY(-200%); transition: transform 200ms;
}
.skip-link:focus { transform: translateY(0); }

/* ── Scroll reveal ────────────────────────────────────────── */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1),
              transform 0.7s cubic-bezier(.22,1,.36,1);
}
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
.js-ready .reveal-delay-1 { transition-delay: 0.08s; }
.js-ready .reveal-delay-2 { transition-delay: 0.16s; }
.js-ready .reveal-delay-3 { transition-delay: 0.24s; }
.js-ready .reveal-delay-4 { transition-delay: 0.32s; }

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  height: 76px;
  padding: 0 clamp(16px, 5vw, 72px);
  background: rgba(4,12,23,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  position: sticky;
}
.site-header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--blue) 65%, transparent);
  opacity: 0.3;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand .brand-mark {
  width: 38px; height: auto; display: block;
  filter: drop-shadow(0 0 12px rgba(41,168,255,0.35));
}
.brand-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--white); line-height: 1; white-space: nowrap;
}
.brand-word em { font-style: italic; font-weight: 600; color: var(--gold-2); }

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
}
.main-nav a {
  color: var(--muted);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  position: relative; transition: color 200ms;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 230ms;
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.header-right {
  display: flex; align-items: center; gap: 14px;
}

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 3px;
  padding: 5px 10px;
}
.lang-sep { color: var(--muted); font-size: 0.65rem; }
.lang-btn {
  background: none; border: none; padding: 2px;
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--muted); transition: color 180ms;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active { color: var(--gold); }

.header-cta {
  padding: 8px 16px;
  border: 1px solid rgba(201,168,76,0.4); border-radius: 3px;
  color: var(--gold-2);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  white-space: nowrap;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.header-cta:hover {
  background: var(--gold); border-color: var(--gold); color: var(--ink);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 7vw, 100px) clamp(16px, 5vw, 72px) clamp(60px, 7vw, 88px);
  overflow: hidden;
}

.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: relative; z-index: 1;
  opacity: 1;
}
.js-ready .hero-content {
  animation: fadeUp 1s 0.05s cubic-bezier(.22,1,.36,1) forwards;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before {
  content: ''; display: block;
  width: 22px; height: 1px; background: var(--gold); flex-shrink: 0;
}

h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.01em; max-width: 17ch; line-height: 1.16;
}
h1 em { font-style: italic; color: var(--gold-2); }

.hero-copy {
  margin-top: 22px; color: #C5D5E8;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  max-width: 54ch; line-height: 1.75;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms, background 220ms, border-color 220ms,
              color 220ms, box-shadow 220ms;
}
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover {
  background: var(--gold-2);
  box-shadow: 0 8px 40px rgba(201,168,76,0.32);
  transform: translateY(-2px);
}
.button-secondary {
  border-color: rgba(255,255,255,0.18); color: var(--white);
  background: rgba(255,255,255,0.04);
}
.button-secondary:hover {
  border-color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ── NETWORK VISUALIZATION ────────────────────────────────── */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; justify-content: flex-end;
  opacity: 1;
}
.js-ready .hero-visual {
  animation: fadeUp 1s 0.2s cubic-bezier(.22,1,.36,1) forwards;
}

.network-viz {
  width: min(100%, 480px);
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}

.network-svg { width: 100%; height: auto; overflow: visible; }

/* SVG text */
.net-center-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700;
  fill: var(--gold); letter-spacing: 0.05em;
}
.net-center-sub {
  font-family: 'DM Mono', monospace;
  font-size: 7px; fill: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.net-node-label {
  font-family: 'DM Mono', monospace;
  font-size: 7px; fill: #C9A84C;
  letter-spacing: 0.1em; text-transform: uppercase;
  pointer-events: none;
}
.net-node-label-blue { fill: #7CC7FF; }
.net-node-val {
  font-family: 'DM Mono', monospace;
  font-size: 6px; fill: var(--muted); letter-spacing: 0.06em;
  pointer-events: none;
}
.net-node-val-blue { fill: rgba(124,199,255,0.65); }

/* Connection lines */
.net-line {
  stroke: rgba(201,168,76,0.3); stroke-width: 1;
  stroke-dasharray: 4 12;
  animation: net-flow 3s linear infinite;
}
.net-line-blue {
  stroke: rgba(30,144,255,0.2); stroke-width: 1;
  stroke-dasharray: 3 14;
  animation: net-flow 4s linear infinite reverse;
}
@keyframes net-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -64; }
}

/* Node rings */
.net-node-ring {
  fill: none;
  animation: ring-pulse 2.5s ease-in-out infinite;
}
.net-node-ring-blue {
  fill: none;
  animation: ring-pulse-blue 2.8s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.12; }
}
@keyframes ring-pulse-blue {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.1; }
}

/* Center pulse */
.center-glow {
  animation: center-pulse 2.8s ease-in-out infinite;
}
@keyframes center-pulse {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 0.3; }
}

/* Orbit rings */
.orbit-1 {
  animation: spin 30s linear infinite;
  transform-origin: 240px 240px;
}
.orbit-2 {
  animation: spin 18s linear infinite reverse;
  transform-origin: 240px 240px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Travelling dots along lines — using animateMotion inside SVG */

/* Status bar */
.net-status {
  display: flex; align-items: center; gap: 8px;
  margin-top: 0;
  padding: 6px 14px;
  border: 1px solid rgba(201,168,76,0.13); border-top: none;
  border-radius: 0 0 4px 4px;
  background: rgba(4,12,23,0.8);
  width: 76%;
}
.net-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.15} }
.net-status-text {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ── TICKER ───────────────────────────────────────────────── */
.ticker-band {
  position: relative; display: flex; align-items: center;
  height: 50px; overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(201,168,76,0.02);
}
.ticker-band::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 8%, transparent 92%, var(--ink) 100%);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 0 30px;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.ticker-item .sep { color: var(--gold); opacity: 0.4; font-size: 0.5rem; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section {
  padding: clamp(72px, 9vw, 128px) clamp(16px, 5vw, 72px);
  position: relative;
}

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; color: var(--gold);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.section-label::after {
  content: ''; display: inline-block;
  width: 70px; height: 1px;
  background: linear-gradient(90deg, var(--line-g), transparent);
}

h2 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; }
h2 em { font-style: italic; color: var(--gold-2); }

.section-intro {
  color: #B5C8DC;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  max-width: 52ch; line-height: 1.78; margin-top: 14px;
}

/* ── PROBLEMS ─────────────────────────────────────────────── */
.problems-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end; margin-bottom: 48px;
}
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.problem-card {
  background: rgba(7,16,29,0.95); padding: 28px 22px;
  transition: background 240ms;
}
.problem-card:hover { background: rgba(14,26,44,0.98); }
.problem-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; color: var(--gold);
  letter-spacing: 0.14em; margin-bottom: 14px;
}
.problem-card h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.22; margin-bottom: 10px; }
.problem-card p  { color: var(--muted); font-size: 0.84rem; line-height: 1.65; }

/* ── SERVICES ─────────────────────────────────────────────── */
.services-section { background: linear-gradient(180deg, rgba(11,22,39,0.3), transparent); }
.services-header {
  display: grid; grid-template-columns: 1.1fr 0.8fr;
  gap: 40px; align-items: end; margin-bottom: 48px;
}
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.service-card {
  position: relative; padding: 26px;
  border: 1px solid var(--line); border-radius: 4px;
  background: rgba(11,22,39,0.5); overflow: hidden;
  transition: border-color 280ms, transform 280ms, box-shadow 280ms;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 280ms;
}
.service-card:hover {
  border-color: rgba(201,168,76,0.28);
  transform: translateY(-4px);
  box-shadow: 0 18px 56px rgba(0,0,0,0.32);
}
.service-card:hover::before { opacity: 1; }
.service-card-wide { grid-column: span 2; }
.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; color: var(--gold);
  letter-spacing: 0.14em; margin-bottom: 18px;
}
.service-card h3 { font-size: 1.18rem; font-weight: 600; line-height: 1.2; margin-bottom: 12px; }
.service-card > p { color: var(--text); font-size: 0.84rem; line-height: 1.65; margin-bottom: 18px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  padding: 3px 9px; border: 1px solid var(--line); border-radius: 2px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.tag.tag-gold { border-color: var(--line-g); color: var(--gold); }

/* ── METHOD ───────────────────────────────────────────────── */
.method-section { border-block: 1px solid var(--line); background: rgba(7,16,29,0.25); }
.method-header  { margin-bottom: 60px; }
.method-steps   { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.method-steps::before {
  content: ''; position: absolute;
  top: 22px; left: calc(12.5% + 12px); right: calc(12.5% + 12px); height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--blue)); opacity: 0.22;
}
.method-step { position: relative; z-index: 1; padding-right: 26px; }
.step-index {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,0.38); border-radius: 50%;
  margin-bottom: 22px;
  font-family: 'DM Mono', monospace; font-size: 0.7rem; color: var(--gold);
  background: var(--ink); position: relative;
}
.step-index::after {
  content: ''; position: absolute; inset: -5px;
  border-radius: 50%; border: 1px solid rgba(201,168,76,0.1);
}
.method-step h3 { font-size: 1.42rem; font-weight: 600; margin-bottom: 10px; }
.method-step p  { font-size: 0.84rem; color: var(--muted); line-height: 1.65; max-width: 24ch; }

/* ── SECTORS ──────────────────────────────────────────────── */
.sector-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  margin-top: 48px;
}
.sector-item {
  display: grid; grid-template-columns: 1fr auto;
  align-items: start; gap: 18px; padding: 26px 30px;
  background: rgba(4,12,23,0.96); transition: background 220ms;
}
.sector-item:hover { background: rgba(9,18,32,0.98); }
.sector-item h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 7px; }
.sector-item p  { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.sector-arrow {
  color: var(--gold); font-size: 1rem; opacity: 0.32;
  transition: opacity 220ms, transform 220ms; margin-top: 4px; flex-shrink: 0;
}
.sector-item:hover .sector-arrow { opacity: 1; transform: translate(3px,-3px); }

/* ── EXPERIENCE ───────────────────────────────────────────── */
.experience-section {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px,7vw,96px); align-items: start;
}
.exp-copy h2 { max-width: 14ch; }
.exp-copy .section-intro { margin-top: 18px; }
.metrics-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 2px; background: var(--line);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.metric-card {
  padding: 28px 24px; background: rgba(7,16,29,0.95);
  border-top: 2px solid transparent; transition: border-color 300ms;
}
.metric-card:hover { border-color: var(--gold); }
.metric-value {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 8px;
}
.metric-label { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ── PHOTO BAND ───────────────────────────────────────────── */
.photo-band {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px;
  padding: clamp(40px,5vw,64px) clamp(16px,5vw,72px) 0;
}
.photo-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px;
  aspect-ratio: 3 / 2;
  background: var(--navy);
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(35%) brightness(0.72) contrast(1.05);
  transition: transform 600ms cubic-bezier(.22,1,.36,1), filter 600ms;
}
.photo-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(0.85) contrast(1.05);
}
.photo-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,12,23,0.1) 30%, rgba(4,12,23,0.88) 100%);
}
.photo-card figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1;
  display: grid; gap: 4px;
}
.photo-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; color: var(--gold);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.photo-cap {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem; font-weight: 600; color: var(--white);
  line-height: 1.2;
}

/* ── IMPACT / CHARTS ──────────────────────────────────────── */
.impact-section { border-top: 1px solid var(--line); background: rgba(7,16,29,0.25); }
.impact-header {
  display: grid; grid-template-columns: 1.1fr 0.8fr;
  gap: 40px; align-items: end; margin-bottom: 44px;
}
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-card {
  padding: 24px 22px 14px;
  border: 1px solid var(--line); border-radius: 6px;
  background: rgba(7,16,29,0.85);
  position: relative; overflow: hidden;
}
.chart-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}
.chart-head {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.chart-head h3 { font-size: 1.25rem; font-weight: 600; }
.chart-period {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.chart-svg { width: 100%; height: auto; display: block; }
.chart-axis {
  font-family: 'DM Mono', monospace;
  font-size: 9px; fill: var(--muted);
}
.chart-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px; fill: var(--muted); letter-spacing: 0.08em;
}
.chart-val {
  font-family: 'DM Mono', monospace;
  font-size: 13px; fill: var(--gold-2); letter-spacing: 0.04em;
}
.chart-val-blue { fill: var(--blue-2); }
.chart-disclaimer {
  margin-top: 18px;
  font-size: 0.74rem; color: var(--muted); font-style: italic;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-section {
  margin: 0 clamp(16px,5vw,72px) clamp(36px,5vw,72px);
  padding: clamp(46px,7vw,80px) clamp(26px,5vw,64px);
  border: 1px solid rgba(201,168,76,0.16); border-radius: 6px;
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 45%),
    linear-gradient(225deg, rgba(30,144,255,0.06) 0%, transparent 45%),
    rgba(7,16,29,0.97);
}
.contact-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 28%, var(--blue) 72%, transparent);
  opacity: 0.5;
}
.contact-inner {
  display: grid; grid-template-columns: 1.3fr 0.5fr;
  gap: clamp(28px,5vw,72px); align-items: center;
}
.contact-inner h2 { font-size: clamp(1.6rem,2.4vw,2.3rem); max-width: 24ch; margin-bottom: 14px; }
.contact-inner p  { color: var(--text); font-size: 0.97rem; line-height: 1.72; max-width: 50ch; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.email-link {
  font-family: 'DM Mono', monospace; font-size: 0.78rem; color: var(--gold);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(201,168,76,0.3); padding-bottom: 2px;
  transition: color 200ms, border-color 200ms;
}
.email-link:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 18px 32px; align-items: center;
  padding: 30px clamp(16px,5vw,72px); border-top: 1px solid var(--line);
}
.site-footer img { width: 140px; opacity: 0.6; }
.site-footer p   { margin: 0; font-size: 0.79rem; color: var(--muted); max-width: 44ch; }
.legal-nav {
  display: flex; flex-wrap: wrap; gap: 7px 16px;
  font-size: 0.77rem; color: var(--muted); align-items: center;
}
.legal-nav a:hover { color: var(--white); }
.legal-btn {
  background: none; border: none; padding: 0; font: inherit;
  cursor: pointer; color: var(--muted); font-size: 0.77rem;
}
.legal-btn:hover { color: var(--white); }

/* ── LEGAL ────────────────────────────────────────────────── */
.legal-main { max-width: 960px; margin: 0 auto; padding: clamp(48px,8vw,96px) clamp(16px,5vw,72px); }
.legal-main h1 { font-size: clamp(2.2rem,5vw,4rem); max-width: 18ch; }
.legal-main h2 { margin-top: 40px; font-size: clamp(1.2rem,2.5vw,1.8rem); }
.legal-main p, .legal-main li { color: #C5D5E8; font-size: 0.93rem; line-height: 1.75; }
.legal-main a { color: var(--gold-2); }
.legal-main ul { padding-left: 1.2rem; }
.legal-note { margin-top: 24px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,0.02); }
.legal-table { display: grid; gap: 1px; overflow: hidden; margin: 18px 0; border: 1px solid var(--line); border-radius: 4px; background: var(--line); }
.legal-table div { display: grid; grid-template-columns: minmax(130px,0.3fr) 1fr; gap: 12px; padding: 13px; background: rgba(4,12,23,0.95); }
.legal-table strong { color: var(--white); }
.legal-table span   { color: #C5D5E8; }

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  right: clamp(10px,3vw,26px); bottom: clamp(10px,3vw,26px);
  z-index: 80;
  width: min(760px, calc(100vw - 20px));
  padding: 20px 18px;
  border: 1px solid rgba(201,168,76,0.18); border-radius: 6px;
  background: rgba(4,12,23,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  display: grid; gap: 14px;
}
.cookie-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45; border-radius: 6px 6px 0 0;
}
.cookie-copy h2 { font-size: 1.22rem; margin-bottom: 6px; }
.cookie-copy p  { margin: 6px 0; color: #C5D5E8; font-size: 0.85rem; }
.cookie-copy a  { color: var(--gold-2); }
.cookie-panel { display: grid; gap: 8px; }
.cookie-panel[hidden], .cookie-actions [hidden] { display: none; }
.cookie-toggle {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  align-items: start; padding: 10px;
  border: 1px solid var(--line); border-radius: 3px;
  background: rgba(255,255,255,0.02);
}
.cookie-toggle input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold); }
.cookie-toggle strong { display: block; color: var(--white); font-size: 0.86rem; }
.cookie-toggle small  { display: block; color: var(--muted); font-size: 0.77rem; margin-top: 1px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 44px; }
  .hero-visual { justify-content: flex-start; }
  .network-viz { width: min(100%, 400px); }
  .problems-header { grid-template-columns: 1fr; gap: 12px; }
  .services-header  { grid-template-columns: 1fr; gap: 12px; }
  .method-steps { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .method-steps::before { display: none; }
  .experience-section { grid-template-columns: 1fr; gap: 36px; }
  .impact-header { grid-template-columns: 1fr; gap: 12px; }
  .charts-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto; padding: 12px clamp(14px,4vw,36px); gap: 10px;
  }
  .main-nav {
    grid-column: 1 / -1; order: 3;
    justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 16px; padding-bottom: 2px;
  }
  .main-nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card-wide { grid-column: span 2; }
  .sector-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer .brand-word { grid-column: 1 / -1; }
  .section { padding: clamp(52px,7vw,92px) clamp(14px,4vw,36px); }
}

@media (max-width: 600px) {
  .site-header { padding: 10px 14px; }
  .header-cta  { display: none; }
  .main-nav a  { font-size: 0.72rem; }
  .lang-toggle { padding: 4px 8px; }

  .hero { padding: 34px 14px 46px; gap: 30px; }
  h1 { font-size: clamp(1.65rem,6.4vw,2.1rem); max-width: 100%; }
  .hero-copy { font-size: 0.91rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .network-viz { width: 100%; }
  .net-status  { width: 88%; }

  .section { padding: 46px 14px; }
  h2 { font-size: clamp(1.45rem,5.6vw,1.85rem); }

  .problems-grid  { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: span 1; }
  .method-steps   { grid-template-columns: 1fr; gap: 26px; }
  .metrics-grid   { grid-template-columns: 1fr 1fr; }
  .metric-card    { padding: 18px 14px; }
  .metric-value   { font-size: 2.1rem; }
  .sector-grid    { grid-template-columns: 1fr; }
  .sector-item    { padding: 18px 14px; }
  .photo-band     { grid-template-columns: 1fr; padding: 34px 14px 0; }
  .chart-card     { padding: 18px 12px 10px; }

  .contact-section { margin-inline: 10px; padding: 28px 14px; }
  .contact-inner h2 { font-size: clamp(1.35rem,5.4vw,1.75rem); }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; }

  .site-footer { grid-template-columns: 1fr; gap: 14px; padding: 22px 14px; }

  .cookie-banner { right: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 14px 12px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .button { width: 100%; }
  .legal-table div { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.55rem; }
  .metrics-grid { grid-template-columns: 1fr; }
}


/* ─── Hero diagnostic panel ────────────────────────────── */
.diag-wrap { position: relative; width: min(440px, 100%); margin-inline: auto; transition: transform 0.3s ease; }
.diag-panel {
  background: linear-gradient(160deg, rgba(13,24,40,0.92), rgba(6,14,26,0.96));
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 14px;
  padding: 26px 26px 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.02) inset;
  backdrop-filter: blur(6px);
}
.diag-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.diag-dot { width: 7px; height: 7px; border-radius: 50%; background: #43d17c; box-shadow: 0 0 8px rgba(67,209,124,0.8); animation: diagPulse 2.2s infinite; }
@keyframes diagPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.diag-title { font-family: 'DM Mono', monospace; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); flex: 1; }
.diag-badge { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--gold-2); border: 1px solid rgba(201,168,76,0.35); border-radius: 4px; padding: 2px 7px; }
.diag-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 22px; }
.diag-kpi-val { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; color: var(--gold-2); line-height: 1.05; }
.diag-kpi-blue { color: #7CC7FF; }
.diag-kpi-label { display: block; font-size: 0.66rem; color: rgba(255,255,255,0.5); margin-top: 4px; line-height: 1.35; }
.diag-bars { display: grid; gap: 11px; margin-bottom: 20px; }
.diag-row { display: grid; grid-template-columns: 58px 1fr 28px; align-items: center; gap: 10px; }
.diag-row-label { font-family: 'DM Mono', monospace; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.diag-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.diag-fill { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #C9A84C, #E8C97A); transform-origin: left; animation: diagGrow 1.2s cubic-bezier(0.22,1,0.36,1) backwards; }
.diag-fill-blue { background: linear-gradient(90deg, #1E6FD9, #7CC7FF); }
.diag-row:nth-child(1) .diag-fill { animation-delay: 0.2s; }
.diag-row:nth-child(2) .diag-fill { animation-delay: 0.35s; }
.diag-row:nth-child(3) .diag-fill { animation-delay: 0.5s; }
.diag-row:nth-child(4) .diag-fill { animation-delay: 0.65s; }
@keyframes diagGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.diag-row-val { font-family: 'DM Mono', monospace; font-size: 0.66rem; color: rgba(255,255,255,0.45); text-align: right; }
.diag-foot { display: flex; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 14px; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.08em; color: rgba(124,199,255,0.75); text-transform: uppercase; }
.diag-ai-pulse { width: 6px; height: 6px; border-radius: 50%; background: #7CC7FF; box-shadow: 0 0 10px rgba(124,199,255,0.9); animation: diagPulse 1.8s infinite; }
.diag-chip {
  position: absolute; display: flex; flex-direction: column; gap: 1px;
  background: rgba(8,17,30,0.92); border: 1px solid rgba(201,168,76,0.3); border-radius: 10px;
  padding: 10px 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  animation: chipFloat 5s ease-in-out infinite;
}
.diag-chip strong { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--gold-2); line-height: 1; }
.diag-chip span { font-size: 0.62rem; color: rgba(255,255,255,0.55); }
.diag-chip-1 { top: -18px; right: -14px; }
.diag-chip-2 { bottom: -16px; left: -18px; animation-delay: 2.5s; border-color: rgba(30,144,255,0.35); }
.diag-chip-2 strong { color: #7CC7FF; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ─── AI section ───────────────────────────────────────── */
.ai-section { position: relative; }
.ai-header { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px,4vw,72px); align-items: end; margin-bottom: clamp(32px,4vw,56px); }
.ai-section h2 em { font-style: italic; color: var(--gold-2); }
.ai-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.ai-card {
  border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  padding: 26px 22px; background: linear-gradient(170deg, rgba(13,24,40,0.55), rgba(6,14,26,0.3));
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.ai-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
.ai-stat { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 700; color: var(--gold-2); line-height: 1; }
.ai-card h3 { font-size: 1.02rem; }
.ai-card p { font-size: 0.86rem; line-height: 1.65; color: rgba(255,255,255,0.62); flex: 1; }
.ai-metric { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(124,199,255,0.7); border-top: 1px solid rgba(255,255,255,0.07); padding-top: 12px; }
.ai-principle {
  margin-top: clamp(30px,4vw,48px); text-align: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: rgba(255,255,255,0.78);
  max-width: 52ch; margin-inline: auto;
}

@media (max-width: 1080px) {
  .ai-grid { grid-template-columns: repeat(2,1fr); }
  .ai-header { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 600px) {
  .ai-grid { grid-template-columns: 1fr; }
  .diag-chip-1 { right: 0; }
  .diag-chip-2 { left: 0; }
}
