/* =========================================================
   Universal Consultancy — shared stylesheet
   Reused across all pages (index, about, services, etc.)
   ========================================================= */
:root{
  --ink:#1A1030;
  --ink-2:#241A46;
  --paper:#FBF7EF;
  --paper-2:#F1EADA;
  --card:#FFFFFF;
  --accent:#FF5C39;
  --accent-dim:#E64B2A;
  --teal:#1FB8A6;
  --amber:#FFC24B;
  --text-dark:#1A1030;
  --text-muted-dark:#615A78;
  --text-light:#F6F2FF;
  --text-muted-light:#B7ADD6;
  --ease:cubic-bezier(.16,1,.3,1);
  --maxw:1240px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}
body{
  margin:0; background:var(--paper); color:var(--text-dark);
  font-family:'IBM Plex Sans', sans-serif; line-height:1.7;
  -webkit-font-smoothing:antialiased; overflow-x:hidden; cursor:default;
}
h1,h2,h3,h4{font-family:'Space Grotesk', sans-serif; font-weight:600; margin:0; line-height:1.08; letter-spacing:-0.02em;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
svg{max-width:100%;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 40px;}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}
::selection{background:var(--accent); color:#fff;}
.eyebrow{font-family:'Space Mono', monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; font-weight:700;}

/* cursor glow */
.cursor-glow{
  position:fixed; top:0; left:0; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,92,57,0.12), transparent 70%);
  pointer-events:none; z-index:999; transform:translate(-50%,-50%);
  mix-blend-mode:multiply; opacity:0; transition:opacity .4s ease;
}
@media (hover:hover){ .cursor-glow.active{opacity:1;} }

/* ===== Marquee ticker ===== */
.ticker{
  background:var(--ink); color:var(--text-light);
  overflow:hidden; white-space:nowrap; padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.ticker-track{display:inline-flex; animation:tickerMove 26s linear infinite;}
.ticker-track span{
  font-family:'Space Mono', monospace; font-size:12.5px; letter-spacing:.08em;
  padding:0 22px; display:inline-flex; align-items:center; gap:22px; color:var(--text-muted-light);
}
.ticker-track span b{color:var(--amber); font-weight:700;}
@keyframes tickerMove{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ===== Header ===== */
header{
  position:sticky; top:0; z-index:60;
  background:rgba(251,247,239,0.85); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(26,16,48,0.08);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:20px 40px; max-width:var(--maxw); margin:0 auto;}
.logo{font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:21px; display:flex; align-items:center; gap:9px;}
.logo-mark{width:24px; height:24px; flex:none;}
.nav-links{display:flex; gap:6px; list-style:none; margin:0; padding:0;}
.nav-links a{
  position:relative; font-size:14.5px; font-weight:500; padding:9px 15px; color:var(--text-dark);
}
.nav-links a::after{
  content:''; position:absolute; left:15px; right:15px; bottom:5px; height:2px; background:var(--accent);
  transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease);
}
.nav-links a:hover::after{transform:scaleX(1);}
.nav-cta{
  position:relative; background:var(--ink); color:var(--text-light);
  padding:12px 24px; border-radius:40px; font-weight:600; font-size:14px;
  transition:transform .2s var(--ease);
}
.menu-btn{display:none; background:none; border:none; font-size:24px; cursor:pointer; color:var(--text-dark);}

/* ===== HERO — split layout ===== */
.hero{padding:88px 0 84px; position:relative;}
.hero-grid{
  max-width:var(--maxw); margin:0 auto; padding:0 40px;
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center;
}
.hero-eyebrow{color:var(--accent); display:flex; align-items:center; gap:10px; margin-bottom:22px;}
.hero-eyebrow::before{content:''; width:30px; height:2px; background:var(--accent); display:inline-block;}
.hero h1{font-size:clamp(36px,5vw,64px); color:var(--text-dark);}
.hero h1 .hl{position:relative; display:inline-block; color:var(--accent);}
.hero h1 .hl svg{position:absolute; left:0; bottom:-10px; width:100%; height:16px;}
.hero h1 .hl svg path{stroke-dasharray:400; stroke-dashoffset:400; animation:drawUnderline 1.1s var(--ease) .6s forwards;}
@keyframes drawUnderline{to{stroke-dashoffset:0;}}
.hero p.lead{margin-top:24px; font-size:18px; color:var(--text-muted-dark); max-width:48ch;}
.hero-actions{margin-top:36px; margin-bottom:8px; display:flex; gap:16px; flex-wrap:wrap;}
.btn{
  position:relative; display:inline-flex; align-items:center; gap:8px;
  padding:15px 28px; border-radius:40px; font-weight:600; font-size:15px;
  cursor:pointer; transition:transform .2s var(--ease), box-shadow .3s var(--ease);
  border:none;
}
.btn-solid{background:var(--accent); color:#fff; box-shadow:0 10px 26px -8px rgba(255,92,57,0.55);}
.btn-solid:hover{box-shadow:0 16px 34px -8px rgba(255,92,57,0.65);}
.btn-outline{background:transparent; color:var(--text-dark); border:1.5px solid rgba(26,16,48,0.2);}
.btn-outline:hover{border-color:var(--ink); background:rgba(26,16,48,0.04);}

/* animated bridge illustration */
.bridge-wrap{position:relative; aspect-ratio:1/0.85;}
.bridge-wrap svg{width:100%; height:100%;}
.bridge-cable{stroke-dasharray:260; stroke-dashoffset:260; animation:cableDraw 1.4s var(--ease) forwards;}
@keyframes cableDraw{to{stroke-dashoffset:0;}}
.bridge-deck-float{animation:deckFloat 5s ease-in-out infinite;}
@keyframes deckFloat{0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);}}
.bridge-blob{
  position:absolute; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(31,184,166,0.18), transparent 70%);
  top:10%; right:-10%; z-index:-1; animation:blobFloat 9s ease-in-out infinite;
}
@keyframes blobFloat{0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-18px,20px) scale(1.05);}}

