/* ==========================================================
   Electrical Excavations & Services Ltd
   Shared stylesheet
   ========================================================== */

:root {
  --navy-900: #060d1a;
  --navy-800: #0a1628;
  --navy-700: #0f1f3d;
  --navy-600: #15294f;
  --blue-500: #1a7cff;
  --blue-400: #3d94ff;
  --orange-500: #ff6b2c;
  --orange-400: #ff8a57;
  --ink: #0a1628;
  --grey-900: #1a2437;
  --grey-700: #4a5568;
  --grey-500: #8a94a6;
  --grey-300: #d8dde6;
  --grey-100: #f3f5f9;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 6px rgba(6, 13, 26, 0.08);
  --shadow: 0 10px 30px rgba(6, 13, 26, 0.12);
  --shadow-lg: 0 30px 60px rgba(6, 13, 26, 0.25);
  --container: 1200px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Always reserve the scrollbar gutter so page-to-page navigation
     doesn't change the viewport width and shift the centered nav. */
  scrollbar-gutter: stable;
  overflow-y: scroll;
  background: var(--navy-900);
}
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange-500); }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--navy-800);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; letter-spacing: .05em; }

p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--grey-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-400);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 44, .35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}
.btn-dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--blue-500);
  color: var(--white);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 0;
}
/* Mobile brand wordmark — hidden on desktop */
.nav-brand {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1;
}
.nav-brand .bolt {
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  color: var(--orange-500);
}
.nav-brand:hover { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  color: rgba(255,255,255,.85);
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-links a.active {
  box-shadow: inset 0 -3px 0 var(--orange-500);
}
.nav-cta {
  padding: 10px 20px;
  font-size: .95rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  position: relative;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span    { top: 50%; transform: translateY(-50%); }
.nav-toggle .bars::after  { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after {
  bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* Backdrop when mobile menu is open */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
  z-index: 90;
}
body.menu-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .nav {
    justify-content: space-between;
    padding: 12px 0;
  }
  .nav-brand { display: inline-flex; }
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--navy-800);
    padding: 12px 16px;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s var(--ease);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 95;
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }
  .nav-links a.active {
    background: rgba(255,255,255,.06);
    box-shadow: inset 3px 0 0 var(--orange-500);
  }
  .nav-links .nav-cta {
    margin-top: 10px;
    padding: 14px 20px;
    text-align: center;
    background: var(--orange-500);
    color: var(--white);
  }
  /* Prevent body scroll when menu is open */
  body.menu-open { overflow: hidden; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6,13,26,.86) 0%, rgba(15,31,61,.78) 60%, rgba(26,124,255,.55) 100%),
    radial-gradient(circle at 20% 20%, rgba(255,107,44,.25), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  overflow: hidden;
  padding: 120px 0 100px;
}

/* Home hero with background photo */
.hero.hero-home {
  background:
    linear-gradient(120deg, rgba(6,13,26,.88) 0%, rgba(15,31,61,.72) 55%, rgba(6,13,26,.55) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(255,107,44,.28), transparent 50%),
    url("background.png") center/cover no-repeat;
  padding: 100px 0 110px;
}
.hero.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--navy-900));
  pointer-events: none;
}

/* Hero layout: logo left, copy right */
.hero-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .hero-home .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-home .hero-cta { justify-content: center; }
  .hero-home .eyebrow { margin-left: auto; margin-right: auto; }
}

/* ---- Expressive logo stage ---- */
.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  isolation: isolate;
}
.logo-stage::before {
  content: "";
  position: absolute;
  width: 680px; height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,44,.6) 0%, rgba(255,107,44,.18) 35%, transparent 65%);
  filter: blur(40px);
  animation: logoGlow 6s ease-in-out infinite alternate;
  z-index: -1;
}
.logo-stage::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255,107,44,.28);
  animation: ringPulse 4s ease-in-out infinite;
  z-index: -1;
}
.logo-stage .ring-2 {
  position: absolute;
  width: 580px; height: 580px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.1);
  animation: spin 40s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.logo-stage .ring-3 {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  border: 1px solid rgba(26,124,255,.14);
  animation: spin 60s linear infinite reverse;
  pointer-events: none;
  z-index: -1;
}
.logo-stage .hero-logo {
  width: min(560px, 92%);
  height: auto;
  filter:
    drop-shadow(0 0 35px rgba(255, 107, 44, .55))
    drop-shadow(0 0 80px rgba(255, 107, 44, .25))
    drop-shadow(0 25px 50px rgba(0, 0, 0, .6));
  animation: logoFloat 5s ease-in-out infinite, logoIn 1.1s cubic-bezier(.22,1.4,.36,1) both, logoPulse 3.2s ease-in-out infinite;
  transform-origin: center;
  position: relative;
  z-index: 2;
}

