/* ---- Lanigan Waste — base ---- */
/* overflow-anchor:none on the whole document (not just the header) stops the
   browser's scroll-anchoring from picking ANY element as an anchor and nudging
   scrollY to compensate when the sticky header resizes and the page reflows
   under it — that nudge could re-cross the header's shrink/expand thresholds
   and cause it to flicker open/closed while scrolling. */
html { scroll-behavior: smooth; overflow-anchor: none; }
body {
  font-family: 'Manrope', sans-serif;
  background: #FAF8F4;
  color: #0A0F1E;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto;
  /* image protection: no drag, no long-press save sheet, no text-style selection */
  -webkit-user-drag: none; user-drag: none;
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 3px solid #F97316; outline-offset: 2px; border-radius: 4px; }

.font-display { font-family: 'Barlow Condensed', sans-serif; }

/* Keep smallest text readable (overrides Tailwind's 12px .text-xs) */
.text-xs { font-size: .8125rem !important; line-height: 1.45 !important; }

/* Skip link: real-sized but off-screen until focused (a11y + tap-target friendly) */
.skip-link { position: absolute; top: -100px; left: 8px; z-index: 70;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  background: #FFB703; color: #0A0F1E; font-weight: 800; border-radius: .6rem; }
.skip-link:focus { top: 8px; }

/* Header: big logo, smooth shrink on scroll.
   The ONLY size rules for the logo/header live right here. */
/* overflow-anchor:none stops the browser's scroll-anchoring from nudging
   scrollY to compensate as the header/topbar resize — without this, that
   nudge can re-cross the shrink thresholds and flicker the header. */
#lw-header { overflow-anchor: none; }
.lw-topbar { background: #0A0F1E; color: rgba(255,255,255,.82); overflow: hidden;
  max-height: 44px; opacity: 1; transition: max-height .28s ease, opacity .2s ease; }
.lw-topbar a { color: inherit; font-weight: 700; font-size: .8125rem; transition: color .15s; }
.lw-topbar a:hover { color: #FFB703; }
.lw-topbar svg { flex-shrink: 0; }
#lw-header.lw-shrunk .lw-topbar { max-height: 0; opacity: 0; }
.lw-headbar { height: 112px; transition: height .3s ease; }
.lw-logo { height: 96px; transition: height .3s ease; }
#lw-header.lw-shrunk .lw-headbar { height: 84px; }
#lw-header.lw-shrunk .lw-logo { height: 68px; }
@media (min-width: 768px) {
  .lw-headbar { height: 132px; }
  .lw-logo { height: 116px; }
  #lw-header.lw-shrunk .lw-headbar { height: 96px; }
  #lw-header.lw-shrunk .lw-logo { height: 80px; }
}

/* Big display headline */
.h-display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.h-hero { font-size: clamp(2.6rem, 10vw, 5.5rem); }
.h-sect { font-size: clamp(2rem, 7vw, 3.4rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: #B45309;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #FFB703, #F97316); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 800; font-size: 1rem; border-radius: 9999px;
  min-height: 52px; padding: 0 1.6rem; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, #FFB703, #F97316);
  color: #0A0F1E; box-shadow: 0 10px 26px -10px rgba(249, 115, 22, .55);
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(249, 115, 22, .75); transform: translateY(-2px); }
.btn-dark { background: #0A0F1E; color: #fff; }
.btn-dark:hover { background: #101A33; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(10,15,30,.22); color: #0A0F1E; background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #0A0F1E; transform: translateY(-2px); }
.btn-light { background: #fff; color: #0A0F1E; }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .9rem; }

/* Cards */
.card {
  background: #fff; border: 1px solid rgba(10,15,30,.08); border-radius: 1.25rem;
  box-shadow: 0 1px 2px rgba(10,15,30,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10,15,30,.25); border-color: rgba(249,115,22,.35); }
.icon-chip {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,183,3,.18), rgba(249,115,22,.18));
  color: #C2410C; flex-shrink: 0;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---- Organic section curves ---- */
/* Sweeping curved transitions between sections — the path fill is the LOWER
   section's colour (currentColor), the container bg is the UPPER section's. */
.divider-hazard, .divider-road { display: none; } /* retired styles */
.curve { display: block; line-height: 0; overflow: visible; position: relative; z-index: 5; }
.curve > svg { display: block; width: 100%; height: clamp(44px, 7vw, 100px); overflow: visible; }
.curve-flip > svg { transform: scaleX(-1); }

/* Recycle-themed seam: small recycling-arrow icons travel along the curve.
   The seam SVG stretches non-uniformly (preserveAspectRatio="none"), so script.js
   measures the real stretch and sets an exact inline counter-scale on each <use>
   — icons stay perfectly round at every viewport width. This is a no-JS fallback. */
.seam-arrows use { transform: scale(.9) translate(-12px, -12px); }

/* Chasing-arrows medallion set into the seam */
.curve-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: clamp(46px, 6vw, 60px); height: clamp(46px, 6vw, 60px); border-radius: 50%;
  background: linear-gradient(135deg, #FFB703, #F97316);
  display: flex; align-items: center; justify-content: center; color: #0A0F1E;
  box-shadow: 0 8px 22px -6px rgba(249,115,22,.6), 0 0 0 5px rgba(250,248,244,.9), 0 0 0 6px rgba(10,15,30,.08); }
.curve-badge svg { width: 55%; height: 55%; animation: lw-spin 16s linear infinite; }
@keyframes lw-spin { to { transform: rotate(360deg); } }
.curve-badge-l { left: 18%; } .curve-badge-r { left: 82%; }
@media (max-width: 640px) { .curve-badge-l { left: 24%; } .curve-badge-r { left: 76%; } }

/* Marquee trust band: black with white text at all sizes. On mobile the dark
   hero block above fades into the cream page first, so the band reads as
   black-on-light there too. */
.marquee-wrap { overflow: hidden; }
.marquee { display: flex; gap: 0; width: max-content; animation: lw-scroll 32s linear infinite; }
@keyframes lw-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero — MOBILE (<768px): three stacked in-flow blocks (text / image / actions).
   Height comes from content only. The photo is full-bright with no filters or
   transforms; only its bottom 20% fades into the dark actions block. */
@media (max-width: 767px) {
  .hero .eyebrow { color: #C2410C; white-space: nowrap; }
  .hero .h-hero { color: #0B0F19; }
  .hero .hero-accent { background: none !important; -webkit-background-clip: initial !important;
    background-clip: initial !important; color: #D9480F !important; }
  /* Block B: image position only — wrapper controls size via aspect-ratio 16/10.
     62% keeps the vehicles clear while leaving sky at the top for the cream fade. */
  .hero .hero-img { object-position: 50% 62%; transform: scale(1.12); }
  /* Soft cream blend over the TOP of the photo so the headline block melts into
     the image (covers sky/trees only; vehicles stay full brightness). */
  .hero .hero-media { position: relative; overflow: hidden; }
  .hero .hero-media::before { content: ''; position: absolute; inset: 0; z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom,
      #FAF8F4 0%,
      rgba(250, 248, 244, .85) 8%,
      rgba(250, 248, 244, .5) 18%,
      rgba(250, 248, 244, 0) 30%); }
  .hero-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 20%; pointer-events: none;
    background: linear-gradient(to bottom, rgba(10,15,30,0), #0A0F1E 100%); }
  /* Block C: solid dark behind the content, then an eased fade into the cream
     page background so the black ticker band below sits on light, not on dark. */
  .hero-actions { padding-top: 20px; padding-bottom: 170px;
    background: linear-gradient(to bottom,
      #0A0F1E 0%,
      #0A0F1E calc(100% - 160px),
      rgba(10,15,30,.987) calc(100% - 150px),
      rgba(10,15,30,.95)  calc(100% - 140px),
      rgba(10,15,30,.89)  calc(100% - 130px),
      rgba(10,15,30,.81)  calc(100% - 120px),
      rgba(10,15,30,.72)  calc(100% - 110px),
      rgba(10,15,30,.62)  calc(100% - 100px),
      rgba(10,15,30,.5)   calc(100% - 90px),
      rgba(10,15,30,.38)  calc(100% - 80px),
      rgba(10,15,30,.28)  calc(100% - 70px),
      rgba(10,15,30,.19)  calc(100% - 60px),
      rgba(10,15,30,.11)  calc(100% - 50px),
      rgba(10,15,30,.05)  calc(100% - 40px),
      rgba(10,15,30,.013) calc(100% - 30px),
      rgba(10,15,30,0)    calc(100% - 20px)); }
  .hero .hero-call { background: transparent; border: 2px solid #fff; color: #fff;
    font-size: .9rem; padding: 0 .6rem; }
  .hero .hero-call:hover { background: rgba(255,255,255,.12); }
  /* Postcode result: hidden when empty (keeps a 12px box→buttons gap), white pill when shown */
  .hero #pc-result-hero { margin: 12px 0 0; min-height: 0; }
  .hero #pc-result-hero:empty { display: none; }
  .hero #pc-result-hero:not(:empty) { display: inline-block;
    background: rgba(255,255,255,.94); border-radius: .75rem; padding: .45rem .8rem; }
}

/* Hero: full-bright photo, right-anchored on md+, soft off-white panel behind the text */
@media (min-width: 768px) {
  /* Pan + subtle zoom so the front of the white Ford tipper is dominant;
     the refuse lorry's rear clips off the right edge (hero has overflow:hidden). */
  .hero .hero-img { object-fit: cover; object-position: 50% 52%; transform: scale(1.15) translateX(12%); transform-origin: right center; }
  .hero-scrim {
    background: linear-gradient(to right,
      rgba(250, 248, 244, 0.95) 0%,
      rgba(250, 248, 244, 0.95) 35%,
      rgba(250, 248, 244, 0.6) 50%,
      rgba(250, 248, 244, 0) 60%);
  }
  .hero-scrim::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 58%);
    mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 58%);
  }
}

/* Van estimator: on "Book this load" the tipper pulls forward, raises the bed,
   dumps the load out the back, lowers the bed and drives off to the right. */
#est-van { overflow: hidden; }
#est-bed { transform-box: view-box; transform-origin: 16px 124px; }
#van-fill { transition: transform .45s ease; }
#est-van.van-away #est-truck {
  animation: lw-rumble .32s linear 10,
             lw-driveoff .9s cubic-bezier(.6, -0.05, 1, .5) 5.35s forwards;
}
#est-van.van-away #est-bed {
  animation: lw-tip .6s ease-in-out 3.3s forwards,
             lw-tipdown .35s ease-in 4.85s forwards;
}
#est-van.van-away #van-fill { animation: lw-dump .6s ease-in 3.8s forwards; }
/* Scenery streams past right-to-left while the truck "drives" (3 seamless
   300px loops = 3.3s, ending exactly as the bed starts to tip). */
#est-van.van-away #est-scenery { animation: lw-scenery 1.1s linear 3; }
@keyframes lw-scenery { from { transform: translateX(0); } to { transform: translateX(-300px); } }
/* Waste centre depot: parked off-screen right, rolls in with the scenery on the
   last driving loop and stops behind the truck just as the bed starts to tip. */
#est-depot { transform: translateX(350px); }
#est-van.van-away #est-depot { animation: lw-depot 1.15s linear 2.18s forwards; }
@keyframes lw-depot { from { transform: translateX(350px); } to { transform: translateX(0); } }
/* Driving on the spot: engine-running rumble — small quick bob/jiggle, no travel */
@keyframes lw-rumble {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(1.2px, -1.6px); }
  40%  { transform: translate(-1px, .6px); }
  60%  { transform: translate(.8px, -1.2px); }
  80%  { transform: translate(-1.2px, .4px); }
  100% { transform: translate(0, 0); }
}
@keyframes lw-driveoff { from { transform: translateX(0); } to { transform: translateX(360px); } }
@keyframes lw-tip { to { transform: rotate(-22deg); } }
@keyframes lw-tipdown { from { transform: rotate(-22deg); } to { transform: rotate(0deg); } }
@keyframes lw-dump { to { transform: translate(-100px, 36px); opacity: 0; } }

/* Coverage radar: stylised local map behind the rings, melting into the cream
   page background. A radial mask fades the edges to fully transparent. Zoomed
   out with scale(0.75) to show more map area, plus a soft green/blue gradient
   blend radiating outward from the centre. */
.map-under { position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, rgba(135, 186, 88, .18) 35%, rgba(79, 129, 189, .22) 65%, rgba(79, 129, 189, .12) 100%),
    url('assets/coverage-map.jpg') center / 133.3% no-repeat;
  opacity: .88;
  transform: scale(0.75);
  transform-origin: center;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.85) 24%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.1) 62%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,.85) 24%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.1) 62%, transparent 72%); }

