/* =====================================================================
   Millard Construction Services — Reimagined Home
   Brand DNA: Navy #032265 · Orange #F58220 · Blue #005288 · Gray #6D6E71
   Type: Archivo (headings, capitalized) · Poppins (body)
   ===================================================================== */

:root {
  --navy: #032265;
  --navy-deep: #021848;
  --navy-soft: #0a2f7a;
  --blue: #005288;
  --sky: #ADDEF1;
  --orange: #F58220;
  --orange-deep: #d86f12;
  --gray: #6D6E71;
  --ink: #33373d;
  --line: #e4e7ec;
  --paper: #ffffff;
  --paper-2: #f6f8fb;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --shadow-sm: 0 6px 18px rgba(3, 34, 101, 0.08);
  --shadow-md: 0 18px 40px rgba(3, 34, 101, 0.14);
  --shadow-lg: 0 30px 70px rgba(3, 34, 101, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.9s;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-transform: capitalize;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.9vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.light { color: #fff !important; }
.lead { font-size: 1.04rem; max-width: 60ch; }

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.grid-2.reverse > :first-child { order: 2; }
.grid-2.reverse > :last-child { order: 1; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow-line {
  display: inline-block;
  width: 36px; height: 2px;
  background: var(--orange);
  position: relative;
  overflow: hidden;
}
.eyebrow-line::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: translateX(-100%);
  animation: shimmer 3.2s var(--ease-soft) infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), color 0.3s, background-color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }

.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 28px rgba(245, 130, 32, 0.32); }
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 16px 36px rgba(245, 130, 32, 0.42); }

.btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,0.06); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.14); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 12px 30px rgba(3, 34, 101, 0.35); }
.btn-dark:hover { background: var(--navy-deep); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1001; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--orange), #ffb066);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.5s var(--ease-out);
}
/* Background lives on a pseudo-element so blur/transform never become a containing block for the fixed mobile nav. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3, 34, 101, 0.75), rgba(3, 34, 101, 0));
  transition: background-color 0.5s, box-shadow 0.5s, opacity 0.5s;
}
.site-header.scrolled { padding: 12px 0; }
.site-header.scrolled::before {
  background: rgba(3, 34, 101, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(2, 24, 72, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 200px; height: auto; transition: width 0.5s var(--ease-out); }
.site-header.scrolled .brand img { width: 168px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  color: #fff; font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em;
  position: relative; padding: 6px 0;
}
.nav > a:not(.nav-phone)::after, .nav-item > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav > a:not(.nav-phone):hover::after, .nav > a.active::after, .nav-item > a:hover::after, .nav-item > a.active::after, .nav-item:hover > a::after { transform: scaleX(1); transform-origin: left; }
.nav-phone {
  color: #fff !important; background: var(--orange);
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600 !important; letter-spacing: 0.04em !important;
  margin-left: 8px; padding: 10px 16px !important; border-radius: 3px;
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.3);
  transition: background 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.nav-phone:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 130, 32, 0.4); }
.nav-phone svg { width: 16px; height: 16px; fill: currentColor; animation: ring 4s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes ring {
  0%, 80%, 100% { transform: rotate(0); }
  82% { transform: rotate(-14deg); } 84% { transform: rotate(12deg); }
  86% { transform: rotate(-10deg); } 88% { transform: rotate(8deg); } 90% { transform: rotate(0); }
}

.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.hero-media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  animation: kenburns 24s ease-in-out infinite alternate;
  transform-origin: 65% 55%;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(3, 34, 101, 0.92) 0%, rgba(3, 34, 101, 0.72) 38%, rgba(3, 34, 101, 0.18) 72%, rgba(3, 34, 101, 0.05) 100%),
    linear-gradient(180deg, rgba(2, 24, 72, 0.35) 0%, rgba(2, 24, 72, 0) 35%, rgba(2, 24, 72, 0.55) 100%);
}
.hero-glow {
  position: absolute; z-index: 2; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.22) 0%, rgba(245, 130, 32, 0) 62%);
  pointer-events: none; transform: translate(-50%, -50%);
  left: 30%; top: 45%;
  transition: left 1.4s var(--ease-out), top 1.4s var(--ease-out);
  mix-blend-mode: screen;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.16;
  background-image:
    linear-gradient(rgba(173, 222, 241, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 222, 241, 0.35) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 96px 96px, 96px 96px; } }

.hero-content { position: relative; z-index: 3; padding: 160px 0 140px; max-width: 920px; }
.hero .eyebrow { color: var(--orange); }
.hero-title { color: #fff; margin-bottom: 26px; }
.hero-title .word { display: inline-block; }
.accent-word { position: relative; }
.underline-draw {
  position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.09em;
  background: var(--orange); border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease-out) 0.7s;
}
.reveal.in .underline-draw { transform: scaleX(1); }
.hero-copy { color: rgba(255,255,255,0.85); max-width: 54ch; font-size: 1.02rem; margin: 0 0 12px; }
.hero-copy.strong { color: #fff; font-weight: 500; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-badge {
  position: absolute; right: var(--gutter); bottom: 64px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 4px; color: #fff;
  animation: floatY 6s ease-in-out infinite;
  transition: background 0.3s;
}
.hero-badge:hover { background: rgba(255,255,255,0.18); }
.hero-badge img { width: 48px; height: 48px; border-radius: 3px; background: #fff; padding: 4px; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.15rem; line-height: 1; }
.hero-badge span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.7);
}
.scroll-cue small { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 46px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--orange); animation: cueDrop 2s var(--ease-soft) infinite;
}
@keyframes cueDrop { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }


/* ---------- Services dropdown ---------- */
.nav-item { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-item > a { position: relative; }
.sub-toggle { background: none; border: 0; padding: 4px; cursor: pointer; color: #fff; display: grid; place-items: center; }
.sub-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease-out); }
.nav-item.open .sub-toggle svg, .nav-item:hover .sub-toggle svg { transform: rotate(180deg); }
.sub-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  display: grid; grid-template-columns: 240px 560px; gap: 0;
  background: #fff; border-radius: 4px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--orange);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.3s;
  z-index: 5; text-align: left;
}
.sub-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.nav-item:hover .sub-panel, .nav-item:focus-within .sub-panel, .nav-item.open .sub-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s;
}
.sub-col { padding: 24px 28px; display: grid; grid-template-columns: 1fr; gap: 2px; align-content: start; }
.sub-col + .sub-col { border-left: 1px solid var(--line); background: var(--paper-2); }
.sub-head, .sub-all { grid-column: 1 / -1; }
.sub-head { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.sub-panel a { color: var(--ink); font-size: 0.86rem; font-weight: 500; text-transform: none; letter-spacing: 0; padding: 6px 8px; border-radius: 3px; transition: background 0.25s, color 0.25s, padding-left 0.3s var(--ease-out); white-space: nowrap; }
.sub-panel a:hover, .sub-panel a[aria-current] { background: rgba(3,34,101,0.06); color: var(--navy); padding-left: 12px; }
.sub-panel a[aria-current] { color: var(--orange); }
.sub-areas { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; }
.sub-all { margin-top: 8px; color: var(--navy) !important; font-weight: 600 !important; border-top: 1px solid var(--line); padding-top: 12px !important; }
.sub-all::after { content: " \2192"; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--orange); color: #fff; position: relative;
  transform: skewY(-1.2deg); margin-top: -22px; z-index: 4;
  box-shadow: 0 -10px 30px rgba(3, 34, 101, 0.25);
}
.ticker-inner { overflow: hidden; padding: 18px 0; }
.ticker-track {
  display: flex; align-items: center; gap: 36px; white-space: nowrap;
  width: max-content; padding-right: 36px;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; }