/* ---- Electrical effects ---- */
.logo-stage .electric {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}
.logo-stage .electric path {
  fill: none;
  stroke: #9ecfff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px #3d94ff) drop-shadow(0 0 12px #1a7cff);
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  opacity: 0;
}
.logo-stage .electric path.arc-1 { animation: arcStrike 4.5s 0.5s infinite; }
.logo-stage .electric path.arc-2 { animation: arcStrike 5.2s 1.8s infinite; stroke: #ffcc99; filter: drop-shadow(0 0 6px #ff8a57) drop-shadow(0 0 12px #ff6b2c); }
.logo-stage .electric path.arc-3 { animation: arcStrike 6.1s 3.2s infinite; }
.logo-stage .electric path.arc-4 { animation: arcStrike 5.7s 2.5s infinite; stroke: #ffcc99; filter: drop-shadow(0 0 6px #ff8a57) drop-shadow(0 0 12px #ff6b2c); }
.logo-stage .electric path.arc-5 { animation: arcStrike 4.8s 4s infinite; }

/* White flash overlay — simulates a lightning strike lighting up the scene */
.logo-stage .flash {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255,255,255,.85) 0%, rgba(255,220,160,.3) 15%, transparent 40%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: flashStrike 6s infinite;
  z-index: 1;
}
.logo-stage .flash.flash-2 {
  animation: flashStrike 8.3s 3.5s infinite;
  background: radial-gradient(circle, rgba(173,216,255,.7) 0%, rgba(26,124,255,.25) 18%, transparent 45%);
}

/* Crackle arcs radiating outward */
.logo-stage .crackle {
  position: absolute;
  width: 100%; height: 100%;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(61,148,255,.18), transparent 10%),
    radial-gradient(circle at 70% 60%, rgba(255,107,44,.18), transparent 10%),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.08), transparent 8%);
  animation: crackle 3s ease-in-out infinite;
  mix-blend-mode: screen;
}
.logo-stage .spark {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--orange-500);
  border-radius: 50%;
  box-shadow: 0 0 18px 4px rgba(255,107,44,.9);
  opacity: 0;
  animation: spark 4s linear infinite;
  z-index: 1;
}
.logo-stage .spark:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.logo-stage .spark:nth-child(2) { top: 25%; right: 8%; animation-delay: .7s; background: var(--blue-400); box-shadow: 0 0 18px 4px rgba(61,148,255,.9); }
.logo-stage .spark:nth-child(3) { bottom: 15%; left: 18%; animation-delay: 1.4s; }
.logo-stage .spark:nth-child(4) { bottom: 22%; right: 12%; animation-delay: 2.1s; background: var(--blue-400); box-shadow: 0 0 18px 4px rgba(61,148,255,.9); }
.logo-stage .spark:nth-child(5) { top: 50%; left: 4%; animation-delay: 2.8s; }
.logo-stage .spark:nth-child(6) { top: 60%; right: 4%; animation-delay: 3.5s; background: var(--blue-400); box-shadow: 0 0 18px 4px rgba(61,148,255,.9); }
.logo-stage .spark:nth-child(7) { top: 8%; left: 45%; animation-delay: 1.1s; background: #fff; box-shadow: 0 0 22px 6px rgba(255,255,255,.9); }
.logo-stage .spark:nth-child(8) { bottom: 8%; right: 40%; animation-delay: 3s; background: #fff; box-shadow: 0 0 22px 6px rgba(255,255,255,.9); }

@keyframes logoIn {
  0% { opacity: 0; transform: scale(.6) translateY(20px); filter: drop-shadow(0 0 0 transparent); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes logoGlow {
  0% { opacity: .55; transform: scale(.92); }
  100% { opacity: 1; transform: scale(1.05); }
}
@keyframes ringPulse {
  0%, 100% { transform: scale(.95); opacity: .4; }
  50% { transform: scale(1.05); opacity: .9; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spark {
  0% { opacity: 0; transform: scale(.4) translateY(0); }
  10% { opacity: 1; }
  50% { opacity: 1; transform: scale(1.2) translateY(-20px); }
  100% { opacity: 0; transform: scale(.2) translateY(-40px); }
}

/* Lightning arc draw + snap-off */
@keyframes arcStrike {
  0%   { stroke-dashoffset: 200; opacity: 0; }
  2%   { opacity: 1; }
  8%   { stroke-dashoffset: 0; opacity: 1; }
  10%  { opacity: .2; }
  12%  { opacity: 1; }
  14%  { opacity: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}

/* Bright white flash like a strike lighting up the scene */
@keyframes flashStrike {
  0%, 90%, 100% { opacity: 0; }
  92%   { opacity: .9; }
  93%   { opacity: .2; }
  94%   { opacity: .8; }
  96%   { opacity: 0; }
}

/* Subtle brightness pulse on the logo itself */
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 35px rgba(255, 107, 44, .55)) drop-shadow(0 0 80px rgba(255, 107, 44, .25)) drop-shadow(0 25px 50px rgba(0, 0, 0, .6)); }
  50%      { filter: drop-shadow(0 0 55px rgba(255, 140, 70, .9)) drop-shadow(0 0 120px rgba(255, 107, 44, .5)) drop-shadow(0 25px 50px rgba(0, 0, 0, .6)); }
}

/* Crackle — faint position jitter on background spots */
@keyframes crackle {
  0%, 100% { opacity: .35; transform: translate(0,0); }
  25%      { opacity: .9; transform: translate(1px,-1px); }
  50%      { opacity: .4; transform: translate(-2px,1px); }
  75%      { opacity: .8; transform: translate(2px,2px); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-stage .hero-logo,
  .logo-stage::before,
  .logo-stage::after,
  .logo-stage .ring-2,
  .logo-stage .ring-3,
  .logo-stage .spark,
  .logo-stage .electric path,
  .logo-stage .flash,
  .logo-stage .crackle { animation: none !important; }
  .logo-stage .electric path { opacity: 0; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 860px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,107,44,.16);
  border: 1px solid rgba(255,107,44,.4);
  color: var(--orange-400);
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--orange-500); }
.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,.82);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats .stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--orange-500);
  line-height: 1;
}
.hero-stats .stat span {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------------- Sections ---------------- */
.section { padding: 100px 0; }
.section-dark { background: var(--navy-800); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-grey { background: var(--grey-100); }

.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--orange-500);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .95rem;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--grey-700);
  font-size: 1.1rem;
}
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* ---------------- Service Grid ---------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--grey-700);
  font-size: .97rem;
  margin-bottom: 18px;
  flex: 1;
}
.service-card .link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card .link:hover { color: var(--orange-500); }

