/* ============================================================
   VISTEP SYSTEMS — Design System
   Dark UI · Apfel Grotezk + EB Garamond + Inter
   ============================================================ */

/* --- Local Font --- */
@font-face {
  font-family: 'Apfel Grotezk';
  src: url('../fonts/ApfelGrotezk-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --bg:          #0a0a0a;
  --bg-2:        #111111;
  --bg-3:        #181818;
  --bg-4:        #1e1e1e;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);
  --text:        #e4e4e4;
  --text-muted:  #888888;
  --text-dim:    #4a4a4a;
  --accent:      #00DE51;
  --accent-dim:  rgba(0,222,81,0.10);
  --accent-glow: rgba(0,222,81,0.22);
  --yellow:      #FFD84D;
  --yellow-dim:  rgba(255,216,77,0.12);
  --sidebar-w:   0px;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-xs:   5px;
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
  --ff-display:  'Apfel Grotezk', 'Inter', sans-serif;
  --ff-serif:    'EB Garamond', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;
  --heading:     #ffffff;
  --on-accent:   #04140a;
}

/* --- Light theme --- */
html[data-theme="light"] , html.theme-light {
  --bg:          #f3f5f7;
  --bg-2:        #ffffff;
  --bg-3:        #eef1f4;
  --bg-4:        #e7ebf0;
  --border:      rgba(11,13,16,0.10);
  --border-2:    rgba(11,13,16,0.16);
  --text:        #121417;
  --text-muted:  #5b6570;
  --text-dim:    #8a939e;
  --accent:      #00a83d;
  --accent-dim:  rgba(0,168,61,0.10);
  --accent-glow: rgba(0,168,61,0.22);
  --yellow:      #E6B800;
  --yellow-dim:  rgba(230,184,0,0.14);
  --heading:     #0b0d10;
  --on-accent:   #ffffff;
}

html[data-theme="light"] body , html.theme-light body {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0,168,61,0.10), transparent 60%),
    radial-gradient(700px 420px at -5% 20%, rgba(50,80,140,0.08), transparent 55%),
    var(--bg);
}

html[data-theme="light"] .hero-brand, html.theme-light .hero-brand,
html[data-theme="light"] .s-title, html.theme-light .s-title,
html[data-theme="light"] .work-body h3, html.theme-light .work-body h3,
html[data-theme="light"] .page-title, html.theme-light .page-title,
html[data-theme="light"] .hero-author-name, html.theme-light .hero-author-name,
html[data-theme="light"] .mobile-logo-text , html.theme-light .mobile-logo-text {
  color: #0b0d10;
}

