/* =========================
   Endura — Hero Only
   Tough / modern / minimal
   ========================= */

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  background: #000;
  color: #f5f7ff;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.45;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
img{ display:block; max-width:100%; }
figure{ margin: 0; }

:root{
  --ink: #000000;

  /* brand */
  --blue:  #0f5096;
  --blue2: #2e77b7;
  --accent: var(--blue2);

  /* layout */
  --padX: clamp(14px, 2.1vw, 26px);
  --padTop: max(10px, env(safe-area-inset-top));

  /* logo */
  --logoH: clamp(86px, 5.8vw, 112px);

  /* CTA */
  --ctaBottom: 24px;

  /* headline alignment (keeps logo in the corner but gives text a composed grid) */
  --headlineInset: 0px;
  /* headline placement micro-tuning */
  --headlineX: 0px;
  --headlineY: 0px;

}

.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background: var(--ink);
}

.hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* clean, cinematic */
  filter: contrast(1.06) saturate(1.04) brightness(1.06);
  transform: scale(1.02);
  z-index: -3;
}

/*
  No chunky header bar.
  Instead: a top "cinema" fade that lets the nav/logo sit in black,
  plus a soft bottom fade for the CTA.
*/
.hero__scrim{
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 18% 22%, rgba(46,119,183,0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 22%, rgba(0,0,0,0.00) 46%),
    radial-gradient(1100px 700px at 50% 120%, rgba(0,0,0,0.42), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,0.00) 62%, rgba(0,0,0,0.34) 100%);
}

/* subtle grain (tough, not glossy) */
.hero__grain{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* =========================
   HUD (logo + nav)
   ========================= */

.hud{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--padTop) var(--padX) 0;
  z-index: 10;
}

.hud__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo is a "badge" — intentional, not floating */
.brand{
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand__logo{
  height: var(--logoH);
  width: auto;
  max-width: min(520px, 56vw);

  /* mounted / machined (less friendly) */
  border-radius: 6px;

  /* subtle edge + depth (no outline) */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 34px rgba(0,0,0,0.42);
}



/* NAV */
.nav{
  display: flex;
  align-items: center;
  gap: 14px;
}

.navLinks{
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Mobile menu toggle */
.navToggle{
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 46px rgba(0,0,0,0.40);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  cursor: pointer;
  color: rgba(245,247,255,0.92);
}

.navToggle__icon{
  width: 16px;
  height: 10px;
  position: relative;
  display: block;
}

.navToggle__icon::before,
.navToggle__icon::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(245,247,255,0.92);
  transition: transform 170ms ease, top 170ms ease, bottom 170ms ease;
}

.navToggle__icon::before{ top: 0; }
.navToggle__icon::after{ bottom: 0; }

.navToggle__label{
  font-weight: 880;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.nav__link{
  position: relative;
  padding: 12px 0;

  /* Porsche-like: firm, architectural */
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.82rem;

  color: rgba(245,247,255,0.90);
}


/* Bracket underline on hover (industrial, not "cute") */
.nav__link::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(46,119,183,0.95), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 170ms ease;
  opacity: 0.95;
}

.nav__link:hover{
  color: rgba(245,247,255,0.98);
}
.nav__link:hover::after{
  transform: scaleX(1);
}

/* Quote button — more machined, less bubbly */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.28);

  color: #f5f7ff;
  font-weight: 880;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  letter-spacing: 0.02em;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 18px 46px rgba(0,0,0,0.35);

  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  user-select: none;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.38);
  border-color: rgba(255,255,255,0.22);
}

.btn--primary{
  /* darker + higher contrast (less "safe") */
  border-color: rgba(46,119,183,0.46);
  background: linear-gradient(180deg, rgba(46,119,183,0.98) 0%, rgba(11,63,123,0.98) 100%);

  /* subtle "machined" edge */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -18px 28px rgba(0,0,0,0.22),
    0 18px 52px rgba(0,0,0,0.46);
}


.btn__arrow{
  font-weight: 950;
  transform: translateY(-1px);
  transition: transform 140ms ease;
}
.btn:hover .btn__arrow{
  transform: translateY(-1px) translateX(2px);
}