.section-dark .service-card {
  background: var(--navy-700);
  border-color: rgba(255,255,255,.08);
}
.section-dark .service-card p { color: rgba(255,255,255,.7); }

/* ---------------- Feature strip (Why choose us) ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,107,44,.15);
  color: var(--orange-500);
  display: grid;
  place-items: center;
}
.feature h4 { margin-bottom: 4px; color: var(--white); }
.feature p { color: rgba(255,255,255,.75); font-size: .97rem; margin: 0; }

/* ---------------- Split / content row ---------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}
.split-image::before {
  content: "";
  position: absolute;
  top: -20px; left: -20px;
  width: 60%; height: 40%;
  background: var(--orange-500);
  opacity: .12;
  border-radius: 24px;
  z-index: 0;
  transform: rotate(-4deg);
}
.split-image.placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,107,44,.45), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px);
}
.split-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.split-image:hover img { transform: scale(1.04); }
.split-image .placeholder-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: rgba(255,255,255,.6);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 2;
}

.checklist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange-500);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 3px;
}

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  padding: 110px 0 80px;
  background:
    linear-gradient(135deg, rgba(6,13,26,.92) 0%, rgba(15,31,61,.85) 100%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 80% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 80% 50%, black 20%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero .eyebrow {
  color: var(--orange-500);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .95rem;
  margin-bottom: 12px;
  display: block;
}
.page-hero h1 { color: var(--white); max-width: 800px; }
.page-hero p {
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  max-width: 640px;
  margin-top: 16px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 28px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--orange-500); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ---------------- CTA strip ---------------- */