/* ===== Stats band ===== */
.stats-band{background:var(--ink); color:var(--text-light); padding:44px 0;}
.stats-row{display:grid; grid-template-columns:repeat(4,1fr);}
.stats-row > div{padding:0 30px; border-left:1px solid rgba(255,255,255,0.12);}
.stats-row > div:first-child{border-left:none;}
.stat-num{font-family:'Space Grotesk', sans-serif; font-size:38px; font-weight:700; color:var(--amber);}
.stat-label{font-family:'Space Mono', monospace; font-size:11.5px; letter-spacing:.06em; color:var(--text-muted-light); margin-top:6px; text-transform:uppercase;}

/* ===== Section shell ===== */
section{padding:110px 0;}
.section-head{max-width:600px; margin-bottom:56px;}
.section-head .eyebrow{color:var(--accent); margin-bottom:14px; display:block;}
.section-head h2{font-size:clamp(28px,3.4vw,44px);}
.section-head p{margin-top:16px; color:var(--text-muted-dark); font-size:16.5px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}

/* ===== INTRO strip ===== */
.intro{padding:90px 0; border-bottom:1px solid rgba(26,16,48,0.08);}
.intro-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;}
.intro h2{font-size:clamp(24px,2.8vw,34px); max-width:14ch;}
.intro-right p{font-size:16.5px; color:var(--text-muted-dark); margin:0 0 26px;}
.intro-chips{display:flex; gap:14px; flex-wrap:wrap;}
.intro-chip{
  display:flex; align-items:center; gap:10px; background:var(--card);
  border:1px solid rgba(26,16,48,0.08); border-radius:14px; padding:12px 16px;
  font-size:13.5px; font-weight:500;
}
.intro-chip .ic{width:8px; height:8px; border-radius:50%; flex:none;}

/* ===== SERVICES — auto-scrolling marquee ===== */
.services-marquee{overflow:hidden; padding:6px 0 10px;}
.services-track{display:flex; gap:22px; width:max-content; animation:servicesScroll 42s linear infinite; padding:0 40px;}
.services-track:hover{animation-play-state:paused;}
@keyframes servicesScroll{from{transform:translateX(0);} to{transform:translateX(-50%);}}
.service-card{
  width:310px; flex:0 0 auto;
  background:var(--card); border-radius:22px; padding:32px 26px;
  border:1px solid rgba(26,16,48,0.08);
  transition:transform .3s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover{transform:translateY(-6px); box-shadow:0 26px 50px -22px rgba(26,16,48,0.28);}
.service-tag{
  display:inline-block; font-family:'Space Mono', monospace; font-size:11px; font-weight:700;
  padding:5px 11px; border-radius:20px; margin-bottom:20px; letter-spacing:.04em;
}
.service-card h3{font-size:21px; margin-bottom:10px; font-weight:600;}
.service-card p{font-size:14.5px; color:var(--text-muted-dark); margin:0 0 16px;}
.service-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px;}
.service-list li{
  font-size:13.5px; color:var(--text-dark); display:flex; gap:8px; align-items:flex-start;
}
.service-list li::before{content:'—'; color:var(--accent); flex:none; font-weight:700;}

