:root {
  --brand: #023f88;
  --accent: #00afde;
  --navy: #023f88;
  --secondary: #58595b;
  --muted: #807f83;
  --grey: #dcddde;
  --hdr-bg: #58595b;
  --hdr-fg: #ffffff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    "Figtree",
    -apple-system,
    "Helvetica Neue",
    sans-serif;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
  background: #fff;
}

/* ---- brand switcher bar ------------------------------------------------ */
.brandbar {
  background: var(--navy);
}
.brandbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.brandtab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}
/* Tab glyphs, matching the live sites: the WINDWAVE tab carries the full-colour
   blade on BOTH sites, construction carries the flat white one. Real images, not
   a mask — masking would discard the colour. */
.brandtab::before {
  content: "";
  width: 28px;
  height: 15px;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.brandtab--ww::before {
  background-image: url("/img/blade-color.png");
}
.brandtab--wc::before {
  background-image: url("/img/blade-white.png");
}

/* Colours sampled from the live bars. The asymmetry is deliberate: the WINDWAVE
   link reads grey on its own white tab and cyan against the navy bar, while
   CONSTRUCTION stays white in both states. */
.brandtab--ww {
  color: #00afde;
}
.brandtab--wc {
  color: #ffffff;
}
.brandtab--ww.is-active {
  background: #ffffff;
  color: #58595b;
}
.brandtab--wc.is-active {
  background: #58595b;
  color: #ffffff;
}
.brandtab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- header ------------------------------------------------------------ */
.site-header {
  background: var(--hdr-bg);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* The header logo is the square W mark; the footer carries the wide lockup. */
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--hdr-fg);
  cursor: pointer;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--hdr-fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--brand);
}
.nav .tel a {
  background: rgba(255, 255, 255, 0.18);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--hdr-fg);
}
.nav .has-sub > a::after {
  content: " ▾";
  font-size: 0.75em;
  opacity: 0.7;
}
.nav .has-sub {
  position: relative;
}
.nav .sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  background: #fff;
  min-width: 265px;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  border-top: 3px solid var(--brand);
}
.nav .has-sub:hover .sub {
  display: flex;
}
.nav .sub a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: var(--secondary);
  font-size: 0.93rem;
}
.nav .sub a:hover {
  background: #f5f7f6;
  color: var(--brand);
}

/* ---- gradient page hero ------------------------------------------------ */
.page-hero {
  background: linear-gradient(210deg, #00afde 0%, #023f88 50%);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.page-hero h1 {
  margin: 0 0 1.6rem;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-cta {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  padding: 0.8rem 2.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.hero-cta:hover {
  background: var(--navy);
  color: #fff;
}

/* ---- content ----------------------------------------------------------- */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}
.page p.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.page p.kicker + h1,
.page p.kicker + h2 {
  margin-top: 0;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
}
/* first image on the home page reads as a hero */
.home .page > img:first-of-type {
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  box-shadow: none;
}
.page p.lead {
  text-align: center;
  font-size: 1.12rem;
  max-width: 860px;
  margin: 0 auto 3rem;
  color: var(--muted);
}
.page h1 {
  color: var(--brand);
  font-weight: 600;
  font-size: 2.1rem;
  margin: 2.5rem 0 1rem;
}
.page h2 {
  color: var(--brand);
  font-weight: 600;
  font-size: 1.75rem;
  margin: 2.5rem 0 0.9rem;
}
.page h3 {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 2rem 0 0.7rem;
}
.page p {
  margin: 0 0 1.15rem;
}
.page a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}
.page a:hover {
  color: var(--accent);
}
.page ul {
  padding-left: 1.2rem;
}
.page li {
  margin: 0.35rem 0;
}
.page img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 1.75rem auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}
.page hr {
  border: 0;
  height: 3px;
  width: 64px;
  background: var(--accent);
  margin: 2.5rem auto;
}

/* ---- footer ------------------------------------------------------------ */
.site-footer {
  background: var(--secondary);
  color: #fff;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
/* Both footer lockups are already white artwork — no filter needed. */
.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-tag {
  margin: 0 0 1.2rem;
  font-style: italic;
  color: var(--grey);
}
.footer-meta {
  margin: 0 0 1.2rem;
  font-size: 0.94rem;
  color: #e6e7e8;
}
.site-footer a {
  color: var(--accent);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--grey);
}

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    display: none;
    width: 100%;
  }
  .nav.open {
    display: block;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.75rem 0;
  }
  .nav .sub {
    position: static;
    display: flex;
    box-shadow: none;
    border-top: 0;
    padding-left: 1rem;
    min-width: 0;
  }
  .brandtab {
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
  }
}

