/* ============================================================
   SIS / IMMERSIVE EXPERIENCE — VERSION 2
   White · #69C9DB · #0A0E1B ONLY
   Overrides and enhancements for all pages.
   ============================================================ */
:root {
  --sis-white: #FFFFFF;
  --sis-accent: #69C9DB;
  --sis-night: #0A0E1B;
}

/* Larger branding, more legible navigation and stable dropdown */
.site-header {
  top: 10px;
  width: min(1880px, calc(100% - 20px));
  border-radius: 12px;
}
.nav-shell {
  min-height: 104px;
  gap: clamp(12px, 1.3vw, 24px);
  padding-inline: clamp(14px, 1.8vw, 34px);
}
.brand { gap: clamp(12px, 1.3vw, 22px); }
.brand-mark { width: clamp(78px, 5.6vw, 106px); height: clamp(78px, 5.6vw, 106px); }
.brand-name { width: clamp(175px, 13.5vw, 270px); max-height: 82px; }
.main-nav { gap: clamp(10px, 1.15vw, 22px); font-size: clamp(13px, .91vw, 16px); }
.nav-cta { font-size: 14px; padding: 18px 22px; }
.nav-group { position: static; }
.nav-caret { min-width: 32px; min-height: 40px; }
.mega {
  top: 100%;
  border-top: 10px solid transparent;
  background-clip: padding-box;
  border-radius: 0 0 18px 18px;
  transform: translateY(0);
  transition: opacity .2s ease, visibility .2s ease;
}
.nav-group.open .mega { transform: translateY(0); }
.mega::before {
  content: '';
  position: absolute;
  height: 18px;
  top: -18px;
  left: 0;
  right: 0;
}
.mega-links a { padding-block: 17px; }
.mega-links span { font-size: 16px; }
.mega-links small { font-size: 12px; }

/* Tighter editorial rhythm */
.section-pad { padding-block: clamp(62px, 6.4vw, 112px); }
.section-heading { margin-bottom: clamp(24px, 3vw, 52px); }
.manifesto { padding-block: clamp(88px, 9vw, 150px); }
.intro-visual { min-height: 540px; }
.intro-main { height: 510px; }
.cta-section { padding-block: clamp(80px, 8vw, 145px); }

/* Premium cinematic homepage hero: actual images in multiple depth planes */
.home-hero { height: 100svh; min-height: 740px; }
.slide-world { perspective: 1600px; }
.slide-layer { backface-visibility: hidden; transform-style: preserve-3d; }
.slide-layer-back { inset: -8%; }
.slide-layer-mid {
  inset: 10% -3% 9% 56%;
  border: 1px solid rgba(105, 201, 219, .45);
  border-radius: 18px;
  clip-path: none;
  box-shadow: 0 24px 80px rgba(10, 14, 27, .42);
}
.slide-layer-front {
  inset: 45% 7% 10% 77%;
  border-radius: 12px;
  box-shadow: 0 25px 65px rgba(10, 14, 27, .6);
}
.slide-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 14, 27, .96) 0%,
    rgba(10, 14, 27, .84) 35%,
    rgba(10, 14, 27, .3) 75%,
    rgba(10, 14, 27, .35) 100%
  );
}
.slide-copy h1 { max-width: 940px; font-size: clamp(58px, 7.6vw, 132px); }
.slide-copy p { max-width: 520px; }
.home-slide.is-active .slide-layer-mid { animation: floatMid 8s ease-in-out infinite alternate; }
.home-slide.is-active .slide-layer-front { animation: floatFront 7s ease-in-out infinite alternate; }
@keyframes floatMid {
  from { transform: translate3d(20px, 10px, 90px) rotateY(-12deg) rotateX(5deg); }
  to { transform: translate3d(-10px, -20px, 145px) rotateY(-4deg) rotateX(-3deg); }
}
@keyframes floatFront {
  from { transform: translate3d(0, 0, 165px) rotateY(-16deg) rotateX(5deg); }
  to { transform: translate3d(-15px, -30px, 230px) rotateY(0deg) rotateX(-5deg); }
}

/* Dedicated scroll-controlled hero chapter */
.hero-journey {
  position: relative;
  height: 300vh;
  background: var(--sis-night);
  color: var(--sis-white);
}
.hero-journey__sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 100px);
  height: 100svh;
  min-height: 600px;
  padding: clamp(90px, 10vw, 150px) var(--gutter) 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero-journey__sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 118px,
    var(--sis-accent) 119px,
    transparent 120px
  );
}
.hero-journey__copy { position: relative; z-index: 5; max-width: 620px; }
.hero-journey__copy .eyebrow { color: var(--sis-accent); }
.hero-journey__copy h2 {
  margin: 20px 0 25px;
  font-size: clamp(46px, 6.2vw, 110px);
  line-height: 1.03;
  letter-spacing: -.075em;
}
.hero-journey__copy p {
  max-width: 460px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.7;
}
.hero-journey__copy a {
  display: inline-flex;
  margin-top: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sis-accent);
  font-weight: 800;
}
.hero-journey__counter { margin-top: 30px; font-size: 12px; letter-spacing: .16em; }
.hero-journey__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: min(70vh, 760px);
  perspective: 1600px;
  transform-style: preserve-3d;
}
.hero-journey__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70%, 480px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--sis-accent);
  border-radius: 18px;
  box-shadow: 0 28px 85px rgba(0, 0, 0, .45);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.hero-journey__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-journey__frame span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 50px 20px 18px;
  background: linear-gradient(transparent, rgba(10, 14, 27, .94));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}