/* ===== WHY US — bento grid ===== */
.bento{
  display:grid; grid-template-columns:1.3fr 1fr 1fr; grid-template-rows:auto auto;
  grid-template-areas:"a b c" "a d d"; gap:20px;
}
.bento-card{
  background:var(--card); border-radius:22px; padding:30px 28px;
  border:1px solid rgba(26,16,48,0.08);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bento-card:hover{transform:translateY(-6px); box-shadow:0 24px 46px -22px rgba(26,16,48,0.25);}
.bento-a{grid-area:a; background:var(--ink); color:var(--text-light); display:flex; flex-direction:column; justify-content:space-between;}
.bento-a .big-num{font-family:'Space Grotesk', sans-serif; font-size:64px; color:var(--amber); font-weight:700;}
.bento-b{grid-area:b;}
.bento-c{grid-area:c;}
.bento-d{grid-area:d; display:flex; gap:28px; align-items:center;}
.bento-mark{font-family:'Space Mono', monospace; font-size:12px; color:var(--accent); font-weight:700; margin-bottom:14px; display:block;}
.bento-card h4{font-size:18px; margin-bottom:8px; font-weight:600;}
.bento-card p{font-size:14px; color:var(--text-muted-dark); margin:0;}
.bento-a p{color:var(--text-muted-light);}

/* ===== PROCESS — animated vertical timeline ===== */
.timeline{position:relative; padding-left:52px;}
.timeline-line{
  position:absolute; left:15px; top:6px; bottom:6px; width:2px; background:rgba(26,16,48,0.1);
}
.timeline-line-fill{
  position:absolute; top:0; left:0; width:100%; height:0%; background:var(--accent);
  transition:height 1.4s var(--ease);
}
.timeline.in-view .timeline-line-fill{height:100%;}
.t-step{position:relative; padding-bottom:52px;}
.t-step:last-child{padding-bottom:0;}
.t-dot{
  position:absolute; left:-52px; top:2px; width:32px; height:32px; border-radius:50%;
  background:var(--paper); border:2px solid rgba(26,16,48,0.15);
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Mono', monospace; font-size:12px; font-weight:700; color:var(--text-muted-dark);
  transition:all .5s var(--ease) .2s;
}
.timeline.in-view .t-dot{background:var(--accent); border-color:var(--accent); color:#fff;}
.t-step h4{font-size:19px; margin-bottom:8px; font-weight:600;}
.t-step p{font-size:14.5px; color:var(--text-muted-dark); margin:0; max-width:52ch;}

/* ===== FAQ accordion ===== */
.faq-list{border-top:1px solid rgba(26,16,48,0.1);}
.faq-item{border-bottom:1px solid rgba(26,16,48,0.1);}
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:24px 4px; font-family:'Space Grotesk', sans-serif; font-size:17px; font-weight:600; color:var(--text-dark);
}
.faq-q .plus{
  flex:none; width:26px; height:26px; border-radius:50%; border:1.5px solid rgba(26,16,48,0.2);
  display:flex; align-items:center; justify-content:center; position:relative; transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after{content:''; position:absolute; background:var(--text-dark); transition:transform .3s var(--ease);}
.faq-q .plus::before{width:10px; height:1.5px;}
.faq-q .plus::after{width:1.5px; height:10px;}
.faq-item.open .faq-q .plus{transform:rotate(45deg); border-color:var(--accent);}
.faq-item.open .faq-q .plus::before, .faq-item.open .faq-q .plus::after{background:var(--accent);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .4s var(--ease);}
.faq-a p{font-size:15px; color:var(--text-muted-dark); margin:0 0 24px; max-width:64ch; padding-right:46px;}

/* ===== TESTIMONIALS — marquee row ===== */
.testi-band{background:var(--paper-2); padding:100px 0; overflow:hidden;}
.testi-track{display:flex; gap:22px; width:max-content; animation:testiScroll 34s linear infinite;}
.testi-track:hover{animation-play-state:paused;}
@keyframes testiScroll{from{transform:translateX(0);} to{transform:translateX(-50%);}}
.testi-card{
  width:360px; flex:0 0 auto; background:var(--card); border-radius:20px; padding:28px 26px;
  border:1px solid rgba(26,16,48,0.08);
}
.testi-quote-mark{font-family:'Space Grotesk', sans-serif; font-size:44px; color:var(--accent); line-height:1; display:block; margin-bottom:6px;}
.testi-card p.quote{font-size:15px; color:var(--text-dark); margin:0 0 20px;}
.testi-who{display:flex; align-items:center; gap:12px;}
.testi-avatar{width:38px; height:38px; border-radius:50%; flex:none;}
.testi-name{font-weight:600; font-size:14px;}
.testi-role{font-size:12.5px; color:var(--text-muted-dark);}

/* ===== CTA — centered with blob ===== */
.cta{position:relative; text-align:center; overflow:hidden; padding:130px 0;}
.cta-blob{
  position:absolute; width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,92,57,0.16), transparent 70%);
  top:-220px; left:50%; transform:translateX(-50%); animation:blobFloat 10s ease-in-out infinite;
}
.cta h2{position:relative; font-size:clamp(30px,5vw,58px); max-width:16ch; margin:0 auto;}
.cta p{position:relative; margin:20px auto 40px; color:var(--text-muted-dark); font-size:17px; max-width:44ch;}