.ticker-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); flex: none; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--paper); overflow: hidden; }
.about-media { position: relative; padding: 0 8% 14% 0; }
.about-img-main {
  margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-media:hover .about-img-main img { transform: scale(1.04); }
.about-img-float {
  margin: 0; position: absolute; right: 0; bottom: 0; width: 52%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
  aspect-ratio: 4 / 3;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.rotating-badge {
  position: absolute; left: -22px; top: -22px; width: 132px; height: 132px;
  display: grid; place-items: center;
}
.rotating-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.rotating-badge text { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; fill: var(--navy); }
.rotating-badge img { width: 58px; height: 58px; border-radius: 50%; background: #fff; padding: 10px; box-shadow: var(--shadow-sm); }
@keyframes spin { to { transform: rotate(360deg); } }

.checklist { display: grid; gap: 12px; margin: 26px 0 34px; }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='%23fff' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat;
  box-shadow: 0 6px 14px rgba(245, 130, 32, 0.3);
  transition: transform 0.4s var(--ease-out);
}
.checklist li:hover::before { transform: scale(1.15) rotate(8deg); }

/* ---------- Expertise / stats ---------- */
.expertise { background: var(--navy); color: rgba(255,255,255,0.82); overflow: hidden; }
.expertise::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 20%, rgba(0, 82, 136, 0.7), transparent 70%),
              radial-gradient(40% 50% at 10% 90%, rgba(245, 130, 32, 0.18), transparent 70%);
  pointer-events: none;
}
.blueprint {
  position: absolute; inset: -20% 0; z-index: 0;
  background: url("../assets/bg11.jpg") center/cover no-repeat;
  opacity: 0.12; mix-blend-mode: luminosity; will-change: transform;
}
.expertise .container { position: relative; z-index: 1; }
.expertise-head { max-width: 720px; }
.expertise .lead { color: rgba(255,255,255,0.78); }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
  margin: 64px 0 72px;
}
.stat {
  padding: 30px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease-out), background 0.4s, border-color 0.4s;
  position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.stat:hover { transform: translateY(-6px); background: rgba(255,255,255,0.09); border-color: rgba(245,130,32,0.55); }
