/* =========================================================
   FORTIS ENGINEERING — Design Tokens
   ========================================================= */
:root{
  /* Color */
  --navy-950:#060B13;
  --navy-900:#0A1220;
  --navy-800:#0F1B2E;
  --navy-700:#16263D;
  --red-700:#7A0000;
  --red-600:#A40001;
  --red-500:#C31A1A;
  --off-white:#F5F4EF;
  --white:#FFFFFF;
  --ink:#0B121E;
  --gray-500:#8A93A6;
  --gray-600:#5B6472;
  --gray-300:#C7CDD9;
  --line-dark:rgba(255,255,255,0.10);
  --line-light:rgba(11,18,30,0.10);

  /* Type */
  --font-display:'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --container:1240px;
  --gutter:32px;
  --radius-s:4px;
  --radius-m:10px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;scroll-behavior:auto !important;}
  .hero__glow{animation:none;}
}

body{
  margin:0;
  background:var(--off-white);
  color:var(--ink);
  font-family:var(--font-body);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-0.01em;
  margin:0 0 0.5em;
  color:var(--ink);
}
h1{font-size:clamp(2.4rem,4.6vw,4.3rem);}
h2{font-size:clamp(1.9rem,3.4vw,3.1rem);}
h3{font-size:clamp(1.15rem,1.6vw,1.4rem);}
p{margin:0 0 1em;color:var(--gray-600);}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;}

.mono{font-family:var(--font-mono);}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter);
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:0.78rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--red-600);
  margin:0 0 1em;
  font-weight:500;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:var(--red-600);
  color:#fff;
  padding:12px 20px;
  z-index:999;
  font-family:var(--font-mono);
  font-size:0.85rem;
}
.skip-link:focus{left:12px;top:12px;}

:focus-visible{
  outline:2px solid var(--red-600);
  outline-offset:3px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-mono);
  font-size:0.85rem;
  letter-spacing:0.04em;
  padding:14px 26px;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn--primary{
  background:var(--red-600);
  color:#fff;
  border-color:var(--red-600);
}
.btn--primary:hover{background:var(--red-500);transform:translateY(-2px);}
.btn--ghost{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,0.35);
}
.btn--ghost:hover{border-color:#fff;transform:translateY(-2px);}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal{opacity:1;transform:none;}
.js .reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible{opacity:1;transform:translateY(0);}

/* =========================================================
   GLOBAL SCROLL PROGRESS BAR
   ========================================================= */
.progress-bar{
  position:fixed;
  top:0; left:0; right:0;
  height:3px;
  z-index:300;
  background:transparent;
}
.progress-bar span{
  display:block;
  height:100%;
  width:0%;
  background:linear-gradient(90deg,var(--red-700),var(--red-500));
  box-shadow:0 0 10px rgba(164,0,1,0.6);
  transition:width .1s linear;
}

/* =========================================================
   CAPABILITY TICKER
   ========================================================= */
.ticker{
  background:var(--navy-900);
  border-top:1px solid var(--line-dark);
  border-bottom:1px solid var(--line-dark);
  overflow:hidden;
  padding:16px 0;
  white-space:nowrap;
}
.ticker__track{
  display:inline-flex;
  align-items:center;
  gap:18px;
  animation:tickerScroll 34s linear infinite;
  will-change:transform;
}
.ticker:hover .ticker__track{animation-play-state:paused;}
.ticker__track span{
  font-family:var(--font-mono);
  font-size:0.85rem;
  letter-spacing:0.05em;
  color:rgba(255,255,255,0.55);
}
.ticker__dot{color:var(--red-600) !important;font-size:0.6rem !important;}
@keyframes tickerScroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:200;
  background:rgba(6,11,19,0.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(6,11,19,0.92);
  border-bottom-color:var(--line-dark);
}
.nav{
  max-width:var(--container);
  margin:0 auto;
  padding:14px var(--gutter);
  display:flex;
  align-items:center;
  gap:28px;
}
.nav__brand{display:flex;align-items:center;flex-shrink:0;}
.nav__logo{height:56px;width:auto;}
.nav__links{
  display:flex;
  gap:30px;
  margin-left:12px;
  flex:1;
}
.nav__links a{
  font-size:0.92rem;
  color:rgba(255,255,255,0.82);
  position:relative;
  padding:6px 0;
  transition:color .3s var(--ease);
}
.nav__links a::after{
  content:'';
  position:absolute;
  left:0; right:100%; bottom:0;
  height:1px;
  background:var(--red-600);
  transition:right .3s var(--ease);
}
.nav__links a:hover{color:#fff;}
.nav__links a:hover::after,
.nav__links a.is-active::after{right:0;}
.nav__links a.is-active{color:#fff;}
.nav__cta{flex-shrink:0;}

.nav__toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px;height:38px;
  background:transparent;
  border:1px solid var(--line-dark);
  border-radius:2px;
  cursor:pointer;
}
.nav__toggle span{
  display:block;
  height:1.5px;
  width:18px;
  margin:0 auto;
  background:#fff;
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.nav__toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav__toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

.mobile-menu{
  display:none;
  position:fixed;
  inset:0 0 0 0;
  top:84px;
  background:var(--navy-950);
  z-index:190;
  padding:36px var(--gutter);
  transform:translateY(-8px);
  opacity:0;
  pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu.is-open{opacity:1;transform:translateY(0);pointer-events:auto;}
.mobile-menu ul{display:flex;flex-direction:column;gap:6px;}
.mobile-menu a{
  display:block;
  font-family:var(--font-display);
  font-size:1.8rem;
  color:#fff;
  padding:14px 0;
  border-bottom:1px solid var(--line-dark);
}
.mobile-menu__cta{margin-top:28px;width:100%;justify-content:center;}

@media (max-width:960px){
  .nav__links{display:none;}
  .nav__cta{display:none;}
  .nav__toggle{display:flex;}
  .mobile-menu{display:block;}
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, #16263D 0%, var(--navy-950) 60%),
    linear-gradient(180deg,var(--navy-950),var(--navy-900) 60%, var(--navy-950));
  color:#fff;
  overflow:hidden;
}
.hero__canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0.85;
}
.hero__grid{
  position:absolute;
  inset:-5% -5%;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  will-change:transform;
}
.hero__glow{
  position:absolute;
  top:-20%; left:-20%;
  width:140%; height:140%;
  background:radial-gradient(360px circle at 50% 35%, rgba(164,0,1,0.18), transparent 60%);
  pointer-events:none;
  will-change:transform;
  animation:heroGlowDrift 16s ease-in-out infinite;
}
.hero__glow.is-tracking{animation-play-state:paused;}
@keyframes heroGlowDrift{
  0%{transform:translate(0,0);}
  25%{transform:translate(6%,4%);}
  50%{transform:translate(-3%,7%);}
  75%{transform:translate(-6%,-3%);}
  100%{transform:translate(0,0);}
}
.hero__rings{
  position:absolute;
  top:50%; right:6%;
  width:520px; height:520px;
  transform:translateY(-50%);
  pointer-events:none;
  opacity:0.5;
}
.hero__rings svg{width:100%;height:100%;}
.hero__rings circle{
  fill:none;
  stroke:rgba(164,0,1,0.35);
  stroke-width:1;
}
.hero__rings .ring-1{animation:ringSpin 40s linear infinite;transform-origin:260px 260px;}
.hero__rings .ring-2{animation:ringSpin 60s linear infinite reverse;transform-origin:260px 260px;stroke:rgba(255,255,255,0.12);}
.hero__rings .ring-3{animation:ringPulse 6s ease-in-out infinite;transform-origin:260px 260px;}
@keyframes ringSpin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
@keyframes ringPulse{
  0%,100%{opacity:0.5;transform:scale(1);}
  50%{opacity:0.9;transform:scale(1.04);}
}
@media (max-width:900px){.hero__rings{display:none;}}
.hero__vignette{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 40%, var(--navy-950) 96%);
}
.hero__content{
  position:relative;
  z-index:2;
  padding-top:132px;
  padding-bottom:64px;
}
.hero__eyebrow{color:var(--red-500);}
.hero__headline{
  max-width:20ch;
  margin-bottom:0.42em;
  color:#fff;
}
.hero__headline .word{
  display:inline-block;
  overflow:hidden;
  vertical-align:top;
}
.hero__headline .word span{
  display:inline-block;
  transform:translateY(110%);
  transition:transform .8s var(--ease);
  transition-delay:calc(var(--i) * 0.045s);
}
.hero__headline.is-revealed .word span{transform:translateY(0);}
.hero__sub{
  font-size:1.1rem;
  color:rgba(255,255,255,0.72);
  max-width:46ch;
  margin-bottom:2em;
}
.hero__ctas{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:3em;
}
.hero__indicators{
  display:flex;
  gap:32px;
  flex-wrap:wrap;
  font-family:var(--font-mono);
  font-size:0.8rem;
  letter-spacing:0.04em;
  color:rgba(255,255,255,0.6);
}
.hero__indicators li{display:flex;align-items:center;gap:9px;}
.hero__indicators .dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--red-600);
  box-shadow:0 0 10px 2px rgba(164,0,1,0.7);
}
.hero__scroll{
  position:absolute;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  width:26px;height:42px;
  border:1px solid rgba(255,255,255,0.35);
  border-radius:20px;
}
.hero__scroll span{
  position:absolute;
  top:8px;left:50%;
  width:3px;height:8px;
  margin-left:-1.5px;
  background:#fff;
  border-radius:2px;
  animation:scrollDot 2.2s infinite var(--ease);
}
@keyframes scrollDot{
  0%{opacity:1;transform:translateY(0);}
  70%{opacity:0;transform:translateY(14px);}
  100%{opacity:0;transform:translateY(14px);}
}