.cta-strip {
  background: linear-gradient(120deg, var(--orange-500), var(--orange-400));
  color: var(--white);
  padding: 60px 0;
}
.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: var(--white); margin: 0; }
.cta-strip p { color: rgba(255,255,255,.92); margin: 8px 0 0; font-size: 1.1rem; }
.cta-strip .btn-dark { background: var(--navy-900); }
.cta-strip .btn-dark:hover { background: var(--white); color: var(--navy-900); }

/* ---------------- Contact form ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.info-card {
  background: var(--navy-800);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.info-card h3 { color: var(--white); }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,107,44,.15);
  color: var(--orange-500);
  display: grid;
  place-items: center;
}
.info-list .icon svg { width: 20px; height: 20px; }
.info-list strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.info-list a { color: var(--white); }
.info-list a:hover { color: var(--orange-500); }

form.enquiry {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row.two { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(26,124,255,.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.65);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 60px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .95rem; }
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: .1em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.65); font-size: .95rem; }
.footer a:hover { color: var(--orange-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}

/* ---------------- Utilities ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------------- Accent markers ---------------- */
.rule {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: var(--orange-500);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ================================================================
   CASE STUDIES
   ================================================================ */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  padding: 28px 26px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
  color: var(--ink);
}
.case-card:hover::before { transform: scaleX(1); }
.case-card .case-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.case-card .case-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--orange-500);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-card .case-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--grey-700);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-card .case-location svg { width: 13px; height: 13px; color: var(--orange-500); }
.case-card h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.15;
}
.case-card p {
  color: var(--grey-700);
  font-size: .95rem;
  margin: 0 0 18px;
  flex: 1;
}
.case-card .case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding-top: 16px;
  border-top: 1px solid var(--grey-300);
}
.case-card .case-meta span strong {
  color: var(--orange-500);
  font-weight: 800;
  margin-right: 4px;
}
.section-dark .case-card { background: var(--navy-700); border-color: rgba(255,255,255,.08); color: var(--white); }
.section-dark .case-card p { color: rgba(255,255,255,.7); }
.section-dark .case-card .case-location { color: rgba(255,255,255,.6); }
.section-dark .case-card .case-meta { color: rgba(255,255,255,.5); border-top-color: rgba(255,255,255,.08); }

/* Case study detail page */
.case-hero {
  padding: 110px 0 70px;
  background:
    linear-gradient(135deg, rgba(6,13,26,.92) 0%, rgba(15,31,61,.85) 100%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 80% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 80% 50%, black 20%, transparent 70%);
}
.case-hero .container { position: relative; }
.case-hero .eyebrow {
  color: var(--orange-500);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .9rem;
  display: inline-block;
  margin-bottom: 14px;
}
.case-hero h1 { color: var(--white); max-width: 900px; margin: 0 0 18px; }
.case-hero .lead { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 720px; margin: 0; }

