/* ============================================================
   ECLIPSE CREATIVE SOLUTIONS — Design System
   Palette derived from brand mark: deep navy ground, azure/cyan
   crescent gradient, brushed-silver wordmark.
   ============================================================ */

:root{
  /* --- Ground --- */
  --ink:        #0a0b10;
  --ink-2:      #0d0f16;
  --ink-3:      #12141d;
  --panel:      #14161f;
  --panel-2:    #191c27;
  --border:     #23262f;
  --border-soft: rgba(255,255,255,.07);

  /* --- Type --- */
  --paper:      #f4f5f8;
  --mist:       #c2c7d3;
  --steel:      #8b91a1;
  --steel-dim:  #5e6272;

  /* --- Brand accent (from logo crescent) --- */
  --azure-deep: #0a3652;
  --azure:      #1a6f9c;
  --azure-2:    #2596c9;
  --cyan:       #38cdf0;
  --cyan-soft:  rgba(56,205,240,.14);
  --silver:     #c9ced8;

  --grad-brand: linear-gradient(120deg, var(--azure-deep) 0%, var(--azure) 45%, var(--cyan) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(10,54,82,.35) 0%, rgba(37,150,201,.25) 50%, rgba(56,205,240,.2) 100%);
  --grad-text:  linear-gradient(115deg, #eef1f6 0%, #c7cdd9 45%, #9aa4b5 55%, #eef1f6 100%);

  /* --- Type scale --- */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* --- Rhythm --- */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(72px, 11vw, 152px);
  --radius-s: 12px;
  --radius-m: 22px;
  --radius-l: 32px;
  --radius-xl: 40px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur: .7s;
}

/* ============ Reset ============ */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  margin:0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font: inherit; cursor:pointer; }
input, textarea, select{ font: inherit; }
h1,h2,h3,h4,p,figure{ margin:0; }

::selection{ background: var(--cyan); color: var(--ink); }

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

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