html[data-theme="light"] .hero-title , html.theme-light .hero-title { color: rgba(11,13,16,0.82); }
html[data-theme="light"] .noise , html.theme-light .noise { opacity: 0.45; }
html[data-theme="light"] .work-card:hover , html.theme-light .work-card:hover {
  box-shadow: 0 22px 48px rgba(11,13,16,0.10);
}
html[data-theme="light"] .work-media::after , html.theme-light .work-media::after {
  background: linear-gradient(180deg, transparent 50%, rgba(255,255,255,0.15) 100%);
  opacity: 0.35;
}
html[data-theme="light"] .wg-curve-text, html.theme-light .wg-curve-text {
  background: #fff;
  box-shadow: 0 12px 40px rgba(11,13,16,0.12);
}
html[data-theme="light"] .text-rotate .text span, html.theme-light .text-rotate .text span {
  color: #0b0d10;
}
html[data-theme="light"] .site-header, html.theme-light .site-header,
html[data-theme="light"] .mobile-header, html.theme-light .mobile-header,
html[data-theme="light"] .mobile-nav , html.theme-light .mobile-nav {
  background: rgba(243,245,247,0.92);
}
html[data-theme="light"] .site-nav a, html.theme-light .site-nav a {
  color: rgba(11,13,16,0.55);
}
html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a.is-active,
html.theme-light .site-nav a:hover,
html.theme-light .site-nav a.is-active {
  color: #0b0d10;
}
html[data-theme="light"] .btn-primary , html.theme-light .btn-primary { background: #0b0d10; color: #fff; }
html[data-theme="light"] .btn-primary:hover , html.theme-light .btn-primary:hover { background: var(--accent); color: #fff; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg[hidden] { display: none !important; }

/* --- Light theme: force readable headings/surfaces --- */
html[data-theme="light"] .mobile-logo-text, html.theme-light .mobile-logo-text,
html[data-theme="light"] .hero-brand, html.theme-light .hero-brand,
html[data-theme="light"] .hero-author-name, html.theme-light .hero-author-name,
html[data-theme="light"] .s-title, html.theme-light .s-title,
html[data-theme="light"] .page-title, html.theme-light .page-title,
html[data-theme="light"] .work-body h3, html.theme-light .work-body h3,
html[data-theme="light"] .service-card h3, html.theme-light .service-card h3,
html[data-theme="light"] .pricing-card h3, html.theme-light .pricing-card h3,
html[data-theme="light"] .pricing-price, html.theme-light .pricing-price,
html[data-theme="light"] .stat b, html.theme-light .stat b,
html[data-theme="light"] .review-name, html.theme-light .review-name,
html[data-theme="light"] .stack-item strong, html.theme-light .stack-item strong,
html[data-theme="light"] .footer-brand, html.theme-light .footer-brand,
html[data-theme="light"] .footer-col h4, html.theme-light .footer-col h4,
html[data-theme="light"] .contact-card h3, html.theme-light .contact-card h3,
html[data-theme="light"] .mobile-nav a.is-active, html.theme-light .mobile-nav a.is-active,
html[data-theme="light"] .section-label + .s-title , html.theme-light .section-label + .s-title {
  color: #0b0d10 !important;
}
html[data-theme="light"] .footer-links a:hover, html.theme-light .footer-links a:hover,
html[data-theme="light"] .text-link:hover , html.theme-light .text-link:hover {
  color: var(--accent) !important;
}
html[data-theme="light"] .work-card, html.theme-light .work-card,
html[data-theme="light"] .service-card, html.theme-light .service-card,
html[data-theme="light"] .pricing-card, html.theme-light .pricing-card,
html[data-theme="light"] .review-card, html.theme-light .review-card,
html[data-theme="light"] .stack-item, html.theme-light .stack-item,
html[data-theme="light"] .stat, html.theme-light .stat,
html[data-theme="light"] .contact-card, html.theme-light .contact-card,
html[data-theme="light"] .contact-form , html.theme-light .contact-form {
  background: #fff;
  border-color: rgba(11,13,16,0.10);
}
html[data-theme="light"] .hero-bg, html.theme-light .hero-bg,
html[data-theme="light"] .hero-grid , html.theme-light .hero-grid {
  opacity: 0.55;
}
html[data-theme="light"] .mobile-phone , html.theme-light .mobile-phone {
  color: #0b0d10;
}
html[data-theme="light"] .menu-btn span , html.theme-light .menu-btn span {
  background: #0b0d10;
}
html[data-theme="light"] .btn-ghost , html.theme-light .btn-ghost {
  color: #0b0d10;
  border-color: rgba(11,13,16,0.16);
}
html[data-theme="light"] input, html.theme-light input,
html[data-theme="light"] textarea, html.theme-light textarea,
html[data-theme="light"] select , html.theme-light select {
  background: #fff;
  color: #0b0d10;
  border-color: rgba(11,13,16,0.14);
}

.site-header .theme-toggle,
.mobile-header .theme-toggle { margin-right: 4px; }



/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font-family: var(--ff-body); }
ul, ol { list-style: none; }

/* --- Scroll Progress Bar --- */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #00ff66);
  z-index: 1000;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* --- Noise Overlay --- */
.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 998;
  opacity: 1;
}