/* Gradient blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }

/* Before/after slider */
.ba { position: relative; overflow: hidden; border-radius: 1.25rem; aspect-ratio: 4/3; user-select: none;
  border: 1px solid rgba(10,15,30,.1); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
/* Same-photo mode: ONE photograph drives BOTH layers, so the scene is pixel-identical.
   The "before" layer is the same image degraded with filters + a grime/moss overlay;
   drag reveals the untouched clean photo. Alignment can never drift. */
.ba-same .ba-before, .ba-same .ba-after { position: absolute; inset: 0; pointer-events: none;
  background-image: var(--img); background-size: cover; background-position: center; }
.ba-same .ba-before { filter: saturate(.5) brightness(.72) contrast(.9) sepia(.35) hue-rotate(38deg); }
.ba-same .ba-before::after { content: ''; position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .8;
  background:
    radial-gradient(ellipse 70% 45% at 22% 82%, rgba(74,92,34,.75), transparent 65%),
    radial-gradient(ellipse 55% 40% at 78% 70%, rgba(64,74,28,.65), transparent 60%),
    radial-gradient(ellipse 80% 35% at 50% 100%, rgba(52,58,26,.7), transparent 70%),
    radial-gradient(ellipse 45% 30% at 60% 40%, rgba(92,82,48,.4), transparent 60%),
    linear-gradient(rgba(96,92,60,.28), rgba(70,72,40,.4));
}
/* Garden variant: browner, muddier degrade rather than green algae */
.ba-grime-garden .ba-before { filter: saturate(.55) brightness(.68) contrast(.88) sepia(.45) hue-rotate(12deg); }
.ba-grime-garden .ba-before::after {
  background:
    radial-gradient(ellipse 75% 50% at 30% 85%, rgba(84,66,32,.75), transparent 65%),
    radial-gradient(ellipse 60% 45% at 75% 75%, rgba(70,60,28,.65), transparent 60%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(58,50,24,.7), transparent 70%),
    linear-gradient(rgba(96,84,52,.3), rgba(74,64,38,.42));
}
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.ba .ba-knob { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#FFB703,#F97316);
  display: flex; align-items: center; justify-content: center; color: #0A0F1E; font-weight: 800;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); pointer-events: none; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .ba-tag { position: absolute; bottom: 10px; padding: .3rem .7rem; border-radius: 9999px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(10,15,30,.75); color: #fff; backdrop-filter: blur(4px); pointer-events: none; }
.ba .ba-tag.left { left: 10px; } .ba .ba-tag.right { right: 10px; }

/* Estimator */
.est-item {
  display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem;
  background: #fff; border: 1px solid rgba(10,15,30,.1); border-radius: 1rem;
}
.est-btn {
  width: 40px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: #F4F1EA; transition: background .15s, transform .15s;
}
.est-btn:hover { background: #FFB703; }
.est-btn:active { transform: scale(.92); }
#van-fill { transition: y .5s ease, height .5s ease; }

/* Postcode pill form */
.pc-form { display: flex; gap: .5rem; background: #fff; border: 1.5px solid rgba(10,15,30,.14);
  border-radius: 9999px; padding: .35rem; box-shadow: 0 10px 30px -18px rgba(10,15,30,.35); }
.pc-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 .5rem 0 1rem;
  font-weight: 700; font-size: 1rem; text-transform: uppercase; }
.pc-form input:focus { outline: none; }
.pc-form input::placeholder { color: #6B7280; text-transform: none; font-weight: 600; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 9999px;
  background: #fff; border: 1px solid rgba(10,15,30,.12); font-weight: 700; font-size: .85rem;
  transition: border-color .2s, transform .2s; }
a.chip:hover { border-color: #F97316; transform: translateY(-2px); }

/* Quote form steps */
.step-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; background: #EFECE5; color: #6B7280; }
.step-dot.active { background: linear-gradient(135deg,#FFB703,#F97316); color: #0A0F1E; }
.step-dot.done { background: #0A0F1E; color: #fff; }
.form-input { width: 100%; min-height: 52px; border-radius: .9rem; border: 1.5px solid rgba(10,15,30,.15);
  background: #fff; padding: .8rem 1rem; font-size: 1rem; font-weight: 600; }
.form-input:focus { border-color: #F97316; outline: none; box-shadow: 0 0 0 3px rgba(249,115,22,.18); }
.svc-pick { display:flex; align-items:center; gap:.6rem; padding: .8rem .9rem; border-radius: 1rem; cursor: pointer;
  background:#fff; border: 1.5px solid rgba(10,15,30,.12); font-weight: 700; font-size:.95rem; transition: all .15s; }
.svc-pick:hover { border-color:#F97316; }
.svc-pick.sel { border-color:#F97316; background: #FFF4E5; box-shadow: 0 0 0 3px rgba(249,115,22,.15); }

/* File upload (photos of the job) */
input[type=file].form-input { padding: .65rem .8rem; cursor: pointer; }
input[type=file].form-input::file-selector-button {
  border: 0; border-radius: 9999px; padding: .5rem 1rem; margin-right: .8rem;
  font-weight: 800; font-size: .85rem; font-family: inherit; cursor: pointer;
  background: linear-gradient(135deg, #FFB703, #F97316); color: #0A0F1E; }
.file-list { margin-top: .5rem; display: flex; flex-direction: column; gap: .35rem; }
.file-list:empty { display: none; }
.file-list li { font-size: .85rem; font-weight: 700; padding: .45rem .8rem;
  border-radius: .7rem; background: #FFF4E5; border: 1px solid rgba(249,115,22,.25); }
.file-list li span { font-weight: 600; color: rgba(10,15,30,.55); }
.file-list li.file-bad { background: #FEF2F2; border-color: rgba(220,38,38,.3); color: #B91C1C; }

/* FAQ */
details.faq { background: #fff; border: 1px solid rgba(10,15,30,.09); border-radius: 1rem; }
details.faq summary { cursor: pointer; padding: 1.05rem 1.2rem; font-weight: 800; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 52px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.4rem; color: #F97316; font-weight: 800; transition: transform .25s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 1.2rem 1.15rem; color: #3F4655; }

/* Mobile sticky action bar */
#lw-actionbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; background: rgba(10,15,30,.15);
  backdrop-filter: blur(10px); padding-bottom: env(safe-area-inset-bottom); }
#lw-actionbar a { display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 56px; font-weight: 800; font-size: .9rem; background: #fff; color: #0A0F1E; }
#lw-actionbar a.bar-quote { background: linear-gradient(135deg,#FFB703,#F97316); }
@media (min-width: 768px) { #lw-actionbar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 60px; } }

/* Mobile menu */
#lw-menu { position: fixed; inset: 0; z-index: 60; display: none; }
#lw-menu.open { display: block; }
#lw-menu .menu-panel { position: absolute; inset: 0; background: rgba(250,248,244,.97); backdrop-filter: blur(14px);
  padding: 1.2rem 1.4rem 2rem; overflow-y: auto; }
#lw-menu nav { text-align: center; }
#lw-menu a.menu-link { display: block; padding: .8rem 0; font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 700; text-transform: uppercase; line-height: 1.1;
  border-bottom: 1px solid rgba(10,15,30,.08); text-align: center; }
#lw-menu .menu-panel > p { text-align: center; }
#lw-menu a.menu-link:hover { color: #F97316; }

/* Cookie banner */
#lw-cookies { position: fixed; left: 1rem; right: 1rem; bottom: 72px; z-index: 55;
  max-width: 560px; margin: 0 auto; background: #0A0F1E; color: #fff; border-radius: 1.25rem;
  padding: 1.1rem 1.2rem; box-shadow: 0 20px 60px rgba(0,0,0,.4); display: none; }
#lw-cookies.show { display: block; }
@media (min-width: 768px) { #lw-cookies { bottom: 1.25rem; left: auto; right: 1.25rem; } }

/* Coverage map rings */
.map-ring { position: absolute; border: 1.5px dashed rgba(255,183,3,.35); border-radius: 50%; }

/* Journey line */
.journey-step { position: relative; padding-left: 3.4rem; }
.journey-step .j-num { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg,#FFB703,#F97316); color: #0A0F1E; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.journey-step::before { content: ''; position: absolute; left: 19px; top: 46px; bottom: -18px;
  width: 2px; background: linear-gradient(#F97316, rgba(249,115,22,.1)); }
.journey-step:last-child::before { display: none; }

/* Logo badge overlaid on a service hero photo */
.img-logo-wrap { position: relative; }
.img-logo-badge { position: absolute; left: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 9999px;
  background: #fff; padding: 6px; object-fit: contain; box-shadow: 0 6px 18px rgba(0,0,0,.25); border: 2px solid #fff; }
@media (min-width: 768px) { .img-logo-badge { width: 64px; height: 64px; left: 20px; bottom: 20px; } }

/* Inner-page hero: full-bleed photo BEHIND the headline (same idea as the
   homepage hero), text sits on a dark scrim rising from the bottom of the image. */
.page-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(400px, 108vw, 480px); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top,
    rgba(10,15,30,.96) 0%, rgba(10,15,30,.88) 20%, rgba(10,15,30,.55) 45%,
    rgba(10,15,30,.18) 68%, rgba(10,15,30,0) 88%); }
.page-hero-content { position: relative; z-index: 2; width: 100%; padding: 2rem 0 2.2rem; }
.page-hero .eyebrow-light { color: #FFD166 !important; }
/* Round logo medallion on page heroes: retired, removed on every page */
.page-hero-badge { display: none !important; }
/* Contact hero: a soft hole is masked out of the dark scrim over the branded
   notepad and keyboard (bottom-right of the desktop photo), so the photo shows
   through at its natural brightness and the LW logo on the pad reads clearly. */
.page-hero-spotlight { display: none; }
@media (min-width: 768px) {
  .page-hero-notepad .page-hero-scrim {
    -webkit-mask-image: radial-gradient(ellipse 26% 40% at 76% 86%,
      transparent 0%, rgba(0,0,0,.35) 55%, #000 85%);
    mask-image: radial-gradient(ellipse 26% 40% at 76% 86%,
      transparent 0%, rgba(0,0,0,.35) 55%, #000 85%);
  }
}

/* MOBILE page hero (<768px): matches the site-wide hero pattern, the photo is
   a full-bleed, fully visible band at the top (no scrim over it), then the
   headline and copy sit centred on a solid dark block below, which fades into
   the cream page so the next section reads on light. */
@media (max-width: 767px) {
  .page-hero { display: block; min-height: 0;
    background: linear-gradient(to bottom,
      #0A0F1E 0%,
      #0A0F1E calc(100% - 130px),
      rgba(10,15,30,.9)  calc(100% - 110px),
      rgba(10,15,30,.72) calc(100% - 90px),
      rgba(10,15,30,.5)  calc(100% - 70px),
      rgba(10,15,30,.28) calc(100% - 50px),
      rgba(10,15,30,.1)  calc(100% - 30px),
      rgba(10,15,30,0)   100%); }
  .page-hero picture { display: block; }
  .page-hero-img { position: static; width: 100%; height: auto;
    min-height: 84vw; max-height: 125vw; object-fit: cover; object-position: center;
    /* bottom of the photo melts into the dark text block */
    -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); }
  .page-hero-scrim, .page-hero-badge { display: none; }
  .page-hero-content { padding: 0 0 150px; margin-top: -20px; text-align: center; }
  .page-hero-content > * { margin-left: auto; margin-right: auto; }
  .page-hero-content .eyebrow { justify-content: center; }
  .page-hero .eyebrow { color: #FFD166; }
  /* Areas mobile hero: the same light ring-map widget as the home page, so the
     whole hero sits on the cream page background with dark text. */
  .areas-hero { background: #FAF8F4; padding-top: .5rem; }
  .areas-hero .page-hero-content { padding: 0 1.25rem 1.5rem; margin-top: .25rem; }
  .areas-hero .eyebrow { color: #B45309; }
  .areas-hero #pc-result-areas:not(:empty) { background: #fff;
    border: 1px solid rgba(10,15,30,.12); }
  /* Services skip hero: the source photo reads slightly squashed, so widen it
     a touch and lift it so the skip sits higher in the frame. */
  .services-hero picture { overflow: hidden; }
  .services-hero .page-hero-img { transform: scaleX(1.1) translateY(-7%); margin-bottom: -7%; }
  /* Postcode result on the dark hero panel: hidden when empty, white pill when shown */
  .page-hero #pc-result-areas { min-height: 0; }
  .page-hero #pc-result-areas:empty { display: none; }
  .page-hero #pc-result-areas:not(:empty) { display: inline-block; color: #0A0F1E;
    background: rgba(255,255,255,.94); border-radius: .75rem; padding: .45rem .8rem; }
}
@media (min-width: 768px) {
  .page-hero { min-height: 540px; }
  /* Services skip hero: show more of the photo so the skip isn't cropped in tight */
  .services-hero { min-height: clamp(580px, 50vw, 780px); }
  .services-hero .page-hero-img { object-position: 50% 45%; }
  /* Areas page keeps its coverage-map hero on desktop: normal flow, no photo */
  .areas-hero { display: block; min-height: 0; }
  .areas-hero .page-hero-img { display: none; }
  .page-hero-content { padding: 3.2rem 0 3.6rem; }
}

/* ---- Morgan: black & white portrait treatment, film grain, About page ---- */
.grain-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .4; mix-blend-mode: overlay; background-size: 140px 140px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/></svg>"); }

/* Rounded frame on the home teaser: crops the photo to head and chest,
   high-contrast black and white, grain on top, orange tint + lift on hover.
   The ::after overlay also sits above the image so it isn't directly clickable. */
.morgan-frame { position: relative; overflow: hidden; border-radius: 1.25rem;
  aspect-ratio: 1 / 1.05; box-shadow: 0 16px 36px -20px rgba(10,15,30,.4);
  transition: transform .3s ease, box-shadow .3s ease; }
.morgan-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 5%;
  filter: grayscale(1) contrast(1.18) brightness(1.04); }
.morgan-frame::before { content: ''; position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: .4; mix-blend-mode: overlay; background-size: 140px 140px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/></svg>"); }
.morgan-frame::after { content: ''; position: absolute; inset: 0; z-index: 2;
  background: rgba(249,115,22,0); mix-blend-mode: multiply; transition: background .3s ease; }
.morgan-frame:hover { transform: translateY(-6px); box-shadow: 0 28px 52px -24px rgba(10,15,30,.5); }
.morgan-frame:hover::after { background: rgba(249,115,22,.24); }

/* About hero: split layout. Dark navy full-width; text left, framed B&W photo
   right. The photo is a real <img> (object-fit: cover, face anchored high) in
   its own frame with a thin orange accent on its left edge, bleeding off the
   right of the screen on desktop. */
.about-hero { background: #0A0F1E; overflow: hidden; }
.about-hero .eyebrow-light { color: #FFD166; }
.about-hero-inner { display: flex; align-items: stretch; gap: 2rem; width: 100%; }
.about-hero-text { display: flex; flex-direction: column; justify-content: center; }
.about-hero-title { font-size: clamp(2.4rem, 7vw, 5rem); }
.about-hero-photo { position: relative; overflow: hidden;
  border-left: 4px solid #F97316; }
.about-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  filter: grayscale(1) contrast(1.16) brightness(1.02); display: block; }
/* soften only the edge where the photo meets the navy; never darken the face */
.about-hero-photo::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, rgba(10,15,30,.55) 0%, rgba(10,15,30,0) 18%); }

/* Mobile (<768px): stack — centred text first, then the photo as a contained
   rounded card, 4:5, capped height, 16px side margins. */
@media (max-width: 767px) {
  .about-hero-inner { flex-direction: column; gap: 1.25rem; padding-top: 2.2rem; padding-bottom: 2.2rem; }
  .about-hero-text { text-align: center; align-items: center; }
  .about-hero-photo { margin: 0 auto; width: 100%; max-width: 304px; aspect-ratio: 4 / 5;
    max-height: 380px; border-radius: 1.25rem; border-left: 0;
    box-shadow: inset 4px 0 0 #F97316; }
  .about-hero-photo::after { background: none; box-shadow: inset 4px 0 0 #F97316;
    border-radius: 1.25rem; }
}

/* Tablet (768–1023px): side by side 50/50, ~440px tall */
@media (min-width: 768px) {
  .about-hero-inner { height: 440px; padding-right: 0; }
  .about-hero-text { flex: 0 0 50%; }
  .about-hero-photo { flex: 1 1 auto; margin-right: calc(50% - 50vw); max-width: 900px; }
}
/* Laptop (1024–1439px): ~520px tall */
@media (min-width: 1024px) {
  .about-hero-inner { height: 520px; }
  .about-hero-text { flex: 0 0 45%; }
}
/* Large desktop & 4K: max 640px tall, photo width capped so it can't balloon */
@media (min-width: 1440px) {
  .about-hero-inner { height: 640px; }
}

/* Hazard-stripe accent, used sparingly */
.hazard-rule { width: 88px; height: 9px; border-radius: 2px;
  background: repeating-linear-gradient(-45deg, #FFB703 0 9px, #0A0F1E 9px 18px); }

/* Pull quote: big, plain, heading font */
.pull-quote { font-size: clamp(2.5rem, 6vw, 4.1rem); }

/* Value cards: stencil outline numbers + marker-pen underline, offset column starts */
.value-card { background: #fff; border: 1px solid rgba(10,15,30,.08); border-radius: 1.25rem;
  padding: 1.9rem 1.75rem; }
.value-card .v-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px #F97316; }
.value-card h2 { display: inline; background: linear-gradient(transparent 62%, rgba(255,183,3,.5) 62%); }

/* =====================================================================
   BRAND-COLOUR SAFETY NET
   The site's custom Tailwind colours (ink/navy/amber/flame/paper/mist) are
   normally generated at runtime by the Tailwind CDN from tw-config.js. On
   the published site that config failed once, which turned every custom
   colour class transparent: white footer, invisible text. These plain-CSS
   duplicates guarantee the brand colours ALWAYS render. When the CDN works
   its identical rules simply take over (its stylesheet is injected later).
   ===================================================================== */
.bg-ink { background-color: #0A0F1E; }
.bg-navy { background-color: #101A33; }
.bg-paper { background-color: #FAF8F4; }
.bg-mist { background-color: #EFECE5; }
.bg-amber { background-color: #FFB703; }
.bg-flame { background-color: #F97316; }
.bg-ink\/5 { background-color: rgba(10,15,30,.05); }
.bg-ink\/10 { background-color: rgba(10,15,30,.1); }
.bg-amber\/15 { background-color: rgba(255,183,3,.15); }
.bg-amber\/25 { background-color: rgba(255,183,3,.25); }
.bg-amber\/30 { background-color: rgba(255,183,3,.3); }
.bg-flame\/10 { background-color: rgba(249,115,22,.1); }
.bg-flame\/25 { background-color: rgba(249,115,22,.25); }
.bg-flame\/30 { background-color: rgba(249,115,22,.3); }
.text-ink { color: #0A0F1E; }
.text-navy { color: #101A33; }
.text-amber { color: #FFB703; }
.\!text-amber { color: #FFB703 !important; }
.text-flame { color: #F97316; }
.text-paper { color: #FAF8F4; }
.text-ink\/45 { color: rgba(10,15,30,.45); }
.text-ink\/50 { color: rgba(10,15,30,.5); }
.text-ink\/55 { color: rgba(10,15,30,.55); }
.text-ink\/60 { color: rgba(10,15,30,.6); }
.text-ink\/65 { color: rgba(10,15,30,.65); }
.text-ink\/70 { color: rgba(10,15,30,.7); }
.text-ink\/75 { color: rgba(10,15,30,.75); }
.text-ink\/80 { color: rgba(10,15,30,.8); }
.border-ink\/10 { border-color: rgba(10,15,30,.1); }
.border-ink\/15 { border-color: rgba(10,15,30,.15); }
.hover\:text-flame:hover { color: #F97316; }
.hover\:text-amber:hover { color: #FFB703; }
.hover\:bg-flame:hover { background-color: #F97316; }
.hover\:bg-ink\/10:hover { background-color: rgba(10,15,30,.1); }
/* gradient stops used with bg-gradient-to-* */
.from-ink { --tw-gradient-from: #0A0F1E; --tw-gradient-to: rgba(10,15,30,0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-amber { --tw-gradient-from: #FFB703; --tw-gradient-to: rgba(255,183,3,0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-amber\/15 { --tw-gradient-from: rgba(255,183,3,.15); --tw-gradient-to: rgba(255,183,3,0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-flame { --tw-gradient-from: #F97316; --tw-gradient-to: rgba(249,115,22,0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-navy { --tw-gradient-to: #101A33; }
.to-flame { --tw-gradient-to: #F97316; }
.to-amber { --tw-gradient-to: #FFB703; }
.to-flame\/10 { --tw-gradient-to: rgba(249,115,22,.1); }
/* custom fonts + animations from tw-config.js, duplicated here */
.font-body { font-family: 'Manrope', sans-serif; }
.animate-float { animation: lw-fb-float 7s ease-in-out infinite; }
.animate-pulseGlow { animation: lw-fb-pulse 5s ease-in-out infinite; }
@keyframes lw-fb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes lw-fb-pulse { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .animate-float, .animate-pulseGlow { animation: none !important; }
  .curve-badge svg { animation: none !important; }
  .seam-arrows { display: none; }
  * { transition-duration: .01ms !important; }
}