/* ============ Layout helpers ============ */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section{
  padding-block: var(--section-pad);
  position: relative;
}
.section-head{
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center{ margin-inline:auto; text-align:center; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 26px; height:2px;
  background: linear-gradient(90deg, #eef1f6, var(--cyan));
  border-radius: 2px;
  display:inline-block;
}
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }

h2.h-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.01em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-sub{
  margin-top: 16px;
  font-size: 17px;
  color: var(--steel);
  line-height: 1.7;
}

.visually-hidden{
  position:absolute; width:1px;height:1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
}

/* ============ Buttons ============ */
.btn{
  --btn-pad-y: 15px;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: var(--btn-pad-y) 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--grad-brand);
  color: #06131c;
  box-shadow: 0 8px 24px -8px rgba(37,150,201,.55);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(56,205,240,.65);
}
.btn-ghost{
  background: transparent;
  border-color: var(--border-soft);
  color: var(--paper);
}
.btn-ghost:hover{
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn-arrow{ transition: transform .35s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor: progress; }

/* ============ Nav ============ */
/* Sticky wrapper: brand strip + nav stick together at the top of the viewport */
.site-head{
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Standalone transparent C mark — sits above the main nav, at the very top */
.brand-strip{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 9px 0;
  background: var(--ink);
  border-bottom: 1px solid var(--border-soft);
}
.brand-strip-mark{
  height: 26px;
  width:auto;
  filter: drop-shadow(0 0 10px rgba(56,205,240,.35));
  transition: transform .6s var(--ease);
}
.brand-strip:hover .brand-strip-mark{ transform: rotate(-8deg) scale(1.05); }

.nav{
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  padding: 13px 0;
  background: rgba(9,10,15,.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border-soft);
}
.nav .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-shrink:0;
}
.brand-mark-img{
  height: 34px;
  width: auto;
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark-img{ transform: rotate(-14deg); }
.brand-word{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-word .word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .01em;
  background: var(--grad-text);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.brand-word .tag{
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .24em;
  text-transform:uppercase;
  color: var(--steel-dim);
  margin-top: 4px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 2px;
}
.nav-links a{
  position:relative;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
  border-radius: 999px;
  transition: color .3s ease, background .3s ease;
}
.nav-links a:hover{ color: var(--paper); background: rgba(255,255,255,.05); }
.nav-links a.is-active{ color: var(--ink); background: var(--cyan); }

.nav-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-cta .btn{ padding: 11px 22px; font-size:13.5px; }

.nav-toggle{
  display:none;
  width: 42px; height:42px;
  align-items:center; justify-content:center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-shrink:0;
}
.nav-toggle span{
  position:relative;
  width: 18px; height:2px;
  background: var(--paper);
  display:block;
  transition: background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after{
  content:"";
  position:absolute; left:0;
  width:18px; height:2px;
  background: var(--paper);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before{ top:-6px; }
.nav-toggle span::after{ top:6px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ top:0; transform: rotate(45deg); }
.nav-toggle.is-open span::after{ top:0; transform: rotate(-45deg); }

/* Mobile menu + scrim: hidden off-canvas by default (base, non-mobile) */
.mobile-menu{
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 84vw);
  transform: translateX(100%);
  visibility: hidden;
  z-index: 150;
}
.mobile-menu.is-open{ visibility: visible; }
.menu-scrim{
  position: fixed;
  inset:0;
  z-index: 140;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

/* ============ Hero ============ */
.hero{
  position: relative;
  min-height: calc(100vh - 96px);
  display:flex;
  align-items:center;
  padding-top: 64px;
  padding-bottom: 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg{
  position:absolute; inset:0;
  z-index:-2;
  background:
    radial-gradient(ellipse 60% 50% at 82% 28%, rgba(37,150,201,.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 85%, rgba(10,54,82,.35), transparent 65%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 55%);
}
.hero-noise{
  position:absolute; inset:0;
  z-index:-1;
  opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eclipse-stage{
  position:absolute;
  top:50%; right:clamp(-220px, -6vw, -40px);
  transform: translateY(-50%);
  width: min(64vw, 900px);
  aspect-ratio: 1/1;
  z-index:-1;
  pointer-events:none;
}
.eclipse-stage svg{ width:100%; height:100%; overflow:visible; }
.eclipse-glow{
  position:absolute; inset:8%;
  border-radius:50%;
  background: radial-gradient(circle, rgba(56,205,240,.25), transparent 70%);
  filter: blur(40px);
  animation: pulse-glow 7s ease-in-out infinite;
}
@keyframes pulse-glow{
  0%,100%{ opacity:.55; transform: scale(1); }
  50%{ opacity:.9; transform: scale(1.08); }
}
.disc-shadow{ fill: var(--ink); }
.disc-lit{ fill: url(#discGradient); }
.orbit-ring{
  fill:none;
  stroke: rgba(255,255,255,.08);
  stroke-dasharray: 2 10;
}
.transit-disc{
  fill: #05060a;
  filter: drop-shadow(0 0 26px rgba(56,205,240,.45));
  animation: transit 18s linear infinite;
  transform-origin: 250px 250px;
}
@keyframes transit{
  from{ transform: rotate(0deg) translateX(0); }
  to{ transform: rotate(360deg) translateX(0); }
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: minmax(0,1fr);
  gap: 48px;
}
.hero-eyebrow{
  animation: rise .9s var(--ease) both;
}
.hero h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--paper);
  max-width: 15ch;
  animation: rise 1s var(--ease) .08s both;
}
.hero h1 em{
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-copy{
  margin-top: 26px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.75;
  color: var(--steel);
  animation: rise 1s var(--ease) .18s both;
}
.hero-cta{
  margin-top: 40px;
  display:flex;
  flex-wrap:wrap;
  gap: 16px;
  animation: rise 1s var(--ease) .28s both;
}
.hero-stats{
  margin-top: 68px;
  display:flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 60px);
  animation: rise 1s var(--ease) .38s both;
}
.stat{
  border-left: 1px solid var(--border);
  padding-left: 18px;
}
.stat .num{
  font-family: var(--font-display);
  font-size: clamp(26px,3vw,34px);
  color: var(--paper);
  display:flex; align-items:baseline; gap:2px;
}
.stat .num .suffix{ font-size:.55em; color: var(--cyan); }
.stat .label{
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

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

.scroll-cue{
  position:absolute;
  left: var(--gutter);
  bottom: 34px;
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel-dim);
}
.scroll-cue .line{
  width:1px; height: 34px;
  background: linear-gradient(var(--cyan), transparent);
  position:relative;
  overflow:hidden;
}
.scroll-cue .line::after{
  content:"";
  position:absolute; left:0; top:-100%;
  width:100%; height:100%;
  background: var(--cyan);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{
  0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; }
}

/* ============ Reveal on scroll ============ */
.reveal{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ transition-delay: calc(var(--i,0) * 90ms); }

/* ============ About ============ */
.about-wrap{
  display:grid;
  grid-template-columns: .95fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items:start;
}
.pillars{
  margin-top: 40px;
  display:flex;
  flex-direction:column;
  gap: 4px;
}
.pillar{
  display:flex;
  align-items:center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
}
.pillar:last-child{ border-bottom: 1px solid var(--border-soft); }
.pillar .icon{
  width: 42px; height:42px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--cyan);
  flex-shrink:0;
}
.pillar .icon svg{ width:19px; height:19px; }
.pillar span{ font-weight:700; color: var(--paper); font-size:15px; }

.about-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(28px,4vw,48px);
  position:relative;
  overflow:hidden;
}
.about-card::before{
  content:"";
  position:absolute; top:-40%; right:-30%;
  width:60%; height:80%;
  background: radial-gradient(circle, var(--cyan-soft), transparent 70%);
  pointer-events:none;
}
.about-card p{
  position:relative;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--mist);
}
.about-card p + p{ margin-top: 22px; }
.about-card .pull{
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--paper);
}
.about-card .pull span{ color: var(--cyan); font-style:normal; }

/* ============ Vision / Mission ============ */
.vm-flow{
  position:relative;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(38px, 5vw, 64px);
  overflow: hidden;
}
.vm-flow::before{
  content:"";
  position:absolute;
  width: 520px; height:520px;
  border-radius: 62% 38% 55% 45% / 45% 55% 42% 58%;
  background: radial-gradient(circle at 35% 30%, rgba(56,205,240,.14), transparent 70%);
  top: -180px; right: -160px;
  pointer-events:none;
}
.vm-half{ position:relative; }
.vm-divider{
  width:1px;
  background: linear-gradient(var(--border-soft), var(--cyan) 45%, var(--cyan) 55%, var(--border-soft));
  opacity: .5;
}
.vm-icon{
  width: 56px; height:56px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--ink-3);
  border: 1px solid var(--border);
  color: var(--cyan);
  margin-bottom: 26px;
  transition: background .5s ease, color .5s ease, transform .5s var(--ease);
}
.vm-half:hover .vm-icon{ background: var(--grad-brand); color:#06131c; transform: scale(1.06); }
.vm-icon svg{ width:24px; height:24px; }
.vm-half h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 16px;
}
.vm-half p{ font-size:16px; line-height:1.8; color: var(--mist); max-width: 42ch; }

/* ============ Services (interactive tabbed module) ============ */
.svc{
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow:hidden;
  min-height: 460px;
}
.svc-list{
  display:flex;
  flex-direction:column;
  border-right: 1px solid var(--border);
  background: var(--ink-3);
}
.svc-item{
  display:flex;
  align-items:center;
  gap: 16px;
  padding: 22px 26px;
  background:transparent;
  border:none;
  border-bottom: 1px solid var(--border-soft);
  text-align:left;
  cursor:pointer;
  color: var(--steel);
  transition: background .35s ease, color .35s ease, padding-left .35s ease;
}
.svc-item:last-child{ border-bottom:none; }
.svc-item-name{
  flex:1;
  font-weight: 700;
  font-size: 15.5px;
  color: inherit;
}
.svc-item-arrow{
  flex-shrink:0;
  opacity:0;
  transform: translateX(-6px);
  transition: opacity .35s ease, transform .35s ease;
}
.svc-item:hover{ background: rgba(255,255,255,.03); color: var(--paper); padding-left: 32px; }
.svc-item.is-active{
  background: var(--panel);
  color: var(--paper);
  padding-left: 32px;
}
.svc-item.is-active .svc-item-arrow{ opacity:1; transform: translateX(0); color: var(--cyan); }

.svc-panel{
  position:relative;
  padding: clamp(36px,4.5vw,58px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.svc-panel-icon{
  width: 64px; height:64px;
  border-radius: 18px;
  background: var(--grad-brand);
  color:#06131c;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 28px;
  position:relative;
  transition: transform .5s var(--ease);
}
.svc-panel-icon svg{ width:28px; height:28px; }
.svc-panel-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px,2.6vw,36px);
  color: var(--paper);
  margin-bottom: 16px;
  position:relative;
}
.svc-panel-desc{
  font-size: 16px;
  line-height: 1.75;
  color: var(--steel);
  max-width: 46ch;
  margin-bottom: 30px;
  position:relative;
}
.svc-panel-list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 28px;
  margin-bottom: 34px;
  position:relative;
}
.svc-panel-list li{
  font-size: 14.5px;
  color: var(--mist);
  display:flex;
  align-items:center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.svc-panel-list li::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background: var(--cyan);
  flex-shrink:0;
}
.svc-panel-cta{ align-self:flex-start; margin-top:auto; position:relative; }

.svc-fade{ animation: svcFade .45s var(--ease); }
@keyframes svcFade{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}

/* ============ Approach ============ */
/* ============ Approach — organic staggered flow (no grid dividers) ============ */
.approach-rail{
  position:relative;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding-top: 8px;
}
.approach-line{ display:none; }
.approach-step{
  background: linear-gradient(165deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 38px 30px 34px;
  position: relative;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.65);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s ease;
}
.approach-step:hover{
  transform: translateY(-8px);
  border-color: rgba(56,205,240,.32);
  box-shadow: 0 30px 56px -22px rgba(56,205,240,.28);
}
@media (min-width: 900px){
  .approach-step:nth-child(2n){ transform: translateY(30px); }
  .approach-step:nth-child(2n):hover{ transform: translateY(22px); }
}
.step-dot{
  position:absolute;
  top: -8px; left: 34px;
  width: 16px; height:16px;
  border-radius:50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px var(--ink), 0 0 18px rgba(56,205,240,.55);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s;
}
.approach-rail.is-visible .step-dot{ opacity:1; transform: scale(1); }
.approach-step .step-icon{
  width: 54px;height:54px;
  border-radius: 16px;
  background: var(--ink-3);
  border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--cyan);
  margin: 6px 0 26px;
  transition: background .45s ease, transform .45s ease;
}
.approach-step:hover .step-icon{ background: var(--grad-brand); color:#06131c; transform: rotate(-6deg) scale(1.05); }
.approach-step .step-icon svg{ width:22px; height:22px; }
.approach-step h3{
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--paper);
  margin-bottom: 12px;
}
.approach-step p{ font-size: 14px; line-height:1.7; color: var(--steel); }

/* ============ Why choose us ============ */
.why{
  position:relative;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--border);
  padding: clamp(44px,7vw,90px);
  overflow:hidden;
}
.why::before{
  content:"";
  position:absolute;
  width: 640px; height:640px;
  right:-220px; top:-220px;
  border-radius:50%;
  border: 1px solid rgba(56,205,240,.14);
}
.why::after{
  content:"";
  position:absolute;
  width: 460px; height:460px;
  right:-120px; top:-120px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(56,205,240,.16), transparent 70%);
}
.why-quote-icon{
  width: 62px; height:62px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--cyan);
  margin-bottom: 34px;
}
.why-quote-icon svg{ width:26px; height:26px; }
.why blockquote{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.35;
  color: var(--paper);
  max-width: 20ch;
  position:relative;
}
.why-body{
  margin-top: 36px;
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px;
  max-width: 980px;
}
.why-body p{ font-size:15.5px; line-height:1.8; color: var(--steel); }