@media (max-width:640px){
  .hero__content{padding-top:110px;}
  .hero__ctas{flex-direction:column;align-items:flex-start;}
  .hero__ctas .btn{width:100%;justify-content:center;}
}

/* =========================================================
   SECTION HEAD (shared)
   ========================================================= */
.section-head{
  max-width:760px;
  margin:0 0 64px;
}
.section-head__sub{font-size:1.05rem;max-width:60ch;}

section{position:relative;padding:120px 0;}
@media (max-width:768px){section{padding:80px 0;}}

/* =========================================================
   ABOUT
   ========================================================= */
.about{background:var(--off-white);}
.about__grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:80px;
  align-items:start;
}
.about__frame{
  border-radius:var(--radius-m);
  overflow:hidden;
  border:1px solid var(--line-light);
  box-shadow:0 30px 60px -30px rgba(10,20,40,0.35);
}
.about__art{width:100%;display:block;}
.about__frame-label{
  margin-top:14px;
  font-size:0.72rem;
  letter-spacing:0.1em;
  color:var(--gray-500);
}
.about__copy h2{max-width:16ch;}
.about__qa{
  display:grid;
  gap:28px;
  margin:36px 0;
  padding-top:36px;
  border-top:1px solid var(--line-light);
}
.about__q h3{margin-bottom:0.35em;}
.about__q p{margin:0;}

.about__principles{
  display:grid;
  gap:0;
  margin:36px 0 28px;
}
.about__principles li{
  display:flex;
  align-items:baseline;
  gap:16px;
  padding:14px 0;
  border-top:1px solid var(--line-light);
  font-family:var(--font-display);
  font-size:1.05rem;
  color:var(--ink);
  transition:padding-left .35s var(--ease), color .35s var(--ease);
}
.about__principles li:hover{padding-left:8px;color:var(--red-600);}
.about__principles li:last-child{border-bottom:1px solid var(--line-light);}
.about__principle-mark{
  font-family:var(--font-mono);
  font-size:0.78rem;
  color:var(--red-600);
  flex-shrink:0;
}

.about__mission{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  padding:28px;
  background:var(--navy-950);
  border-radius:var(--radius-m);
}
.about__mission-item p{color:rgba(255,255,255,0.7);margin:0;font-size:0.95rem;}
.about__mission-label{
  display:block;
  color:var(--red-500);
  font-size:0.72rem;
  letter-spacing:0.14em;
  margin-bottom:10px;
}

/* Stats strip */
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line-light);
  border:1px solid var(--line-light);
  margin-top:64px;
}
.stats li{
  background:var(--off-white);
  padding:30px 26px;
  text-align:left;
}
.stats__num{
  display:block;
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2.2rem,3.4vw,3rem);
  color:var(--red-600);
  line-height:1;
  margin-bottom:8px;
}
.stats__label{
  display:block;
  font-family:var(--font-mono);
  font-size:0.76rem;
  letter-spacing:0.04em;
  color:var(--gray-600);
}

@media (max-width:900px){
  .about__grid{grid-template-columns:1fr;gap:48px;}
  .about__mission{grid-template-columns:1fr;}
  .stats{grid-template-columns:1fr 1fr;}
}

