/* ==========================================================================
   IWES — Infinite Wind Energy Services
   Design system inspired by Salient "Architect" demo:
   full-bleed imagery, oversized rounded type, eyebrow labels,
   generous whitespace, smooth scroll-reveal + parallax motion.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
@import url('https://fonts.cdnfonts.com/css/amagro');

:root{
  --navy:        #1d3571;
  --navy-deep:   #112044;
  --sky:         #328fd1;
  --sky-light:   #6db6ea;
  --amber:       #328fd1;
  --ink:         #12181f;
  --paper:       #ffffff;
  --off:         #f5f6f8;
  --line:        #e4e6eb;
  --muted:       #6b7280;

  --font: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);

  --container: 1240px;
  --gap: clamp(20px, 4vw, 48px);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
section{ position:relative; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

::selection{ background: var(--amber); color: var(--navy-deep); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sky);
}
.eyebrow::before{
  content:"";
  width: 26px;
  height: 2px;
  background: var(--amber);
  display:inline-block;
}
h2.title{
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 18px;
  max-width: 16ch;
  overflow-wrap: break-word;
}
.lede{
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 54ch;
  margin-top: 18px;
}
.section-head{ margin-bottom: clamp(40px, 6vw, 76px); }
.section-head.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-head.center .title, .section-head.center .lede{ margin-left:auto; margin-right:auto; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-scale{ opacity:0; transform: scale(.94); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-scale.in{ opacity:1; transform: scale(1); }
.stagger.in .s-item{ transition-delay: calc(var(--i) * 90ms); }

/* ---------- Split-text word-mask reveal (headline entrance) ---------- */
.split-text{ overflow: hidden; }
.split-text .word-mask{
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.split-text .word-inner{
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--wi, 0) * 45ms);
}
.split-text.in .word-inner{ transform: translateY(0); }
/* headlines already in the first viewport get a small base delay so they
   read as an entrance rather than snapping in with the page paint */
.hero .split-text .word-inner,
.page-hero .split-text .word-inner{
  transition-delay: calc(.32s + (var(--wi, 0) * 45ms));
}