/* ============ Contact ============ */
.contact-wrap{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px,4vw,54px);
}
.contact-form{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(28px,4vw,48px);
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field{
  margin-bottom: 20px;
  display:flex;
  flex-direction:column;
  gap: 9px;
}
.field label{
  font-size: 12.5px;
  font-weight:700;
  letter-spacing:.03em;
  color: var(--steel);
}
.field input, .field textarea, .field select{
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  color: var(--paper);
  transition: border-color .3s ease, background .3s ease;
}
.field select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b91a1' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right 16px center; padding-right:36px; }
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--cyan);
  background: var(--ink-2);
  outline:none;
}
.field textarea{ resize: vertical; min-height: 120px; }
.field.honeypot{ position:absolute; left:-9999px; opacity:0; height:0; }
.form-note{
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--steel-dim);
  text-align:center;
}
.form-success{
  display:none;
  align-items:center;
  gap:14px;
  padding: 18px 20px;
  border-radius: var(--radius-s);
  background: rgba(56,205,240,.1);
  border: 1px solid rgba(56,205,240,.3);
  color: var(--paper);
  font-size: 14px;
  margin-bottom: 20px;
}
.form-success.is-visible{ display:flex; }
.form-success svg{ width:20px;height:20px;color:var(--cyan); flex-shrink:0; }