/* ============================================================
   LAYOUT
   ============================================================ */

/* --- Sidebar (virab-like profile card) --- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: transparent;
  border-right: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 300;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 14px 18px;
}

.sidebar-card {
  position: relative;
  flex: 1;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: #121212;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}

.sidebar-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 30% 20%, rgba(0,222,81,0.22), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(0,222,81,0.10), transparent 55%),
    linear-gradient(165deg, #1a1a1a 0%, #0c0c0c 55%, #111 100%);
}

.sidebar-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 100%);
  opacity: 0.7;
}

.sidebar-visual-glow {
  position: absolute;
  width: 220px; height: 220px;
  right: -40px; top: 18%;
  background: radial-gradient(circle, rgba(0,222,81,0.18), transparent 70%);
  pointer-events: none;
}

.sidebar-visual-mark {
  position: absolute;
  width: 160px; height: 160px;
  left: 50%; top: 34%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}

.sidebar-avail {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.sidebar-avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,222,81,0.18);
  animation: vsAvailPulse 2.2s ease-in-out infinite;
}

.sidebar-avail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}

@keyframes vsAvailPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,222,81,0.16); }
  50% { box-shadow: 0 0 0 8px rgba(0,222,81,0.08); }
}

.sidebar-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 0;
  text-decoration: none;
  flex-shrink: 0;
}

.sidebar-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.sidebar-logo-text {
  font-family: var(--ff-display);
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0,0,0,0.75);
}

.sidebar-logo-text span {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: 3px;
  font-family: var(--ff-body);
}

.sidebar-info {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.78) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sidebar-greeting {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.85);
}

.sidebar-intro {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

.sidebar-br {
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: 16px 0;
}

.sidebar-talk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  text-decoration: none;
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 500;
  color: #0a0a0a;
}

.sidebar-talk span:not(.sidebar-talk-ic),
.sidebar-talk .sidebar-talk-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fff200 0%, #ffd400 48%, #ffc400 100%);
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.sidebar-talk .sidebar-talk-ic {
  width: 40px;
  padding: 0;
  font-size: 14px;
}

.sidebar-talk:hover span:not(.sidebar-talk-ic),
.sidebar-talk:hover .sidebar-talk-ic {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.sidebar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 2px;
  flex-shrink: 0;
}

.sidebar-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  letter-spacing: 0.01em;
}

.sidebar-nav a:hover {
  color: #fff;
  border-color: var(--border-2);
  background: var(--bg-3);
}

.sidebar-nav a.is-active {
  color: #04140a;
  background: var(--accent);
  border-color: var(--accent);
}

.sidebar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 2px;
  flex-shrink: 0;
}

.sidebar-phone {
  font-size: 12.5px;
  color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.sidebar-phone:hover { color: var(--accent); }

.sidebar-tg { display: none; }
.sidebar-footer { display: none; }
.sidebar-sep { display: none; }

/* --- Sidebar Overlay (mobile) --- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 290;
}
.sidebar-overlay.is-open { display: block; }

/* --- Page Content --- */
.page-content {
  margin-left: 0;
  min-height: 100vh;
}

/* Sidebar removed */
.sidebar,
.sidebar-overlay { display: none !important; }

/* --- Container (full-bleed desktop) --- */
.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 72px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-xs);
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 500;
}
.btn-primary:hover {
  background: #0dff60;
  box-shadow: 0 6px 24px rgba(0,222,81,0.28);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.btn-tg {
  background: var(--yellow);
  color: #000;
  font-weight: 500;
}
.btn-tg:hover {
  background: #ffe066;
  box-shadow: 0 6px 20px rgba(255,216,77,0.25);
  transform: translateY(-1px);
}

.btn-block { width: 100%; justify-content: center; }

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.sect-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.sect-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: currentColor;
}
.sect-tag.green { color: var(--accent); }

.s-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.s-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1.08em;
}