/* =========================================================
   SERVICES
   ========================================================= */
.services{background:var(--navy-950);color:#fff;}
.services .eyebrow{color:var(--red-500);}
.services h2{color:#fff;}
.services .section-head__sub{color:rgba(255,255,255,0.6);}

.services__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line-dark);
  border:1px solid var(--line-dark);
  perspective:1200px;
}
.service-card{
  background:var(--navy-950);
  padding:38px 34px 34px;
  display:flex;
  flex-direction:column;
  gap:18px;
  min-height:340px;
  position:relative;
  overflow:hidden;
  transition:background .4s var(--ease), transform .25s var(--ease);
  transform-style:preserve-3d;
  will-change:transform;
}
.service-card::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;height:2px;
  background:var(--red-600);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .45s var(--ease);
}
.service-card:hover{background:var(--navy-900);}
.service-card:hover::before{transform:scaleX(1);}
.service-card__visual{
  height:64px;width:64px;
  color:var(--red-600);
  opacity:0.9;
  transition:transform .5s var(--ease);
}
.service-card:hover .service-card__visual{transform:translateY(-4px) scale(1.06);}
.service-card__visual svg{width:100%;height:100%;}
.service-card__num{
  position:absolute;
  top:34px; right:34px;
  color:rgba(255,255,255,0.18);
  font-size:0.85rem;
  letter-spacing:0.08em;
}
.service-card__body{display:flex;flex-direction:column;gap:10px;flex:1;}
.service-card h3{color:#fff;font-size:1.15rem;max-width:22ch;}
.service-card p{color:rgba(255,255,255,0.58);font-size:0.94rem;margin:0;}
.service-card__tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:2px 0 0;
}
.service-card__tags li{
  font-family:var(--font-mono);
  font-size:0.7rem;
  letter-spacing:0.03em;
  color:rgba(255,255,255,0.55);
  border:1px solid var(--line-dark);
  border-radius:20px;
  padding:5px 11px;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.service-card:hover .service-card__tags li{border-color:rgba(164,0,1,0.4);color:rgba(255,255,255,0.75);}
.service-card__link{
  font-family:var(--font-mono);
  font-size:0.82rem;
  color:var(--red-500);
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:auto;
  padding-top:8px;
  width:fit-content;
}
.service-card__link span{transition:transform .3s var(--ease);}
.service-card:hover .service-card__link span{transform:translateX(4px);}

@media (max-width:960px){.services__grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.services__grid{grid-template-columns:1fr;}}

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries{background:var(--off-white);}
.industries__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
}
.industry-card{
  background:#fff;
  border:1px solid var(--line-light);
  border-radius:var(--radius-m);
  padding:32px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.industry-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 50px -30px rgba(10,20,40,0.28);
  border-color:rgba(164,0,1,0.25);
}
.industry-card__visual{
  width:52px;height:52px;
  color:var(--red-600);
  margin-bottom:20px;
}
.industry-card__visual svg{width:100%;height:100%;}
.industry-card h3{margin-bottom:10px;font-size:1.1rem;}
.industry-card p{font-size:0.94rem;margin-bottom:0;}
.industry-card__reveal{
  max-height:0;
  overflow:hidden;
  transition:max-height .45s var(--ease), margin .45s var(--ease);
}
.industry-card:hover .industry-card__reveal,
.industry-card:focus-within .industry-card__reveal,
.industry-card.is-open .industry-card__reveal{
  max-height:140px;
  margin:16px 0;
}
.industry-card__reveal ul{display:flex;flex-direction:column;gap:6px;}
.industry-card__reveal li{
  font-size:0.86rem;
  color:var(--gray-600);
  padding-left:16px;
  position:relative;
}
.industry-card__reveal li::before{
  content:'';
  position:absolute;left:0;top:8px;
  width:6px;height:1px;background:var(--red-600);
}
.industry-card .service-card__link{color:var(--red-600);}

/* =========================================================
   APPROACH
   ========================================================= */
.approach{background:var(--navy-950);color:#fff;padding-bottom:60px;}
.approach .eyebrow{color:var(--red-500);}
.approach h2{color:#fff;}

.approach__track-wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter);
}
.approach__progress{
  position:relative;
  height:1px;
  background:var(--line-dark);
  margin-bottom:0;
}
.approach__progress span{
  position:absolute;
  left:0;top:0;
  height:100%;
  width:0%;
  background:var(--red-600);
  transition:width .3s linear;
}
.approach__track{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  padding-top:44px;
}
.approach__step{
  display:block;
  width:100%;
  text-align:left;
  background:transparent;
  border:none;
  padding:0 24px 0 0;
  border-left:1px solid var(--line-dark);
  padding-left:24px;
  cursor:pointer;
  transition:border-color .35s var(--ease);
}
.approach__step:hover{border-left-color:rgba(255,255,255,0.3);}
.approach__step.is-active{border-left-color:var(--red-600);}
.approach__num{
  display:block;
  color:var(--red-500);
  font-size:0.85rem;
  margin-bottom:16px;
  transition:transform .35s var(--ease);
}
.approach__step.is-active .approach__num{transform:scale(1.15);}
.approach__step h3{color:#fff;margin-bottom:10px;}
.approach__step p{color:rgba(255,255,255,0.6);font-size:0.92rem;margin:0;}
.approach__detail{
  display:block;
  max-height:0;
  overflow:hidden;
  opacity:0;
  color:rgba(255,255,255,0.5);
  font-size:0.86rem;
  line-height:1.55;
  transition:max-height .45s var(--ease), opacity .4s var(--ease), margin .45s var(--ease);
}
.approach__step.is-active .approach__detail{
  max-height:160px;
  opacity:1;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line-dark);
}

@media (max-width:900px){
  .approach__track{
    grid-template-columns:1fr;
    gap:0;
  }
  .approach__step{border-left:none;border-top:1px solid var(--line-dark);padding:22px 0;}
  .approach__step.is-active{border-top-color:var(--red-600);}
  .approach__progress{display:none;}
}

/* =========================================================
   WHY FORTIS
   ========================================================= */