/* ===== Footer ===== */
footer{background:var(--ink); color:var(--text-muted-light); padding:80px 0 0; position:relative; overflow:hidden;}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.1);}
.footer-brand .logo{color:var(--text-light); margin-bottom:16px;}
.footer-grid p{font-size:14px; max-width:32ch;}
.footer-col h5{font-family:'Space Mono', monospace; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--amber); margin-bottom:16px;}
.footer-col ul{list-style:none; margin:0; padding:0;}
.footer-col li{margin-bottom:10px;}
.footer-col a{font-size:14.5px; transition:color .25s ease;}
.footer-col a:hover{color:#fff;}
.newsletter{display:flex; gap:8px; margin-top:6px;}
.newsletter input{
  flex:1; min-width:0; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.15);
  border-radius:30px; padding:11px 16px; color:#fff; font-size:13.5px; font-family:'IBM Plex Sans', sans-serif;
}
.newsletter input::placeholder{color:var(--text-muted-light);}
.newsletter button{
  flex:none; background:var(--accent); color:#fff; border:none; border-radius:30px;
  padding:11px 18px; font-weight:600; font-size:13.5px; cursor:pointer; transition:background .25s ease;
}
.newsletter button:hover{background:var(--accent-dim);}
.social-row{display:flex; gap:10px; margin-top:20px;}
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center; transition:background .25s ease, border-color .25s ease;
}
.social-row a:hover{background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.3);}
.social-row svg{width:15px; height:15px; stroke:var(--text-light); fill:none;}
.footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:24px 0; font-size:13px; position:relative; z-index:1;}
.footer-giant{
  font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:min(22vw,260px);
  color:transparent; -webkit-text-stroke:1px rgba(255,255,255,0.09); text-align:center;
  line-height:0.75; margin-top:20px; user-select:none;
}

/* ===== Page hero (secondary pages) ===== */
.page-hero{padding:80px 0 0; text-align:center;}
.page-hero .eyebrow{color:var(--accent); display:inline-flex; align-items:center; gap:10px; margin-bottom:20px;}
.page-hero .eyebrow::before, .page-hero .eyebrow::after{content:''; width:24px; height:2px; background:var(--accent); display:inline-block;}
.page-hero h1{font-size:clamp(32px,4.6vw,54px); max-width:18ch; margin:0 auto;}
.page-hero p.lead{font-size:17.5px; color:var(--text-muted-dark); max-width:56ch; margin:20px auto 0;}

/* jump nav pills */
.jump-nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:38px;}
.jump-nav a{
  font-size:13.5px; font-weight:600; padding:9px 18px; border-radius:30px;
  border:1.5px solid rgba(26,16,48,0.15); transition:border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.jump-nav a:hover{border-color:var(--accent); background:#FFEAE3; color:var(--accent-dim);}

/* ===== Service detail rows ===== */
.service-detail{padding:14px 0; scroll-margin-top:90px;}
.sd-card{
  background:var(--card); border:1px solid rgba(26,16,48,0.08); border-radius:28px;
  padding:52px; margin-bottom:22px;
  transition:box-shadow .4s var(--ease), transform .4s var(--ease);
}
.sd-card:hover{box-shadow:0 30px 60px -30px rgba(26,16,48,0.2); transform:translateY(-3px);}
.service-detail.rev .sd-card{background:var(--paper-2); border-color:rgba(26,16,48,0.06);}
.sd-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:center;}
.service-detail.rev .sd-grid{grid-template-columns:1.15fr 0.85fr;}
.service-detail.rev .sd-media{order:2;}
.service-detail.rev .sd-copy{order:1;}
.sd-icon-lg{
  width:60px; height:60px; min-width:60px; min-height:60px; max-width:60px; max-height:60px;
  border-radius:16px; display:flex; align-items:center; justify-content:center;
  margin-bottom:22px; overflow:hidden; box-shadow:0 1px 0 rgba(26,16,48,0.03) inset;
}
.sd-icon-lg svg{width:28px !important; height:28px !important; flex:none; fill:none; stroke:currentColor; stroke-width:1.6;}
.sd-num{font-family:'Space Mono', monospace; font-size:12px; font-weight:700; color:var(--accent); letter-spacing:.08em; display:block; margin-bottom:10px;}
.service-detail h2{font-size:clamp(24px,2.6vw,32px); margin-bottom:14px;}
.service-detail .sd-desc{font-size:16px; color:var(--text-muted-dark); max-width:48ch; margin-bottom:0;}
.sd-media{
  background:rgba(255,255,255,0.5); border:1px solid rgba(26,16,48,0.06); border-radius:18px; padding:26px 24px;
}
.service-detail.rev .sd-media{background:rgba(255,255,255,0.7);}
.sd-media h4{font-family:'Space Mono', monospace; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted-dark); margin-bottom:18px; font-weight:700;}
.sd-list{list-style:none; margin:0 0 26px; padding:0; display:flex; flex-direction:column; gap:12px;}
.sd-list li{font-size:14.5px; display:flex; gap:10px; align-items:flex-start;}
.sd-list li::before{content:'✓'; color:var(--teal); font-weight:700; flex:none;}
.sd-meta{display:flex; gap:24px; flex-wrap:wrap; padding-top:20px; border-top:1px solid rgba(26,16,48,0.08);}
.sd-meta div{font-size:13px;}
.sd-meta .k{color:var(--text-muted-dark); font-family:'Space Mono', monospace; font-size:11px; text-transform:uppercase; letter-spacing:.06em; display:block; margin-bottom:4px;}