.s-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 540px;
}

/* --- Section Head --- */
.section-head {
  margin-bottom: 60px;
}
.section-head.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

/* --- Text Link --- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-display);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--transition);
}
.text-link::after { content: '→'; }
.text-link:hover { gap: 9px; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* --- Section Divider --- */
.section + .section {
  border-top: 1px solid var(--border);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

/* Background elements */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(0,222,81,0.22) 0%, rgba(0,222,81,0.06) 42%, transparent 68%);
  right: -180px; top: -180px;
  pointer-events: none;
  filter: blur(2px);
}

.hero-glow-2 {
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,222,81,0.14) 0%, transparent 65%);
  left: 6%; bottom: -80px;
  pointer-events: none;
}

.hero-glow-3 {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,216,77,0.12) 0%, transparent 70%);
  right: 22%; bottom: 8%;
  pointer-events: none;
  animation: vsGlowPulse 4.5s ease-in-out infinite;
}

/* Inner content */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: min(1180px, 100%);
}

/* Rotating curve text (virab.me style — bright & large) */
.wg-curve-text {
  position: absolute;
  top: 16%;
  right: 6%;
  z-index: 5;
  display: flex !important;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 12px rgba(0,222,81,0.14),
    0 0 70px rgba(0,222,81,0.42),
    0 24px 64px rgba(0,0,0,0.5);
  width: 220px !important;
  height: 220px !important;
  min-width: 220px;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

.wg-curve-text .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #0a0a0a;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.wg-curve-text .icon svg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.text-rotate {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  height: max-content;
  margin: 0;
  background: transparent;
  animation: vsSpin 10s linear infinite;
  will-change: transform;
}

.text-rotate .circle {
  width: 220px !important;
  height: 220px !important;
  border-radius: 50%;
  position: relative;
}

.text-rotate .text span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform-origin: 0 97px;
  color: #0a0a0a;
  text-transform: uppercase;
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  padding-top: 2px;
  white-space: pre;
}

@keyframes vsSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes vsSpinRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Author row (virab-style) */
.hero-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-author-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.hero-author-mark svg {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-2);
}

.hero-author-name {
  font-family: var(--ff-display);
  font-size: 15px;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-author-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Brand as hero signal */
.hero-brand {
  font-family: var(--ff-display);
  font-size: clamp(3.4rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #fff;
  margin: 0 0 22px;
}

.hero-brand em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--accent);
}

/* Title */
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  max-width: 28ch;
}

.hero-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1.0em;
}

/* Scribble underline under key word */
.hero-title .title-scribble {
  position: relative;
  display: inline-block;
}

.hero-title .title-scribble svg {
  position: absolute;
  left: -4px; bottom: -8px;
  width: calc(100% + 8px);
  height: 14px;
  pointer-events: none;
}

/* Lead */
.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 540px;
  margin-bottom: 40px;
}

/* CTA row */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Bright orbital visual */
.hero-visual {
  position: absolute;
  right: 2%;
  top: 12%;
  width: min(48vw, 560px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.hero-orb-core {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.35), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0,222,81,0.55), rgba(0,222,81,0.08) 55%, transparent 72%);
  filter: blur(4px);
  animation: vsOrbFloat 7s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(0,222,81,0.55);
  box-shadow: 0 0 24px rgba(0,222,81,0.18);
}

.hero-ring-a {
  width: 78%;
  aspect-ratio: 1;
  animation: vsSpin 22s linear infinite;
  border-style: solid;
  border-color: rgba(0,222,81,0.28);
  border-width: 1px;
}

.hero-ring-b {
  width: 92%;
  aspect-ratio: 1;
  animation: vsSpinRev 16s linear infinite;
  border-color: rgba(0,222,81,0.65);
  border-width: 2px;
  border-style: dashed;
}