.why{background:var(--off-white);}
.why__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line-light);
  border:1px solid var(--line-light);
}
.why__item{
  background:var(--off-white);
  padding:40px 34px;
  transition:background .35s var(--ease);
}
.why__item:hover{background:#fff;}
.why__item h3{
  font-size:1.35rem;
  margin-bottom:12px;
  position:relative;
  padding-bottom:16px;
}
.why__item h3::after{
  content:'';
  position:absolute;
  left:0;bottom:0;
  width:32px;height:2px;
  background:var(--red-600);
}
.why__item p{margin:0;font-size:0.95rem;}

@media (max-width:900px){.why__grid{grid-template-columns:1fr;}}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects{background:var(--off-white);}
.projects__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.project-card{
  background:#fff;
  border:1px dashed var(--gray-300);
  border-radius:var(--radius-m);
  padding:30px;
}
.project-card__tag{
  display:inline-block;
  font-size:0.68rem;
  letter-spacing:0.08em;
  color:var(--red-600);
  background:rgba(164,0,1,0.08);
  padding:6px 10px;
  border-radius:3px;
  margin-bottom:18px;
}
.project-card__meta{
  display:block;
  font-size:0.75rem;
  color:var(--gray-500);
  margin-bottom:8px;
}
.project-card h3{font-size:1.05rem;margin-bottom:14px;color:var(--gray-600);font-style:italic;}
.project-card__field{font-size:0.88rem;margin-bottom:10px;}
.project-card__field strong{color:var(--ink);}

@media (max-width:900px){.projects__grid{grid-template-columns:1fr;}}

/* =========================================================
   CTA / CONTACT
   ========================================================= */
.cta{
  background:linear-gradient(180deg,var(--navy-900),var(--navy-950));
  color:#fff;
}
.cta .eyebrow{color:var(--red-500);}
.cta h2{color:#fff;max-width:14ch;}
.cta__sub{
  font-family:var(--font-display);
  font-size:1.3rem;
  color:rgba(255,255,255,0.75);
  margin-bottom:2em;
}
.cta__grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:70px;
}
.cta__contact-list{display:flex;flex-direction:column;gap:20px;margin-top:2.4em;}
.cta__contact-list li{display:flex;flex-direction:column;gap:4px;}
.cta__contact-list .mono{font-size:0.72rem;letter-spacing:0.12em;color:var(--gray-500);}
.cta__contact-list a{font-size:1.1rem;transition:color .3s var(--ease);}
.cta__contact-list a:hover{color:var(--red-500);}

.cta__clock{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:2.6em;
  padding:10px 16px;
  border:1px solid var(--line-dark);
  border-radius:30px;
  width:fit-content;
}
.cta__clock-dot{
  width:7px;height:7px;border-radius:50%;
  background:#3ecF6e;
  box-shadow:0 0 8px 2px rgba(62,207,110,0.65);
  animation:pulseDot 2.4s infinite ease-in-out;
}
@keyframes pulseDot{
  0%,100%{opacity:1;}
  50%{opacity:0.35;}
}
.cta__clock #localClock{color:#fff;font-size:0.88rem;letter-spacing:0.03em;}
.cta__clock-label{font-size:0.8rem;color:rgba(255,255,255,0.5);}

.cta__form{
  background:rgba(255,255,255,0.03);
  border:1px solid var(--line-dark);
  border-radius:var(--radius-m);
  padding:36px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.form-row{display:flex;flex-direction:column;gap:8px;}
.form-row--split{
  flex-direction:row;
  gap:20px;
}
.form-row--split > div{flex:1;display:flex;flex-direction:column;gap:8px;}
.cta__form label{
  font-family:var(--font-mono);
  font-size:0.75rem;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.55);
}
.cta__form input,
.cta__form select,
.cta__form textarea{
  background:rgba(255,255,255,0.04);
  border:1px solid var(--line-dark);
  border-radius:3px;
  padding:12px 14px;
  color:#fff;
  font-family:var(--font-body);
  font-size:0.95rem;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.cta__form input:focus,
.cta__form select:focus,
.cta__form textarea:focus{
  border-color:var(--red-600);
  background:rgba(255,255,255,0.06);
  outline:none;
}
.cta__form textarea{resize:vertical;}
.cta__submit{justify-content:center;margin-top:8px;}
.cta__form-status{
  font-family:var(--font-mono);
  font-size:0.82rem;
  color:var(--red-500);
  min-height:1.2em;
  margin:0;
}

@media (max-width:900px){
  .cta__grid{grid-template-columns:1fr;gap:44px;}
  .form-row--split{flex-direction:column;}
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--navy-950);
  color:rgba(255,255,255,0.6);
  padding:80px 0 0;
}
.site-footer__grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:60px;
  border-bottom:1px solid var(--line-dark);
}
.site-footer__logo{height:64px;width:auto;margin-bottom:18px;}
.site-footer__brand p{color:rgba(255,255,255,0.5);font-size:0.92rem;max-width:34ch;}
.site-footer__col h4{
  color:rgba(255,255,255,0.85);
  font-size:0.75rem;
  letter-spacing:0.1em;
  margin-bottom:18px;
}
.site-footer__col ul{display:flex;flex-direction:column;gap:11px;}
.site-footer__col a{
  font-size:0.9rem;
  color:rgba(255,255,255,0.55);
  transition:color .3s var(--ease);
}
.site-footer__col a:hover{color:#fff;}
.site-footer__col li{font-size:0.9rem;color:rgba(255,255,255,0.55);}

.site-footer__bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:26px 0;
  font-size:0.8rem;
}

@media (max-width:900px){
  .site-footer__grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .site-footer__grid{grid-template-columns:1fr;}
}

/* =========================================================
   BLUEPRINT SYSTEM — shared texture, coordinates, status UI
   Used by the new interactive infrastructure sections.
   ========================================================= */
.blueprint-section{
  position:relative;
  background:var(--navy-950);
  color:#fff;
  overflow:hidden;
  padding:110px 0;
}
.blueprint-section + .blueprint-section{border-top:1px solid var(--line-dark);}
.blueprint-section__grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size:56px 56px;
  opacity:0.5;
  pointer-events:none;
}
.blueprint-section__coord{
  position:absolute;
  font-family:var(--font-mono);
  font-size:0.68rem;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.28);
  pointer-events:none;
  z-index:1;
}
.blueprint-section__coord::before{content:'+';margin-right:6px;color:rgba(196,26,26,0.5);}
.blueprint-section__coord--tl{top:28px;left:var(--gutter);}
.blueprint-section__coord--tr{top:28px;right:var(--gutter);text-align:right;}
.blueprint-section__coord--br{bottom:28px;right:var(--gutter);text-align:right;}
.blueprint-section .container{position:relative;z-index:2;}
.blueprint-section .eyebrow{color:var(--red-500);}
.blueprint-section h2{color:#fff;}
.blueprint-section .section-head__sub{color:rgba(255,255,255,0.55);}

.section-head--split{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:56px;
}
.section-head--split .section-head__sub{max-width:46ch;margin:0;}

/* ---- Status strip (simulated reference indicators) ---- */
.status-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px 28px;
  margin-top:28px;
}
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--font-mono);
  font-size:0.74rem;
  letter-spacing:0.06em;
  color:rgba(255,255,255,0.55);
}
.status-pill__dot{
  width:7px;height:7px;
  border-radius:50%;
  background:#3DDC84;
  box-shadow:0 0 8px rgba(61,220,132,0.7);
  flex-shrink:0;
  animation:statusPulse 2.4s ease-in-out infinite;
}
.status-pill__label{color:rgba(255,255,255,0.38);}
.status-pill__value{color:rgba(255,255,255,0.85);}
@keyframes statusPulse{
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:0.55;transform:scale(0.72);}
}
.status-strip__tag{
  font-family:var(--font-mono);
  font-size:0.66rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.3);
  border:1px solid var(--line-dark);
  padding:5px 10px;
  border-radius:2px;
}