.stat:hover::after { transform: scaleX(1); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat strong .count { font-variant-numeric: tabular-nums; }
.stat > span { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar {
  background: #fff; color: var(--gray); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-out);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--orange), #ffb066);
  transform: translateY(101%); transition: transform 0.55s var(--ease-out); z-index: 0;
}
.pillar:hover::before { transform: translateY(0); }
.pillar:hover { transform: translateY(-8px); }
.pillar > * { position: relative; z-index: 1; transition: color 0.35s; }
.pillar:hover h3, .pillar:hover p { color: #fff; }
.pillar-icon {
  width: 64px; height: 64px; border-radius: 4px; display: grid; place-items: center;
  background: rgba(3, 34, 101, 0.06); margin-bottom: 20px;
  transition: background 0.35s, transform 0.5s var(--ease-out);
}
.pillar-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.35s; }
.pillar:hover .pillar-icon { background: rgba(255,255,255,0.2); transform: rotate(-6deg) scale(1.06); }
.pillar:hover .pillar-icon svg { stroke: #fff; }
.pillar p { margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--paper-2); overflow: hidden; }
.services::before {
  content: ""; position: absolute; right: -10%; top: -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(173, 222, 241, 0.35), transparent 65%); pointer-events: none;
  animation: breathe 12s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.section-head { max-width: 680px; margin-bottom: 56px; position: relative; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head h2 { margin-bottom: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; position: relative; }
.service {
  background: #fff; border-radius: var(--radius); padding: 40px 32px 34px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.4s;
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--orange), #ffb066);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.service:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service-num {
  position: absolute; right: 26px; top: 22px;
  font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: rgba(3, 34, 101, 0.06); line-height: 1;
  transition: color 0.4s, transform 0.6s var(--ease-out);
}
.service:hover .service-num { color: rgba(245, 130, 32, 0.18); transform: translateY(-4px); }
.service-icon {
  width: 68px; height: 68px; border-radius: 4px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(3, 34, 101, 0.08), rgba(0, 82, 136, 0.14));
  margin-bottom: 22px; transition: transform 0.6s var(--ease-out), background 0.4s;
}
.service-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service-icon { transform: translateY(-4px) rotate(-5deg); background: linear-gradient(135deg, var(--orange), #ffb066); }
.service:hover .service-icon svg { stroke: #fff; }
.service p { margin: 0 0 18px; font-size: 0.95rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy);
}
.service-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.service-link:hover { color: var(--orange); }
.service-link:hover svg { transform: translateX(5px); }

/* ---------- Why choose us ---------- */
.why { background: #fff; overflow: hidden; }
.feature { display: flex; gap: 22px; margin-bottom: 26px; }
.feature-icon {
  flex: none; width: 60px; height: 60px; border-radius: 4px; display: grid; place-items: center;
  background: var(--navy); box-shadow: 0 10px 24px rgba(3, 34, 101, 0.25);
  transition: transform 0.5s var(--ease-out), background 0.4s;
}
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .feature-icon { transform: translateY(-4px) rotate(-6deg); background: var(--orange); }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: 0.95rem; }
.why .btn { margin-top: 10px; }

.why-media { position: relative; }
.why-img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; }
.why-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.why-media:hover .why-img img { transform: scale(1.04); }
.why-card {
  position: absolute; left: -24px; bottom: 36px;
  background: var(--orange); color: #fff; padding: 22px 28px; border-radius: 4px;
  box-shadow: 0 18px 40px rgba(245, 130, 32, 0.4);
  animation: floatY 7s ease-in-out infinite;
}
.why-card strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.why-card span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }

.memberships {
  margin-top: clamp(64px, 8vw, 110px); padding-top: 40px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.memberships p { margin: 0; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
.membership-logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.membership-logos img { height: 58px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.4s, opacity 0.4s, transform 0.5s var(--ease-out); }
.membership-logos img:hover { filter: none; opacity: 1; transform: translateY(-3px); }

/* ---------- Testimonial ---------- */
.testimonial { position: relative; padding: clamp(80px, 9vw, 130px) 0; background: var(--navy-deep); color: #fff; overflow: hidden; }
.testimonial-bg {
  position: absolute; inset: -25% 0; background: url("../assets/overlay.jpg") center/cover no-repeat;
  opacity: 0.22; will-change: transform;
}
.testimonial::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3, 34, 101, 0.9), rgba(3, 34, 101, 0.55));
}
.testimonial .container { position: relative; z-index: 1; }
.testimonial blockquote { margin: 0 auto; max-width: 860px; text-align: center; }
.quote-mark { width: 56px; height: 56px; fill: var(--orange); margin: 0 auto 22px; display: block; animation: floatY 5s ease-in-out infinite; }
.testimonial p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; margin: 0 0 30px; color: #fff; }
.testimonial footer { display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.testimonial footer img { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--orange); object-fit: cover; }
.testimonial cite { display: block; font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.testimonial footer span { font-size: 0.8rem; color: var(--sky); letter-spacing: 0.06em; }

/* ---------- Projects ---------- */
.projects { background: #fff; }
.project-feature {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 0;
  border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg);
  margin-bottom: 40px; background: var(--navy);
}
.compare {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; cursor: ew-resize; touch-action: pan-y;
  --pos: 55%;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(3,34,101,0.2);
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: grid; place-items: center;
}
.compare-handle span::before, .compare-handle span::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: 2px solid #fff; border-width: 0 0 2px 2px;
}
.compare-handle span::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.compare-handle span::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.compare-label {
  position: absolute; top: 18px; padding: 6px 14px; border-radius: 3px;
  background: rgba(3, 34, 101, 0.85); color: #fff; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  backdrop-filter: blur(6px);
}
.compare-label.before { left: 18px; }
.compare-label.after { right: 18px; background: rgba(245, 130, 32, 0.92); }

.project-feature-copy { padding: clamp(32px, 4vw, 56px); color: rgba(255,255,255,0.82); display: flex; flex-direction: column; justify-content: center; }
.tag {
  display: inline-block; align-self: flex-start; padding: 6px 14px; border-radius: 3px;
  background: rgba(245, 130, 32, 0.16); color: var(--orange); border: 1px solid rgba(245, 130, 32, 0.45);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px;
}
.project-feature-copy h3 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.project-feature-copy p { font-size: 0.95rem; }
.project-feature-copy .service-link { color: var(--orange); }
.project-feature-copy .service-link:hover { color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.project-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm); transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 34, 101, 0) 35%, rgba(3, 34, 101, 0.92) 100%);
  transition: opacity 0.4s;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-card:hover img { transform: scale(1.07); }
