/* ---------------------------------------------------
   LDT — London Drainage Team
   Palette pulled from the existing logo/card:
   deep navy, working blue, signal orange.
   Type: Archivo (heavy display, civic/infrastructure feel)
         Inter (body)
         Barlow Semi Condensed (utility labels — stencil/signage feel)
   Signature: blueprint pipe-route hero + live dispatch badge
--------------------------------------------------- */

:root{
  --navy-deep: #081a3d;
  --navy: #0f2657;
  --navy-mid: #163a7c;
  --blue: #1f93db;
  --blue-soft: #dbeefb;
  --orange: #f5901f;
  --orange-dark: #d97612;
  --paper: #f6f8fb;
  --white: #ffffff;
  --ink: #0b1b3a;
  --steel: #5c6b8a;
  --line: rgba(11,27,58,0.12);
  --shadow: 0 24px 50px -22px rgba(8,26,61,0.45);
  --radius: 8px;
  --max: 1200px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family:"Inter", -apple-system, sans-serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }

h1,h2,h3{
  font-family:"Archivo", sans-serif;
  font-weight:800;
  letter-spacing:-0.015em;
  color: var(--navy-deep);
  margin:0 0 0.4em;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:"Barlow Semi Condensed", sans-serif;
  font-weight:700;
  font-size:13.5px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--orange-dark);
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background: var(--orange);
}
.eyebrow.on-dark{ color: var(--blue-soft); }
.eyebrow.on-dark::before{ background: var(--blue); }

/* -------------------- intro sequence -------------------- */
#intro{
  position: fixed; inset:0;
  z-index: 500;
  background: radial-gradient(900px 500px at 50% 20%, rgba(31,147,219,0.22), transparent 60%), var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  animation: introOut 0.6s ease forwards;
  animation-delay: 1.85s;
}
#intro.skip{ display:none; }
.intro-inner{ text-align:center; }
.intro-logo{
  height: 74px; width:auto;
  margin: 0 auto 18px;
  opacity:0;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.35));
  animation: introLogoIn 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}
.intro-word{
  font-family:"Barlow Semi Condensed", sans-serif;
  font-weight:700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform:uppercase;
  color: var(--white);
  opacity:0;
  animation: introWordIn 0.6s ease forwards;
  animation-delay: 0.3s;
}
.intro-word span{
  display:block;
  font-weight:500;
  font-size:12px;
  letter-spacing:0.1em;
  color: rgba(219,238,251,0.55);
  margin-top:4px;
}
.intro-pipe{
  width: 200px;
  margin: 24px auto 0;
  opacity:0;
  animation: introWordIn 0.5s ease forwards;
  animation-delay: 0.55s;
}
.intro-pipe svg{ width:100%; height:14px; overflow:visible; }
.intro-pipe-track{ stroke: rgba(255,255,255,0.14); stroke-width:2; }
.intro-pipe-fill{
  stroke: var(--blue);
  stroke-width:2;
  stroke-dasharray: 236;
  stroke-dashoffset: 236;
  animation: introFill 1.05s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: 0.65s;
}
.intro-pipe-drop{
  fill: var(--orange);
  opacity:0;
  animation: introDropShow 0.15s ease forwards;
  animation-delay: 0.65s;
}

@keyframes introLogoIn{
  from{ opacity:0; transform: translateY(10px) scale(0.92); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
@keyframes introWordIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes introFill{ to{ stroke-dashoffset: 0; } }
@keyframes introDropShow{ to{ opacity:1; } }
@keyframes introOut{
  0%{ opacity:1; visibility:visible; }
  99%{ opacity:0; visibility:visible; }
  100%{ opacity:0; visibility:hidden; pointer-events:none; }
}
body.intro-lock{ overflow:hidden; height:100vh; }

@media (prefers-reduced-motion: reduce){
  #intro{ display:none; }
}

/* -------------------- top emergency strip -------------------- */
.top-strip{
  background: var(--orange);
  color: var(--navy-deep);
}
.top-strip .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 9px 28px;
  font-family:"Barlow Semi Condensed", sans-serif;
  font-size:14px;
  font-weight:600;
  letter-spacing:0.02em;
}
.top-strip a{ text-decoration:none; font-weight:700; }
.top-strip-actions{ display:flex; align-items:center; gap:24px; }
.reviews-link{ font-weight:800 !important; letter-spacing:0.02em; }
.reviews-link:hover{ text-decoration:underline; }
.top-strip .pulse-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--navy-deep);
  display:inline-block;
  margin-right:8px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:0.4; transform:scale(0.7); }
}