/* =========================
   HERO HEADLINE
   ========================= */

.hero__headlineWrap{
  position: absolute;

  /* lock to the same left edge as the logo (authoritative grid) */
  left: calc(var(--padX) + var(--headlineX));

  /* anchor under the logo/nav so it doesn't float randomly */
  top: calc(var(--padTop) + var(--logoH) + 22px + var(--headlineY));

  z-index: 6;
  max-width: min(520px, 74vw);
}

.hero__headline{
  margin: 0;
  text-transform: uppercase;

  /* authoritarian / elegant: weight + restraint */
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 0.88;

  font-size: clamp(1.95rem, 3.55vw, 3.55rem);

  color: rgba(255,255,255,0.97);
  text-shadow: 0 26px 88px rgba(0,0,0,0.62);
}

.hero__headlineLine{
  display: block;
}

/* smaller "designation" line */
.hero__headlineLine:first-child{
  font-size: 0.74em;
  letter-spacing: 0.10em;
  font-weight: 920;
  opacity: 0.92;
  margin-bottom: 0.06em;
}

.hero__headlineAccent{
  color: var(--accent);
  text-shadow:
    0 26px 88px rgba(0,0,0,0.62),
    0 0 24px rgba(46,119,183,0.28);
}

/* Mobile: keep it clean and readable */
@media (max-width: 920px){
  /* Mobile menu */
  .navToggle{ display: inline-flex; }

  .navLinks{
    position: fixed;
    left: var(--padX);
    right: var(--padX);
    top: calc(var(--padTop) + var(--logoH) + 14px);

    background: rgba(0,0,0,0.78);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;

    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);

    box-shadow: 0 36px 120px rgba(0,0,0,0.72);
    padding: 10px;

    display: grid;
    gap: 8px;

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;

    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 999;
  }

  .navLinks .nav__link{
    padding: 12px 12px;
    border-radius: 14px;
  }
  .navLinks .nav__link:hover{
    background: rgba(46,119,183,0.10);
  }
  .navLinks .nav__link::after{
    left: 12px;
    right: 12px;
  }

  .navLinks .btn{
    width: 100%;
    justify-content: center;
  }

  body.nav-open .navLinks{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-open .navToggle__icon::before{ top: 4px; transform: rotate(45deg); }
  body.nav-open .navToggle__icon::after{ bottom: 4px; transform: rotate(-45deg); }

  body.nav-open{ overflow: hidden; }

  /* Headline placement micro-tuning */
  :root{
    --headlineInset: 0px;
    --headlineX: 0px;
    --headlineY: 0px;
  }

  .hero__headlineWrap{
    left: calc(var(--padX) + var(--headlineX));
    top: calc(var(--padTop) + var(--logoH) + 18px + var(--headlineY));
    max-width: 86vw;
  }
  .hero__headline{ font-size: clamp(1.65rem, 6.6vw, 3.0rem); line-height: 0.92; }
  .hero__headlineLine:first-child{ font-size: 0.78em; letter-spacing: 0.10em; }
}



.btn--primary:hover{
  filter: brightness(1.06) contrast(1.02);
}


/* =========================
   NEXT SECTION (About / Service Area)
   ========================= */

.section{
  position: relative;
  background: linear-gradient(180deg, #0b0f14 0%, #070a0f 100%);
  padding: clamp(72px, 7vw, 118px) 0;
}

.section::before{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(900px 520px at 14% 20%, rgba(46,119,183,0.14), transparent 62%),
    radial-gradient(1100px 680px at 82% 0%, rgba(255,255,255,0.05), transparent 66%);
}

.section__inner{
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--padX);
}

.section__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}

.section__copy{
  max-width: 60ch;
}

.eyebrow{
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 760;
  color: rgba(245,247,255,0.70);
}

.section__title{
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 0.92;
  font-size: clamp(1.9rem, 3.2vw, 3.0rem);
  color: rgba(255,255,255,0.96);
  text-shadow: 0 26px 88px rgba(0,0,0,0.55);
}