.project-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px;
  transform: translateY(8px); transition: transform 0.5s var(--ease-out);
}
.project-card:hover .project-card-body { transform: translateY(0); }
.project-card-body span { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 6px; }
.project-card-body h3 { color: #fff; margin: 0; font-size: 1.15rem; }

/* ---------- Team ---------- */
.team { background: var(--paper-2); overflow: hidden; }
.team-card-wrap { perspective: 1200px; display: flex; justify-content: center; }
.team-card {
  position: relative; width: min(100%, 420px); border-radius: 6px; overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow-lg);
  transform-style: preserve-3d; transition: transform 0.6s var(--ease-out);
}
.team-photo { aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-meta { padding: 26px 30px 30px; color: #fff; position: relative; }
.team-meta::before {
  content: ""; position: absolute; left: 30px; top: 0; width: 48px; height: 3px; background: var(--orange);
}
.team-meta h3 { color: #fff; margin: 0 0 4px; }
.team-meta span { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
.team-meta a { color: var(--orange); font-weight: 600; letter-spacing: 0.04em; }
.team-mark { position: absolute; right: 22px; bottom: 26px; width: 54px; opacity: 0.85; transform: translateZ(40px); }

/* ---------- CTA ---------- */
.cta {
  position: relative; background: var(--orange); color: #fff; overflow: hidden;
  padding: clamp(40px, 5vw, 70px) 0 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 90% 50%, rgba(255, 255, 255, 0.2), transparent 70%),
              repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
.cta-copy { padding-bottom: clamp(40px, 5vw, 70px); }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.cta p { max-width: 58ch; color: rgba(255,255,255,0.92); margin-bottom: 30px; }
.cta-figure { align-self: end; display: flex; justify-content: center; }
.cta-figure img { width: min(100%, 420px); filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25)); }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-grid { align-items: start; }
.contact-list { display: grid; gap: 22px; margin-bottom: 40px; }
.contact-list li { display: flex; align-items: center; gap: 18px; }
.ci {
  flex: none; width: 54px; height: 54px; border-radius: 4px; display: grid; place-items: center;
  background: rgba(3, 34, 101, 0.06); transition: background 0.35s, transform 0.5s var(--ease-out);
}
.ci svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.35s; }
.contact-list li:hover .ci { background: var(--orange); transform: rotate(-6deg); }
.contact-list li:hover .ci svg { stroke: #fff; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; line-height: 1.2; }
.contact-list strong a:hover { color: var(--orange); }
.contact-list div > span { font-size: 0.85rem; }
.why-wait { padding: 26px 30px; border-left: 4px solid var(--orange); background: var(--paper-2); border-radius: 0 4px 4px 0; }
.why-wait h3 { margin-bottom: 8px; }
.why-wait p { margin: 0; font-size: 0.95rem; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow-md); display: grid; gap: 18px; position: relative; overflow: hidden;
}
.contact-form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--blue), var(--orange)); }
.contact-form h3 { margin-bottom: 0; }
.form-note { margin: -8px 0 6px; font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink); width: 100%;
  padding: 13px 16px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--paper-2);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.16);
}
.contact-form .btn { justify-self: start; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 80px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; left: -10%; bottom: -30%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(0, 82, 136, 0.55), transparent 65%); pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; position: relative; z-index: 1; }
.footer-brand img { width: 190px; margin-bottom: 20px; }
.footer-brand p { max-width: 40ch; font-size: 0.92rem; margin: 0 0 22px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 3px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); transition: background 0.3s, transform 0.4s var(--ease-out);
}
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links h4 { color: #fff; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-family: var(--font-body); }
.footer-links a, .footer-links span { font-size: 0.92rem; width: fit-content; position: relative; transition: color 0.3s, padding-left 0.35s var(--ease-out); }
.footer-links a:hover { color: var(--orange); padding-left: 10px; }
.footer-bottom {
  margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; position: relative; z-index: 1;
}
.footer-bottom a { color: var(--orange); }
.dev-mark {
  display: inline-block; width: 12px; height: 12px; flex: none;
  border: 1.5px solid var(--orange); background: transparent; border-radius: 0;
  transition: none;
}
.dev-mark:hover { background: transparent; border-color: var(--orange); }

.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(245, 130, 32, 0.4);
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease-out), background 0.3s;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--navy); }
.back-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal system ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.hero-title .word.reveal { transform: translateY(0.6em) rotate(2deg); transform-origin: left bottom; }
.hero-title .word.reveal.in { transform: none; }