.hero-journey__meter {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  left: var(--gutter);
  height: 2px;
  background: rgba(255, 255, 255, .2);
}
.hero-journey__meter span { display: block; height: 100%; width: 0; background: var(--sis-accent); }

/* Architectural manifesto with washed-out photographic background */
.manifesto { position: relative; isolation: isolate; overflow: hidden; }
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../images/editorial/architecture.webp') center / cover no-repeat;
  opacity: .15;
  transform: scale(1.08);
}
.manifesto::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, .95) 0%,
    rgba(255, 255, 255, .83) 62%,
    rgba(255, 255, 255, .6) 100%
  );
}
.manifesto-lines { margin-block: 44px; }
.manifesto-lines p { line-height: 1.08; }
.manifesto-lines p:nth-child(2) { padding-left: clamp(0px, 5vw, 100px); }
.manifesto-lines p:nth-child(3) { padding-left: clamp(0px, 10vw, 200px); }

/* Internal pages: 3D depth with animated image panels */
.page-hero.internal { min-height: 78svh; }
.page-hero .hero-world { perspective: 1600px; }
.page-hero .depth-mid {
  inset: 12% 1% 9% 58%;
  border-radius: 16px;
  clip-path: none;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(10, 14, 27, .35);
}
.page-hero .depth-front { inset: 49% 8% 8% 77%; border-radius: 12px; overflow: hidden; }
.page-hero .hero-copy { min-height: 78svh; }
.page-hero .hero-title { max-width: 940px; font-size: clamp(54px, 7vw, 124px); }

/* Editorial image movement and tactile interactive cards */
.intro-main,
.intro-inset img,
.service-card img,
.project-card img,
.industry-card img,
.subservice-card img {
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}
.intro-visual:hover .intro-main,
.service-card:hover img,
.project-card:hover img,
.industry-card:hover img,
.subservice-card:hover img { transform: scale(1.045); }

@media (max-width: 1500px) {
  .brand-mark { width: 76px; height: 76px; }
  .brand-name { width: 190px; }
  .main-nav { gap: 12px; font-size: 13px; }
}
@media (max-width: 1250px) {
  .nav-shell { min-height: 88px; }
  .brand-mark { width: 76px; height: 76px; }
  .brand-name { width: 190px; }
  .mega { top: auto; border: 0; }
  .hero-journey__sticky { grid-template-columns: 1fr 1fr; }
  .hero-journey__frame { width: 80%; }
}
@media (max-width: 760px) {
  .site-header { top: 6px; width: calc(100% - 12px); }
  .nav-shell { min-height: 74px; padding: 6px 12px; }
  .brand-mark { width: 57px; height: 57px; }
  .brand-name { width: clamp(120px, 33vw, 165px); max-height: 55px; }
  .home-hero { min-height: 650px; }
  .slide-layer-mid { inset: 30% -18% 4% 38%; opacity: .45; }
  .slide-layer-front { display: none; }
  .hero-journey { height: 270vh; }
  .hero-journey__sticky {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 100px 22px 50px;
  }
  .hero-journey__copy h2 { font-size: clamp(38px, 10vw, 62px); margin: 12px 0; }
  .hero-journey__copy p { font-size: 14px; }
  .hero-journey__copy a { margin-top: 5px; }
  .hero-journey__counter { margin-top: 12px; }
  .hero-journey__stage { height: 42vh; min-height: 280px; }
  .hero-journey__frame { width: min(55%, 240px); }
  .hero-journey__meter { bottom: 20px; }
  .manifesto-lines p:nth-child(2),
  .manifesto-lines p:nth-child(3) { padding-left: 0; }
  .page-hero .depth-mid { inset: 28% -15% 3% 44%; opacity: .5; }
  .page-hero .depth-front { display: none; }
  .section-pad { padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-slide.is-active .slide-layer-mid,
  .home-slide.is-active .slide-layer-front { animation: none; }
  .hero-journey__frame { will-change: auto; }
}

/* ==========================================================
   SIS V3 — BRAND VISIBILITY AND CONTACT ICON REFINEMENTS
   ========================================================== */
.brand {
  gap: 3px;
  align-items: center;
}
.brand-mark {
  width: clamp(88px, 6.3vw, 118px);
  height: clamp(88px, 6.3vw, 118px);
  object-fit: contain;
}
.brand-name {
  width: clamp(190px, 15vw, 300px);
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
}
.nav-shell {
  min-height: 116px;
  gap: clamp(12px, 1vw, 20px);
}
.contact-icon-link,
.contact-icon-line {
  display: flex !important;
  align-items: center;
  gap: 13px;
}
.contact-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #69C9DB;
}
.contact-lines .contact-icon-line {
  align-items: flex-start;
}
.contact-lines .contact-icon-line .contact-icon {
  margin-top: 4px;
}
.footer-links .contact-icon-link {
  gap: 10px;
}
.footer-links .contact-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
@media (max-width: 1480px) {
  .brand-mark { width: 88px; height: 88px; }
  .brand-name { width: 220px; max-height: 80px; }
}
@media (max-width: 1250px) {
  .brand-mark { width: 82px; height: 82px; }
  .brand-name { width: 220px; max-height: 76px; }
}
@media (max-width: 600px) {
  .brand { gap: 2px; }
  .brand-mark { width: 60px; height: 60px; }
  .brand-name { width: clamp(135px, 36vw, 190px); max-height: 62px; }
  .nav-shell { min-height: 80px; }
  .contact-icon { width: 20px; height: 20px; flex-basis: 20px; }
}
