/* =========================================================
   SymTech Web — Global Styles
   Dark tech-company theme, palette derived from logo.png
   ========================================================= */

:root{
  --black:        #08090c;
  --black-soft:   #0c0e12;
  --black-elev:   #101218;
  --black-elev-2: #15171e;
  --line:         #23252c;
  --line-soft:    rgba(255,255,255,0.09);
  --line-hair:    rgba(255,255,255,0.10);

  --blue:         #1957e0;
  --blue-bright:  #2f6bff;
  --blue-light:   #7c9bff;
  --blue-dim:     rgba(47,107,255,0.14);

  --white:        #ffffff;
  --ink:          #0b0c0f;
  --gray-300:     #c7cad2;
  --gray-400:     #9aa0b0;
  --gray-500:     #838a9c;
  --text-dim:     rgba(255,255,255,0.80);
  --text-faint:   rgba(255,255,255,0.56);
  --text-hush:    rgba(255,255,255,0.42);

  --font-head:    'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:    10px;
  --radius-md:    14px;
  --radius-lg:    22px;

  --ease:         cubic-bezier(.16,1,.3,1);
  --container:    1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scrollbar-color: var(--blue-bright) var(--black-soft); scrollbar-width: thin; }

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar{ width: 11px; height: 11px; }
::-webkit-scrollbar-track{ background: var(--black-soft); }
::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, var(--blue-light), var(--blue-bright));
  border-radius: 999px;
  border: 2px solid var(--black-soft);
}
::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg, var(--blue-light), var(--blue)); }
::-webkit-scrollbar-corner{ background: var(--black-soft); }

body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ display:block; max-width:100%; }

h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.025em;
  font-weight: 600;
}

p{ margin: 0 0 1em; color: var(--text-dim); line-height: 1.6; font-size: 0.95rem; }