/* =====================================================================
   Inner pages
   ===================================================================== */
.container.narrow { width: min(100% - (var(--gutter) * 2), 860px); }
.section.alt { background: var(--paper-2); }

.page-hero {
  position: relative; background: var(--navy-deep); color: #fff; overflow: hidden;
  padding: clamp(150px, 18vw, 210px) 0 clamp(64px, 7vw, 96px);
}
.page-hero.compact { padding-bottom: clamp(48px, 5vw, 72px); }
.page-hero-bg {
  position: absolute; inset: -20% 0; background-size: cover; background-position: center;
  opacity: 0.28; will-change: transform;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(3, 34, 101, 0.96) 0%, rgba(3, 34, 101, 0.82) 55%, rgba(3, 34, 101, 0.55) 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.14;
  background-image: linear-gradient(rgba(173,222,241,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(173,222,241,0.35) 1px, transparent 1px);
  background-size: 96px 96px; animation: gridDrift 40s linear infinite;
  mask-image: linear-gradient(180deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 18ch; margin-bottom: 18px; }
.page-hero .lead { color: rgba(255,255,255,0.82); max-width: 64ch; margin: 0; }



/* Two-column layout with sticky aside */
.aside-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.aside-card {
  position: sticky; top: 110px; background: var(--navy); color: rgba(255,255,255,0.82); padding: 32px 30px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.aside-card::before { content: ""; position: absolute; inset: 0; background: url("../assets/bg11.jpg") center/cover; opacity: 0.08; mix-blend-mode: luminosity; }
.aside-card > * { position: relative; }
.aside-card img { width: 48px; height: 48px; background: #fff; padding: 6px; border-radius: 3px; margin-bottom: 16px; }
.aside-card h3 { color: #fff; }
.aside-card p { font-size: 0.92rem; }
.aside-phone { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--orange); margin: 6px 0 18px; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-list { margin-top: 22px; display: grid; gap: 8px; font-size: 0.82rem; }
.aside-list li { padding-left: 20px; position: relative; }
.aside-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 2px; background: var(--orange); }

/* Prose */
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 48px 0 16px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 18px; }
.prose .checklist { margin: 18px 0 26px; }
.prose .checklist li { text-transform: none; letter-spacing: 0; font-size: 0.98rem; font-weight: 400; color: var(--ink); align-items: flex-start; }
.prose .checklist li::before { margin-top: 2px; width: 22px; height: 22px; background-size: 13px 13px; }
.checklist.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose p a, .prose dd a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(0,82,136,0.3); text-underline-offset: 3px; transition: color 0.3s; }
.prose p a:hover, .prose dd a:hover { color: var(--orange); }
.prose .project-grid { margin-top: 20px; }
.prose .area-chips { margin-top: 8px; }

/* Process steps */
.process { display: grid; gap: 0; margin: 24px 0 8px; }
.process li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); position: relative; }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--orange); line-height: 1; padding-top: 4px; }
.process h3 { margin-bottom: 4px; font-size: 1.15rem; }
.process p { margin: 0; font-size: 0.95rem; }
.process li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--orange); transition: width 0.7s var(--ease-out); }
.process li:hover::after { width: 100%; }

/* Key facts */
.key-facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin: 28px 0; box-shadow: var(--shadow-sm); }
.key-facts h3 { margin-bottom: 14px; }
.key-facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.key-facts dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--navy); padding-top: 4px; }
.key-facts dd { margin: 0; color: var(--ink); font-size: 0.95rem; }