/* ---- Reusable hover/click info panel used by diagrams ---- */
.diagram-panel{
  border:1px solid var(--line-dark);
  background:rgba(255,255,255,0.03);
  padding:26px 28px;
  min-height:132px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.diagram-panel__label{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--red-500);
}
.diagram-panel__title{font-family:var(--font-display);font-size:1.2rem;color:#fff;margin:0;}
.diagram-panel__text{font-size:0.92rem;color:rgba(255,255,255,0.58);margin:0;}
.diagram-panel.is-active{border-color:rgba(196,26,26,0.4);background:rgba(164,0,1,0.06);}

/* =========================================================
   ONE INFRASTRUCTURE — interactive technology hub
   ========================================================= */
.infra-map{
  display:grid;
  grid-template-columns:1.3fr 0.9fr;
  gap:56px;
  align-items:center;
}
.infra-map__stage{position:relative;}
.infra-map__svg{width:100%;height:auto;overflow:visible;}
.infra-map__link{
  stroke:rgba(255,255,255,0.14);
  stroke-width:1.4;
  fill:none;
  transition:stroke .4s var(--ease), stroke-width .4s var(--ease), opacity .4s var(--ease);
}
.infra-map__link.is-active{
  stroke:var(--red-500);
  stroke-width:2;
  stroke-dasharray:6 8;
  animation:infraFlow 0.9s linear infinite;
}
.infra-map__link.is-dim{opacity:0.15;}
@keyframes infraFlow{to{stroke-dashoffset:-28;}}
.infra-map__hub{cursor:default;}
.infra-map__hub circle{fill:var(--navy-900);stroke:var(--red-600);stroke-width:1.5;}
.infra-map__hub text{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.08em;
  fill:#fff;
  text-anchor:middle;
}
.infra-map__node{cursor:pointer;}
.infra-map__node circle{
  fill:var(--navy-900);
  stroke:rgba(255,255,255,0.3);
  stroke-width:1.5;
  transition:stroke .35s var(--ease), fill .35s var(--ease), r .35s var(--ease);
}
.infra-map__node text{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.03em;
  fill:rgba(255,255,255,0.72);
  transition:fill .35s var(--ease), opacity .35s var(--ease);
}
.infra-map__node use{
  color:rgba(255,255,255,0.65);
  transition:color .35s var(--ease);
}
.infra-map__node:hover circle,
.infra-map__node.is-active circle{
  stroke:var(--red-500);
  fill:rgba(164,0,1,0.18);
}
.infra-map__node:hover text,
.infra-map__node.is-active text{fill:#fff;}
.infra-map__node:hover use,
.infra-map__node.is-active use{color:var(--red-500);}
.infra-map__node.is-dim{opacity:0.28;}
.infra-map__node:focus-visible circle{outline:2px solid var(--red-500);outline-offset:3px;}

.infra-map__copy{display:flex;flex-direction:column;gap:24px;}
.infra-map__copy p{color:rgba(255,255,255,0.6);max-width:46ch;}
.infra-map__hint{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.35);
  text-transform:uppercase;
}

@media (max-width:900px){
  .infra-map{grid-template-columns:1fr;gap:36px;}
}

/* =========================================================
   DATA CENTER ENGINEERING
   ========================================================= */
.dc-layout{
  display:grid;
  grid-template-columns:1.4fr 0.9fr;
  gap:48px;
  align-items:start;
}
.dc-diagram{
  border:1px solid var(--line-dark);
  background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);
  padding:28px;
}
.dc-svg{width:100%;height:auto;}
.dc-zone{cursor:pointer;}
.dc-zone rect,.dc-zone path,.dc-zone circle{
  transition:fill .3s var(--ease), stroke .3s var(--ease), opacity .3s var(--ease);
}
.dc-zone .dc-shape{
  fill:rgba(255,255,255,0.04);
  stroke:rgba(255,255,255,0.28);
  stroke-width:1.2;
}
.dc-zone:hover .dc-shape,
.dc-zone.is-active .dc-shape{
  fill:rgba(164,0,1,0.16);
  stroke:var(--red-500);
}
.dc-zone-label{
  font-family:var(--font-mono);
  font-size:9.5px;
  letter-spacing:0.06em;
  fill:rgba(255,255,255,0.4);
  text-transform:uppercase;
  transition:fill .3s var(--ease);
}
.dc-zone:hover .dc-zone-label,
.dc-zone.is-active .dc-zone-label{fill:#fff;}
.dc-led{fill:#3DDC84;opacity:0.85;animation:dcBlink 2.6s ease-in-out infinite;}
.dc-led:nth-child(2n){animation-delay:.4s;}
.dc-led:nth-child(3n){animation-delay:.9s;}
@keyframes dcBlink{0%,88%,100%{opacity:0.85;}90%{opacity:0.15;}}
.dc-airflow{
  stroke:#4FB8E8;
  stroke-width:1.4;
  fill:none;
  stroke-dasharray:5 7;
  opacity:0.55;
  animation:dcFlowDash 1.4s linear infinite;
}
.dc-power-line{
  stroke:#E8A93D;
  stroke-width:1.6;
  fill:none;
  stroke-dasharray:4 6;
  opacity:0.65;
  animation:dcFlowDash 1s linear infinite;
}
.dc-net-packet{
  stroke:var(--red-500);
  stroke-width:1.6;
  fill:none;
  stroke-dasharray:3 9;
  opacity:0.7;
  animation:dcFlowDash 0.9s linear infinite;
}
@keyframes dcFlowDash{to{stroke-dashoffset:-24;}}
.dc-legend{display:flex;flex-wrap:wrap;gap:16px 22px;margin-top:18px;}
.dc-legend__item{
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--font-mono);font-size:0.7rem;letter-spacing:0.05em;
  color:rgba(255,255,255,0.5);
}
.dc-legend__swatch{width:14px;height:2px;border-radius:1px;}
.dc-copy{display:flex;flex-direction:column;gap:20px;}
.dc-copy p{color:rgba(255,255,255,0.6);}
.dc-flow-strip{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.05em;
  color:rgba(255,255,255,0.55);
  margin-top:6px;
}
.dc-flow-strip span{padding:6px 0;}
.dc-flow-strip .arrow{color:var(--red-500);padding:0 10px;}

@media (max-width:900px){
  .dc-layout{grid-template-columns:1fr;}
}

/* =========================================================
   FROM EDGE TO CLOUD — network topology
   ========================================================= */
.topo-wrap{overflow-x:auto;padding-bottom:8px;}
.topo-svg{width:100%;min-width:640px;height:auto;}
.topo-node rect{
  fill:var(--navy-900);
  stroke:rgba(255,255,255,0.28);
  stroke-width:1.2;
  transition:stroke .3s var(--ease), fill .3s var(--ease);
}
.topo-node text{
  font-family:var(--font-mono);
  font-size:10.5px;
  fill:rgba(255,255,255,0.75);
  text-anchor:middle;
  transition:fill .3s var(--ease);
}
.topo-node{cursor:pointer;}
.topo-node:hover rect,.topo-node.is-active rect{stroke:var(--red-500);fill:rgba(164,0,1,0.18);}
.topo-node:hover text,.topo-node.is-active text{fill:#fff;}
.topo-edge{stroke:rgba(255,255,255,0.16);stroke-width:1.2;fill:none;}
.topo-packet{fill:var(--red-500);filter:drop-shadow(0 0 4px rgba(196,26,26,0.9));}
.topo-sub{font-family:var(--font-mono);font-size:9px;fill:rgba(255,255,255,0.32);text-anchor:middle;}

/* =========================================================
   DEFENSE IN DEPTH — cybersecurity layers
   ========================================================= */
.defense-layout{
  display:grid;
  grid-template-columns:1fr 0.85fr;
  gap:48px;
  align-items:center;
}
.defense-svg{width:100%;height:auto;}
.defense-ring{
  fill:none;
  stroke:rgba(255,255,255,0.14);
  stroke-width:1;
  transition:stroke .3s var(--ease), opacity .3s var(--ease);
}
.defense-ring-hit{fill:none;stroke:rgba(196,26,26,0.55);stroke-width:1;opacity:0;}
.defense-ring-hit.is-flash{opacity:1;animation:defenseFlash 1s var(--ease);}
@keyframes defenseFlash{
  0%{opacity:0.9;stroke-width:5;}
  100%{opacity:0;stroke-width:1;}
}
.defense-core{cursor:pointer;}
.defense-core circle{fill:var(--navy-900);stroke:var(--red-600);stroke-width:2;transition:stroke .3s var(--ease);}
.defense-core text{font-family:var(--font-mono);font-size:10px;fill:#fff;text-anchor:middle;}
.defense-core:hover circle,.defense-core.is-active circle{stroke:#fff;}
.defense-layer{cursor:pointer;}
.defense-layer:hover .defense-ring,
.defense-layer.is-active .defense-ring{stroke:rgba(196,26,26,0.7);}
.defense-layer:hover .defense-layer-label,
.defense-layer.is-active .defense-layer-label{fill:#fff;}
.defense-layer-label{
  font-family:var(--font-mono);
  font-size:9.5px;
  letter-spacing:0.05em;
  fill:rgba(255,255,255,0.42);
}
.defense-threat{
  fill:var(--red-500);
  filter:drop-shadow(0 0 5px rgba(196,26,26,0.9));
}
.defense-alert{
  position:absolute;
  top:16px; right:16px;
  font-family:var(--font-mono);
  font-size:0.72rem;
  line-height:1.6;
  background:rgba(6,11,19,0.9);
  border:1px solid rgba(196,26,26,0.4);
  padding:12px 16px;
  color:rgba(255,255,255,0.7);
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events:none;
  min-width:190px;
}
.defense-alert.is-visible{opacity:1;transform:translateY(0);}
.defense-alert__line{display:flex;justify-content:space-between;gap:14px;}
.defense-alert__status{color:#3DDC84;}
.defense-stage{position:relative;}
.defense-copy p{color:rgba(255,255,255,0.6);}
.defense-legend{
  display:flex;flex-direction:column;gap:10px;margin-top:8px;
  font-family:var(--font-mono);font-size:0.75rem;color:rgba(255,255,255,0.5);
}
.defense-legend li{display:flex;align-items:center;gap:10px;}
.defense-legend .n{
  width:20px;height:20px;border:1px solid rgba(255,255,255,0.25);
  display:inline-flex;align-items:center;justify-content:center;
  font-size:9px;color:rgba(255,255,255,0.5);flex-shrink:0;
}

@media (max-width:900px){
  .defense-layout{grid-template-columns:1fr;}
}

/* =========================================================
   TECHNOLOGY ECOSYSTEM — interactive partner map
   ========================================================= */
.ecosystem{padding-bottom:96px;}

/* ---- category filter ---- */
.eco-filter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:48px;
}
.eco-filter__btn{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.55);
  background:transparent;
  border:1px solid var(--line-dark);
  border-radius:999px;
  padding:9px 18px;
  cursor:pointer;
  transition:color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.eco-filter__btn:hover{color:#fff;border-color:rgba(255,255,255,0.3);}
.eco-filter__btn.is-active{
  color:#fff;
  background:rgba(164,0,1,0.14);
  border-color:var(--red-500);
}
.eco-filter__btn:focus-visible{outline:2px solid var(--red-500);outline-offset:2px;}

/* ---- ecosystem map ---- */
.eco-map{
  display:grid;
  grid-template-columns:1.25fr 0.95fr;
  gap:56px;
  align-items:center;
  transition:transform .5s var(--ease);
}
.eco-map__stage{position:relative;}
.eco-map__svg{width:100%;height:auto;overflow:visible;}

.eco-map__link{
  stroke:rgba(255,255,255,0.14);
  stroke-width:1.4;
  fill:none;
  transition:stroke .4s var(--ease), stroke-width .4s var(--ease), opacity .4s var(--ease);
}
.eco-map__link.is-active{
  stroke:var(--red-500);
  stroke-width:2;
  stroke-dasharray:6 8;
  animation:ecoFlow 0.9s linear infinite;
}
.eco-map__link.is-dim{opacity:0.15;}
@keyframes ecoFlow{to{stroke-dashoffset:-28;}}

.eco-map__packet{fill:var(--red-500);filter:drop-shadow(0 0 4px rgba(196,26,26,0.85));opacity:0.85;}

.eco-map__hub circle{
  fill:var(--navy-900);
  stroke:var(--red-600);
  stroke-width:1.5;
}
.eco-map__hub text{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.06em;
  fill:#fff;
  text-anchor:middle;
}

.eco-map__node{cursor:pointer;}
.eco-map__node circle{
  fill:var(--navy-900);
  stroke:rgba(255,255,255,0.3);
  stroke-width:1.5;
  transition:stroke .35s var(--ease), fill .35s var(--ease), r .35s var(--ease);
}
.eco-map__node text{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:0.02em;
  fill:rgba(255,255,255,0.72);
  text-anchor:middle;
  transition:fill .35s var(--ease), opacity .35s var(--ease);
}
.eco-map__node:hover circle,
.eco-map__node.is-active circle{
  stroke:var(--red-500);
  fill:rgba(164,0,1,0.2);
  r:18;
}
.eco-map__node:hover text,
.eco-map__node.is-active text{fill:#fff;}
.eco-map__node.is-dim{opacity:0.3;}
.eco-map__node:focus-visible circle{outline:2px solid var(--red-500);outline-offset:3px;}

.eco-map__copy{display:flex;flex-direction:column;gap:18px;}
.eco-hint{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.35);
  text-transform:uppercase;
}

/* ---- flow strip (mini architecture inside the panel) ---- */
.flow-strip{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line-dark);
}
.flow-strip__step{
  font-family:var(--font-mono);
  font-size:0.66rem;
  letter-spacing:0.05em;
  color:rgba(255,255,255,0.7);
  background:rgba(255,255,255,0.04);
  border:1px solid var(--line-dark);
  border-radius:3px;
  padding:5px 9px;
  white-space:nowrap;
}
.flow-strip__arrow{
  color:var(--red-500);
  font-size:0.7rem;
  margin:0 6px;
  flex-shrink:0;
}

/* ---- partner grid ---- */
.eco-partners{margin-top:56px;}
.eco-partners__label{
  display:block;
  font-size:0.7rem;
  letter-spacing:0.12em;
  color:rgba(255,255,255,0.35);
  margin-bottom:18px;
}
.eco-partners__grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
  gap:12px;
}
.partner-card{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:64px;
  padding:12px 14px;
  border:1px solid var(--line-dark);
  border-radius:6px;
  background:rgba(255,255,255,0.025);
  font-family:var(--font-display);
  font-size:0.86rem;
  font-weight:600;
  letter-spacing:0.01em;
  color:rgba(255,255,255,0.45);
  filter:grayscale(1);
  opacity:0;
  transform:translateY(10px);
  animation:partnerIn .5s var(--ease) forwards;
  transition:color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), filter .3s var(--ease), transform .3s var(--ease);
}
.partner-card:hover{
  color:#fff;
  border-color:rgba(196,26,26,0.4);
  background:rgba(164,0,1,0.08);
  filter:grayscale(0);
  transform:translateY(-2px);
}
@keyframes partnerIn{
  to{opacity:1;transform:translateY(0);}
}

/* ---- logo wall / marquee ---- */
.logo-wall{
  margin-top:64px;
  display:flex;
  flex-direction:column;
  gap:14px;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-row{
  overflow:hidden;
  white-space:nowrap;
  position:relative;
}
.logo-row__track{
  display:inline-flex;
  align-items:center;
  gap:36px;
  animation:marqueeLeft 34s linear infinite;
  padding-right:36px;
}
.logo-row[data-dir="right"] .logo-row__track{animation-name:marqueeRight;}
.logo-row:hover .logo-row__track{animation-play-state:paused;}
.logo-row__item{
  font-family:var(--font-mono);
  font-size:0.78rem;
  letter-spacing:0.06em;
  color:rgba(255,255,255,0.32);
  white-space:nowrap;
}
.logo-row__cat{
  font-family:var(--font-mono);
  font-size:0.66rem;
  letter-spacing:0.1em;
  color:var(--red-500);
  margin-right:6px;
}
@keyframes marqueeLeft{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@keyframes marqueeRight{from{transform:translateX(-50%);}to{transform:translateX(0);}}

.ecosystem:not(.is-inview) .logo-row__track{animation-play-state:paused;}

@media (max-width:900px){
  .eco-map{grid-template-columns:1fr;gap:36px;}
}
@media (max-width:640px){
  .eco-map__svg text{font-size:12.5px;}
  .eco-partners__grid{grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));}
}

/* =========================================================
   SERVICE CARD cross-highlight (technology relationships)
   ========================================================= */
.services__grid.is-highlighting .service-card{opacity:0.32;filter:saturate(0.5);}
.services__grid.is-highlighting .service-card.is-related{
  opacity:1;
  filter:none;
  border-color:rgba(196,26,26,0.35);
}
.service-card{transition:opacity .35s var(--ease), filter .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);}

/* =========================================================
   REDUCED MOTION — freeze the new interactive diagrams
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  .infra-map__link.is-active,.dc-led,.dc-airflow,.dc-power-line,.dc-net-packet,
  .status-pill__dot,.defense-ring-hit.is-flash,
  .eco-map__link.is-active,.logo-row__track,.partner-card{animation:none !important;}
  .topo-packet,.eco-map__packet{display:none;}
  .partner-card{opacity:1;transform:none;}
}

/* Mobile simplification for the new diagram sections */
@media (max-width:640px){
  .blueprint-section{padding:76px 0;}
  .blueprint-section__coord{display:none;}
  .infra-map__svg text{font-size:13px;}
  .dc-svg text{font-size:11px;}
}

/* =========================================================
   FORTIS ENGINEERING — SEO Page Templates
   (Service / Industry / About / Projects / Resources / Contact)
   Extends the existing design system. No existing rules modified.
   ========================================================= */

/* Breadcrumbs */
.breadcrumbs{
  padding:132px 0 0;
  background:var(--navy-950);
}
.breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-family:var(--font-mono);font-size:0.78rem;letter-spacing:0.03em;color:var(--gray-500);}
.breadcrumbs__list a{color:var(--gray-300);}
.breadcrumbs__list a:hover{color:#fff;}
.breadcrumbs__list li{display:flex;align-items:center;gap:8px;}
.breadcrumbs__list li[aria-current="page"]{color:#fff;}

/* Static page hero (non-canvas, for interior pages) */
.page-hero{
  background:var(--navy-950);
  color:#fff;
  padding:28px 0 76px;
  position:relative;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(164,0,1,0.10), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 120px);
  pointer-events:none;
}
.page-hero__inner{position:relative;max-width:820px;}
.page-hero h1{color:#fff;margin-bottom:0.4em;}
.page-hero__sub{color:rgba(255,255,255,0.72);font-size:1.1rem;max-width:64ch;}
.page-hero__ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px;}

/* Generic content section rhythm */
.content-section{padding:76px 0;}
.content-section--tight{padding:48px 0;}
.content-section--alt{background:var(--navy-950);color:rgba(255,255,255,0.85);}
.content-section--alt h2,.content-section--alt h3{color:#fff;}
.content-section--alt p{color:rgba(255,255,255,0.68);}
.content-section__lead{font-size:1.15rem;color:var(--gray-600);max-width:74ch;}

/* Prose typography for long-form sections */
.prose{max-width:78ch;}
.prose p{font-size:1.02rem;}
.prose ul{margin:0 0 1.4em;padding-left:0;}
.prose ul li{position:relative;padding-left:26px;margin-bottom:10px;color:var(--gray-600);}
.prose ul li::before{content:"";position:absolute;left:0;top:0.55em;width:9px;height:9px;background:var(--red-600);border-radius:1px;}
.content-section--alt .prose ul li{color:rgba(255,255,255,0.68);}

/* Capability / feature grid (reusable card, lighter than service-card) */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:8px;}
.feature-card{
  background:var(--white);
  border:1px solid var(--line-light);
  border-radius:var(--radius-m);
  padding:26px 24px;
}
.feature-card h3{font-size:1.05rem;margin-bottom:0.4em;}
.feature-card p{font-size:0.94rem;margin-bottom:0;}
.content-section--alt .feature-card{background:var(--navy-900);border-color:var(--line-dark);}
.content-section--alt .feature-card p{color:rgba(255,255,255,0.62);}

/* Tag chips (reuses service-card__tags visual language) */
.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;}
.tag-row li{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.03em;
  padding:6px 12px;
  border:1px solid var(--line-light);
  border-radius:999px;
  color:var(--gray-600);
}
.content-section--alt .tag-row li{border-color:var(--line-dark);color:rgba(255,255,255,0.65);}

/* Related links grid (services/industries/projects/resources cross-linking) */
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:8px;}
.related-card{
  display:block;
  background:var(--white);
  border:1px solid var(--line-light);
  border-radius:var(--radius-m);
  padding:22px;
  transition:transform .25s var(--ease), border-color .25s var(--ease);
}
.related-card:hover{transform:translateY(-3px);border-color:var(--red-600);}
.related-card__label{font-family:var(--font-mono);font-size:0.7rem;letter-spacing:0.06em;color:var(--red-600);display:block;margin-bottom:8px;}
.related-card h3{font-size:1rem;margin-bottom:0.35em;}
.related-card p{font-size:0.88rem;margin-bottom:0;color:var(--gray-600);}