/* ===== Engagement models ===== */
.engage-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.engage-card{
  background:var(--card); border:1px solid rgba(26,16,48,0.08); border-radius:22px; padding:32px 28px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.engage-card:hover{transform:translateY(-6px); box-shadow:0 24px 46px -22px rgba(26,16,48,0.22);}
.engage-card.featured{background:var(--ink); color:var(--text-light); border-color:var(--ink);}
.engage-card.featured .engage-note{color:var(--text-muted-light);}
.engage-badge{
  display:inline-block; font-family:'Space Mono', monospace; font-size:10.5px; font-weight:700;
  padding:5px 12px; border-radius:20px; background:#FFEAE3; color:var(--accent-dim); margin-bottom:18px; letter-spacing:.04em;
}
.engage-card.featured .engage-badge{background:rgba(255,194,75,0.16); color:var(--amber);}
.engage-card h3{font-size:21px; margin-bottom:10px;}
.engage-note{font-size:14px; color:var(--text-muted-dark); margin-bottom:20px;}
.engage-card ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
.engage-card li{font-size:13.5px; display:flex; gap:8px;}
.engage-card li::before{content:'—'; color:var(--accent); flex:none; font-weight:700;}
.engage-card.featured li::before{color:var(--amber);}

@media (max-width:920px){
  .sd-grid{grid-template-columns:1fr;}
  .service-detail.rev .sd-media{order:0;}
  .service-detail.rev .sd-copy{order:0;}
  .engage-grid{grid-template-columns:1fr;}
}

/* ===== Contact page ===== */
.contact-grid{display:grid; grid-template-columns:1fr 0.85fr; gap:44px; align-items:start;}
.contact-form-card{
  background:var(--card); border:1px solid rgba(26,16,48,0.08); border-radius:26px; padding:42px;
}
.contact-form-card h3{font-size:22px; margin-bottom:8px;}
.contact-form-card > p{color:var(--text-muted-dark); font-size:14.5px; margin:0 0 30px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
.field{display:flex; flex-direction:column; gap:7px;}
.field label{font-family:'Space Mono', monospace; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-muted-dark); font-weight:700;}
.field input, .field select, .field textarea{
  border:1.5px solid rgba(26,16,48,0.14); border-radius:12px; padding:12px 14px;
  font-family:'IBM Plex Sans', sans-serif; font-size:14.5px; color:var(--text-dark); background:var(--paper);
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgba(255,92,57,0.12);
}
.field textarea{resize:vertical; min-height:120px; font-family:'IBM Plex Sans', sans-serif;}
.form-note{font-size:12.5px; color:var(--text-muted-dark); margin-top:14px;}
.form-success{
  display:none; align-items:center; gap:10px; background:#E9F8F0; color:#1B7A4C;
  border-radius:12px; padding:14px 16px; font-size:14px; font-weight:500; margin-top:16px;
}
.form-success.show{display:flex;}

.contact-side{display:flex; flex-direction:column; gap:18px;}
.contact-info-card{
  background:var(--card); border:1px solid rgba(26,16,48,0.08); border-radius:20px; padding:24px 26px;
  display:flex; gap:16px; align-items:flex-start;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-info-card:hover{transform:translateY(-4px); box-shadow:0 20px 40px -22px rgba(26,16,48,0.2);}
.cic-icon{
  flex:none; width:44px; height:44px; min-width:44px; min-height:44px; max-width:44px; max-height:44px;
  border-radius:12px; display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.cic-icon svg{width:20px !important; height:20px !important; flex:none; stroke:currentColor; fill:none; stroke-width:1.7;}
.contact-info-card h4{font-size:15.5px; margin-bottom:4px; font-weight:600;}
.contact-info-card p{font-size:13.5px; color:var(--text-muted-dark); margin:0;}
.contact-info-card a{color:var(--text-dark); font-weight:500;}

.map-frame{
  border-radius:20px; overflow:hidden; border:1px solid rgba(26,16,48,0.08);
  height:220px; max-height:220px;
}
.map-frame iframe{width:100%; height:100%; max-height:220px; border:0; display:block; filter:grayscale(0.15);}

/* department cards */
.dept-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.dept-card{
  background:var(--card); border:1px solid rgba(26,16,48,0.08); border-radius:18px; padding:24px 22px;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dept-card:hover{transform:translateY(-5px); box-shadow:0 22px 42px -22px rgba(26,16,48,0.2);}
.dept-card h4{font-size:15.5px; margin-bottom:6px;}
.dept-card p{font-size:13px; color:var(--text-muted-dark); margin:0 0 12px;}
.dept-card a{font-size:13px; font-weight:600; color:var(--accent);}

@media (max-width:920px){
  .contact-grid{grid-template-columns:1fr;}
  .dept-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:680px){
  .form-row{grid-template-columns:1fr;}
  .contact-form-card{padding:26px 22px;}
  .dept-grid{grid-template-columns:1fr;}
}

/* ===== Reveal (progressive enhancement: visible by default, animated only once JS confirms it's ready) ===== */
.reveal{opacity:1; transition:opacity .8s var(--ease), transform .8s var(--ease);}
html.js .reveal{opacity:0;}
html.js .reveal.up{transform:translateY(26px);}
html.js .reveal.left{transform:translateX(-28px);}
html.js .reveal.right{transform:translateX(28px);}
html.js .reveal.scale{transform:scale(.93);}
.reveal.in-view{opacity:1; transform:none;}
.stagger .reveal:nth-child(1){transition-delay:.02s;}
.stagger .reveal:nth-child(2){transition-delay:.09s;}
.stagger .reveal:nth-child(3){transition-delay:.16s;}
.stagger .reveal:nth-child(4){transition-delay:.23s;}
.stagger .reveal:nth-child(5){transition-delay:.30s;}
.stagger .reveal:nth-child(6){transition-delay:.37s;}

/* ===== Responsive ===== */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;}
  .bridge-wrap{max-width:420px; margin:0 auto;}
  .stats-row{grid-template-columns:repeat(2,1fr); row-gap:26px;}
  .stats-row > div:nth-child(3){border-left:none;}
  .bento{grid-template-columns:1fr 1fr; grid-template-areas:"a a" "b c" "d d";}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .intro-grid{grid-template-columns:1fr; gap:30px;}
}
@media (max-width:680px){
  .nav-links, .nav-cta{display:none;}
  .menu-btn{display:block;}
  section{padding:64px 0;}
  .wrap{padding:0 20px;}
  .hero{padding:78px 0 56px;}
  .hero-grid{padding:0 20px; gap:44px;}
  .nav{padding:16px 20px;}
  .stats-row{grid-template-columns:1fr 1fr; row-gap:24px;}
  .stats-row > div{padding:0 16px;}
  .bento{grid-template-columns:1fr; grid-template-areas:"a" "b" "c" "d"; gap:16px;}
  .bento-d{flex-direction:column; align-items:flex-start;}
  .footer-grid{grid-template-columns:1fr; gap:34px;}
  .services-track{padding:0 20px; gap:16px;}
  .service-card{width:264px; padding:26px 22px;}
  .testi-card{width:280px; padding:24px 20px;}
  .intro{padding:60px 0;}
  .section-head{margin-bottom:38px;}
  .cta{padding:90px 0;}
  .faq-a p{padding-right:0;}
  .footer-giant{font-size:min(26vw,180px);}
  /* smoother, calmer motion on small screens */
  .reveal{transition-duration:.6s;}
  .bridge-blob, .cta-blob{display:none;}
  .btn{padding:14px 24px; font-size:14.5px;}

  /* mobile nav drawer */
  .nav-links.open{
    display:flex !important; flex-direction:column; position:absolute;
    top:58px; left:0; right:0; background:rgba(251,247,239,0.98);
    padding:0 22px; gap:0; border-bottom:1px solid rgba(26,16,48,0.08);
    max-height:0; overflow:hidden; opacity:0;
    transition:max-height .4s var(--ease), opacity .3s var(--ease), padding .4s var(--ease);
  }
  .nav-links.open.expanded{max-height:320px; opacity:1; padding:18px 22px;}
  .nav-links.open a{padding:12px 6px; border-bottom:1px solid rgba(26,16,48,0.06);}

  /* secondary page tweaks */
  .page-hero{padding:56px 0 0;}
  .jump-nav{margin-top:26px;}
  .service-detail{padding:8px 0;}
  .sd-card{padding:26px 22px; border-radius:22px;}
  .sd-grid{gap:24px;}
  .sd-media{padding:20px 18px;}
}

/* ===== FULL-BLEED HERO ===== */
.hero{
  position:relative;
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:0;
  text-align:center;
}
.hero-slides{ position:absolute; inset:0; }
.hslide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.06);
  transition:opacity 1.1s ease, transform 7s linear;
}
.hslide.is-active{ opacity:1; transform:scale(1); }
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(12,8,28,.70) 0%, rgba(12,8,28,.55) 45%, rgba(12,8,28,.78) 100%);
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width:1100px;
  padding:0 24px 90px;
}
.hero-headline{ margin:0; color:#fff; }
.hl-line1{
  display:block;
  font-size:clamp(38px,5.6vw,72px);
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.1;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.hl-line2{
  display:block;
  margin-top:12px;
  font-size:clamp(17px,2vw,30px);
  font-weight:400;
  letter-spacing:.01em;
  opacity:.95;
}
.hero-dots{
  position:absolute;
  left:0; right:0;
  bottom:150px;
  z-index:3;
  display:flex;
  justify-content:center;
  gap:9px;
}
.hero-dots button{
  width:9px; height:9px;
  padding:0; border:none; border-radius:50%;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  transition:all .3s ease;
}
.hero-dots button.active{ width:28px; border-radius:5px; background:#FF5C39; }

/* ===== CLIENT STRIP (overlapping cards) ===== */
.client-strip{
  position:relative;
  z-index:4;
  margin-top:-104px;
  margin-bottom:34px;
  overflow:hidden;
  padding:10px 0 18px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
.client-track{
  display:flex;
  align-items:stretch;
  gap:18px;
  width:max-content;
  animation:client-scroll 48s linear infinite;
}
.client-strip:hover .client-track{ animation-play-state:paused; }
.client-card{
  flex:0 0 auto;
  width:186px;
  background:#fff;
  border-radius:10px;
  padding:16px 14px 14px;
  text-align:center;
  box-shadow:0 8px 26px rgba(26,16,48,.14);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.cc-logo{
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}
.cc-logo img{ max-height:44px; max-width:120px; width:auto; height:auto; display:block; }
.cc-name{
  font-size:12.5px;
  font-weight:700;
  line-height:1.35;
  color:#1A1030;
  margin-bottom:4px;
}
.cc-country{
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.04em;
  color:#2B6CB0;
}
@keyframes client-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (max-width:768px){
  .hero{ min-height:430px; }
  .hero-inner{ padding-bottom:70px; }
  .hero-dots{ bottom:120px; }
  .client-strip{ margin-top:-84px; }
  .client-card{ width:152px; padding:13px 11px; }
  .cc-logo{ height:38px; }
  .cc-logo img{ max-height:34px; max-width:96px; }
}
@media (prefers-reduced-motion:reduce){
  .client-track{ animation:none; }
}


/* ===== RAIL ZONE (Services / Partners / Team) ===== */
.rail-zone{
  position:relative;
  z-index:4;
  margin-top:-104px;
  padding-bottom:40px;
}
.rail{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  margin-bottom:26px;
}
.rail:first-child .rail-marquee{ padding-top:10px; }
.rail-label{
  align-self:flex-start;
  display:flex;
  align-items:baseline;
  gap:9px;
  padding:12px 24px;
  margin:0 0 14px;
  background:linear-gradient(135deg,#1A1030 0%,#2A1A4A 100%);
  border-radius:0 10px 10px 0;
  box-shadow:0 8px 26px rgba(26,16,48,.22);
}
.rl-top{ font-size:11px; font-weight:700; letter-spacing:.22em; color:#FF5C39; }
.rl-main{ font-size:19px; font-weight:700; color:#fff; line-height:1.1; white-space:nowrap; }
.rail-marquee{
  width:100%;
  overflow:hidden;
  padding:6px 0 16px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
.rail-track{
  display:flex;
  align-items:stretch;
  gap:18px;
  width:max-content;
  animation:rail-scroll 52s linear infinite;
}
.rail:nth-child(2) .rail-track{ animation-direction:reverse; animation-duration:58s; }
.rail:nth-child(3) .rail-track{ animation-duration:46s; }
.rail-marquee:hover .rail-track{ animation-play-state:paused; }
@keyframes rail-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* shared card */
.rail-card{
  flex:0 0 auto;
  width:196px;
  background:#fff;
  border-radius:11px;
  padding:18px 14px 16px;
  text-align:center;
  box-shadow:0 8px 26px rgba(26,16,48,.14);
  display:flex;
  flex-direction:column;
  align-items:center;
  transition:transform .3s ease, box-shadow .3s ease;
}
.rail-card:hover{ transform:translateY(-5px); box-shadow:0 14px 34px rgba(26,16,48,.2); }
.rc-name{
  font-size:13px;
  font-weight:700;
  line-height:1.35;
  color:#1A1030;
  margin-bottom:4px;
}
.rc-sub{
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.04em;
  color:#2B6CB0;
}
.rc-logo, .rc-icon{
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}
.rc-logo img{ max-height:44px; max-width:124px; width:auto; display:block; }
.rc-icon img{ max-height:40px; max-width:40px; display:block; }
.rc-photo{
  width:78px; height:78px;
  margin:0 auto 13px;
  border-radius:50%;
  overflow:hidden;
  background:#EDE8F5;
  border:3px solid #fff;
  box-shadow:0 4px 14px rgba(26,16,48,.16);
}
.rc-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

@media (max-width:768px){
  .rail-zone{ margin-top:-84px; padding-bottom:26px; }
  .rail{ margin-bottom:20px; }
  .rail-label{ padding:11px 20px; margin-bottom:11px; }
  .rl-main{ font-size:17px; }
  .rl-top{ font-size:10px; }
  .rail-card{ width:158px; padding:15px 11px 13px; }
  .rc-logo, .rc-icon{ height:38px; margin-bottom:10px; }
  .rc-logo img{ max-height:34px; max-width:100px; }
  .rc-photo{ width:64px; height:64px; }
}
@media (prefers-reduced-motion:reduce){
  .rail-track{ animation:none; }
}

/* ===== RAIL LABEL — tighter box, bigger text ===== */
.rail-label{
  align-items:center;
  gap:11px;
  padding:8px 20px 8px 16px;
}
.rl-top{
  font-size:12px;
  letter-spacing:.2em;
}
.rl-main{
  font-size:30px;
  letter-spacing:-.015em;
}
@media (max-width:768px){
  .rail-label{ padding:7px 16px 7px 13px; gap:8px; }
  .rl-top{ font-size:10.5px; }
  .rl-main{ font-size:23px; }
}

/* ===== RAIL LABEL — fill the box ===== */
.rail-label{
  align-items:center;
  gap:14px;
  padding:14px 34px 14px 40px;
  min-height:78px;
}
.rl-top{
  font-size:15px;
  letter-spacing:.24em;
  font-weight:800;
}
.rl-main{
  font-size:44px;
  font-weight:800;
  letter-spacing:-.02em;
}
@media (max-width:768px){
  .rail-label{ padding:11px 22px 11px 20px; gap:10px; min-height:58px; }
  .rl-top{ font-size:12px; }
  .rl-main{ font-size:30px; }
}

/* label back to normal */
.rail-label{
  align-items:center;
  gap:10px;
  padding:10px 22px 10px 18px;
  min-height:auto;
}
.rl-top{ font-size:11px; letter-spacing:.2em; font-weight:700; }
.rl-main{ font-size:22px; font-weight:700; }


/* ===== SERVICES RAIL ONLY — bigger cards ===== */
.rail:nth-child(1) .rail-track{ gap:24px; }
.rail:nth-child(1) .rail-card{
  width:300px;
  padding:0 0 20px;
  border-radius:14px;
  overflow:hidden;
}
.rail:nth-child(1) .rc-icon{
  height:170px;
  width:100%;
  margin:0 0 16px;
  background:#F4F1FA;
  border-radius:0;
}
.rail:nth-child(1) .rc-icon img{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  display:block;
}
.rail:nth-child(1) .rc-name{ font-size:17px; margin-bottom:6px; padding:0 16px; }
.rail:nth-child(1) .rc-sub{ font-size:12.5px; padding:0 16px; }

@media (max-width:768px){
  .rail:nth-child(1) .rail-card{ width:220px; }
  .rail:nth-child(1) .rc-icon{ height:126px; margin-bottom:12px; }
  .rail:nth-child(1) .rc-name{ font-size:14.5px; padding:0 12px; }
  .rail:nth-child(1) .rc-sub{ font-size:11.5px; padding:0 12px; }
  .rail:nth-child(1) .rail-track{ gap:16px; }
}



/* contact/services page: trim top gap */
.page-hero{
  min-height:auto;
  padding:64px 0 12px;
}
.page-hero .lead{ margin-bottom:0; }
@media (max-width:768px){
  .page-hero{ padding:44px 0 8px; }
}


/* all rails: scroll right → left */
.rail-track,
.rail:nth-child(1) .rail-track,
.rail:nth-child(2) .rail-track,
.rail:nth-child(3) .rail-track{
  animation-direction:normal;
}

/* ===== HERO: lighter image, sharper text ===== */
.hero-overlay{
  background:linear-gradient(180deg,
    rgba(10,6,24,.34) 0%,
    rgba(10,6,24,.14) 38%,
    rgba(10,6,24,.30) 72%,
    rgba(10,6,24,.58) 100%);
}
.hero-inner{
  opacity:0;
  transition:opacity .75s ease;
  pointer-events:none;
}
.hero-inner.show{ opacity:1; }
.hero-headline{
  display:inline-block;
  padding:30px 46px;
  background:rgba(12,8,28,.42);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  border-radius:16px;
}
.hl-line1{
  color:#fff;
  text-shadow:0 3px 20px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5);
}
.hl-line2{
  color:#fff;
  opacity:.92;
  text-shadow:0 2px 12px rgba(0,0,0,.6);
}
@media (max-width:768px){
  .hero-headline{ padding:20px 24px; border-radius:12px; }
}

/* ===== HERO: no zoom, right-aligned text, no box ===== */
.hslide{
  transform:none !important;
  transition:opacity 1.1s ease;
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#EDEAF3;
}
.hero{
  justify-content:flex-end;
  text-align:right;
}
.hero-inner{
  max-width:none;
  width:100%;
  padding:0 6vw 90px 0;
  display:flex;
  justify-content:flex-end;
}
.hero-headline{
  padding:0;
  background:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-radius:0;
  max-width:640px;
  text-align:right;
}
.hl-line1{
  text-shadow:
    0 2px 10px rgba(0,0,0,.55),
    0 6px 30px rgba(0,0,0,.45),
    0 0 2px rgba(0,0,0,.5);
}
.hl-line2{
  opacity:.96;
  text-shadow:
    0 2px 8px rgba(0,0,0,.6),
    0 4px 18px rgba(0,0,0,.4);
}
.hero-overlay{
  background:linear-gradient(270deg,
    rgba(10,6,24,.52) 0%,
    rgba(10,6,24,.30) 34%,
    rgba(10,6,24,.06) 62%,
    rgba(10,6,24,.02) 100%);
}
@media (max-width:768px){
  .hero-inner{ padding:0 5vw 70px 5vw; justify-content:center; }
  .hero-headline{ text-align:center; max-width:100%; }
  .hero{ justify-content:center; }
  .hero-overlay{ background:linear-gradient(180deg, rgba(10,6,24,.30), rgba(10,6,24,.50)); }
}


/* footer giant word — fit full brand name */
.footer-giant{
  font-size:min(7.4vw,104px);
  letter-spacing:.02em;
  white-space:nowrap;
  overflow:visible;
  line-height:1;
  margin-top:26px;
}
@media (max-width:768px){
  .footer-giant{ font-size:min(8.6vw,58px); }
}

/* footer giant — full two-word brand */
.footer-giant{ font-size:min(4.2vw,60px); }
@media (max-width:768px){
  .footer-giant{ font-size:min(5vw,30px); }
}