/* FAQ accordion */
.faq-section h2 { margin-bottom: 30px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.4s, border-color 0.3s; }
.faq-item[open], .faq-item:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.05rem; text-transform: none; }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 3px; background: var(--paper-2); position: relative; transition: background 0.3s, transform 0.5s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--navy); transform: translate(-50%, -50%); transition: background 0.3s, transform 0.4s; }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item[open] .faq-icon { background: var(--orange); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-body { padding: 0 24px 22px; animation: faqIn 0.5s var(--ease-out); }
.faq-body p { margin: 0; font-size: 0.97rem; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Service rows (area pages) */
.service-list { display: grid; gap: 10px; margin: 20px 0 10px; }
.service-row { display: grid; grid-template-columns: 52px 1fr 20px; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s; }
.service-row:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-row-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 4px; background: rgba(3,34,101,0.06); transition: background 0.3s; }
.service-row-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.service-row:hover .service-row-icon { background: var(--orange); }
.service-row:hover .service-row-icon svg { stroke: #fff; }
.service-row h3 { margin: 0 0 2px; font-size: 1.05rem; }
.service-row p { margin: 0; font-size: 0.88rem; }
.service-row > svg { width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Featured project card (area pages) */
.project-feature-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin: 20px 0 10px; color: rgba(255,255,255,0.82); transition: transform 0.5s var(--ease-out); }
.project-feature-card:hover { transform: translateY(-6px); }
.project-feature-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.project-feature-card > div { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.project-feature-card h3 { color: #fff; }
.project-feature-card p { font-size: 0.92rem; }
.project-feature-card .service-link { color: var(--orange); }
.project-hero-img { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.project-compare { border-radius: var(--radius); box-shadow: var(--shadow-md); margin-bottom: 28px; }

.inline-quote { margin: 30px 0; padding: 26px 30px; background: var(--navy); color: #fff; border-radius: var(--radius); position: relative; }
.inline-quote p { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.4; margin: 0 0 14px; color: #fff; }
.inline-quote footer { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--sky); }
.inline-quote footer img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--orange); }
.inline-quote cite { font-style: normal; font-weight: 600; color: #fff; }

/* Area grid / chips */
.county-block { margin-top: 56px; }
.county-block:first-of-type { margin-top: 0; }
.county-block h2 { font-size: 1.5rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.county-block h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--orange); }
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area-card { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s; }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.area-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; background: rgba(3,34,101,0.06); transition: background 0.3s; }
.area-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.area-card:hover .area-icon { background: var(--orange); }
.area-card:hover .area-icon svg { stroke: #fff; }
.area-card h3 { margin: 0; font-size: 1.05rem; }
.area-card div > span { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.area-card > svg { width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.area-card:hover > svg { transform: translateX(4px); }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips a { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 3px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); background: #fff; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-out); }
.area-chips a:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.areas-strip { background: var(--paper-2); }
.areas-strip.alt { background: #fff; }
.areas-strip .section-head { margin-bottom: 32px; }

.contact.alt { background: var(--paper-2); }
.contact.alt .contact-form { background: #fff; }
.service h3 a, .pillar h3 a { color: inherit; }
.section-head .btn { flex: none; }

@media (max-width: 1080px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 700px) {
  .checklist.two-col { grid-template-columns: 1fr; }
  .project-feature-card { grid-template-columns: 1fr; }
  .key-facts dl { grid-template-columns: 1fr; gap: 4px 0; }
  .key-facts dt { margin-top: 10px; }
  .service-row { grid-template-columns: 44px 1fr; }
  .service-row > svg { display: none; }
  .area-grid { grid-template-columns: 1fr; }
}


/* ---------- Forms: honeypot + status ---------- */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-status { margin: 4px 0 0; font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: #1f8f4e; }
.form-status.err { color: #c0392b; }
.contact-form button[disabled] { opacity: 0.7; cursor: wait; transform: none !important; }

/* ---------- Footer sitemap link ---------- */
.footer-sitemap { color: rgba(255,255,255,0.72); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; transition: color 0.3s; }
.footer-sitemap:hover { color: var(--orange); }

/* ---------- HTML sitemap page ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.sitemap-col h2 { font-size: 1.35rem; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--line); position: relative; }
.sitemap-col h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--orange); }
.sitemap-col h2 + h2, .sitemap-col ul + h2 { margin-top: 34px; }
.sitemap-col h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin: 18px 0 8px; font-family: var(--font-body); font-weight: 600; }
.sitemap-col ul { display: grid; gap: 6px; }
.sitemap-col li a { display: inline-block; padding: 4px 0; color: var(--ink); position: relative; transition: color 0.3s, padding-left 0.35s var(--ease-out); }
.sitemap-col li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--orange); transition: width 0.35s var(--ease-out); }
.sitemap-col li a:hover { color: var(--navy); padding-left: 16px; }
.sitemap-col li a:hover::before { width: 10px; }
@media (max-width: 900px) { .sitemap-grid { grid-template-columns: 1fr; } }


/* ---------- Service areas intro ---------- */
.areas-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 64px; }
.areas-intro-copy p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.areas-intro-copy p a:hover { color: var(--orange); }
.areas-intro-facts .key-facts { margin: 0; position: sticky; top: 110px; }
.areas-list-heading { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 8px; }
.county-block:first-of-type { margin-top: 28px; }
@media (max-width: 900px) { .areas-intro { grid-template-columns: 1fr; } .areas-intro-facts .key-facts { position: static; } }


/* ---------- File upload field ---------- */
.file-field { display: grid; gap: 6px; }
.file-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--navy); }
.file-drop {
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; align-items: center;
  padding: 16px 18px; border: 1.5px dashed rgba(3,34,101,0.35); border-radius: 4px; background: var(--paper-2);
  cursor: pointer; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.file-drop:hover, .file-drop.drag { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(245,130,32,0.12); }
.file-drop.has-file { border-style: solid; border-color: var(--navy); background: #fff; }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop svg { width: 40px; height: 40px; grid-row: span 2; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; padding: 8px; background: rgba(3,34,101,0.06); border-radius: 4px; transition: background 0.3s, stroke 0.3s; }
.file-drop:hover svg, .file-drop.drag svg { background: var(--orange); stroke: #fff; }
.contact-form .file-drop span { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.92rem; }
.file-text { font-size: 0.92rem; color: var(--ink); }
.file-text strong { color: var(--navy); }
.file-name { font-size: 0.82rem; color: var(--blue); font-weight: 500; min-height: 1.2em; word-break: break-all; }
.file-drop.has-file .file-text { display: none; }
.file-drop.has-file .file-name { grid-row: span 2; font-size: 0.92rem; }
.file-hint { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }


/* Mid-size desktops: keep the nav on one line */
@media (min-width: 901px) and (max-width: 1200px) {
  .brand img { width: 160px; }
  .site-header.scrolled .brand img { width: 140px; }
  .nav { gap: 16px; }
  .nav a { font-size: 0.78rem; letter-spacing: 0.02em; }
  .nav-phone { margin-left: 0; white-space: nowrap; }
  .header-inner { gap: 20px; }
}
@media (min-width: 901px) and (max-width: 1040px) {
  .nav-phone span { display: none; }
  .nav-phone { padding: 10px 12px !important; }
}

/* ---------- Mobile sticky call / email bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(2, 24, 72, 0.15);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(110%); transition: transform 0.45s var(--ease-out);
  box-shadow: 0 -10px 30px rgba(2, 24, 72, 0.25);
}
.mobile-cta.show { transform: none; }
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 12px 10px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
@media (max-width: 380px) { .mobile-cta a { font-size: 0.78rem; letter-spacing: 0.03em; gap: 8px; } }
.mobile-cta a svg { width: 20px; height: 20px; flex: none; }
.mobile-cta-call { background: var(--orange); }
.mobile-cta-call svg { fill: currentColor; }
.mobile-cta-email { background: var(--navy); }
.mobile-cta-email svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-cta a:active { filter: brightness(0.92); }
@media (max-width: 900px) {
  .mobile-cta { display: grid; }
  body.cta-visible .back-top { bottom: calc(60px + 16px + env(safe-area-inset-bottom, 0)); }
  body.cta-visible .site-footer { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)); }
  .back-top { transition: opacity 0.4s, transform 0.5s var(--ease-out), background 0.3s, bottom 0.45s var(--ease-out); }
}


/* ---------- Areas-we-serve mini map ---------- */
.area-map { color: var(--navy); }
.area-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.map-lake { fill: var(--sky); opacity: 0.55; }
.map-lake-hatch { color: var(--blue); opacity: 0.18; }
.map-county { fill: rgba(3, 34, 101, 0.08); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; transition: fill 0.3s; }
.map-county:nth-of-type(odd) { fill: rgba(3, 34, 101, 0.13); }
.area-map:hover .map-county { fill: rgba(3, 34, 101, 0.06); }
.map-label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--navy); pointer-events: none; }
.map-lake-label { font-family: var(--font-body); font-size: 9px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; fill: var(--blue); opacity: 0.7; text-anchor: middle; pointer-events: none; }
.map-city { cursor: pointer; }
.map-dot { fill: var(--orange); stroke: #fff; stroke-width: 1.5; transition: r 0.25s, fill 0.25s; }
.map-city:hover .map-dot, .map-city:focus .map-dot { r: 6; fill: var(--orange-deep); }
.map-pulse { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: mapPulse 3.6s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.24s); }
@keyframes mapPulse { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.area-map-caption { margin: 10px 0 0; font-size: 0.78rem; color: var(--gray); line-height: 1.5; }
.areas-intro-facts .area-map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.areas-intro-facts .area-map svg { max-width: 300px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .map-pulse { animation: none; } }

/* map inside the mega menu */
.sub-panel { grid-template-columns: 240px 640px; }
.sub-col-areas { grid-template-columns: 170px 1fr; gap: 6px 22px; }
.sub-col-areas .sub-head { grid-column: 1 / -1; }
.sub-col-areas .area-map { grid-row: 2; align-self: start; padding: 4px 0 0; }
.sub-col-areas .area-map svg { max-width: 170px; }
.sub-col-areas .area-map .map-label { font-size: 12px; }
.sub-col-areas .sub-areas { grid-row: 2; grid-column: 2; align-self: start; }
@media (max-width: 900px) {
  .sub-col-areas .area-map { display: none; }
  .sub-col-areas { grid-template-columns: 1fr; }
  .sub-col-areas .sub-areas { grid-column: 1; }
}

/* ---------- Open positions ---------- */
.positions-section { background: #fff; }
.positions-note { max-width: 40ch; margin: 0; font-size: 0.9rem; text-align: right; }
.positions-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.positions { display: grid; gap: 18px; }
.position { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; position: relative; overflow: hidden; transition: box-shadow 0.4s, border-color 0.3s, transform 0.5s var(--ease-out); }
.position::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease-out); }
.position:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.position:hover::before { transform: scaleY(1); }
.position-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.position-head h3 { margin-bottom: 8px; font-size: 1.35rem; }
.position-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); font-weight: 500; }
.position-meta li { display: flex; align-items: center; gap: 8px; }
.position-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.position-head .btn { flex: none; padding: 13px 22px; }
.position-summary { margin: 0 0 14px; color: var(--ink); }
.position-details summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); padding: 6px 0; }
.position-details summary::-webkit-details-marker { display: none; }
.position-details[open] .faq-icon { background: var(--orange); }
.position-details[open] .faq-icon::before, .position-details[open] .faq-icon::after { background: #fff; }
.position-details[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.position-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; padding: 14px 0 6px; animation: faqIn 0.5s var(--ease-out); }
.position-body h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); font-family: var(--font-body); margin-bottom: 10px; }
.position-body .checklist { margin: 0; gap: 8px; }
.position-body .checklist li { text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 400; color: var(--ink); align-items: flex-start; }
.position-body .checklist li::before { width: 20px; height: 20px; background-size: 12px 12px; margin-top: 2px; }
@media (max-width: 900px) {
  .positions-note { text-align: left; }
  .position-head { flex-direction: column; }
  .position-body { grid-template-columns: 1fr; }
}

/* ---------- Home base callout ---------- */
.home-base { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; padding: 26px 28px; margin: 8px 0 28px; background: var(--navy); color: rgba(255,255,255,0.85); border-radius: var(--radius); border-left: 4px solid var(--orange); position: relative; overflow: hidden; }
.home-base::before { content: ""; position: absolute; inset: 0; background: url("../assets/bg11.jpg") center/cover; opacity: 0.08; mix-blend-mode: luminosity; }
.home-base > * { position: relative; }
.home-base img { width: 48px; height: 48px; background: #fff; padding: 6px; border-radius: 3px; }
.home-base-label { display: block; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--orange); margin-bottom: 6px; }
.home-base h3 { color: #fff; margin-bottom: 8px; }
.home-base p { margin: 0; font-size: 0.95rem; }
.map-city.is-home .map-dot { r: 6; fill: var(--navy); stroke: var(--orange); stroke-width: 2.5; }
.map-city.is-home .map-pulse { stroke: var(--navy); }
@media (max-width: 600px) { .home-base { grid-template-columns: 1fr; } .home-base img { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-feature { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); padding: 110px 36px 40px;
    background: var(--navy-deep); flex-direction: column; align-items: stretch; gap: 18px;
    transform: translateX(100%); transition: transform 0.55s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0,0,0,0.35);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .nav.open { transform: none; }
  .nav > a, .nav-item > a { font-size: 1.05rem; }
  .nav-phone { justify-content: center; margin: 12px 0 0; padding: 14px 16px !important; font-size: 0.95rem !important; }
  .nav > a:not(.nav-phone)::after, .nav-item > a::after { display: none; }
  .nav-item { display: grid; grid-template-columns: 1fr 44px; align-items: center; gap: 0; }
  .nav-item.active > a { color: var(--orange); }
  .sub-toggle { width: 44px; height: 44px; justify-self: end; border-radius: 3px; background: rgba(255,255,255,0.08); }
  .nav-item:hover .sub-toggle svg { transform: none; }
  .nav-item.open .sub-toggle svg { transform: rotate(180deg); }
  .sub-panel {
    grid-column: 1 / -1; position: static; transform: none; display: none; grid-template-columns: 1fr;
    background: transparent; box-shadow: none; border-top: 0; opacity: 1; visibility: visible; pointer-events: auto;
    padding-left: 14px; border-left: 2px solid rgba(255,255,255,0.12); margin-top: 6px;
  }
  .sub-panel::before { display: none; }
  .nav-item:hover .sub-panel, .nav-item:focus-within .sub-panel { display: none; transform: none; }
  .nav-item.open .sub-panel { display: grid; transform: none; }
  .sub-col { padding: 10px 0 14px; grid-template-columns: 1fr; }
  .sub-col + .sub-col { border-left: 0; background: transparent; border-top: 1px solid rgba(255,255,255,0.12); }
  .sub-panel a { color: rgba(255,255,255,0.82); font-size: 0.95rem; padding: 7px 8px; white-space: normal; }
  .sub-panel a:hover, .sub-panel a[aria-current] { background: rgba(255,255,255,0.08); color: #fff; }
  .sub-panel a[aria-current] { color: var(--orange); }
  .sub-all { color: #fff !important; border-top-color: rgba(255,255,255,0.12); }
  .sub-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: flex; position: relative; z-index: 2; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse > :first-child { order: 1; }
  .grid-2.reverse > :last-child { order: 2; }
  .about-media { margin-bottom: 20px; }
  .hero-badge { position: static; margin: 32px auto 0; width: fit-content; }
  .hero { padding-bottom: 72px; }
  .hero { flex-direction: column; justify-content: center; }
  .hero-content { padding: 140px 0 40px; }
  .scroll-cue { display: none; }
  .why-card { left: 12px; bottom: 16px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-figure { order: 2; }
  .cta-figure img { width: min(100%, 320px); }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .project-grid { grid-template-columns: 1fr; }
  .team-card-wrap { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .service-grid, .pillars, .stats, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .brand img { width: 160px; }
  .site-header.scrolled .brand img { width: 140px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .rotating-badge { left: -10px; top: -14px; width: 104px; height: 104px; }
  .rotating-badge img { width: 44px; height: 44px; padding: 8px; }
  .memberships { justify-content: center; text-align: center; }
  .membership-logos { justify-content: center; gap: 28px; }
  .membership-logos img { height: 46px; }
  .compare-handle span { width: 44px; height: 44px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-img { animation: none; }
  [data-parallax] { transform: none !important; }
}