.section__lead{
  margin: 0 0 18px;
  color: rgba(245,247,255,0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.section__lead strong{
  color: rgba(255,255,255,0.95);
  font-weight: 880;
}

.bullets{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullets li{
  position: relative;
  padding-left: 18px;
  color: rgba(245,247,255,0.76);
  font-weight: 640;
}

.bullets li strong{
  font-weight: 900;
  color: rgba(255,255,255,0.92);
}

.bullets li::before{
  content:"";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(46,119,183,0.92);
  box-shadow: 0 0 0 6px rgba(46,119,183,0.12);
}

.facts{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.fact{
  position: relative;
  padding-left: 14px;
  display: grid;
  gap: 3px;
}

.fact::before{
  content:"";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(46,119,183,0.80);
}

.fact__top{
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 920;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.92);
}

.fact__bot{
  font-size: 0.92rem;
  color: rgba(245,247,255,0.66);
}

/* Media */
.section__media{
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  min-height: 420px;
}

.photo{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 28px 110px rgba(0,0,0,0.55);
}

.photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.04);
  transform: scale(1.01);
}

.photo--main{
  aspect-ratio: 4 / 5;
}

.photo--sub{
  position: absolute;
  width: 60%;
  aspect-ratio: 4 / 3;
  left: -10%;
  bottom: -10%;
  box-shadow: 0 34px 120px rgba(0,0,0,0.62);
}

/* Responsive */
@media (max-width: 980px){
  .section__grid{
    grid-template-columns: 1fr;
  }

  .section__media{
    max-width: 720px;
    margin: 26px 0 0;
    min-height: 0;
  }

  /* Keep the second photo in-flow on smaller screens so it doesn't get clipped */
  .photo--sub{
    position: relative;
    width: 100%;
    left: 0;
    bottom: 0;
    margin-top: 14px;

    /* On mobile, show the FULL image (no "cover" crop) */
    aspect-ratio: auto;
  }

  .photo--sub img{
    height: auto;
    object-fit: contain;
    transform: none;
  }
}

@media (max-width: 560px){
  .section{
    padding: 64px 0 92px;
  }

  .photo--sub{
    position: relative;
    width: 100%;
    left: 0;
    bottom: 0;
    margin-top: 14px;
  }
}


/* =========================
   SERVICES SECTION
   ========================= */

.section--services{
  padding-top: clamp(64px, 6.5vw, 110px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section--services::before{
  /* slightly different light to separate sections */
  background:
    radial-gradient(900px 560px at 86% 0%, rgba(46,119,183,0.12), transparent 62%),
    radial-gradient(900px 640px at 12% 120%, rgba(255,255,255,0.05), transparent 64%);
}

/* Header */
.services__head{
  max-width: 70ch;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.services__sub{
  margin: 10px 0 0;
  color: rgba(245,247,255,0.74);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Grid */
.servicesGrid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 18px);

  /* consistent height = premium, deliberate grid */
  grid-auto-rows: clamp(200px, 16vw, 280px);
}

/* Card */
.serviceCard{
  display: block;
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: 14px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 34px 120px rgba(0,0,0,0.55);

  isolation: isolate;
  transform: translateZ(0);
}

/* Two-wide cards (row 2) */
.serviceCard--wide{
  grid-column: span 6;
}

/* Specialty (same size, stronger presence) */
.serviceCard--primary{
  border-color: rgba(46,119,183,0.26);
}

.serviceCard--primary .serviceCard__label::before{
  width: 68px;
}

.serviceCard--wide .serviceCard__name{
  letter-spacing: 0.10em;
  font-size: 0.94rem;
}


/* View button (tile CTA) */
.serviceCard__btn{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 0.72rem;

  color: rgba(255,255,255,0.92);

  background: rgba(0,0,0,0.34);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.serviceCard__btnArrow{
  font-weight: 950;
  transform: translateY(-1px);
  transition: transform 180ms ease;
}

.serviceCard:hover .serviceCard__btn{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.46);
  border-color: rgba(255,255,255,0.20);
}

.serviceCard:hover .serviceCard__btnArrow{
  transform: translateY(-1px) translateX(2px);
}


/* Image */
.serviceCard img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: contrast(1.06) saturate(1.06);
  transform: scale(1.02);
  transition: transform 220ms ease, filter 220ms ease;
}

/* Overlay (tough, not glossy) */
.serviceCard::after{
  content:"";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.22) 55%, rgba(0,0,0,0.62) 100%);
  z-index: 1;
}