/* ======================================================================
   Design pass (2026-09-15): typography, spacing, images, home-page
   components, service cross-links, tagline band, three-column footer.
   Appended after the base rules so it wins on equal specificity.
   ====================================================================== */
:root {
  --text: #5b5c60;
  --rule: #e6e7e8;
  --soft: #f4f6f5;
}
body {
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
}

/* ---- content column ---------------------------------------------------- */
.page {
  max-width: 1040px;
  padding: 3.25rem 1.5rem 4rem;
}
.page > p,
.page > ul,
.page > ol,
.page > h2,
.page > h3,
.page > h4,
.page > blockquote {
  max-width: 780px;
}
.page h1 {
  color: var(--brand);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.page h2 {
  color: var(--brand);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.85rem;
}
.page h3 {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2.1rem 0 0.6rem;
}
.page h4 {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 1.9rem 0 0.45rem;
}
.page h2 + h3,
.page h2 + h4,
.page h3 + h4 {
  margin-top: 1rem;
}
.page p {
  margin: 0 0 1.2rem;
}
.page strong {
  color: var(--secondary);
  font-weight: 600;
}
.page ul {
  padding-left: 1.35rem;
  margin: 0 0 1.4rem;
}
.page li {
  margin: 0.4rem 0;
  padding-left: 0.15rem;
}
.page li::marker {
  color: var(--accent);
}
.page p.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}
.page p.lead {
  text-align: left;
  max-width: 780px;
  margin: 0 0 2.25rem;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--secondary);
  font-weight: 400;
}
.page p.kicker + h1,
.page p.kicker + h2 {
  text-transform: none;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.page p.kicker + h2 + p.lead {
  margin-top: 0.5rem;
}

/* Photos: no drop shadow, gentle radius, never taller than the viewport slice
   they sit in; portrait originals stop dominating the column. */
.page img {
  border-radius: 8px;
  box-shadow: none;
  margin: 2rem auto;
  max-height: 560px;
  width: auto;
}
.page > p > img:only-child {
  margin: 2rem auto;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.gallery img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin: 0;
  border-radius: 8px;
}
.gallery img.tall {
  aspect-ratio: 3/4;
}

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 0.78rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  border: 2px solid transparent;
  transition:
    background 0.15s,
    color 0.15s;
}
.btn-solid {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--brand);
}
.page .btn,
.page .btn:hover {
  text-decoration: none;
}
.page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

/* ---- home page: full-width sections ----------------------------------- */
.home .page {
  max-width: none;
  padding: 0;
}
.home .page > section {
  padding: 4.5rem 1.5rem;
}
.home .page > section > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.home-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 60%;
  color: #fff;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.home-hero-inner {
  position: relative;
  width: 100%;
}
.home-hero .kicker {
  color: var(--accent);
}
.home-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  max-width: 720px;
}
.home-hero p {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 3.5rem;
  align-items: center;
}
.split > img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  margin: 0;
  border-radius: 10px;
}
.split-reverse > img {
  order: 2;
}
.split h1,
.split h2 {
  margin-top: 0;
}
.page > .split {
  max-width: 1120px;
  margin: 0 auto;
}
.page > .split-first {
  padding-top: 1rem;
}
.split .kicker + h1,
.split .kicker + h2 {
  margin-top: 0;
}

.services {
  background: var(--soft);
}
.services h2 {
  margin-top: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.6rem 1.5rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
  position: relative;
}
.card::before {
  content: "";
  width: 30px;
  height: 16px;
  background: url("/img/blade-color.png") center/contain no-repeat;
  margin-bottom: 0.4rem;
}
.card h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}
.card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.card .more {
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card .more::after {
  content: " →";
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}
.page .card,
.page .card:hover {
  text-decoration: none;
}
.cards-compact .card {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
}
.cards-compact .card::before {
  margin: 0;
  flex: none;
}
.cards-compact .card h3 {
  font-size: 1rem;
}

.gallery-section h2 {
  margin-top: 0;
}
.gallery-home {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
}
.gallery-home img {
  aspect-ratio: auto;
}
.gallery-home img:nth-child(2),
.gallery-home img:nth-child(5) {
  grid-row: span 2;
}

/* ---- service cross-links + tagline band ---------------------------------- */
.explore {
  background: var(--soft);
  border-top: 1px solid var(--rule);
  padding: 3.25rem 1.5rem;
}
.explore-inner {
  max-width: 1040px;
  margin: 0 auto;
}
.explore .kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.4rem;
}
.explore h2 {
  margin: 0 0 1.25rem;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 700;
}
.explore-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.5rem 1.5rem;
}
.explore-list a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}
.explore-list a::before {
  content: "› ";
  color: var(--accent);
  font-weight: 700;
}
.explore-list a:hover {
  color: var(--brand);
}
.tagline-band {
  background: linear-gradient(210deg, var(--accent) 0%, var(--brand) 60%);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}