.hero-ring-c {
  width: 104%;
  aspect-ratio: 1;
  animation: vsSpin 32s linear infinite;
  border-color: rgba(255,216,77,0.35);
  border-width: 1px;
  border-style: dotted;
}

.hero-mark-svg {
  position: relative;
  z-index: 2;
  width: 42%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0,222,81,0.55));
  animation: vsOrbFloat 7s ease-in-out infinite reverse;
}

@keyframes vsOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, 14px, 0) scale(1.04); }
}

@media (max-width: 900px) {
  .wg-curve-text {
    top: auto;
    bottom: 7%;
    right: 4%;
    width: 148px;
    height: 148px;
  }
  .text-rotate .circle {
    width: 148px;
    height: 148px;
  }
  .text-rotate .text span {
    transform-origin: 0 66px;
    font-size: 10px;
    top: 6px;
  }
  .wg-curve-text .icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
  .wg-curve-text .icon svg {
    width: 42px;
    height: 42px;
  }
  .hero-visual {
    right: -18%;
    top: 6%;
    width: min(78vw, 340px);
    opacity: 0.72;
  }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-2);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,222,81,0.28);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.service-card:hover {
  background: var(--bg-3);
}

.service-num {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.steps li:first-child { padding-top: 0; }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--ff-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1;
  padding-top: 2px;
}

.steps li strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.steps li span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   WORKS GRID — virab-like cinematic cards
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.4s cubic-bezier(0.22,1,0.36,1),
    border-color 0.3s,
    box-shadow 0.4s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,222,81,0.28);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,222,81,0.08);
}

.work-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: var(--bg-3);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.72) 100%),
    linear-gradient(90deg, rgba(0,222,81,0.08), transparent 40%);
  opacity: 0.85;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.work-card:hover .work-media::after {
  opacity: 0.45;
}

.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22,1,0.36,1), filter 0.45s;
  filter: saturate(0.92) contrast(1.05);
}

.work-media img.is-fallback {
  opacity: 0.1;
}

.work-card:hover .work-media img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.08);
}