/* Label */
.serviceCard__label{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;

  display: grid;
  gap: 6px;
}

.serviceCard__label::before{
  content:"";
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46,119,183,0.95), transparent);
  opacity: 0.95;
}

.serviceCard__kicker{
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 760;
  font-size: 0.74rem;
  color: rgba(245,247,255,0.72);
}

.serviceCard__name{
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 920;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 18px 50px rgba(0,0,0,0.55);
}

.serviceCard--primary .serviceCard__name{
  font-size: 1.06rem;
  letter-spacing: 0.14em;
}

/* Hover (subtle, precise) */
.serviceCard:hover{
  border-color: rgba(255,255,255,0.18);
}

.serviceCard:hover img{
  transform: scale(1.06);
  filter: contrast(1.10) saturate(1.08);
}

/* Responsive */
@media (max-width: 980px){
  .servicesGrid{ grid-auto-rows: clamp(190px, 26vw, 260px); }
  .serviceCard{ grid-column: span 6; }
  .serviceCard--wide{ grid-column: span 12; }
}

@media (max-width: 640px){
  .servicesGrid{ grid-auto-rows: clamp(190px, 56vw, 250px); }
  .serviceCard, .serviceCard--wide{ grid-column: span 12; }
  .services__sub{ font-size: 1.0rem; }
}








/* =========================
   HERO FLYWHEEL (services crawl)
   ========================= */

.flywheel{
  position: absolute;
  left: 0;
  right: 0;

  /* bottom of hero only */
  bottom: calc(env(safe-area-inset-bottom) + 16px);

  z-index: 6;
  pointer-events: none;
}

.flywheel__mask{
  position: relative;
  overflow: hidden;
  padding: 10px 0;

  /* elegant spec plate — barely there */
  background: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.06));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.03);

  box-shadow: 0 -18px 80px rgba(0,0,0,0.38);

  /* fade the ends */
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.flywheel__track{
  display: flex;
  width: max-content;
  will-change: transform;

  /* slow = premium */
  animation: flywheel 36s linear infinite;
}

.flywheel__row{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 var(--padX);
}

.flywheel__item{
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 780;
  font-size: 0.70rem;

  color: rgba(245,247,255,0.56);
  text-shadow: 0 18px 60px rgba(0,0,0,0.55);
  white-space: nowrap;
}

.flywheel__dot{
  width: 4px;
  height: 4px;
  border-radius: 999px;

  background: rgba(46,119,183,0.62);
  box-shadow: 0 0 0 6px rgba(46,119,183,0.08);
  opacity: 0.9;
}