.case-meta-strip {
  background: var(--navy-700);
  color: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.case-meta-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.case-meta-strip .meta-item strong {
  display: block;
  color: var(--orange-500);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case-meta-strip .meta-item span {
  font-size: 1rem;
  color: var(--white);
}

.case-body-article {
  padding: 70px 0 80px;
}
.case-body-article .container { max-width: 820px; }
.case-body-article h2 {
  margin-top: 50px;
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
.case-body-article h2:first-child { margin-top: 0; }
.case-body-article h3 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.case-body-article p,
.case-body-article ul,
.case-body-article ol {
  font-size: 1.05rem;
  color: var(--grey-700);
}
.case-body-article ul,
.case-body-article ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.case-body-article ul li,
.case-body-article ol li {
  margin-bottom: 8px;
}
.case-body-article .lede {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  border-left: 4px solid var(--orange-500);
  padding-left: 22px;
  margin-bottom: 36px;
}
.case-body-article blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--grey-100);
  border-radius: var(--radius);
  font-size: 1.1rem;
  color: var(--navy-800);
  border-left: 4px solid var(--blue-500);
}
.case-body-article blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--grey-700);
  font-size: .9rem;
  text-transform: uppercase;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.case-filter {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  color: var(--grey-700);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.case-filter:hover { color: var(--navy-800); border-color: var(--navy-800); }
.case-filter.is-active {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.related-cases {
  background: var(--grey-100);
  padding: 70px 0 80px;
}
.related-cases .section-head { margin-bottom: 36px; }

@media (max-width: 640px) {
  .case-hero { padding: 70px 0 50px; }
  .case-body-article { padding: 50px 0 60px; }
  .case-body-article h2 { margin-top: 36px; }
  .case-meta-strip .container { gap: 16px; }
}

/* ================================================================
   MOBILE OPTIMISATION
   ================================================================ */

/* Tablet portrait and below */
@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .cta-strip { padding: 44px 0; text-align: center; }
  .cta-strip .container { justify-content: center; }

  .hero.hero-home { padding: 60px 0 70px; }
  .hero { padding: 80px 0 70px; }
  .page-hero { padding: 80px 0 56px; }

  .section-head { margin-bottom: 44px; }

  .hero-stats {
    margin-top: 40px;
    padding-top: 28px;
    gap: 18px;
  }
  .hero-stats .stat strong { font-size: 2.1rem; }

  /* Logo stage: shrink whole assembly to keep it on screen */
  .logo-stage { min-height: 340px; }
  .logo-stage::before { width: 420px; height: 420px; filter: blur(26px); }
  .logo-stage::after  { width: 300px; height: 300px; }
  .logo-stage .ring-2 { width: 380px; height: 380px; }
  .logo-stage .ring-3 { width: 460px; height: 460px; }
  .logo-stage .hero-logo { width: min(380px, 80%); }
}

/* Phones */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }

  h1 { line-height: 1.08; }
  .lead { font-size: 1.05rem; }

  .hero.hero-home { padding: 48px 0 60px; }
  .hero-inner p { font-size: 1.05rem; }

  /* Kill side rings on the smallest screens to avoid overflow */
  .logo-stage { min-height: 300px; }
  .logo-stage::before { width: 340px; height: 340px; filter: blur(22px); }
  .logo-stage::after  { width: 260px; height: 260px; }
  .logo-stage .ring-2 { width: 320px; height: 320px; }
  .logo-stage .ring-3 { display: none; }
  .logo-stage .hero-logo { width: min(320px, 85%); }

  /* Stats: stack in two columns instead of shrinking to four tiny columns */
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-stats .stat strong { font-size: 1.8rem; }
  .hero-stats .stat span { font-size: .82rem; }

  /* Buttons: full-width feel + proper tap target */
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 1rem; }
  .cta-strip .btn { width: 100%; justify-content: center; }

  /* Service cards */
  .service-card { padding: 26px 22px; }
  .service-card h3 { font-size: 1.2rem; }

  /* Split sections: give image proper aspect */
  .split { gap: 28px; }
  .split-image { aspect-ratio: 4/3; }

  /* Contact page */
  .info-card { padding: 28px 22px; }
  form.enquiry { padding: 24px 20px; }
  .form-row, .form-row.two { gap: 14px; margin-bottom: 14px; }
  .form-field input,
  .form-field select,
  .form-field textarea { padding: 12px 14px; font-size: 16px; /* 16px prevents iOS auto-zoom */ }

  /* Page hero */
  .page-hero { padding: 64px 0 44px; }
  .breadcrumb { margin-bottom: 20px; font-size: .82rem; }

  /* Footer */
  .site-footer { padding: 50px 0 24px; }
  .footer-grid { gap: 32px; margin-bottom: 36px; }
  .footer-bottom { font-size: .8rem; text-align: center; justify-content: center; }

  /* Feature grid: icon above text is fine; keep gap tight */
  .feature-grid { gap: 22px; }
}

/* Small phones */
@media (max-width: 400px) {
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .nav-cta { padding: 10px 14px; font-size: .9rem; }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   