.work-year {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

.work-body {
  padding: 16px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.work-tags span {
  font-family: var(--ff-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

.work-body h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.work-actions .text-link {
  position: relative;
}

.work-actions .text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.work-card:hover .work-actions .text-link::after {
  transform: scaleX(1);
}

.work-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.work-body h3 a:hover { color: var(--accent); }

.work-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-actions {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 40px 32px;
  background: var(--bg-2);
}

.stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   STACK
   ============================================================ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.stack-card {
  background: var(--bg-2);
  padding: 32px;
}

.stack-card-icon {
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
}

.stack-card h3 {
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.stack-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags li {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: default;
}

.tech-tags li:hover {
  color: var(--accent);
  border-color: var(--accent-glow);
  background: var(--accent-dim);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-card {
  background: var(--bg-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
}

.price-card:hover { background: var(--bg-3); }

.price-card h3 {
  font-family: var(--ff-display);
  font-size: 17px;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.price {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1;
}

.price-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.review-card {
  background: var(--bg-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-quote {
  font-family: var(--ff-serif);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  flex: 1;
  font-style: italic;
}

.review-quote::before {
  content: '\201C';
  font-size: 36px;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  font-style: normal;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card footer strong {
  font-family: var(--ff-display);
  font-size: 14px;
  color: #fff;
  font-weight: 400;
}

.review-card footer span {
  font-size: 12px;
  color: var(--text-dim);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-label {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 76px;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--text);
  transition: color var(--transition);
  font-size: 15px;
}
.contact-list a:hover { color: var(--accent); }

.contact-tg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-dim);
  border: 1px solid rgba(255,216,77,0.2);
  color: var(--yellow);
  padding: 10px 20px;
  border-radius: 100px;
  font-family: var(--ff-display);
  font-size: 14px;
  margin-top: 24px;
  transition: all var(--transition);
  text-decoration: none;
}
.contact-tg-cta:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 13px 15px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: var(--bg-4);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }

.form-field textarea { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-check span {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
}

.form-check a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.form-note a { color: var(--accent); }

.form-success {
  font-size: 14px;
  color: var(--accent);
  text-align: center;
  padding: 14px;
  background: var(--accent-dim);
  border-radius: var(--radius-xs);
  border: 1px solid var(--accent-glow);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.6;
  pointer-events: none;
}

.page-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5.5vw, 70px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-title em { color: var(--accent); font-style: italic; font-family: var(--ff-serif); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 28px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--accent); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.service-side {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.service-side h2 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  margin: 0 0 16px;
  color: var(--heading, #fff);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.side-meta {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.side-meta strong { color: var(--heading, #fff); font-weight: 600; }

.page-hero-sec { padding-bottom: 24px; }

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr 1.6fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 30px; height: 30px;
  flex-shrink: 0;
}

.footer-logo-text {
  font-family: var(--ff-display);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #fff;
}

.footer-logo-text span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-about {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 220px;
}

.footer h3 {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ============================================================
   LEGAL / PROSE
   ============================================================ */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 14px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   COOKIE BAR
   ============================================================ */
.cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 580px;
  width: calc(100% - 48px);
  z-index: 1200;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  pointer-events: auto;
}

.cookie[hidden],
.cookie.is-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.cookie p {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.5;
}

.cookie a { color: var(--accent); }
.cookie .btn { flex-shrink: 0; cursor: pointer; }

/* ============================================================
   SITE HEADER (top bar, no sidebar)
   ============================================================ */
.site-header,
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 3.5vw, 72px);
  height: 68px;
  background: rgba(10,10,10,0.88);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow var(--transition);
}

.menu-btn {
  display: none;
}

/* Burger drawer */
.burger-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.burger-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 410;
  width: min(86vw, 360px);
  background: #0d0d0d;
  border-left: 1px solid var(--border);
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(104%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -24px 0 60px rgba(0,0,0,0.45);
}
.burger-menu.is-open {
  transform: translateX(0);
}
.burger-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.burger-kicker {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}
.burger-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.burger-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.burger-nav a {
  display: block;
  font-family: var(--ff-display);
  font-size: 28px;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.burger-nav a:hover,
.burger-nav a.is-active {
  color: var(--accent);
  padding-left: 8px;
}
.burger-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.burger-phone {
  font-family: var(--ff-display);
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}
.burger-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.site-header.is-scrolled,
.mobile-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  font-family: var(--ff-display);
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-tg {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-display);
  font-size: 12.5px;
  color: #0a0a0a;
  background: var(--yellow);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.site-tg:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-logo-mark {
  width: 28px; height: 28px;
}

.mobile-logo-text {
  font-family: var(--ff-display);
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.03em;
}

.mobile-logo-text span {
  color: var(--accent);
  font-size: 11px;
  display: block;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-phone {
  font-family: var(--ff-display);
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-phone:hover { color: var(--accent); }

.menu-btn {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  cursor: pointer;
  color: var(--text);
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  z-index: 200;
  flex-direction: row;
  justify-content: space-around;
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--ff-display);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: color var(--transition);
  min-width: 56px;
}

.mobile-nav a svg {
  width: 20px; height: 20px;
  margin-bottom: 1px;
}

.mobile-nav a.is-active,
.mobile-nav a:hover { color: var(--accent); }

/* ============================================================
   ANIMATIONS (CSS-first — always visible motion)
   ============================================================ */
@keyframes vsFadeUp {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes vsFadeIn {
  from { opacity: 0; transform: translate3d(36px, 0, 0) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes vsBlurIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes vsWordIn {
  from { opacity: 0; transform: translate3d(0, 0.55em, 0); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes vsGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.05); }
}

.hero-author,
.hero-brand,
.hero-title,
.hero-lead,
.hero-actions {
  opacity: 0;
  animation: vsFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-author { animation-delay: 0.08s; }
.hero-brand { animation-delay: 0.18s; }
.hero-title { animation-delay: 0.28s; }
.hero-lead { animation-delay: 0.42s; }
.hero-actions { animation-delay: 0.55s; }

.hero-visual {
  opacity: 0;
  animation: vsFadeIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.hero-glow { animation: vsGlowPulse 5s ease-in-out infinite; }

.split-word {
  display: inline-block;
  opacity: 0;
  animation: vsWordIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title .split-word { /* hero words run immediately */ }
.s-title .split-word {
  /* wait until title revealed — JS sets play-state */
  animation-play-state: paused;
}
.s-title.is-visible .split-word,
.reveal-blur.is-visible .split-word {
  animation-play-state: running;
}
/* title itself shouldn't stay invisible after split */
.hero-title {
  opacity: 1;
  animation: none;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-blur {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  filter: blur(10px);
  transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1), filter 0.85s cubic-bezier(0.22,1,0.36,1);
}
.reveal-blur.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.scribble-path.is-drawn {
  transition: stroke-dashoffset 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-author, .hero-brand, .hero-title, .hero-lead, .hero-actions,
  .hero-visual, .split-word, .hero-glow {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .reveal, .reveal-blur {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .approach-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 1200px) {
  .wg-curve-text {
    right: 3%;
    top: 14%;
    width: 180px !important;
    height: 180px !important;
  }
  .text-rotate .circle {
    width: 180px !important;
    height: 180px !important;
  }
}

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .site-tg { display: none; }
  .site-phone-desk { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header,
  .mobile-header { padding: 0 16px; height: 60px; }
  .mobile-nav { display: none !important; }

  .hero { padding-top: 40px; padding-bottom: 120px; }
  .hero-visual {
    width: min(70vw, 360px);
    right: -8%;
    top: 8%;
    opacity: 0.55;
  }
  .wg-curve-text {
    position: absolute !important;
    top: auto !important;
    bottom: 28px !important;
    right: 16px !important;
    left: auto !important;
    margin: 0 !important;
    width: 148px !important;
    height: 148px !important;
    transform: none !important;
  }
  .text-rotate .circle {
    width: 148px !important;
    height: 148px !important;
  }

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

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }

  .works-grid { grid-template-columns: 1fr 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }

  .hero-brand { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-title { font-size: clamp(1.45rem, 6vw, 2rem); }

  .section-head.row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .cookie {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stats-row { grid-template-columns: 1fr 1fr; }

  .contact-tg-cta { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-brand-row { gap: 8px; }
}


@media (max-width: 1100px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; }
  .work-card { border-radius: 12px; }
  .work-media { aspect-ratio: 16/12; }
  .work-body { padding: 12px 12px 14px; }
  .work-body h3 { font-size: 1rem; }
  .work-body p { font-size: 12px; -webkit-line-clamp: 2; }
  .work-tags { margin-bottom: 8px; }
  .work-tags span { font-size: 9px; padding: 2px 7px; }
  .services-grid, .pricing-grid, .stack-grid, .reviews-grid { gap: 16px; }
}

@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* --- Site protection (anti-copy / DevTools trap) --- */
html.vs-protect-lock {
  overflow: hidden !important;
  background: #000 !important;
}
#vs-protect-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #000;
  overflow: hidden;
}
#vs-mx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#vs-mx-msg {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.vs-mx-panel {
  max-width: min(92vw, 640px);
  padding: 28px 32px;
  text-align: center;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 255, 102, 0.15);
}
.vs-mx-title {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  color: #00ff66;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.6);
  animation: vs-mx-pulse 1.6s ease-in-out infinite;
}
.vs-mx-sub {
  margin-top: 14px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 255, 102, 0.65);
}
@keyframes vs-mx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.82; transform: scale(1.015); }
}
html.vs-protect-blur body { filter: blur(10px); }
@media print { body { display: none !important; } }
body.vs-guard {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