@keyframes flywheel{
  from{ transform: translate3d(0, 0, 0); }
  to{ transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 820px){
  .flywheel{
    bottom: calc(env(safe-area-inset-bottom) + 14px);
  }
  .flywheel__track{
    animation-duration: 44s;
  }
}

@media (max-width: 640px){
  /* small screens: wrap instead of crawl (cleaner) */
  .flywheel__track{
    animation: none;
    width: 100%;
  }
  .flywheel__row{
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    row-gap: 8px;
    column-gap: 12px;
  }
  .flywheel__row[aria-hidden="true"]{ display: none; }
  .flywheel__dot{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  .flywheel__track{ animation: none; }
  .flywheel__row[aria-hidden="true"]{ display: none; }
  .flywheel__dot{ display: none; }
}


/* =========================
   PROCESS SECTION (removes friction)
   No cards. Just a clean timeline.
   ========================= */

.section--process{
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section--process::before{
  /* subtle light + steel texture */
  background:
    radial-gradient(900px 520px at 80% 10%, rgba(46,119,183,0.14), transparent 62%),
    radial-gradient(900px 620px at 10% 120%, rgba(255,255,255,0.05), transparent 64%),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px;
  opacity: 1;
}

.process{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
}

.process__intro{
  max-width: 52ch;
}

.process__lead{
  margin: 10px 0 0;
  color: rgba(245,247,255,0.74);
  font-size: 1.02rem;
  line-height: 1.55;
}


/* Desktop-only photo to remove dead space under the intro */
.process__media{
  margin-top: clamp(18px, 2.4vw, 34px);
  display: none;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 10;

  /* slightly calmer than the main photo frames */
  box-shadow: 0 22px 80px rgba(0,0,0,0.42);
}

/* show on desktop only */
@media (min-width: 981px){
  .process__media{ display: block; }
}

/* Timeline */
.steps{
  margin: 0;
  padding: 0;
  list-style: none;

  position: relative;
  display: grid;
  gap: 0;
}

.steps::before{
  content:"";
  position: absolute;
  left: 18px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,0.10);
  opacity: 0.9;
}

.steps__item{
  position: relative;
  padding: 18px 0 18px 62px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.steps__item:last-child{
  border-bottom: none;
}

.steps__item::before{
  content:"";
  position: absolute;
  left: 14px;
  top: 28px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(46,119,183,0.85);
  box-shadow: 0 0 0 7px rgba(46,119,183,0.10);
}

/* The “alive” part: a silent highlight that feels machined */
.steps__item::after{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(46,119,183,0.16), transparent 46%);
  transition: opacity 180ms ease;
}

.steps__item:hover::after{
  opacity: 1;
}

.steps__num{
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 920;
  font-size: 0.78rem;
  color: rgba(245,247,255,0.62);
  margin-bottom: 8px;
}

.steps__title{
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 950;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.95);
}

.steps__text{
  margin: 0;
  color: rgba(245,247,255,0.72);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 52ch;
}

/* Responsive */
@media (max-width: 980px){
  .process{
    grid-template-columns: 1fr;
  }

  .steps::before{
    left: 16px;
  }

  .steps__item{
    padding-left: 56px;
  }
}

@media (max-width: 560px){
  .steps__item{
    padding: 16px 0 16px 54px;
  }

  .steps__item::before{
    top: 26px;
  }

  .steps__title{
    letter-spacing: 0.10em;
  }
}

/* =========================
   CONTACT CTA SECTION
   ========================= */

.section--cta{
  padding: clamp(72px, 7vw, 120px) 0;
}

.ctaPanel{
  position: relative;
  border-radius: 18px;
  overflow: hidden;

  padding: clamp(22px, 3.2vw, 34px);
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;

  /* tough, clean */
  background: linear-gradient(180deg, rgba(0,0,0,0.94) 0%, rgba(9,12,18,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 42px 160px rgba(0,0,0,0.28);
}

.ctaPanel::before{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(46,119,183,0.22), transparent 60%),
    radial-gradient(900px 700px at 110% 120%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px;
  opacity: 0.85;
}

.ctaPanel__copy,
.ctaPanel__actions{
  position: relative;
  z-index: 1;
}

.ctaPanel__eyebrow{
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 760;
  color: rgba(245,247,255,0.70);
}

.ctaPanel__title{
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: rgba(255,255,255,0.96);
  text-shadow: 0 26px 88px rgba(0,0,0,0.55);
}

.ctaPanel__text{
  margin: 0 0 14px;
  color: rgba(245,247,255,0.78);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 52ch;
}

.ctaPanel__meta{
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 820;
  font-size: 0.74rem;
  color: rgba(245,247,255,0.60);
}

.ctaPanel__actions{
  display: grid;
  justify-items: start;
  gap: 10px;
}

.btn--cta{
  padding: 14px 18px;
  border-radius: 10px;

  border-color: rgba(46,119,183,0.55);
  background: linear-gradient(180deg, rgba(46,119,183,0.98) 0%, rgba(11,63,123,0.98) 100%);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -18px 28px rgba(0,0,0,0.22),
    0 22px 70px rgba(0,0,0,0.50);
}

.btn--cta:hover{
  border-color: rgba(46,119,183,0.70);
  transform: translateY(-1px);
}

.ctaPanel__hint{
  margin: 0;
  color: rgba(245,247,255,0.62);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 920px){
  .ctaPanel{
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .ctaPanel__actions{
    width: 100%;
    justify-items: start;
  }
}

/* =========================
   SECTION VARIANT: LIGHT (Steel / Architectural)
   Add class "section--light" to any .section
   ========================= */

.section--light{
  background: linear-gradient(180deg, #f4f6f8 0%, #eceff3 100%);
  border-top: 1px solid rgba(11,15,20,0.08);
}

.section--light::before{
  opacity: 1;
  background:
    radial-gradient(1000px 640px at 18% 10%, rgba(46,119,183,0.10), transparent 62%),
    radial-gradient(900px 720px at 86% 0%, rgba(0,0,0,0.05), transparent 66%);
}

.section--light .eyebrow{
  color: rgba(11,15,20,0.62);
}

.section--light .section__title{
  color: rgba(11,15,20,0.94);
  text-shadow: none;
}

.section--light .section__lead,
.section--light .bullets li,
.section--light .services__sub{
  color: rgba(11,15,20,0.74);
  text-shadow: none;
}

.section--light .section__lead strong,
.section--light .bullets li strong,
.section--light .fact__top{
  color: rgba(11,15,20,0.94);
}

.section--light .fact__bot{
  color: rgba(11,15,20,0.62);
}

/* Photos on light */
.section--light .photo{
  background: rgba(11,15,20,0.02);
  border-color: rgba(11,15,20,0.10);
  box-shadow: 0 26px 90px rgba(0,0,0,0.18);
}

/* Service tiles on light (keep them "tough") */
.section--light .serviceCard{
  background: rgba(11,15,20,0.02);
  border-color: rgba(11,15,20,0.12);
  box-shadow: 0 26px 90px rgba(0,0,0,0.18);
}

.section--light .serviceCard:hover{
  border-color: rgba(11,15,20,0.18);
}

/* Maintain section separation without adding bulk */
.section--light + .section{
  border-top: 1px solid rgba(255,255,255,0.06);
}

.serviceCard:focus-visible{ border-radius: 14px; }


/* =========================
   FOOTER
   ========================= */

.footer{
  background: linear-gradient(180deg, #05070a 0%, #000 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0 28px;
}

.footer__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--padX);
}

.footer__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.footer__brand{
  max-width: 58ch;
}

.footer__logoLink{
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer__logo{
  height: 74px;
  width: auto;
  max-width: min(520px, 78vw);
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
}

.footer__tagline{
  margin: 12px 0 6px;
  color: rgba(245,247,255,0.74);
  font-weight: 720;
  letter-spacing: 0.02em;
}

.footer__area{
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 820;
  font-size: 0.74rem;
  color: rgba(245,247,255,0.55);
}


.footer__contact{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.footer__contactLink{
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;

  padding: 6px 0;

  color: rgba(245,247,255,0.72);
  text-transform: none;
}

.footer__contactLabel{
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 880;
  font-size: 0.72rem;
  color: rgba(245,247,255,0.52);
}

.footer__contactValue{
  font-weight: 760;
  font-size: 0.96rem;
  color: rgba(245,247,255,0.84);
  word-break: break-word;
}

.footer__contactLink::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(46,119,183,0.85), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 170ms ease;
  opacity: 0.9;
}

.footer__contactLink:hover{
  color: rgba(245,247,255,0.95);
}

.footer__contactLink:hover .footer__contactValue{
  color: rgba(255,255,255,0.96);
}

.footer__contactLink:hover::after{
  transform: scaleX(1);
}

.footer__nav{
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 160px;
}

.footer__link{
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 860;
  font-size: 0.78rem;
  color: rgba(245,247,255,0.72);
  padding: 6px 0;
}

.footer__link::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(46,119,183,0.9), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 170ms ease;
  opacity: 0.9;
}

.footer__link:hover{
  color: rgba(245,247,255,0.95);
}

.footer__link:hover::after{
  transform: scaleX(1);
}

.footer__link--cta{
  color: rgba(255,255,255,0.92);
}

.footer__bottom{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy{
  color: rgba(245,247,255,0.60);
  font-size: 0.92rem;
}

.footer__fine{
  color: rgba(245,247,255,0.44);
  font-size: 0.92rem;
}

/* Footer on small screens */
@media (max-width: 720px){
  .footer__nav{
    justify-items: start;
  }
}
