:root {
  --bg: #08090b;
  --bg-2: #0f1115;
  --line: #1f232b;
  --text: #eef1f6;
  --muted: #8a919e;
  --accent: #6e8cff;
  --accent-2: #4fe3d0;
  --grad: linear-gradient(100deg, #8aa2ff 0%, #6e8cff 40%, #4fe3d0 100%);
  --wa: #25d366;
  --radius: 14px;
  --max: 1200px;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* subtle blueprint grid */
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .25;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
::selection { background: var(--accent); color: #fff; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); padding: 8px 12px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px max(16px, calc((100vw - var(--max)) / 2));
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 12, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 15px var(--mono); letter-spacing: .14em; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; }
.brand-mark i { height: 6px; background: var(--accent); border-radius: 1px; }
.brand-mark i:nth-child(3) { background: var(--accent-2); }
.brand-mark i:nth-child(3) { grid-column: span 2; width: 13px; justify-self: center; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { font: 500 11px var(--mono); text-decoration: none; padding: 5px 9px; border-radius: 999px; color: var(--muted); }
.langs a[aria-current] { background: var(--text); color: var(--bg); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font: 600 15px var(--sans); text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #06210f; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-small { padding: 9px 16px; font-size: 13px; background: var(--text); color: var(--bg); }
.btn-big { padding: 18px 30px; font-size: 17px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* LAYOUT */
.section, .hero, .stats { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: 120px 0 0; scroll-margin-top: 40px; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.kicker { font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.kicker::before { content: '// '; color: var(--muted); }
h2 { font-size: clamp(36px, 5.4vw, 64px); }
.sec-lead { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 620px; }

/* HERO */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  padding: 120px 0 60px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
h1 { font-size: clamp(44px, 6.6vw, 92px); margin: 28px 0 26px; }
.lead { font-size: 20px; color: #b6bdc9; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-row.center { justify-content: center; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* BRICK WALL */
.wall { margin: 0; }
.wall-grid { display: flex; flex-direction: column; gap: 6px; }
.wall-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.wall-row.offset { grid-template-columns: .5fr repeat(5, 1fr) .5fr; }
.brick {
  position: relative; height: 44px; border-radius: 4px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  font: 500 10px var(--mono); letter-spacing: .06em; color: transparent;
  transition: background .6s, border-color .6s, color .6s, box-shadow .6s;
  overflow: hidden;
}
.brick.on { background: linear-gradient(135deg, rgba(110, 140, 255, .9), rgba(79, 227, 208, .85)); border-color: rgba(160, 185, 255, .8); color: #061018; box-shadow: 0 6px 24px -8px rgba(110, 140, 255, .7); }
.brick.on.dim { background: rgba(110, 140, 255, .08); border-color: rgba(110, 140, 255, .28); color: #9fb3ff; box-shadow: none; }
.wall figcaption { margin-top: 18px; font: 400 12px var(--mono); color: var(--muted); }
.wall figcaption::before { content: '■ '; color: var(--accent); }

/* STATS */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 36px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { display: block; font: 600 clamp(40px, 5vw, 64px)/1 var(--sans); letter-spacing: -0.04em; }
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* CARDS */
.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), rgba(18, 18, 20, .4));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: #3a3a42; transform: translateY(-4px); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.card-idx { display: block; font: 500 12px var(--mono); color: var(--accent); margin-bottom: 40px; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(110, 140, 255, .1); color: var(--accent-2); margin-bottom: 28px; }
.ico svg { width: 22px; height: 22px; }

/* VS */
.vs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: 1fr 1.4fr; }
.vs-head span { padding: 18px 28px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.vs-head span:last-child { color: var(--accent); }
.vs-row span { padding: 22px 28px; border-top: 1px solid var(--line); }
.vs-row .them { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(143, 138, 131, .5); }
.vs-row .me { font-weight: 500; background: rgba(110, 140, 255, .05); }
.vs-row .me::before { content: '✓ '; color: var(--accent); }

/* TIMELINE */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 0; }
.tl-line { position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-svg { position: absolute; inset: 0; width: 2px; height: 100%; left: -0.5px; overflow: visible; filter: drop-shadow(0 0 6px rgba(110, 140, 255, .7)); }
.no-gsap .tl-draw { stroke-dasharray: none; }
.tl-step { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 48px; padding: 0 0 52px; }
.tl-step::before {
  content: ''; position: absolute; left: 175px; top: 6px; width: 11px; height: 11px; border-radius: 2px;
  background: var(--bg); border: 1px solid var(--muted); transition: background .4s, border-color .4s;
}
.tl-step.lit::before { background: var(--accent); border-color: var(--accent-2); }
.tl-year { font: 500 12px var(--mono); color: var(--muted); padding-top: 3px; text-align: right; padding-right: 22px; }
.tl-step.lit .tl-year { color: var(--accent-2); }
.tl-body h3 { font-size: 26px; margin-bottom: 8px; }
.tl-body p { color: var(--muted); max-width: 620px; }
.tl-step:last-child h3 { color: var(--accent-2); }

/* METHOD */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px 28px 0 0; position: relative; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.step-n { display: inline-block; font: 400 64px/1 var(--serif); font-style: italic; margin-bottom: 24px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* CASES */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case { padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.case-sector { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.case h3 { font-size: 26px; }
.ba { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.before { font: 500 18px var(--mono); color: var(--muted); text-decoration: line-through; }
.ba-arrow { color: var(--accent); font-size: 22px; }
.after { font: 600 40px/1 var(--sans); letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case p:last-child { color: var(--muted); font-size: 16px; }

/* WHO */
.who { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.who-col { padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); }
.who-col.yes { background: linear-gradient(160deg, rgba(110, 140, 255, .12), transparent 60%); border-color: rgba(110, 140, 255, .35); }
.who-col h3 { font-size: 20px; margin-bottom: 20px; }
.who-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.who-col li { padding-left: 30px; position: relative; }
.who-col.yes li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.who-col.no li { color: var(--muted); }
.who-col.no li::before { content: '×'; position: absolute; left: 2px; color: var(--muted); }

/* INTERNATIONAL */
.intl-inner {
  position: relative; overflow: hidden;
  padding: 72px; border-radius: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(110, 140, 255, .22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(110, 140, 255, .08), transparent 50%),
    var(--bg-2);
}
.intl h2 { font-size: clamp(40px, 6vw, 76px); }
.arrow { font-family: var(--serif); color: var(--accent); font-weight: 400; }
.intl-text { margin-top: 26px; font-size: 20px; color: #b6bdc9; max-width: 720px; }
.intl-langs { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.intl-langs span { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-right: 6px; }
.intl-langs b { font-weight: 500; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }

/* CONTACT */
.contact { padding-bottom: 120px; }
.contact-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.contact-inner .sec-lead { margin-inline: auto; }
.contact h2 { font-size: clamp(42px, 6.4vw, 84px); }
.phone { margin-top: 24px; color: var(--muted); font-size: 15px; }
.phone a { color: var(--text); font-family: var(--mono); }

/* FOOTER */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 28px max(16px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
  padding-right: max(96px, calc((100vw - var(--max)) / 2));
}
.domains { font-family: var(--mono); }

/* FLOATING WA */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.wa-float.show { transform: scale(1); }
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 130px; min-height: auto; }
  .cards.three, .cases { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { gap: 10px; }
  .brand span:last-child { display: none; }
  .section { padding-top: 88px; }
  .lead, .intl-text { font-size: 18px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards.three, .cases, .who, .steps { grid-template-columns: 1fr; }
  .card, .case, .who-col { padding: 26px; }
  .vs-head span, .vs-row span { padding: 16px; font-size: 14px; }
  .tl-line { left: 5px; }
  .tl-step { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; padding-bottom: 40px; }
  .tl-step::before { left: 0; }
  .tl-year { text-align: left; padding-right: 0; }
  .intl-inner { padding: 36px 24px; }
  .brick { height: 34px; font-size: 8px; }
  .footer { flex-direction: column; padding-bottom: 96px; }
}

/* HERO PORTRAIT + GLASS WALL */
.hero-visual { position: relative; padding: 0 0 70px 40px; }
.portrait {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4 / 5; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(110, 140, 255, .08);
}
.portrait::before { /* blueprint glow behind */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 9, 11, .85) 100%);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; filter: saturate(.9) contrast(1.03); }
.portrait-tag {
  position: absolute; z-index: 2; top: 18px; left: 18px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(8, 9, 11, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .08);
}
.portrait-tag b { font-size: 14px; font-weight: 600; }
.portrait-tag span { font: 400 11px var(--mono); color: var(--muted); letter-spacing: .04em; }
.hero-visual .wall {
  position: absolute; left: 0; bottom: 0; width: 78%; z-index: 3;
  padding: 16px; border-radius: 18px;
  background: rgba(15, 17, 21, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.hero-visual .brick { height: 32px; font-size: 9px; }
.hero-visual .wall figcaption { margin-top: 12px; font-size: 11px; }
.wall figcaption::before { color: var(--accent-2); }
@media (max-width: 1020px) {
  .hero-visual { max-width: 520px; padding-left: 24px; }
}
@media (max-width: 680px) {
  .hero-visual { padding: 0 0 60px 0; }
  .hero-visual .wall { width: 92%; left: 4%; padding: 12px; }
  .hero-visual .brick { height: 26px; font-size: 7.5px; }
}

/* GSAP helpers */
.split-line { padding-bottom: .04em; }
#smooth-content { will-change: transform; }
.hero h1 .split-line em { display: inline; }