.tagline-band p {
  max-width: 900px;
  margin: 0 auto 1.75rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
}

/* ---- footer, three columns --------------------------------------------- */
.site-footer {
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  text-align: left;
  padding: 3.5rem 1.5rem 2rem;
}
.footer-col p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: #e6e7e8;
  line-height: 1.6;
}
.footer-col h4 {
  margin: 0.3rem 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-about .footer-logo {
  height: 44px;
  margin: 0 0 0.75rem;
}
.footer-tag {
  font-style: italic;
  color: var(--grey);
  margin: 0 0 1rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}
.footer-links li {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}
.footer-links a::before {
  content: "› ";
  color: var(--accent);
}
.site-footer a {
  color: #fff;
}
.site-footer a:hover {
  color: var(--accent);
  text-decoration: none;
}
.footer-copy {
  text-align: center;
  padding: 1.25rem 1.5rem 1.75rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: var(--grey);
}

/* `.page a` (0,1,1) outranks `.btn-solid` (0,1,0), which left button labels
   green-on-green; restate the button colours at matching specificity. */
.page .btn-solid,
.home-hero .btn-solid {
  color: #fff;
}
.page .btn-solid:hover,
.home-hero .btn-solid:hover {
  color: #fff;
}
.page .btn-ghost,
.home-hero .btn-ghost {
  color: #fff;
}
.page .btn-ghost:hover,
.home-hero .btn-ghost:hover {
  color: var(--brand);
}
.tagline-band .btn-ghost {
  color: #fff;
}
.tagline-band .btn-ghost:hover {
  color: var(--brand);
}

/* ---- about page ----------------------------------------------------------- */
.page p.kicker + h2 {
  margin-top: 0;
}
.page blockquote.mission {
  max-width: none;
  margin: 2.75rem 0;
  padding: 2rem 2.25rem;
  border-left: 5px solid var(--accent);
  background: var(--soft);
  border-radius: 0 10px 10px 0;
}
.page blockquote.mission .kicker {
  margin: 0 0 0.5rem;
}
.page blockquote.mission p:last-child {
  margin: 0;
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
}
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem 1.25rem;
  margin: 1.75rem 0 2.5rem;
}
.person {
  text-align: center;
}
.page .person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 0 0.85rem;
  border-radius: 12px;
  max-height: none;
}
.page .person img.placeholder {
  object-fit: contain;
  background: var(--soft);
  padding: 1.5rem;
}
.person h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--secondary);
}
.person .role {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---- embedded network map ------------------------------------------------ */
.page .map-embed {
  max-width: none;
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 16/10;
  min-height: 420px;
  max-height: 640px;
}
.page .map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.page p.map-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -1.75rem;
  margin-bottom: 2.5rem;
}
.page dl.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem 2rem;
  max-width: none;
  margin: 2rem 0;
}
.page dl.facts dt {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.page dl.facts dd {
  margin: 0;
}

/* ---- header polish ------------------------------------------------------ */
.nav a {
  font-weight: 500;
}
.nav .tel a {
  font-weight: 700;
}
.page-hero {
  padding: 4rem 1.5rem 4.25rem;
}
.page-hero h1 {
  font-weight: 700;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .split-reverse > img {
    order: 0;
  }
  .split > img {
    max-height: 380px;
  }
  .home .page > section {
    padding: 3rem 1.25rem;
  }
  .home-hero {
    min-height: 480px;
  }
  .gallery-home {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 560px) {
  .gallery-home {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-home img:nth-child(2),
  .gallery-home img:nth-child(5) {
    grid-row: auto;
  }
  .page h1 {
    font-size: 1.8rem;
  }
  .page h2 {
    font-size: 1.45rem;
  }
}