/* ---------- Image wipe reveal ---------- */
.img-reveal{ position: relative; overflow: hidden; }
.img-reveal::before{
  content: "";
  position: absolute; inset: 0;
  background: var(--navy);
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 1.05s var(--ease-soft);
  transition-delay: .08s;
  z-index: 3;
}
.img-reveal.in::before{ transform: scaleX(0); }
.img-reveal img{ transition: transform 1.4s var(--ease); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  padding: 22px 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(20,32,73,.06);
  transition: padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.site-header.scrolled{
  padding: 14px 0;
  box-shadow: 0 4px 20px -6px rgba(20,32,73,.14);
}
.logo{
  font-family: 'Amagro', var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--navy);
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}
.logo .dot{ width:9px; height:9px; border-radius:50%; background: var(--amber); }
.logo-mark{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  flex-shrink:0;
}
.logo-icon{ height: 50px; width:auto; display:block; }
.logo-mark-text{
  font-family: 'Amagro', var(--font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .03em;
}
.logo-text-wrap{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.logo-text{
  display:block;
  text-align:left;
  font-size: clamp(20px, 3.4vw, 25px);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-tagline{
  display:block;
  text-align:right;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
  color: var(--sky);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.footer-brand .logo-icon{ filter: brightness(0) invert(1); }
.footer-brand .logo-tagline{ color: rgba(255,255,255,.55); }

.nav-desktop{ display:flex; align-items:center; gap: 28px; }
.nav-desktop a{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color .35s;
}
.nav-desktop a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px;
  height:2px; background: var(--amber);
  transition: right .35s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a.active::after{ right:0; }
.nav-desktop a.active{ color: var(--sky); }

.header-right{ display:flex; align-items:center; gap:16px; }
.phone-pill{
  display:flex; align-items:center; gap:8px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color:#fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .4s var(--ease);
}
.phone-pill:hover{ background: var(--sky); border-color: var(--sky); }

.menu-btn{
  flex-shrink:0;
  width: 50px; height:50px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  border: 1px solid var(--navy);
  display:flex; align-items:center; justify-content:center;
  flex-direction: column; gap:5px;
  transition: all .4s var(--ease);
}
.menu-btn span{ width:18px; height:2px; background:#fff; border-radius:2px; transition: all .35s var(--ease); }
.menu-btn:hover{ background: var(--sky); border-color: var(--sky); }

/* Full-screen nav overlay */
.nav-overlay{
  position: fixed; inset:0; z-index: 900;
  background: var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
}
.nav-overlay.open{ opacity:1; visibility:visible; transition: opacity .55s var(--ease); }
.nav-overlay-close{
  position:absolute; top:22px; right: clamp(20px,5vw,64px);
  width:50px; height:50px; border-radius:50%;
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:#fff; font-size:20px; display:flex; align-items:center; justify-content:center;
}
.nav-overlay ul{ text-align:center; }
.nav-overlay li{ overflow:hidden; }
.nav-overlay a{
  display:block;
  font-size: clamp(34px, 7vw, 74px);
  font-weight: 700;
  color: rgba(255,255,255,.5);
  padding: 10px 0;
  letter-spacing: -0.02em;
  transform: translateY(60px);
  opacity:0;
  transition: transform .7s var(--ease), color .3s;
}
.nav-overlay.open a{ transform: translateY(0); opacity:1; }
.nav-overlay li:nth-child(1) a{ transition-delay: .08s; }
.nav-overlay li:nth-child(2) a{ transition-delay: .14s; }
.nav-overlay li:nth-child(3) a{ transition-delay: .2s; }
.nav-overlay li:nth-child(4) a{ transition-delay: .26s; }
.nav-overlay li:nth-child(5) a{ transition-delay: .32s; }
.nav-overlay a:hover, .nav-overlay a.active{ color:#fff; }
.nav-overlay a.active{ color: var(--amber); }

/* Lightbox */
.split-slideshow{ cursor: zoom-in; }
.lightbox{
  position: fixed; inset:0; z-index: 1000;
  background: rgba(10,14,26,.96);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.lightbox.open{ opacity:1; visibility:visible; transition: opacity .4s var(--ease); }
.lightbox-stage{
  position:relative;
  width: min(88vw, 1100px);
  max-height: 84vh;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-stage img{
  max-width:100%; max-height:84vh;
  width:auto; height:auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  opacity:0; transform: scale(.97);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lightbox-stage img.in{ opacity:1; transform: scale(1); }
.lightbox-count{
  position:absolute; left:50%; bottom:-38px; transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: 13.5px; font-weight:600; letter-spacing:.03em;
  white-space:nowrap;
}
.lightbox-close{
  position:absolute; top:22px; right: clamp(20px,5vw,64px);
  width:50px; height:50px; border-radius:50%;
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:#fff; font-size:20px; display:flex; align-items:center; justify-content:center;
  z-index:2; transition: background .3s;
}
.lightbox-close:hover{ background: rgba(255,255,255,.2); }
.lightbox-nav{
  width:52px; height:52px; border-radius:50%; flex-shrink:0;
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:#fff; display:flex; align-items:center; justify-content:center;
  margin: 0 clamp(10px, 3vw, 34px);
  transition: background .3s;
}
.lightbox-nav:hover{ background: rgba(255,255,255,.2); }
.lightbox-nav svg{ width:22px; height:22px; }
@media (max-width: 720px){
  .lightbox-nav{ width:42px; height:42px; margin:0 8px; }
  .lightbox-close{ top:14px; width:42px; height:42px; }
}

/* Below this, "Infinite Wind Energy Services" + tagline can't fit next to the
   menu button without truncating — drop to the compact icon+IWES mark. */
@media (max-width: 560px){
  .logo-text-wrap{ display:none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex; align-items:center;
  overflow:hidden;
  background: var(--navy-deep);
}
.hero-media{
  position:absolute; inset:0;
  z-index:0;
}
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.12);
  will-change: transform;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,19,48,.72) 0%, rgba(11,19,48,.42) 46%, rgba(11,19,48,.86) 100%);
}
/* Recolour warm/sunset photography into the site's navy-blue palette */
.hero-media.theme-tint img{
  filter: saturate(.55) sepia(.4) hue-rotate(178deg) saturate(2.6) brightness(.92) contrast(1.05);
}
.hero-content{
  position:relative; z-index:2;
  padding-top: 90px;
  width:100%;
}
.hero-eyebrow{
  color: var(--amber);
  font-size: 13px; font-weight:700; letter-spacing:.24em; text-transform:uppercase;
  opacity:0; transform: translateY(18px);
  animation: heroIn .9s var(--ease) .3s forwards;
}
.hero h1{
  color:#fff;
  font-size: clamp(34px, 7.6vw, 104px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 18px;
  max-width: 15ch;
  overflow-wrap: break-word;
}
.hero p.sub{
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 46ch;
  margin-top: 24px;
  line-height:1.6;
  opacity:0; transform: translateY(22px);
  animation: heroIn .9s var(--ease) .65s forwards;
}
.hero-actions{
  display:flex; gap:16px; flex-wrap:wrap;
  margin-top: 40px;
  opacity:0; transform: translateY(22px);
  animation: heroIn .9s var(--ease) .8s forwards;
}
@keyframes heroIn{ to{ opacity:1; transform:none; } }

.scroll-cue{
  position:absolute; right: clamp(20px,5vw,64px); bottom: 40px;
  z-index:2;
  display:flex; align-items:center; justify-content:center;
  width:96px; height:96px;
  opacity:0; animation: heroIn 1s var(--ease) 1.1s forwards;
}
.scroll-cue svg{ position:absolute; inset:0; width:100%; height:100%; animation: spin 16s linear infinite; }
.scroll-cue .arrow{
  width:14px; height:14px;
  border-right:2px solid #fff; border-bottom:2px solid #fff;
  transform: rotate(45deg);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes bob{ 0%,100%{ transform: rotate(45deg) translate(0,0);} 50%{ transform: rotate(45deg) translate(3px,3px);} }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: all .4s var(--ease);
  white-space: nowrap;
}
.btn-primary{ background: var(--amber); color: var(--navy-deep); }
.btn-primary:hover{ background:#fff; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.btn-ghost{ background: rgba(255,255,255,.06); color:#fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover{ background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.btn-dark{ background: var(--navy); color:#fff; }
.btn-dark:hover{ background: var(--sky); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(50,143,209,.5); }
.btn-arrow{ transition: transform .4s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

/* ==========================================================================
   Marquee ticker
   ========================================================================== */
.marquee{
  background: var(--navy);
  padding: 22px 0;
  overflow:hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.marquee-track{
  display:inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span{
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  color: rgba(255,255,255,.9);
  padding: 0 28px;
  display:inline-flex; align-items:center; gap:28px;
  letter-spacing:-0.01em;
}
.marquee-track span::after{ content:"◆"; color: var(--amber); font-size:12px; }

/* ==========================================================================
   Clients
   ========================================================================== */
.clients{ padding: clamp(80px,10vw,140px) 0; }
.clients-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
}
.client-card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  min-height: 110px;
  display:flex; align-items:center; justify-content:center;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.client-card:hover{ box-shadow: 0 20px 40px -20px rgba(20,32,73,.18); transform: translateY(-4px); border-color: transparent; }
.client-card img{ max-width:100%; max-height:52px; width:auto; height:auto; object-fit:contain; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats{ padding: clamp(60px,8vw,100px) 0; background: var(--off); }
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat{ text-align:center; }
.stat .num{
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  display:flex; align-items:baseline; justify-content:center; gap:2px;
}
.stat .num .suffix{ font-size: .5em; color: var(--sky); }
.stat .label{ margin-top:10px; color: var(--muted); font-weight:600; font-size:14px; }

/* ==========================================================================
   Spectrum / split feature section
   ========================================================================== */
.split{
  padding: clamp(80px,10vw,140px) 0;
}
.split .container{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items:center;
}
.split.reverse .container{ direction: rtl; }
.split.reverse .container > *{ direction: ltr; }
.split-media{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  aspect-ratio: 4/5;
}
.split-media img{ width:100%; height:100%; object-fit:cover; transition: transform 1.2s var(--ease); }
.split-media:hover img{ transform: scale(1.06); }
.split-slideshow img{
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.4s var(--ease), transform 7s linear;
  transform: scale(1);
}
.split-slideshow img.active{
  opacity: 1;
  z-index: 2;
  transform: scale(1.08);
}
.split-media .tag{
  position:absolute; left:22px; bottom:22px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  padding: 14px 20px;
  border-radius: 14px;
  font-weight:700; font-size:14px;
  color: var(--navy);
  display:flex; align-items:center; gap:10px;
}
.split-media .tag .dot{ width:8px;height:8px;border-radius:50%; background: var(--amber); }

.spectrum-list{ margin-top: 30px; display:grid; gap:0; }
.spectrum-list li{
  display:flex; align-items:flex-start; gap:16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spectrum-list li:first-child{ padding-top:0; }
.spectrum-list .idx{
  font-size:13px; font-weight:800; color: var(--sky);
  width:30px; height:30px; border-radius:50%;
  border:1.5px solid var(--sky);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.spectrum-list .txt strong{ font-size:16.5px; font-weight:700; display:block; }
.spectrum-list .txt span{ font-size:14.5px; color: var(--muted); }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services{ padding: clamp(80px,10vw,140px) 0; }
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--navy-deep);
  border: 1px solid var(--navy-deep);
  border-radius: 24px;
  overflow:hidden;
}
.service-card{
  background: var(--navy-deep);
  padding: clamp(30px,3vw,44px);
  min-height: 280px;
  display:flex; flex-direction:column; justify-content:flex-end;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.card-bg{
  position:absolute; inset:0; z-index:-2;
}
.card-bg img{
  width:100%; height:100%; object-fit:cover;
  filter: grayscale(.2) brightness(.6);
  transform: scale(1.08);
  transition: transform 1.1s var(--ease-soft), filter .6s var(--ease);
}
.service-card::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(11,20,46,.35) 0%, rgba(11,20,46,.55) 40%, rgba(8,14,32,.92) 100%);
  transition: background .5s var(--ease);
}
.service-card:hover .card-bg img{ transform: scale(1.16); filter: grayscale(0) brightness(.7); }
.service-card:hover::before{ background: linear-gradient(180deg, rgba(29,53,113,.25) 0%, rgba(17,32,68,.5) 40%, rgba(8,14,32,.88) 100%); }
.service-card:hover .card-icon{ background: var(--amber); color: var(--navy-deep); transform: rotate(-8deg) scale(1.05); }
.card-num{
  font-size: 13px; font-weight:800; letter-spacing:.1em; color: var(--line);
}
.service-card .card-num{
  position:absolute; top: clamp(24px,2.6vw,36px); left: clamp(30px,3vw,44px);
  color: rgba(255,255,255,.4);
}
.card-icon{
  width:52px; height:52px; border-radius: 14px;
  background: var(--off);
  color: var(--sky);
  display:flex; align-items:center; justify-content:center;
  margin: 20px 0 22px;
  transition: all .45s var(--ease);
}
.service-card .card-icon{
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  color:#fff;
  margin: 0 0 18px;
}
.card-icon svg{ width:24px; height:24px; }
.card-title{ font-size: 19px; font-weight:700; }
.service-card .card-title{ color:#fff; }
.service-card .card-txt{ color: rgba(255,255,255,.8); }

.service-card-cta{
  background: var(--navy);
  padding: clamp(30px,3vw,44px);
  display:flex; flex-direction:column; justify-content:center;
  color:#fff;
  transition: background .45s var(--ease);
}
.service-card-cta:hover{ background: var(--sky); }
.service-card-cta .card-title{ color:#fff; font-size:19px; }
.service-card-cta .card-txt{ color: rgba(255,255,255,.7); margin-top:10px; font-size:14.5px; line-height:1.6; }
.service-card-cta .btn-arrow{ display:inline-block; margin-top:18px; font-weight:700; color: var(--amber); }
.card-txt{ margin-top:10px; font-size:14.5px; line-height:1.65; color: var(--muted); transition: color .45s var(--ease); }

/* ==========================================================================
   CTA parallax band
   ========================================================================== */
.cta-band{
  position: relative;
  min-height: 56vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  overflow:hidden;
}
.cta-band .hero-media img{ transform: scale(1.15); }
.cta-band-content{ position:relative; z-index:2; padding: 60px 20px; }
.cta-band h2{
  color:#fff;
  font-size: clamp(28px, 5vw, 60px);
  font-weight:700;
  letter-spacing:-0.02em;
  max-width: 18ch;
  margin: 0 auto;
  line-height:1.15;
  overflow-wrap: break-word;
}
.cta-band p{ color: rgba(255,255,255,.8); margin: 20px auto 0; max-width: 50ch; font-size:17px; }
.cta-band .btn{ margin-top:34px; }

/* ==========================================================================
   Why choose us — icon list
   ========================================================================== */
.why{ padding: clamp(80px,10vw,140px) 0; background: var(--off); }
.why-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: var(--gap);
  margin-top: 10px;
}
.why-grid.key-contacts-grid{
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
}
.why-card{
  background:#fff; border-radius:20px; padding: 34px 30px;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.why-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(20,32,73,.22); border-color: transparent; }
.why-card .card-icon{ background: rgba(50,143,209,.1); }

/* ==========================================================================
   Mission / Vision
   ========================================================================== */
.pillars{ padding: clamp(80px,10vw,140px) 0; }
.pillars-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: var(--gap); }
.pillar{
  padding: clamp(32px,3vw,46px);
  border-radius: 22px;
  color:#fff;
}
.pillar.mission{ background: var(--navy); }
.pillar.vision{ background: var(--navy-deep); }
.pillar .tag{ font-size:12.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color: var(--amber); }
.pillar h3{ font-size: clamp(24px,2.6vw,32px); margin-top:16px; font-weight:700; line-height:1.25; }
.pillar ul{ margin-top:22px; display:grid; gap:14px; }
.pillar li{ display:flex; gap:12px; align-items:flex-start; color: rgba(255,255,255,.85); font-size:18px; line-height:1.6; }
.pillar li svg{ flex-shrink:0; margin-top:3px; color: var(--sky-light); }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid{
  display:grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.team-card{ text-align:center; }
.team-avatar{
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(155deg, var(--navy), var(--sky));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 32px; font-weight:800;
  position:relative; overflow:hidden;
  transition: transform .5s var(--ease);
}
.team-card:hover .team-avatar{ transform: translateY(-6px); }
.team-avatar::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(120% 100% at 20% 0%, rgba(255,255,255,.25), transparent 60%);
}
.team-name{ margin-top: 16px; font-weight: 700; font-size: 16px; }
.team-role{ margin-top: 4px; font-size: 13.5px; color: var(--muted); text-transform:uppercase; letter-spacing:.06em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,.75); padding-top: clamp(70px,8vw,110px); }
.footer-top{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--gap);
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo{ color:#fff; }
.footer-brand p{ margin-top:18px; font-size:14.5px; line-height:1.7; max-width: 34ch; color: rgba(255,255,255,.55); }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  transition: all .35s var(--ease);
}
.footer-social a:hover{ background: var(--amber); border-color: var(--amber); color: var(--navy-deep); transform: translateY(-3px); }
.footer-col h4{ color:#fff; font-size: 14px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:20px; }
.footer-col ul{ display:grid; gap:12px; }
.footer-col a{ font-size:14.5px; color: rgba(255,255,255,.6); transition: color .3s, padding-left .3s; }
.footer-col a:hover{ color:#fff; padding-left:4px; }
.footer-col .contact-line{ display:flex; gap:10px; font-size:14.5px; color: rgba(255,255,255,.6); align-items:flex-start; }
.footer-col .contact-line svg{ flex-shrink:0; margin-top:3px; color: var(--sky-light); }
.footer-col .contact-line + .contact-line{ margin-top:14px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 26px 0; font-size:13px; color: rgba(255,255,255,.4); flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color: rgba(255,255,255,.6); }

/* ==========================================================================
   Inner page hero (About / Services / Team / Contact)
   ========================================================================== */
.page-hero{
  position:relative;
  min-height: 62vh;
  display:flex; align-items:flex-end;
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: clamp(50px,6vw,80px);
  overflow:hidden;
  background: var(--navy-deep);
}
.page-hero-content{ position:relative; z-index:2; }
.breadcrumb{ display:flex; gap:8px; align-items:center; color: rgba(255,255,255,.55); font-size:13.5px; font-weight:600; }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color: var(--amber); }
.page-hero h1{
  color:#fff; margin-top:18px;
  font-size: clamp(32px, 6vw, 76px);
  line-height: 1.1;
  font-weight:700; letter-spacing:-0.02em; max-width: 16ch;
  overflow-wrap: break-word;
}
.page-hero p{ color: rgba(255,255,255,.78); margin-top:18px; max-width:50ch; font-size:16.5px; line-height:1.7; }

/* ==========================================================================
   About page extras
   ========================================================================== */
.overview{ padding: clamp(80px,10vw,140px) 0; }
.overview .container{
  display:grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,6vw,90px);
}
.overview .lede-block p{ margin-top:16px; color:var(--muted); font-size:15.5px; line-height:1.75; }
.overview-points{ display:grid; gap:22px; }
.overview-point{ display:flex; gap:18px; }
.overview-point .num{ font-size:15px; font-weight:800; color: var(--sky); width:44px; }
.overview-point p{ color: var(--muted); font-size:15.5px; line-height:1.7; }
.overview-point strong{ display:block; font-size:17px; margin-bottom:6px; }

/* ---------- ISO / certification badge ---------- */
.iso-badge{
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color:#fff;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight:700; letter-spacing:.02em;
}
.iso-badge .badge-icon{
  width:22px; height:22px; border-radius:50%;
  background: var(--amber); color: var(--navy-deep);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.iso-badge.light{ background: var(--off); border-color: var(--line); color: var(--navy); }
.iso-badge.light .badge-icon{ background: var(--navy); color:#fff; }

/* ---------- Track record timeline ---------- */
.timeline{ margin-top: 10px; }
.timeline-item{
  display:grid; grid-template-columns: 150px 1fr; gap: clamp(20px,4vw,40px);
  padding: 30px 0; border-top: 1px solid var(--line);
}
.timeline-item:first-child{ border-top: 1px solid var(--line); }
.timeline-year{ font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.timeline-year span{ display:block; font-size:12px; font-weight:700; color: var(--sky); letter-spacing:.08em; text-transform:uppercase; margin-top:4px; }
.timeline-content{ display:grid; gap: 10px; }
.timeline-content li{
  list-style:none; position:relative; padding-left: 20px;
  font-size: 15px; color: var(--muted); line-height:1.6;
}
.timeline-content li::before{
  content:""; position:absolute; left:0; top:9px;
  width:6px; height:6px; border-radius:50%; background: var(--sky);
}
.timeline-content li strong{ color: var(--ink); font-weight:700; }

/* ==========================================================================
   Services page — capability blocks
   ========================================================================== */
.capabilities{ padding: 0 0 clamp(80px,10vw,140px); }
.cap-block{
  display:grid; grid-template-columns: .5fr 1.5fr; gap: clamp(30px,5vw,70px);
  padding: clamp(40px,5vw,60px) 0;
  border-top: 1px solid var(--line);
  align-items:start;
}
.cap-block:last-child{ border-bottom: 1px solid var(--line); }
.cap-media{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 4/5;
  background: var(--off);
}
.cap-media img{ width:100%; height:100%; object-fit:cover; transition: transform 1.2s var(--ease); }
.cap-block:hover .cap-media img{ transform: scale(1.08); }
.cap-media .cap-num{
  position:absolute; left:12px; bottom:12px;
  width:34px; height:34px; border-radius:50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  color: var(--navy); font-size:13px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.cap-block h3{ font-size: clamp(22px,2.2vw,28px); font-weight:700; }
.cap-block .cap-desc{ color: var(--muted); margin-top:10px; font-size:15.5px; max-width:60ch; }
.cap-tags{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.cap-tags span{
  font-size:13px; font-weight:600; color: var(--navy);
  background: var(--off); border:1px solid var(--line);
  padding:8px 14px; border-radius:999px;
}

/* ==========================================================================
   Pricing-ish -> "Process" steps (kept minimal & on-brand)
   ========================================================================== */
.process{ padding: clamp(80px,10vw,140px) 0; background: var(--off); }
.process-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); counter-reset: step; }
.process-step{ position:relative; padding-top: 10px; }
.process-step::before{
  counter-increment: step;
  content: "0" counter(step);
  font-size: 15px; font-weight:800; color: var(--sky);
  display:block; margin-bottom:16px;
}
.process-step h4{ font-size:17px; font-weight:700; }
.process-step p{ margin-top:8px; font-size:14.5px; color: var(--muted); line-height:1.6; }
.process-step:not(:last-child)::after{
  content:"";
  position:absolute; top:12px; left:36px; right:-24px;
  height:1px; background: var(--line);
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-wrap{ padding: clamp(70px,9vw,120px) 0; }
.contact-wrap .container{
  display:grid; grid-template-columns: 1fr .8fr; gap: clamp(40px,6vw,80px);
}
.contact-form{ display:grid; gap:20px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.field{ display:grid; gap:8px; }
.field label{ font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--navy); }
.field input, .field textarea, .field select{
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(50,143,209,.14);
}
.field textarea{ resize: vertical; min-height: 130px; }
.contact-info{ display:grid; gap:16px; align-content:start; }
.info-card{
  background: var(--off); border:1px solid var(--line); border-radius: 18px;
  padding: 24px; display:flex; gap:16px; align-items:flex-start;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.info-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(20,32,73,.25); }
.info-card .card-icon{ margin:0; flex-shrink:0; }
.info-card h4{ font-size:15px; font-weight:700; }
.info-card p, .info-card a{ font-size:14.5px; color: var(--muted); margin-top:4px; }
.map-frame{
  margin-top: 4px; border-radius:18px; overflow:hidden; border:1px solid var(--line);
  aspect-ratio: 16/10;
}
.map-frame iframe{ width:100%; height:100%; border:0; filter: grayscale(.15); }

/* Newsletter strip */
.newsletter{
  background: var(--navy);
  border-radius: 26px;
  padding: clamp(36px,4vw,54px);
  display:flex; align-items:center; justify-content:space-between;
  gap: 30px; flex-wrap:wrap;
  margin: 0 auto;
  max-width: var(--container);
  transform: translateY(50%);
  position:relative; z-index:5;
}
.newsletter h3{ color:#fff; font-size: clamp(20px,2.2vw,28px); font-weight:700; max-width: 26ch; }
.newsletter p{ color: rgba(255,255,255,.6); margin-top:8px; font-size:14.5px; }
.newsletter-form{ display:flex; gap:10px; flex: 1 1 380px; max-width:420px; }
.newsletter-form input{
  flex:1; padding: 15px 18px; border-radius: 999px; border:1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color:#fff; font-size:14.5px;
}
.newsletter-form input::placeholder{ color: rgba(255,255,255,.5); }
.newsletter-form input:focus{ outline:none; border-color: var(--amber); }
.pre-footer-spacer{ height: 0; }

/* ==========================================================================
   Gallery page
   ========================================================================== */
.gallery-section{ padding: clamp(70px,9vw,110px) 0 clamp(90px,10vw,140px); }

.gallery-filters{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom: clamp(32px,5vw,52px);
}
.filter-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.filter-pill span{
  font-size:11.5px; font-weight:700; color: var(--muted);
  background: var(--off); border-radius:999px; padding:2px 8px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.filter-pill:hover{ border-color: var(--sky); color: var(--sky); transform: translateY(-1px); }
.filter-pill.active{ background: var(--navy); border-color: var(--navy); color:#fff; }
.filter-pill.active span{ background: rgba(255,255,255,.18); color:#fff; }

.gallery-grid{
  column-count: 3;
  column-gap: clamp(14px, 2vw, 22px);
}
.gallery-item{
  display:block; width:100%;
  break-inside: avoid;
  margin-bottom: clamp(14px, 2vw, 22px);
  position: relative;
  border: none; padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--off);
  cursor: zoom-in;
  transition: transform .25s var(--ease-soft), opacity .5s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item img{
  width:100%; height:auto; display:block;
  transition: transform .6s var(--ease-soft);
}
.gallery-item:hover{ box-shadow: 0 18px 40px -18px rgba(17,32,68,.35); }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item-tag{
  position:absolute; left:12px; bottom:12px;
  background: rgba(17,32,68,.72);
  backdrop-filter: blur(4px);
  color:#fff; font-size:11.5px; font-weight:600; letter-spacing:.02em;
  padding: 6px 12px; border-radius: 999px;
  opacity:0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.gallery-item:hover .gallery-item-tag{ opacity:1; transform: translateY(0); }
.gallery-item.hide{ display:none; }

.gallery-empty{ text-align:center; color: var(--muted); padding: 60px 0; display:none; }
.gallery-empty:not([hidden]){ display:block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .stats-grid{ grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .clients-grid{ grid-template-columns: repeat(3,1fr); }
  .why-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid.key-contacts-grid{ grid-template-columns: repeat(2, minmax(0,300px)); }
  .pillars-grid{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: repeat(3,1fr); }
  .process-grid{ grid-template-columns: repeat(2,1fr); row-gap:36px; }
  .process-step::after{ display:none; }
  .overview .container{ grid-template-columns: 1fr; }
  .split .container{ grid-template-columns: 1fr; }
  .split.reverse .container{ direction: ltr; }
  .split-media{ order:-1; aspect-ratio: 16/9; }
  .cap-block{ grid-template-columns: 1fr; gap:14px; }
  .cap-media{ max-width: 160px; aspect-ratio: 1/1; }
  .contact-wrap .container{ grid-template-columns: 1fr; }
  .timeline-item{ grid-template-columns: 1fr; gap:8px; }
  .gallery-grid{ column-count: 2; }
}

/* Header nav/phone-pill collapse earlier than the general mobile breakpoint —
   the full "Infinite Wind Energy Services" wordmark needs the extra room. */
@media (max-width: 1260px){
  .nav-desktop{ display:none; }
  .phone-pill{ display:none; }
}

@media (max-width: 720px){
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .clients-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid.key-contacts-grid{ grid-template-columns: 1fr; max-width: 340px; margin-left:auto; margin-right:auto; }
  .team-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .form-row{ grid-template-columns: 1fr; }
  .newsletter{ flex-direction:column; align-items:flex-start; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
  h2.title{ max-width: none; }
  .gallery-grid{ column-count: 1; }
  .gallery-filters{ flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .gallery-filters::-webkit-scrollbar{ display:none; }
  .filter-pill{ flex: 0 0 auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-scale{ opacity:1; transform:none; }
}