a{ color: inherit; text-decoration: none; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.text-blue{ color: var(--blue-bright); }

/* ---------- Background FX (fixed tech grid + particle canvas) ---------- */
.bg-fx{
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
#bgCanvas{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.bg-grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,107,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,107,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,0,0,0.9), transparent 75%);
  animation: gridpan 40s linear infinite;
}
@keyframes gridpan{
  from{ background-position: 0 0, 0 0; }
  to{ background-position: 44px 88px, 44px 88px; }
}

/* per-section decorative glow, cheap CSS-only "tech" texture */
.section{ position: relative; padding: 128px 0; background: transparent; overflow: hidden; }
.section-fx{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.section-fx::before, .section-fx::after{
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  background: radial-gradient(circle, var(--blue-bright), transparent 70%);
}
.section-fx::before{ top: -160px; left: -120px; }
.section-fx::after{ bottom: -180px; right: -140px; background: radial-gradient(circle, var(--blue-light), transparent 70%); }

.section-dark{ background: rgba(255,255,255,0.015); border-top: 1px solid var(--line-hair); border-bottom: 1px solid var(--line-hair); }
.section-dark h2, .section-dark h3{ color: var(--white); }

/* ---------- Preloader ---------- */
.preloader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.hidden{ opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo{ width: 52px; height: auto; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.12); opacity: .6; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px;
  border-radius: 9px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.86rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 15px; height: 15px; }
.btn-primary{
  background: var(--white);
  color: var(--ink);
}
.btn-primary:hover{ opacity: 0.86; }
.btn-ghost{
  background: transparent;
  color: var(--white);
  border-color: var(--line-hair);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.24); }
.btn-lg{ padding: 12px 22px; font-size: 0.92rem; }
.btn-block{ width: 100%; }

/* ---------- Navbar ---------- */
.navbar{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 16px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled{
  padding: 11px 0;
  background: rgba(8,9,12,0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-hair);
}
.navbar-inner{ display: flex; align-items: center; justify-content: space-between; }

.brand{ display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-logo{ width: 28px; height: 28px; object-fit: contain; }
.brand-name{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.brand-accent{ color: var(--blue-light); }

.nav-menu{ display: flex; align-items: center; gap: 20px; }

.nav-links{ display: flex; align-items: center; gap: 4px; }
.nav-links a{
  color: var(--text-faint);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 7px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover{ color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active{ color: var(--white); }

.nav-actions{
  display: flex; align-items: center; gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line-hair);
}
.nav-btn{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.8rem;
  transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.nav-btn svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn-ghost{
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-hair);
}
.nav-btn-ghost:hover{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }
.nav-btn-primary{
  background: var(--white);
  color: var(--ink);
}
.nav-btn-primary:hover{ opacity: 0.86; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-video, .hero-slider{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-slider{ z-index: 0; }
.hero-slide{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 6s linear;
  z-index: 0;
}
.hero-slide.is-active{ opacity: 1; transform: scale(1); z-index: 1; }

.hero-overlay{
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 10%, rgba(47,107,255,0.16), transparent 60%),
    linear-gradient(180deg, rgba(3,4,7,.6) 0%, rgba(3,4,7,.8) 45%, rgba(3,4,7,.98) 100%);
}
.hero-particles{
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(107,147,255,0.5) 1px, transparent 1.4px);
  background-size: 34px 34px;
  opacity: 0.2;
  animation: particlefloat 12s linear infinite;
}
@keyframes particlefloat{
  from{ background-position: 0 0; }
  to{ background-position: 0 -680px; }
}
.hero-content{
  position: relative; z-index: 2;
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-hair);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
}
.eyebrow-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(107,147,255,0.2);
  flex-shrink: 0;
}
.hero h1{
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  transition: opacity .3s ease;
}
.hero-sub{
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 34px;
  transition: opacity .3s ease;
}
.hero-sub strong{ color: var(--white); }
.hero-actions{ display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-dots{
  position: absolute; z-index: 2; bottom: 34px; right: 32px;
  display: flex; gap: 8px;
}
.hero-dots button{
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none; cursor: pointer; padding: 0;
  transition: background .25s ease, transform .25s ease;
}
.hero-dots button.is-active{ background: var(--blue-light); transform: scale(1.3); }

.scroll-cue{
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
}
.scroll-cue span{
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 3px;
  background: var(--blue-light);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ opacity: 1; top: 7px; }
  70%{ opacity: 0; top: 18px; }
  100%{ opacity: 0; top: 7px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  position: relative;
  padding: 168px 0 72px;
  background: var(--black);
  overflow: hidden;
}
.page-hero::before{
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 0%, rgba(25,87,224,0.28), transparent 60%),
    linear-gradient(180deg, rgba(3,4,7,.2) 0%, rgba(3,4,7,.9) 100%);
}
.page-hero .container{ position: relative; z-index: 1; }
.page-hero-inner{ max-width: 680px; }
.page-hero h1{ font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; margin-bottom: 16px; }
.page-hero p{ font-size: 1.02rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0; }

.section-head{ max-width: 600px; margin: 0 auto 64px; text-align: center; }
.section-head h1, .section-head h2{ font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 600; letter-spacing: -0.025em; }
.section-sub{ font-size: 0.89rem; }
.section-more{ display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 44px; position: relative; z-index: 1; }

.grid{ display: grid; gap: 20px; }

/* ---------- What We Build: dotted grid backdrop + floating intro ---------- */
.build-grid-bg{
  position: absolute; z-index: 0; pointer-events: none;
  top: 0; bottom: 0; left: 50%;
  width: 100%; max-width: var(--container);
  transform: translateX(-50%);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 33.333% 100%, 100% 130px;
  background-position: center top;
}
.build-intro{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.build-intro-block h2{ font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin: 14px 0 0; }
.build-intro-link p{ font-size: 0.92rem; color: var(--text-dim); margin: 0 0 18px; }
.build-intro-cta{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 600; color: var(--white);
  border-bottom: 1px solid var(--line-hair);
  padding-bottom: 4px;
  transition: border-color .2s ease, color .2s ease, gap .2s ease;
}
.build-intro-cta svg{ width: 14px; height: 14px; }
.build-intro-cta:hover{ color: var(--blue-light); border-color: var(--blue-light); gap: 11px; }

/* ---------- What We Build: alternating rows (zigzag) ---------- */
.build-rows{ position: relative; z-index: 1; display: flex; flex-direction: column; }
.build-row{
  display: flex; align-items: center; gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line-hair);
}
.build-row:first-child{ border-top: none; padding-top: 0; }
.build-row:last-child{ padding-bottom: 0; }
.build-row:nth-child(even){ flex-direction: row-reverse; }
.build-row-media{
  position: relative;
  flex: 1 1 50%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-hair);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s var(--ease);
}
.build-row:hover .build-row-media{ border-color: rgba(255,255,255,0.2); }
.build-row-content{ flex: 1 1 50%; }
.build-row-content h3{ font-size: 1.3rem; margin-bottom: 14px; }
.build-row-content p{ font-size: 0.96rem; color: var(--text-dim); margin: 0 0 26px; max-width: 420px; }

.build-card-icon-badge{
  position: absolute; left: 14px; top: 14px; z-index: 2;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(8,9,12,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.build-card-icon-glow{
  position: absolute; inset: -12px; z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,0.55), transparent 70%);
  filter: blur(10px);
}
.build-card-icon-badge svg{
  width: 19px; height: 19px;
  fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Mini interface mockups (browser / code / phone / design) shown inside each row */
.mockup-browser{
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  background: var(--black-soft);
  overflow: hidden;
}
.mockup-bar{ display: flex; gap: 6px; padding: 12px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--line-hair); flex-shrink: 0; }
.mockup-bar span{ width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.mockup-body{ padding: 28px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.mu-row{ height: 9px; border-radius: 4px; background: rgba(255,255,255,0.08); margin-bottom: 10px; }
.mu-row-lg{ width: 65%; height: 14px; background: linear-gradient(90deg, var(--blue-bright), var(--blue-light)); opacity: 0.85; }
.mu-row-sm{ width: 40%; }
.mu-row-sm.mu-center{ margin: 0 auto 16px; }
.mu-grid{ display: flex; gap: 10px; margin-top: 16px; }
.mu-grid span{ flex: 1; aspect-ratio: 1; border-radius: 7px; background: rgba(47,107,255,0.14); border: 1px solid rgba(47,107,255,0.25); }
.mockup-code-body{ padding: 22px 20px; }
.mu-line{ height: 8px; border-radius: 4px; background: rgba(255,255,255,0.09); margin-bottom: 11px; }
.mu-line-accent{ background: linear-gradient(90deg, var(--blue-light), var(--blue-bright)); opacity: 0.75; }

/* Website mockup: nav + hero + content cards */
.mockup-website-body{ gap: 14px; }
.mw-nav{ display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mw-logo{ width: 16px; height: 16px; border-radius: 4px; background: var(--blue-light); margin-right: auto; }
.mw-navlink{ width: 26px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.mw-hero{
  flex: 1; min-height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  opacity: 0.9;
}
.mw-cards{ display: flex; gap: 10px; flex-shrink: 0; }
.mw-cards span{ flex: 1; aspect-ratio: 1; border-radius: 7px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-hair); }

/* Software mockup: sidebar + stats + bar chart */
.mockup-software{
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  background: var(--black-soft);
  overflow: hidden;
}
.mockup-software-body{ flex: 1; display: flex; gap: 16px; padding: 24px; min-height: 0; }
.ms-sidebar{ width: 32px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.ms-sidebar span{ width: 100%; aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-hair); }
.ms-sidebar span:first-child{ background: rgba(47,107,255,0.2); border-color: rgba(47,107,255,0.35); }
.ms-main{ flex: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ms-stats{ display: flex; gap: 10px; flex-shrink: 0; }
.ms-stats span{ flex: 1; height: 26px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-hair); }
.ms-chart{
  flex: 1; display: flex; align-items: flex-end; gap: 8px;
  padding-top: 10px; border-top: 1px solid var(--line-hair);
}
.ms-chart i{
  flex: 1; min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blue-light), var(--blue-bright));
  opacity: 0.85;
  font-style: normal;
}

.mu-card{ height: 30%; border-radius: 8px; background: rgba(47,107,255,0.12); border: 1px solid rgba(47,107,255,0.22); margin-bottom: 10px; }
.mu-card-sm{ height: 16%; background: rgba(255,255,255,0.06); border-color: var(--line-hair); }

.mockup-mobile-dual{
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 32px;
  padding: 24px;
}
.mockup-phone-mini{
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  height: 100%;
  justify-content: flex-end;
}
.mockup-phone-mini-screen{
  width: 118px;
  height: 88%;
  aspect-ratio: 9 / 16;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--line-hair);
  border-bottom: none;
  background: var(--black-soft);
  padding: 13px 10px;
}
.mockup-phone-mini-screen-ios{ border-radius: 20px 20px 0 0; }
.mockup-platform-tag{
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--text-faint);
}

.mockup-design{ position: relative; width: 100%; height: 100%; }
.md-shape{ position: absolute; border-radius: 16px; }
.md-shape-1{ width: 58%; height: 58%; left: 6%; top: 10%; background: linear-gradient(135deg, var(--blue-bright), var(--blue)); opacity: 0.9; }
.md-shape-2{ width: 46%; height: 46%; right: 4%; bottom: 8%; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid var(--line-hair); }
.md-shape-3{ width: 34%; height: 34%; right: 14%; top: 6%; background: var(--blue-light); opacity: 0.5; transform: rotate(18deg); }

/* ---------- Capabilities / Insights cards ---------- */
.services-grid{ grid-template-columns: repeat(3, 1fr); }
.insights-grid{ grid-template-columns: repeat(3, 1fr); }
.card{
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.18);
}
.service-icon{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-hair);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg{
  width: 23px; height: 23px;
  fill: none; stroke: var(--blue-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3, .insight-card h3{ font-size: 1.02rem; margin-bottom: 8px; }
.service-card p, .insight-card p{ font-size: 0.86rem; margin: 0 0 16px; }
.service-card .btn{ margin-top: 4px; }
.service-card p{
  max-height: 3.2em; overflow: hidden;
  transition: max-height .3s var(--ease), -webkit-mask-image .3s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}
.service-card:hover p{
  max-height: 20em;
  -webkit-mask-image: none;
  mask-image: none;
}
.insight-card .work-tag{ margin-top: 2px; }
.insight-card h3{ margin-top: 10px; }

/* ---------- Real insight/blog post card ---------- */
.insight-post{
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-hair);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.insight-post:hover{ transform: translateY(-3px); border-color: rgba(255,255,255,0.18); }
.insight-post-cover{ position: relative; aspect-ratio: 16 / 10; background: rgba(255,255,255,0.03); }
.insight-post-cover img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.insight-post-body{ padding: 22px; display: flex; flex-direction: column; flex: 1; }
.insight-post-meta{ display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.insight-post-date{ font-size: 0.74rem; color: var(--text-faint); }
.insight-post-body h3{ font-size: 1.02rem; margin-bottom: 8px; }
.insight-post-body p{
  font-size: 0.86rem; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden;
}

/* ---------- Insight article (single post detail) ---------- */
.insight-article-back{ max-width: 760px; margin: 0 auto 32px; }
.insight-article{ position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.insight-article-meta{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.insight-article-cover{
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--line-hair);
  background: rgba(255,255,255,0.03);
}
.insight-article-cover img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-article-body{ font-size: 1rem; line-height: 1.8; color: var(--text-dim); }
.insight-article-body p{ margin: 0 0 22px; }
.insight-article-lead{ font-size: 1.18rem; line-height: 1.65; color: var(--white); font-weight: 500; }
.insight-article-quote{
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--blue-bright);
  background: rgba(255,255,255,0.02);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.insight-article-quote p{ font-size: 1.15rem; font-style: italic; color: var(--white); margin: 0 0 10px; }
.insight-article-quote span{ font-size: 0.82rem; color: var(--text-faint); font-weight: 600; }
.insight-article-gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 32px; }
.insight-article-gallery img{
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-hair);
  cursor: zoom-in;
  transition: opacity .2s ease;
}
.insight-article-gallery img:hover{ opacity: 0.85; }
.insight-article-tags{ margin-top: 40px; }
@media (max-width: 700px){
  .insight-article-gallery{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Comments ---------- */
.comments-section{ margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line-hair); }
.comments-head h3{ font-size: 1.15rem; margin-bottom: 24px; }
.comments-list{ display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.comments-empty{ font-size: 0.88rem; color: var(--text-faint); margin: 0 0 40px; }
.comment-item{
  padding: 18px 20px;
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
}
.comment-item-head{ display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.comment-item-name{ font-size: 0.88rem; font-weight: 600; color: var(--white); }
.comment-item-date{ font-size: 0.74rem; color: var(--text-faint); }
.comment-item-body{ font-size: 0.9rem; line-height: 1.6; color: var(--text-dim); margin: 0; }
.comment-form{ display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.comment-form-row{ display: flex; gap: 12px; }
.comment-form input, .comment-form textarea{
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.86rem;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.comment-form textarea{ resize: vertical; min-height: 100px; }
.comment-form input:focus, .comment-form textarea:focus{ border-color: var(--blue-bright); background: rgba(255,255,255,0.06); }
.comment-form .btn{ align-self: flex-start; }
.comment-form-note{ margin: 0; font-size: 0.8rem; color: var(--blue-light); min-height: 1.2em; }
@media (max-width: 560px){
  .comment-form-row{ flex-direction: column; }
}

/* ---------- Insights: one full featured news card, rotates through up to 3 on the homepage,
   static "latest article" on the Insights page ---------- */
#insightsGridHead{ margin-top: 88px; }
.insight-feature{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 440px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-hair);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  overflow: hidden;
}
.insight-feature-cover{
  position: relative;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.045) 10px, rgba(255,255,255,0.045) 20px);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .35s var(--ease);
}
.insight-feature-cover svg{ width: 46px; height: 46px; stroke: rgba(255,255,255,0.25); fill: none; stroke-width: 1.4; }
.insight-feature-cover img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
}
.insight-feature-cover img.is-loaded{ opacity: 1; }
.insight-feature-body{
  padding: 44px 42px;
  display: flex; flex-direction: column; justify-content: center;
  transition: opacity .35s var(--ease);
}
.insight-feature-meta{ display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.insight-feature-body h3{ font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 14px; }
.insight-feature-body p{ font-size: 0.94rem; color: var(--text-dim); margin: 0 0 26px; max-width: 440px; }
.insight-feature-dots{ display: flex; gap: 8px; margin-top: 24px; }
.insight-feature-dots span{
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: background .3s ease, transform .3s ease;
  cursor: pointer;
}
.insight-feature-dots span.is-active{ background: var(--blue-light); transform: scale(1.35); }
.insight-feature.is-swapping .insight-feature-cover,
.insight-feature.is-swapping .insight-feature-body{ opacity: 0; }

@media (max-width: 900px){
  .insight-feature{ grid-template-columns: 1fr; min-height: 0; }
  .insight-feature-cover{ aspect-ratio: 16 / 9; }
  .insight-feature-body{ padding: 32px 26px; }
}

/* ---------- Products / Platforms ---------- */
.platform-feature{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.platform-tag{
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-hair);
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.platform-copy h3{ font-size: 1.6rem; font-weight: 600; margin-bottom: 12px; }
.platform-list{ list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 9px; }
.platform-list li{
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  padding-left: 24px;
  position: relative;
}
.platform-list li::before{
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--blue-light);
  border-bottom: 2px solid var(--blue-light);
  transform: rotate(-45deg);
}
.platform-tags{ display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; list-style: none; }
.platform-tags span{
  font-size: 0.74rem; font-weight: 600; color: var(--text-faint);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-hair);
  padding: 5px 12px; border-radius: 999px;
}
.platform-actions{ display: flex; gap: 12px; flex-wrap: wrap; }
.product-media{
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-hair);
}
.product-media img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}

.platform-window{
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.platform-window-bar{
  display: flex; gap: 7px;
  padding: 13px 15px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.platform-window-bar span{ width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.platform-window-bar span:nth-child(1){ background: #ff5f57; }
.platform-window-bar span:nth-child(2){ background: #febc2e; }
.platform-window-bar span:nth-child(3){ background: #28c840; }
.platform-window-body{ padding: 26px; }
.pw-row{ height: 11px; border-radius: 6px; background: rgba(255,255,255,0.08); margin-bottom: 11px; }
.pw-row-lg{ width: 70%; height: 16px; background: linear-gradient(90deg, var(--blue-bright), var(--blue-light)); opacity: .85; }
.pw-row-sm{ width: 40%; }
.pw-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 20px; }
.pw-tile{ aspect-ratio: 1; border-radius: 10px; background: rgba(47,107,255,0.12); border: 1px solid rgba(47,107,255,0.25); }

.platform-more{ margin-top: 24px; position: relative; z-index: 1; }
.platform-more-card{
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
  padding: 16px;
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
}
.platform-more-card p{ margin: 0; color: rgba(255,255,255,0.5); font-size: 0.86rem; }
.dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 4px var(--blue-dim); }

/* ---------- Product detail ---------- */
.product-meta{
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 0 0 24px; padding: 18px 20px;
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
}
.product-meta div{ display: flex; flex-direction: column; gap: 2px; }
.product-meta dt{ font-size: 0.66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.product-meta dd{ margin: 0; font-size: 0.86rem; font-weight: 500; color: var(--white); }
.product-detail-media{ aspect-ratio: 4 / 3; border-radius: var(--radius-md); cursor: zoom-in; }
.process-grid.product-narrative{ grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
@media (max-width: 900px){
  .process-grid.product-narrative{ grid-template-columns: 1fr; }
  .product-meta{ grid-template-columns: 1fr 1fr; }
}

/* ---------- Portfolio ---------- */
.portfolio-filter{
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 72px;
}
.portfolio-filter-btn{
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-hair);
  background: rgba(255,255,255,0.02);
  color: var(--text-faint);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.portfolio-filter-btn:hover{ border-color: rgba(255,255,255,0.28); color: var(--white); }
.portfolio-filter-btn.is-active{
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: #fff;
}
.portfolio-group{ margin-bottom: 96px; }
.portfolio-group:last-child{ margin-bottom: 0; }
.portfolio-group .section-head{ margin-bottom: 40px; text-align: left; max-width: 640px; margin-left: 0; }
.work-grid{ grid-template-columns: repeat(3, 1fr); }
.work-card{
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.work-card:hover{ transform: translateY(-3px); border-color: rgba(255,255,255,0.18); }
.work-card-media{ aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
.work-card-media-brand{ background: rgba(255,255,255,0.03); }
.work-card-media-brand img{ width: 88px; }
.work-card-media-empty{
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.045) 10px, rgba(255,255,255,0.045) 20px);
  color: var(--gray-500);
}
.work-card-media-empty svg{ width: 34px; height: 34px; stroke: rgba(255,255,255,0.25); fill: none; stroke-width: 1.6; }
.work-card-media-photo{ position: relative; background: rgba(255,255,255,0.03); }
.work-card-media-photo img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.work-card-body{ padding: 20px 22px 0; }
.work-tag{
  display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-faint); background: rgba(255,255,255,0.05); border: 1px solid var(--line-hair); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.work-tag-muted{ color: var(--text-faint); background: rgba(255,255,255,0.06); }
.work-card-body h3{ font-size: 1rem; margin-bottom: 6px; }
.work-card-body p{
  font-size: 0.85rem; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
  overflow: hidden;
}
.work-card-placeholder{ border-style: dashed; }

/* ---------- Work card footer: favicon + name/domain (left) + visit button (right) ---------- */
.work-card-footer{
  display: flex; align-items: center; gap: 10px;
  margin: 18px 22px 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-hair);
}
.work-card-favicon{
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  padding: 3px;
}
.work-card-footer-info{
  display: flex; flex-direction: column; min-width: 0;
  margin-right: auto;
}
.work-card-name{
  font-size: 0.82rem; font-weight: 600; color: var(--white);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-card-domain{
  font-size: 0.74rem; color: var(--text-faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-card-visit{ flex-shrink: 0; }
.work-card-footer-links{ display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* ---------- Work card image carousel + expand ---------- */
.work-card-media-carousel{ cursor: zoom-in; }
.work-card-carousel-count{
  position: absolute; right: 10px; top: 10px; z-index: 2;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8,9,12,0.7);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.7rem; font-weight: 600;
}
.work-card-carousel-count svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.work-card-expand{
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(8,9,12,0.72);
  backdrop-filter: blur(4px);
  border: none; cursor: zoom-in;
  color: var(--white);
  font-family: inherit; font-size: 0.72rem; font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.work-card-expand:hover{ background: var(--blue-bright); transform: translateY(-1px); }
.work-card-expand svg{
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  flex-shrink: 0;
}

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,4,7,0.92);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox-stage{
  position: relative;
  width: min(88vw, 1100px);
  height: min(68vh, 680px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.lightbox-img{
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .3s var(--ease);
  user-select: none;
}
.lightbox.is-zoomed .lightbox-img{ cursor: zoom-out; transform: scale(1.9); }
/* Close/prev/next are positioned relative to the fixed, full-viewport
   .lightbox element itself (not the smaller centered stage), so they
   always stay a fixed distance from the real screen edges and can
   never be pushed off-screen regardless of stage size. */
.lightbox-close, .lightbox-prev, .lightbox-next{
  position: absolute; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-hair);
  color: var(--white);
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background: rgba(255,255,255,0.18); }
.lightbox-close{ top: 20px; right: 20px; }
.lightbox-prev{ left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox-counter{
  position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%);
  font-size: 0.8rem; color: var(--text-faint);
}
.lightbox-thumbs{
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 8px;
  max-width: min(88vw, 1100px);
  overflow-x: auto;
  padding: 4px;
}
.lightbox-thumb{
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity .2s ease, border-color .2s ease;
}
.lightbox-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover{ opacity: 0.85; }
.lightbox-thumb.is-active{ opacity: 1; border-color: var(--blue-bright); }
@media (max-width: 780px){
  .lightbox-stage{ width: 90vw; height: 56vh; }
  .lightbox-prev{ left: 10px; }
  .lightbox-next{ right: 10px; }
  .lightbox-close{ top: 12px; right: 12px; }
  .lightbox-counter{ bottom: 78px; }
  .lightbox-thumb{ width: 44px; height: 44px; }
}

/* ---------- Process ---------- */
.process-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.process-step{
  padding: 26px 22px;
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
}
.process-num{
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--blue-light);
  margin-bottom: 12px;
}
.process-step h3{ font-size: 1rem; margin-bottom: 8px; }
.process-step p{ font-size: 0.85rem; margin: 0; }

/* ---------- About / Stats ---------- */
.about-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.stats-grid{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.stat{
  position: relative;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-hair);
  text-align: center;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.stat:hover{
  transform: translateY(-4px);
  border-color: rgba(47,107,255,0.35);
  background: rgba(255,255,255,0.035);
}
.stat::before{
  content: '';
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 32px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-light));
}
.stat-num{
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label{ font-size: 0.78rem; color: var(--text-faint); font-weight: 500; letter-spacing: .02em; }

/* ---------- Why SymTech Web: numbered purpose cards ---------- */
.purpose-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.purpose-card{
  position: relative;
  padding: 36px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-hair);
  background: rgba(255,255,255,0.02);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.purpose-card:hover{
  transform: translateY(-4px);
  border-color: rgba(47,107,255,0.35);
  background: rgba(255,255,255,0.035);
}
.purpose-num{
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(47,107,255,0.4);
  margin-bottom: 18px;
}
.purpose-card h3{ font-size: 1.08rem; margin-bottom: 10px; }
.purpose-card p{ font-size: 0.88rem; margin: 0; }

@media (max-width: 700px){
  .purpose-grid{ grid-template-columns: 1fr; }
  .purpose-card{ padding: 28px 26px; }
}

/* ---------- Mission & Vision ---------- */
.mv-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mv-card{ padding: 40px 36px; }
.mv-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(47,107,255,0.12);
  color: var(--blue-light);
  margin-bottom: 22px;
}
.mv-icon svg{ width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.mv-card h3{ font-size: 1.2rem; margin-bottom: 12px; }
.mv-card p{ font-size: 0.92rem; margin: 0; }

@media (max-width: 700px){
  .mv-grid{ grid-template-columns: 1fr; }
  .mv-card{ padding: 30px 26px; }
}

/* ---------- Client testimonials: portrait cards with quote overlay ---------- */
.client-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-card{
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-soft);
  border: 1px solid var(--line-hair);
}
.client-card img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.client-card:hover img{ transform: scale(1.04); }
.client-card::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(3,4,7,.96) 0%, rgba(3,4,7,.75) 32%, rgba(3,4,7,.1) 62%, transparent 80%);
}
.client-card-favicon{
  position: absolute; left: 16px; top: 16px; z-index: 2;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.6);
}
.client-card-favicon img{ position: static; width: 100%; height: 100%; object-fit: contain; }
.client-card-body{
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 26px 24px;
}
.client-card-quote{
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 16px;
}
.client-card-attribution{ display: flex; flex-direction: column; gap: 2px; }
.client-card-name{ font-size: 0.86rem; font-weight: 700; color: var(--white); }
.client-card-role{ font-size: 0.76rem; color: var(--text-faint); }

@media (max-width: 900px){
  .client-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .client-grid{ grid-template-columns: 1fr; }
}

/* ---------- Founder card ---------- */
.founder-card{
  position: relative; z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  min-height: 440px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-hair);
  background: linear-gradient(135deg, var(--black-elev) 0%, var(--black-soft) 60%);
  overflow: hidden;
}
.founder-card::before{
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  right: -60px; bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.founder-card img{
  position: absolute;
  right: 4%; bottom: 0;
  width: auto; height: 96%;
  max-width: 56%;
  object-fit: contain;
  object-position: bottom;
}
.founder-card-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, rgba(8,9,12,0.94) 40%, rgba(8,9,12,0.35) 68%, transparent 88%);
}
.founder-card-body{
  position: relative; z-index: 2;
  max-width: 460px;
  height: 100%;
  padding: 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.founder-card-mark{
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--blue-light);
  opacity: 0.6;
  margin-bottom: 10px;
}
.founder-card-body blockquote{
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.55;
  color: var(--white);
  margin: 0 0 20px;
}
.founder-card-signature{ margin: 0; font-size: 0.9rem; font-weight: 700; color: var(--white); }
.founder-card-signature span{
  display: block;
  margin-top: 3px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-faint);
}

@media (max-width: 700px){
  .founder-card{ min-height: 560px; }
  .founder-card img{ right: 50%; transform: translateX(50%); height: 62%; max-width: 70%; }
  .founder-card-overlay{ background: linear-gradient(180deg, rgba(8,9,12,0.4) 0%, var(--black) 58%, var(--black) 100%); }
  .founder-card-body{ max-width: none; padding: 28px 24px; justify-content: flex-end; }
}

/* ---------- Partners marquee ---------- */
.partners-marquee{
  position: relative; z-index: 1;
  overflow: hidden;
  padding: 8px 0 4px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.partners-track{
  display: flex; align-items: center;
  gap: 22px;
  width: max-content;
  animation: partnersscroll 46s linear infinite;
}
.partners-marquee:hover .partners-track{ animation-play-state: paused; }
.partner-logo{
  display: flex; align-items: center; justify-content: center;
  width: 148px; height: 84px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  flex-shrink: 0;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.partner-logo:hover{ transform: translateY(-4px); border-color: rgba(47,107,255,0.4); }
.partner-logo img{ max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes partnersscroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Partners bento grid ---------- */
.partners-bento{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.partners-bento.is-shuffling{ opacity: 0; transform: translateY(16px); }
.partner-tile{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-hair);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.partner-tile:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
}
.partner-tile img{
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: filter .3s ease, opacity .3s ease, transform .25s var(--ease);
}
.partner-tile:hover img{
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Full-color app-badge icons (opaque square artwork) can't survive the
   white-silhouette treatment — they lose all internal detail. Show these
   few in real color on a small light chip instead. */
.partner-tile.is-badge img{
  filter: none;
  opacity: 1;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 6px 16px -10px rgba(0,0,0,.5);
}
.partner-tile.is-badge:hover img{ transform: scale(1.05); }

.partner-featured{
  position: relative;
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: flex-end;
}
.partner-featured img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.partner-featured::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,0.05) 30%, rgba(5,6,10,0.92) 100%);
}
.partner-featured-body{
  position: relative; z-index: 1;
  padding: 22px;
}
.partner-featured-tag{
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 8px;
}
.partner-featured-body h3{ font-size: 1.15rem; margin-bottom: 6px; line-height: 1.25; }
.partner-featured-body p{ font-size: 0.82rem; color: rgba(255,255,255,0.78); margin: 0; }

@media (max-width: 1024px){
  .partners-bento{ grid-template-columns: repeat(4, minmax(0,1fr)); }
  .partner-featured{ grid-column: 1 / span 4; grid-row: 1 / span 2; }
}
@media (max-width: 640px){
  .partners-bento{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .partner-featured{ grid-column: 1 / span 3; grid-row: 1 / span 2; }
}

/* ---------- CTA band ---------- */
.cta-band{
  position: relative; z-index: 1;
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid var(--line-hair);
  padding: 120px 0;
}
.cta-band .section-fx::before, .cta-band .section-fx::after{ opacity: 0.12; }
.cta-inner{ text-align: center; position: relative; z-index: 1; }
.cta-inner h2{ color: var(--white); margin-bottom: 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -0.025em; }
.cta-inner p{ color: var(--text-dim); margin-bottom: 30px; font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }
.contact-grid h1{ font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: -0.025em; margin: 14px 0 16px; }
.next-steps{ display: flex; flex-direction: column; gap: 20px; margin: 8px 0 32px; }
.next-step{ display: flex; gap: 14px; align-items: flex-start; }
.next-step-num{
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47,107,255,0.14);
  color: var(--blue-light);
  font-size: 0.8rem; font-weight: 700;
}
.next-step h4{ font-size: 0.92rem; margin: 0 0 4px; color: var(--white); }
.next-step p{ font-size: 0.82rem; margin: 0; color: var(--text-faint); }
.contact-details{ display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-email{
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-light); font-weight: 700; font-size: 0.95rem;
  border-bottom: 1px solid rgba(107,147,255,0.4);
  padding-bottom: 3px;
}
.contact-email svg{ width: 17px; height: 17px; stroke: var(--blue-light); fill: none; stroke-width: 1.6; }
.contact-location{
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75); font-weight: 600; font-size: 0.95rem;
}
.contact-location svg{ width: 17px; height: 17px; stroke: var(--blue-light); fill: none; stroke-width: 1.6; }
.form-row-split{ display: flex; gap: 14px; }
.form-row-split .form-row{ flex: 1; }
.contact-form{
  background: var(--black-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.form-row{ display: flex; flex-direction: column; gap: 7px; }
.form-row label{ color: rgba(255,255,255,0.65); font-size: 0.8rem; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  border-color: var(--blue-bright);
  background: rgba(255,255,255,0.06);
}
.form-row select option{ background: var(--black-soft); color: var(--white); }
.form-note{ margin: 0; font-size: 0.8rem; color: var(--blue-light); min-height: 1em; }
.form-row-checkbox{ margin-top: -6px; }
.checkbox-label{
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"]{
  width: 16px; height: 16px;
  accent-color: var(--blue-bright);
  cursor: pointer;
}

/* ---------- Footer ---------- */
.footer{ position: relative; z-index: 1; background: var(--black); border-top: 1px solid var(--line-soft); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer-brand{ display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-tagline{ font-size: 0.86rem; color: var(--text-dim); margin: 0; }
.footer-email{
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-light); font-weight: 600; font-size: 0.86rem;
}
.footer-email svg{ width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.footer-contact{ display: flex; flex-direction: column; gap: 10px; }
.footer-contact-link{
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-weight: 500; font-size: 0.85rem;
  transition: color .2s ease;
}
.footer-contact-link:hover{ color: var(--blue-light); }
.footer-contact-link svg{ width: 15px; height: 15px; flex-shrink: 0; stroke: var(--blue-light); fill: none; stroke-width: 1.8; }
.footer-social{ display: flex; gap: 10px; margin-top: 4px; }
.footer-social a{
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line-hair);
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.footer-social a:hover{ color: var(--white); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.07); }
.footer-contact-static{ cursor: default; }
.footer-contact-static:hover{ color: var(--text-dim); }

.footer-newsletter-form{ display: flex; gap: 8px; margin-bottom: 10px; }
.footer-newsletter-form input{
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.84rem;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.footer-newsletter-form input:focus{ border-color: var(--blue-bright); background: rgba(255,255,255,0.06); }
.footer-newsletter-form .btn{ flex-shrink: 0; }
.footer-newsletter-note{ margin: 0; font-size: 0.78rem; color: var(--blue-light); min-height: 1em; }
.footer-col-title{
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 16px;
}
.footer-col .footer-links{ display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-links a{ color: rgba(255,255,255,0.65); font-size: 0.85rem; transition: color .2s ease; }
.footer-links a:hover{ color: var(--white); }
.footer-col-text{ font-size: 0.84rem; color: var(--text-dim); margin: 0 0 16px; }
.btn-sm{ padding: 9px 18px; font-size: 0.78rem; }
.footer-bottom{ border-top: 1px solid var(--line-soft); padding: 20px 0; }
.footer-copy{ color: rgba(255,255,255,0.45); font-size: 0.78rem; margin: 0; }

@media (max-width: 1024px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .footer-brand{ max-width: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .services-grid, .insights-grid{ grid-template-columns: repeat(2,1fr); }
  .work-grid{ grid-template-columns: repeat(2,1fr); }
  .process-grid{ grid-template-columns: repeat(2,1fr); }
  .platform-feature{ grid-template-columns: 1fr; padding: 36px; }
  .about-grid, .contact-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .build-intro{ grid-template-columns: 1fr; gap: 24px; }
  .build-row, .build-row:nth-child(even){ flex-direction: column; }
}

@media (max-width: 780px){
  .brand{ margin-right: 0; }
  .nav-menu{
    position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw);
    background: rgba(5,6,10,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    border-left: 1px solid var(--line-soft);
    z-index: 600;
  }
  .nav-menu.open{ transform: translateX(0); }
  .nav-links{
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: none; border: none; padding: 0; width: 100%;
  }
  .nav-links a{ padding: 4px 0; }
  .nav-actions{
    flex-direction: column; align-items: stretch; gap: 10px; width: 100%;
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--line-soft); padding-top: 20px; margin-top: 4px;
  }
  .nav-actions .nav-btn{ justify-content: center; }
  .nav-toggle{ display: flex; z-index: 601; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity: 0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  .section{ padding: 68px 0; }
  .services-grid, .insights-grid, .work-grid, .process-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
  .hero-dots{ right: 50%; transform: translateX(50%); }
}

@media (max-width: 480px){
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .platform-feature{ padding: 24px; }
  .contact-form{ padding: 22px; }
  .form-row-split{ flex-direction: column; gap: 16px; }
  .partner-logo{ width: 120px; height: 70px; padding: 12px 16px; }
}