/* -------------------- header -------------------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 28px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand img{ height:58px; width:auto; }
.brand-text{
  font-family:"Archivo", sans-serif;
  font-weight:800;
  font-size:15px;
  line-height:1.15;
  color: var(--navy-deep);
}
.brand-text span{
  display:block;
  font-family:"Barlow Semi Condensed", sans-serif;
  font-weight:600;
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color: var(--orange-dark);
}
nav.main-nav{ display:flex; align-items:center; gap:30px; }
nav.main-nav a{
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  color: var(--navy);
  position:relative;
  padding:4px 0;
}
nav.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height:2px; background: var(--orange);
  transform:scaleX(0); transform-origin:left;
  transition:transform .22s ease;
}
nav.main-nav a:hover::after{ transform:scaleX(1); }

.call-btn{
  display:inline-flex; align-items:center; gap:12px;
  background: var(--navy-deep);
  color:var(--white) !important;
  padding:9px 26px 9px 9px;
  border-radius:50px;
  font-weight:700;
  font-size:17px !important;
  letter-spacing:0.01em;
  text-decoration:none;
  box-shadow: 0 14px 28px -14px rgba(8,26,61,0.6);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.call-btn-icon{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px;
  border-radius:50%;
  background: var(--orange);
  flex-shrink:0;
}
.call-btn svg{ width:18px; height:18px; }
.call-btn:hover{ background: var(--navy-mid); transform:translateY(-2px); box-shadow: 0 18px 32px -14px rgba(8,26,61,0.7); }
.call-btn::after{ display:none; }

.menu-btn{ display:none; }

/* -------------------- buttons -------------------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px;
  border-radius:30px;
  text-decoration:none;
  font-weight:700;
  font-size:15.5px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  font-family:"Inter", sans-serif;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover{ background: var(--orange-dark); color:var(--white); }
.btn-ghost{ border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost:hover{ background: rgba(255,255,255,0.12); }
.btn-outline{ border-color: var(--navy); color: var(--navy); background:transparent; }
.btn-outline:hover{ background: var(--navy); color: var(--white); }
.btn-block{ width:100%; justify-content:center; }

/* -------------------- hero -------------------- */
.hero{
  position:relative;
  background: radial-gradient(1100px 600px at 82% -10%, rgba(31,147,219,0.35), transparent 60%), linear-gradient(180deg, var(--navy-deep), #061633 78%);
  color: var(--white);
  overflow:hidden;
  padding: 78px 0 0;
}
.blueprint-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
  pointer-events:none;
}
.hero-inner{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:40px;
  align-items:center;
  padding-bottom: 20px;
}
.hero-copy .eyebrow{ margin-bottom:18px; }
.hero h1{
  color: var(--white);
  font-size: clamp(38px, 4.8vw, 60px);
  line-height:1.04;
  max-width: 13ch;
  margin-bottom:20px;
}
.hero h1 span{ color: var(--blue); }
.hero p.lede{
  max-width:44ch;
  font-size:18px;
  color: rgba(255,255,255,0.82);
  margin-bottom:30px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 36px;}

.live-badge{
  display:inline-flex; align-items:center; gap:12px;
  background: rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:30px;
  padding:10px 18px 10px 14px;
}
.live-badge .dot{
  width:10px; height:10px; border-radius:50%;
  background: #35d17c;
  box-shadow: 0 0 0 0 rgba(53,209,124,0.6);
  animation: dotpulse 1.8s ease-out infinite;
  flex-shrink:0;
}
@keyframes dotpulse{
  0%{ box-shadow: 0 0 0 0 rgba(53,209,124,0.55); }
  70%{ box-shadow: 0 0 0 11px rgba(53,209,124,0); }
  100%{ box-shadow: 0 0 0 0 rgba(53,209,124,0); }
}
.live-badge strong{
  display:block;
  font-family:"Barlow Semi Condensed", sans-serif;
  font-size:13px;
  letter-spacing:0.04em;
  color: var(--white);
  font-weight:700;
}
.live-badge span{
  font-size:12.5px;
  color: rgba(255,255,255,0.65);
}

/* pipe route graphic */
.pipe-route{ position:relative; z-index:2; }
.pipe-route svg{ width:100%; height:auto; display:block; }
.pipe-route .route-line{
  fill:none;
  stroke: var(--blue);
  stroke-width:3;
  stroke-linecap:round;
  stroke-dasharray: 8 10;
  animation: dash 22s linear infinite;
}
@keyframes dash{ to{ stroke-dashoffset: -400; } }
.pipe-route .node circle{ fill: var(--navy-deep); stroke: var(--blue); stroke-width:2.5; }
.pipe-route .node.active circle{ fill: var(--orange); stroke: var(--orange); }
.pipe-route .node text{
  font-family:"Barlow Semi Condensed", sans-serif;
  font-size:12px;
  font-weight:600;
  fill: rgba(255,255,255,0.85);
  text-transform:uppercase;
  letter-spacing:0.04em;
}
@media (prefers-reduced-motion: reduce){
  .pipe-route .route-line{ animation:none; stroke-dasharray:none; }
  .live-badge .dot, .top-strip .pulse-dot{ animation:none; }
}