/* FAQ accordion */
.faq-list{max-width:78ch;}
.faq-item{border-bottom:1px solid var(--line-light);}
.content-section--alt .faq-item{border-color:var(--line-dark);}
.faq-item__q{
  width:100%;
  text-align:left;
  background:none;
  border:0;
  padding:22px 34px 22px 0;
  position:relative;
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.02rem;
  color:inherit;
  cursor:pointer;
}
.faq-item__q::after{
  content:"+";
  position:absolute;
  right:4px;top:50%;
  transform:translateY(-50%);
  font-family:var(--font-mono);
  font-size:1.3rem;
  color:var(--red-600);
  transition:transform .2s var(--ease);
}
.faq-item__q[aria-expanded="true"]::after{transform:translateY(-50%) rotate(45deg);}
.faq-item__a{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s var(--ease);
}
.faq-item__a p{padding-bottom:22px;margin:0;}
.faq-item.is-open .faq-item__a{max-height:600px;}

/* Simple ordered process list (Implementation / Engineering Approach) */
.process-list{counter-reset:step;display:grid;gap:18px;}
.process-list li{
  position:relative;
  padding-left:56px;
  min-height:36px;
}
.process-list li::before{
  counter-increment:step;
  content:counter(step,decimal-leading-zero);
  position:absolute;left:0;top:0;
  font-family:var(--font-mono);
  font-size:0.85rem;
  color:var(--red-600);
  border:1px solid var(--red-600);
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
}
.process-list h4{margin:0 0 0.2em;font-size:1rem;font-family:var(--font-display);color:inherit;}
.process-list p{margin:0;font-size:0.92rem;}