.contact-info-card{
  background: linear-gradient(165deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(28px,3.6vw,42px);
  display:flex;
  flex-direction:column;
  height:100%;
}
.cic-logo{
  height: 74px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 30px;
  filter: drop-shadow(0 14px 26px rgba(56,205,240,.22));
}
.cic-tag{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: var(--steel-dim);
  line-height:1.9;
}
.contact-items{
  margin-top: 34px;
  display:flex;
  flex-direction:column;
  gap: 22px;
}
.contact-item{
  display:flex;
  align-items:flex-start;
  gap: 16px;
}
.contact-item .ci-icon{
  width: 42px;height:42px;
  border-radius:50%;
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color: var(--cyan);
  flex-shrink:0;
}
.contact-item .ci-icon svg{ width:18px;height:18px; }
.contact-item .ci-label{
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--steel-dim);
}
.contact-item a, .contact-item span.ci-val{
  display:block;
  margin-top: 4px;
  font-weight: 700;
  color: var(--paper);
  font-size: 14.5px;
  transition: color .3s ease;
}
.contact-item a:hover{ color: var(--cyan); }

.social-row{
  margin-top: auto;
  padding-top: 34px;
  display:flex;
  gap: 12px;
}
.social-row a{
  width: 42px;height:42px;
  border-radius:50%;
  border: 1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color: var(--mist);
  transition: all .3s ease;
}
.social-row a:hover{ background: var(--grad-brand); color:#06131c; border-color:transparent; transform: translateY(-3px); }
.social-row svg{ width:17px;height:17px; }

/* ============ CTA banner ============ */
.cta-banner{
  border-radius: var(--radius-l);
  background: var(--grad-brand);
  padding: clamp(40px,6vw,70px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 30px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.cta-banner h3{
  font-family: var(--font-display);
  font-size: clamp(26px,3.4vw,38px);
  color: #06131c;
  max-width: 18ch;
  font-weight:600;
}
.cta-banner .btn-ghost{
  border-color: rgba(6,19,28,.35);
  color:#06131c;
}
.cta-banner .btn-ghost:hover{ border-color:#06131c; background: rgba(6,19,28,.08); color:#06131c; }

/* ============ Footer ============ */
.footer{
  border-top: 1px solid var(--border);
  padding-top: clamp(56px,8vw,90px);
  padding-bottom: 30px;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand{ margin-bottom:20px; }
.footer-brand p{ font-size:14px; line-height:1.75; color:var(--steel); max-width:34ch; }
.footer-col h4{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color: var(--steel-dim);
  margin-bottom: 18px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color:var(--mist); transition: color .3s ease; }
.footer-col a:hover{ color: var(--cyan); }
.footer-bottom{
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--steel-dim);
}
.footer-bottom a{ color: var(--steel-dim); }
.footer-bottom a:hover{ color: var(--cyan); }
.footer-legal{ display:flex; gap:22px; }

/* ============ Back to top ============ */
.to-top{
  position: fixed;
  right: 26px; bottom: 26px;
  width: 50px; height:50px;
  border-radius:50%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--paper);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transform: translateY(10px);
  transition: all .4s var(--ease);
  z-index: 90;
}
.to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover{ border-color: var(--cyan); color: var(--cyan); }
.to-top svg{ width:19px;height:19px; }

/* ============ Responsive ============ */
@media (max-width: 1080px){
  .footer-top{ grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .about-wrap{ grid-template-columns: 1fr; }
  .svc{ grid-template-columns: 300px 1fr; }
}

@media (max-width: 860px){
  .nav-links, .nav-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta{ gap:10px; }
  .nav-cta .btn-primary{ padding: 10px 16px; font-size: 13px; }
  .nav-cta .btn-primary .btn-arrow{ display:none; }
  .brand-word .word{ font-size: 17px; }
  .brand-word .tag{ display:none; }
  .brand-mark-img{ height:28px; }
  .brand-strip{ padding: 7px 0; }
  .brand-strip-mark{ height: 20px; }

  .mobile-menu{
    background: var(--ink-2);
    border-left: 1px solid var(--border);
    padding: 100px 30px 40px;
    transition: transform .5s var(--ease), visibility .5s;
    display:flex;
    flex-direction:column;
    gap: 6px;
    overflow-y:auto;
  }
  .mobile-menu.is-open{ transform: translateX(0); }
  .mobile-menu a{
    padding: 15px 4px;
    font-size: 17px;
    font-weight:700;
    color: var(--paper);
    border-bottom: 1px solid var(--border-soft);
  }
  .mobile-menu .btn{ margin-top:24px; }
  .menu-scrim{
    background: rgba(4,5,8,.6);
    backdrop-filter: blur(3px);
    transition: opacity .4s ease, visibility .4s ease;
    pointer-events:auto;
  }
  .menu-scrim.is-open{ opacity:1; visibility:visible; }

  .vm-flow{ grid-template-columns:1fr; }
  .vm-divider{ width:100%; height:1px; background: linear-gradient(90deg, var(--border-soft), var(--cyan) 45%, var(--cyan) 55%, var(--border-soft)); }
  .svc{ grid-template-columns: 1fr; min-height:0; }
  .svc-list{ border-right:none; border-bottom: 1px solid var(--border); flex-direction: row; overflow-x:auto; }
  .svc-item{ border-bottom:none; border-right: 1px solid var(--border-soft); padding: 16px 18px; white-space:nowrap; }
  .svc-item:hover, .svc-item.is-active{ padding-left: 18px; }
  .svc-item-arrow{ display:none; }
  .svc-panel-list{ grid-template-columns: 1fr; }
  .approach-rail{ grid-template-columns: 1fr; }
  .why-body{ grid-template-columns:1fr; }
  .clients-grid{ grid-template-columns: repeat(2,1fr); }
  .team-grid{ grid-template-columns:1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .cta-banner{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 560px){
  .clients-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr; }
  .hero-stats{ gap: 26px; }
  .team-card{ grid-template-columns: 1fr; }
  .team-photo{ width:76px;height:76px; }
  .eclipse-stage{ width: 92vw; opacity:.55; right:-10vw; }
  .hero{ padding-top: 120px; }
  .nav .container{ gap: 10px; }
}