/* -------------------- trust bar -------------------- */
.trust-bar{
  background: var(--white);
  border-bottom:1px solid var(--line);
  padding: 26px 0;
}
.trust-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item{
  display:flex; align-items:center; gap:12px;
}
.trust-item .ico{
  width:42px; height:42px; border-radius:50%;
  background: var(--blue-soft);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.trust-item .ico svg{ width:20px; height:20px; stroke: var(--navy); }
.trust-item strong{ display:block; font-size:14.5px; color:var(--navy-deep); }
.trust-item span{ font-size:12.5px; color: var(--steel); }

/* -------------------- sections -------------------- */
section{ padding: 88px 0; }
.section-head{ max-width:640px; margin-bottom:46px; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 42px); margin-top:14px; }
.section-head p{ color:#3f4d6b; font-size:17px; margin-top:14px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.deep{ background: var(--navy-deep); color: var(--blue-soft); }
.deep h2,.deep h3{ color: var(--white); }
.deep .section-head p{ color: rgba(219,238,251,0.78); }

/* -------------------- services -------------------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .ico{
  width:52px; height:52px; border-radius:50%;
  background: var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.service-card .ico svg{ width:24px; height:24px; stroke: var(--blue); }
.service-card.emergency .ico{ background: var(--orange); }
.service-card.emergency .ico svg{ stroke: var(--navy-deep); }
.service-card h3{ font-size:19px; margin-bottom:8px; }
.service-card p{ font-size:15px; color:#4b5876; margin:0; }

/* -------------------- process -------------------- */
.process{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position:relative;
}
.process-step{ position:relative; padding-left: 6px; }
.manhole{
  width:56px; height:56px;
  border-radius:50%;
  background: var(--navy-deep);
  border: 3px solid var(--blue);
  display:flex; align-items:center; justify-content:center;
  font-family:"Archivo", sans-serif;
  font-weight:800;
  font-size:18px;
  color: var(--white);
  margin-bottom:18px;
  position:relative;
}
.manhole::before{
  content:"";
  position:absolute; inset:6px;
  border-radius:50%;
  border: 1.5px dashed rgba(255,255,255,0.35);
}
.process-step h3{ font-size:19px; color:var(--white); margin-bottom:8px; }
.process-step p{ font-size:15px; color: rgba(219,238,251,0.75); margin:0; }
.process-connector{
  position:absolute;
  top:28px; left:56px; right:-28px;
  height:2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px);
}
.process-step:last-child .process-connector{ display:none; }