/* Index/hub listing grids (services hub, industries hub, projects, resources) */
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;}
.hub-card{
  display:block;
  background:var(--white);
  border:1px solid var(--line-light);
  border-radius:var(--radius-m);
  padding:30px 26px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hub-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(6,11,19,0.10);}
.hub-card__num{font-family:var(--font-mono);font-size:0.78rem;color:var(--red-600);}
.hub-card h3{margin:10px 0 8px;font-size:1.15rem;}
.hub-card p{font-size:0.92rem;margin-bottom:14px;}
.hub-card__cta{font-family:var(--font-mono);font-size:0.78rem;letter-spacing:0.03em;color:var(--red-600);}

/* Contact page details */
.contact-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:start;}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr;}}
.contact-detail-list{margin-top:24px;display:grid;gap:16px;}
.contact-detail-list li{font-size:0.98rem;color:var(--gray-600);}
.contact-detail-list .mono{display:block;color:var(--red-600);font-size:0.74rem;letter-spacing:0.04em;margin-bottom:4px;}

/* Project template placeholder card */
.project-placeholder{
  border:1px dashed var(--line-light);
  border-radius:var(--radius-m);
  padding:40px 30px;
  text-align:center;
  color:var(--gray-600);
}
.content-section--alt .project-placeholder{border-color:var(--line-dark);color:rgba(255,255,255,0.6);}

/* Utility */
.mt-0{margin-top:0;}
.section-divider{height:1px;background:var(--line-light);width:100%;margin:0;}