/* -------------------- area covered -------------------- */
.area-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items:center;
}
.all-areas-badge{
  display:inline-flex; align-items:center; gap:9px;
  background: var(--orange);
  color: var(--white);
  font-family:"Archivo", sans-serif;
  font-weight:800;
  font-size:14.5px;
  letter-spacing:0.03em;
  text-transform:uppercase;
  padding:11px 20px;
  border-radius:8px;
  margin-top:20px;
  box-shadow: 0 14px 26px -14px rgba(217,118,18,0.6);
}
.all-areas-badge svg{ width:16px; height:16px; flex-shrink:0; }
.area-list{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-top: 22px;
}
.area-list div{
  display:flex; align-items:center; gap:10px;
  font-size:15px; color: var(--navy-deep); font-weight:600;
}
.area-list div::before{
  content:"";
  width:7px; height:7px; border-radius:50%;
  background: var(--orange);
  flex-shrink:0;
}
.area-card{
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--white);
  box-shadow: var(--shadow);
}
.area-card .addr-line{
  display:flex; gap:14px; align-items:flex-start;
  font-size:15.5px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.area-card .addr-line svg{ width:19px; height:19px; stroke: var(--blue); flex-shrink:0; margin-top:2px; }
.area-card .addr-line strong{ display:block; color:var(--white); font-weight:700; margin-bottom:2px; }

/* -------------------- CTA strip -------------------- */
.cta-strip{
  background: linear-gradient(120deg, var(--navy-mid), var(--navy-deep));
  color: var(--white);
  padding: 60px 0;
}
.cta-strip .wrap{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px;
}
.cta-strip h2{ color: var(--white); font-size: clamp(24px,3vw,34px); margin:0; }
.cta-strip p{ margin: 8px 0 0; color: rgba(255,255,255,0.75); font-size:15.5px; }

/* -------------------- contact -------------------- */
.contact-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.contact-info p{ color:#3f4d6b; font-size:17px; margin-top:14px; max-width:42ch; }
.contact-details{ margin-top:30px; display:flex; flex-direction:column; gap:18px; }
.contact-line{
  display:flex; align-items:center; gap:14px;
  font-size:16px; color: var(--navy-deep);
  text-decoration:none;
}
.contact-line .ico{
  width:40px; height:40px; border-radius:50%;
  background: var(--blue-soft);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-line .ico svg{ width:18px; height:18px; stroke: var(--navy); }
.contact-line strong{
  display:block; font-size:11.5px; text-transform:uppercase; letter-spacing:.07em;
  font-family:"Barlow Semi Condensed", sans-serif; color:#7684a3; font-weight:600; margin-bottom:2px;
}

.form-card{
  background: var(--white);
  border-radius: var(--radius);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-card h3{ font-size:22px; margin-bottom:6px; }
.form-card > p{ font-size:15px; color:#5c6a8a; margin-bottom:26px; }
.field{ margin-bottom:20px; }
.field label{
  display:block;
  font-family:"Barlow Semi Condensed", sans-serif;
  font-size:12.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase;
  color: var(--navy); margin-bottom:8px;
}
.field input, .field select, .field textarea{
  width:100%;
  border:1.5px solid var(--line);
  border-radius:4px;
  background: var(--paper);
  padding: 13px 14px;
  font-family:"Inter", sans-serif;
  font-size:15.5px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--blue); background: var(--white);
}
.field textarea{ resize:vertical; min-height:100px; }
.form-note{ font-size:12.5px; color:#8592ac; margin-top:14px; text-align:center; }

/* -------------------- footer -------------------- */
footer{ background: var(--navy-deep); color: var(--blue-soft); padding: 54px 0 26px; }
.footer-grid{
  display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:30px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(219,238,251,0.16);
}
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand img{ height:40px; }
.footer-brand-text{ font-family:"Archivo", sans-serif; font-weight:800; color:var(--white); font-size:18px; }
.footer-brand-text p{
  font-family:"Inter", sans-serif; font-weight:400; font-size:13.5px;
  color: rgba(219,238,251,0.65); margin: 6px 0 0; max-width:32ch;
}
.footer-links{ display:flex; gap:60px; flex-wrap:wrap; }
.footer-col h4{
  font-family:"Barlow Semi Condensed", sans-serif; font-size:12.5px; text-transform:uppercase;
  letter-spacing:.08em; color: var(--blue); margin-bottom:14px; font-weight:700;
}
.footer-col a{ display:block; text-decoration:none; color: rgba(255,255,255,0.85); font-size:14.5px; margin-bottom:10px; }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  padding-top:22px; display:flex; justify-content:space-between; font-size:13px;
  color: rgba(219,238,251,0.5); flex-wrap:wrap; gap:10px;
}

/* -------------------- reveal -------------------- */
.reveal{ opacity:0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

/* -------------------- responsive -------------------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .trust-grid{ grid-template-columns: repeat(2,1fr); }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .process{ grid-template-columns:1fr; gap:38px; }
  .process-connector{ display:none; }
  .area-wrap, .contact-grid{ grid-template-columns:1fr; }
  .area-list{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:720px){
  .top-strip .wrap{ font-size:12.5px; padding:8px 20px; flex-wrap:wrap; justify-content:center; text-align:center; row-gap:6px; }
  .top-strip-actions{ gap:16px; }
  nav.main-nav{
    position:fixed; top:70px; left:0; right:0;
    background: var(--white);
    flex-direction:column; align-items:flex-start;
    padding: 20px 28px 26px;
    border-bottom:1px solid var(--line);
    display:none; gap:16px;
  }
  nav.main-nav.open{ display:flex; }
  nav.main-nav .call-btn{ margin-top:6px; }
  .menu-btn{
    display:flex; align-items:center; justify-content:center;
    width:40px; height:40px; background:none; border:1.5px solid var(--line);
    border-radius:50%; cursor:pointer;
  }
  .menu-btn span{ display:block; width:16px; height:1.5px; background: var(--navy-deep); position:relative; }
  .menu-btn span::before, .menu-btn span::after{
    content:""; position:absolute; left:0; width:16px; height:1.5px; background: var(--navy-deep);
  }
  .menu-btn span::before{ top:-5px; } .menu-btn span::after{ top:5px; }
  section{ padding:60px 0; }
  .services-grid{ grid-template-columns:1fr; }
  .trust-grid{ grid-template-columns:1fr 1fr; }
  .cta-strip .wrap{ flex-direction:column; align-items:flex-start; }
  .form-card{ padding:26px; }
  .footer-grid{ flex-direction:column; }
}
