﻿/* ==========================================================================
   emergency-ftl — shared theme for rank-and-rent water-damage sites.
   Source of truth: ftl-design-copy-blueprint.md §2. One stylesheet for every
   page and every city; never inline or copy it into a page.
   Fonts are loaded by templates/components/head.html (Google Fonts <link>).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root{
  --ink:#0B2B3C;
  --sand:#EDE7D8;
  --foam:#F7F5EF;
  --teal:#1C7C8C;
  --coral:#E8551F;
  --amber:#F2A93B;
  --footer-bg:#081E2B;
  --ink-70:rgba(11,43,60,0.7);
  --ink-45:rgba(11,43,60,0.45);
  --line-soft:rgba(11,43,60,0.06);
  --line:rgba(11,43,60,0.1);
  --line-strong:rgba(11,43,60,0.12);
  --on-dark-72:rgba(247,245,239,0.72);
  --on-dark-78:rgba(247,245,239,0.78);
  --radius:14px;
  --maxw:1160px;
  --font-display:'Big Shoulders Display',sans-serif;
  --font-body:'IBM Plex Sans',sans-serif;
  --font-mono:'IBM Plex Mono',monospace;
}

/* ---------- Base ---------- */
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--foam);
  line-height:1.55;
  padding-bottom:72px; /* clearance for the mobile call bar */
}
h1,h2,h3{
  font-family:var(--font-display);
  font-weight:800;
  letter-spacing:0.01em;
  line-height:1.05;
  text-transform:uppercase;
}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;}
ul,ol{list-style:none;}
img,svg{display:block;max-width:100%;}
:focus-visible{outline:3px solid var(--teal);outline-offset:2px;}
.skip-link{
  position:absolute;left:-999px;top:8px;z-index:100;
  background:var(--ink);color:var(--sand);padding:10px 14px;border-radius:8px;
}
.skip-link:focus{left:8px;}

/* Stroke icons drawn from the <symbol> sprite in head.html */
svg.i{
  width:18px;height:18px;flex-shrink:0;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}

/* Eyebrow: hero variant carries a 22px rule; section variant is "// "-prefixed mono */
.eyebrow{
  font-family:var(--font-mono);font-size:0.8rem;letter-spacing:0.08em;
  color:var(--teal);font-weight:600;text-transform:uppercase;
  display:flex;align-items:center;gap:8px;margin-bottom:18px;
}
.eyebrow.rule::before{content:"";width:22px;height:2px;background:var(--teal);}

/* ---------- Topbar ---------- */
.topbar{
  background:var(--ink);color:var(--sand);
  font-family:var(--font-mono);font-size:0.78rem;letter-spacing:0.04em;
}
.topbar .wrap{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding-top:8px;padding-bottom:8px;
}
.topbar-status{text-transform:uppercase;}
.topbar-dot{
  display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--amber);margin-right:8px;
  animation:blink 2.4s ease-in-out infinite;
}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:0.35;}}
.topbar-call{display:flex;align-items:center;gap:6px;color:var(--sand);white-space:nowrap;}
.topbar-call svg.i{width:14px;height:14px;}

/* ---------- Header ---------- */
header.site{
  background:var(--foam);border-bottom:1px solid rgba(11,43,60,0.08);
  position:sticky;top:0;z-index:40;
}
header.site .wrap{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding-top:16px;padding-bottom:16px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-family:var(--font-display);font-weight:800;font-size:1.25rem;
  text-transform:uppercase;line-height:1;letter-spacing:0.01em;
}
.brand em{font-style:normal;color:var(--coral);}
svg.brand-mark{width:34px;height:38px;flex-shrink:0;color:var(--ink);}
nav.primary{display:flex;gap:28px;font-size:0.92rem;font-weight:600;}
nav.primary a{opacity:0.75;transition:opacity .15s;}
nav.primary a:hover{opacity:1;}

.menu-toggle{
  display:none;position:relative;width:48px;height:48px;align-items:center;justify-content:center;
  background:transparent;border-radius:8px;flex-shrink:0;color:var(--ink);
}
.menu-toggle svg.i{width:24px;height:24px;position:absolute;transition:opacity .15s,transform .2s;}
.menu-toggle .icon-close{opacity:0;transform:rotate(-90deg);}
.menu-toggle[aria-expanded="true"] .icon-burger{opacity:0;transform:rotate(90deg);}
.menu-toggle[aria-expanded="true"] .icon-close{opacity:1;transform:rotate(0deg);}

.mobile-nav{
  display:none;flex-direction:column;background:var(--foam);
  border-top:1px solid rgba(11,43,60,0.08);
  max-height:0;overflow:hidden;transition:max-height .25s ease;
}
.mobile-nav.open{max-height:480px;}
.mobile-nav a{
  padding:16px 24px;font-weight:600;font-size:1rem;color:var(--ink);
  border-bottom:1px solid var(--line-soft);
}
.mobile-nav a.mobile-nav-call{
  display:flex;align-items:center;gap:10px;color:var(--coral);font-weight:700;
}

/* ---------- Call buttons ---------- */
.btn-call{
  position:relative;display:inline-flex;align-items:center;gap:10px;
  background:var(--coral);color:#fff;
  padding:13px 22px;border-radius:999px;
  font-weight:700;font-size:0.95rem;
  box-shadow:0 6px 18px rgba(232,85,31,0.35);
  transition:transform .15s ease,box-shadow .15s ease;
  white-space:nowrap;
}
.btn-call:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(232,85,31,0.45);}
.btn-call:active{transform:translateY(0) scale(0.98);}
.btn-call .ring,.beacon .ring{
  position:absolute;inset:0;border-radius:999px;pointer-events:none;
  border:2px solid var(--coral);
  animation:sonar 2.2s ease-out infinite;
}
.btn-call .ring.delay{animation-delay:1.1s;}
@keyframes sonar{
  0%{transform:scale(1);opacity:0.55;}
  100%{transform:scale(1.35);opacity:0;}
}
.btn-call svg.i{width:18px;height:18px;position:relative;z-index:1;}
.btn-call .call-label{position:relative;z-index:1;}
.btn-ghost{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 22px;border-radius:999px;
  border:1.5px solid rgba(11,43,60,0.25);
  font-weight:600;font-size:0.95rem;
  transition:border-color .15s,background .15s;
}
.btn-ghost:hover{border-color:var(--ink);background:rgba(11,43,60,0.04);}

/* ---------- Hero ---------- */
.hero{padding:64px 0 72px;}
.hero .wrap{display:grid;grid-template-columns:1.15fr 0.85fr;gap:56px;align-items:center;}
h1.hero-title{font-size:clamp(2.4rem,5vw,3.4rem);margin-bottom:20px;}
h1.hero-title em{font-style:normal;color:var(--coral);}
.hero-sub{font-size:1.08rem;color:var(--ink-70);max-width:52ch;margin-bottom:30px;}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:34px;}
.trust-chips{display:flex;gap:22px;flex-wrap:wrap;}
.trust-chip{display:flex;align-items:center;gap:8px;font-size:0.86rem;font-weight:600;color:var(--ink-70);}
.trust-chip svg.i{width:17px;height:17px;color:var(--teal);}

/* ---------- Gauge (signature element) ---------- */
.gauge-card{background:var(--ink);border-radius:20px;padding:28px 26px;position:relative;overflow:hidden;}
.gauge-label{
  font-family:var(--font-mono);color:var(--sand);font-size:0.72rem;
  letter-spacing:0.08em;text-transform:uppercase;margin-bottom:18px;opacity:0.75;
}
.gauge-row{display:flex;gap:20px;align-items:stretch;}
.gauge-track{
  position:relative;width:34px;height:220px;border-radius:10px;
  background:rgba(247,245,239,0.08);border:1px solid rgba(247,245,239,0.15);
  overflow:hidden;flex-shrink:0;
}
.gauge-fill{
  position:absolute;bottom:0;left:0;right:0;height:0%;
  background:linear-gradient(180deg,var(--coral),var(--teal));
  animation:fillGauge 2.4s cubic-bezier(.2,.8,.2,1) forwards 0.3s;
  border-radius:0 0 9px 9px;
}
@keyframes fillGauge{to{height:88%;}}
.gauge-ticks{display:flex;flex-direction:column;justify-content:space-between;flex:1;padding:2px 0;}
.gauge-tick{display:flex;flex-direction:column;}
.gauge-tick .t-time{font-family:var(--font-mono);color:var(--amber);font-size:0.82rem;font-weight:600;}
.gauge-tick .t-label{color:rgba(247,245,239,0.75);font-size:0.78rem;margin-top:2px;}
.gauge-note{
  margin-top:20px;padding-top:16px;border-top:1px solid rgba(247,245,239,0.15);
  color:rgba(247,245,239,0.65);font-size:0.78rem;
}
.gauge-note a{color:var(--sand);font-weight:600;text-decoration:underline;text-decoration-color:var(--teal);text-underline-offset:3px;}

/* ---------- Checklist (hero_feature="checklist" alternative to the gauge) ---------- */
.checklist-steps{display:flex;flex-direction:column;gap:16px;}
.checklist-step{display:flex;align-items:flex-start;gap:14px;}
.cl-num{
  font-family:var(--font-mono);color:var(--amber);font-size:0.82rem;font-weight:600;
  flex-shrink:0;width:26px;padding-top:1px;
}
.cl-label{color:rgba(247,245,239,0.85);font-size:0.86rem;line-height:1.4;}

/* ---------- Image band ---------- */
.img-band{position:relative;height:340px;overflow:hidden;background:var(--sand);}
.img-band .illustration{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.img-band .caption{
  position:absolute;bottom:18px;left:24px;right:24px;z-index:2;width:fit-content;max-width:calc(100% - 48px);
  font-family:var(--font-mono);font-size:0.72rem;text-transform:uppercase;
  color:rgba(247,245,239,0.85);
  background:rgba(11,43,60,0.55);padding:6px 12px;border-radius:6px;backdrop-filter:blur(3px);
}

/* ---------- Section shell ---------- */
section{padding:76px 0;}
.section-head{max-width:640px;margin-bottom:44px;}
.section-head .eyebrow{margin-bottom:14px;}
.section-head h2{font-size:clamp(1.9rem,3.4vw,2.5rem);margin-bottom:14px;}
.section-head p{color:var(--ink-70);font-size:1rem;}

/* ---------- Services ---------- */
.services{background:var(--sand);}
.pillar-links{display:flex;flex-wrap:wrap;gap:10px 14px;margin-bottom:32px;}
.pillar-links a{
  font-family:var(--font-mono);font-size:0.78rem;font-weight:600;letter-spacing:0.02em;
  color:var(--ink);background:var(--foam);border:1px solid var(--line);border-radius:999px;
  padding:8px 16px;transition:border-color .15s ease,color .15s ease;
}
.pillar-links a:hover{border-color:var(--teal);color:var(--teal);}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.svc-card{
  display:block;background:var(--foam);border-radius:var(--radius);padding:26px 24px;
  border:1px solid var(--line-soft);
  transition:transform .18s ease,box-shadow .18s ease;
}
.svc-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(11,43,60,0.1);}
.svc-icon{
  width:44px;height:44px;border-radius:12px;background:var(--ink);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.svc-icon svg.i{width:22px;height:22px;color:var(--sand);}
.svc-card h3{font-family:var(--font-body);font-size:1.1rem;text-transform:none;letter-spacing:0;font-weight:700;margin-bottom:8px;line-height:1.25;}
.svc-card p{font-size:1rem;color:var(--ink-70);}

/* ---------- Local conditions / risk ---------- */
.risk .wrap{display:grid;grid-template-columns:0.95fr 1.05fr;gap:56px;align-items:start;}
.risk .section-head{margin-bottom:34px;}
.risk-list{display:flex;flex-direction:column;gap:22px;}
.risk-item-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;}
.risk-item-top h3{font-family:var(--font-body);font-size:1rem;font-weight:700;text-transform:none;letter-spacing:0;line-height:1.3;}
.risk-item-top span{
  font-family:var(--font-mono);font-size:0.72rem;letter-spacing:0.06em;text-transform:uppercase;
  color:var(--coral);font-weight:600;white-space:nowrap;
}
.risk-bar-track{height:8px;border-radius:6px;background:rgba(11,43,60,0.08);overflow:hidden;margin-bottom:8px;}
.risk-bar-fill{
  height:100%;border-radius:6px;background:linear-gradient(90deg,var(--teal),var(--coral));
  width:0%;transition:width 1.1s cubic-bezier(.2,.8,.2,1);
}
.risk-bar-fill.in,html:not(.js) .risk-bar-fill{width:var(--fill);}
.risk-item p{font-size:1rem;color:var(--ink-70);}
.risk-aside{background:var(--ink);color:var(--sand);border-radius:20px;padding:32px 28px;}
.risk-aside h3{font-family:var(--font-body);font-size:1.4rem;margin-bottom:14px;text-transform:none;letter-spacing:0;font-weight:700;line-height:1.2;}
.risk-aside p{font-size:1rem;color:var(--on-dark-78);margin-bottom:18px;}
.risk-aside p:last-child{margin-bottom:0;}

/* ---------- Service area map ---------- */
.map-section .wrap{display:grid;grid-template-columns:1.2fr 0.8fr;gap:40px;align-items:start;}
.map-frame{
  position:relative;border-radius:20px;overflow:hidden;
  border:1px solid var(--line);box-shadow:0 14px 34px rgba(11,43,60,0.1);
}
.map-frame iframe{width:100%;height:460px;display:block;border:0;}
.map-section h2{font-size:clamp(1.9rem,3.4vw,2.5rem);margin-bottom:18px;}
.area-list{display:flex;flex-direction:column;gap:6px;}
.area-list a{
  display:flex;align-items:center;gap:10px;min-height:44px;
  font-size:1rem;font-weight:600;color:var(--ink);
}
.area-list a:hover{color:var(--teal);}
.area-list svg.i{color:var(--teal);}
.area-note{margin-top:18px;font-size:0.86rem;color:var(--ink-70);max-width:42ch;}

/* ---------- Why call ---------- */
.about .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.about h2{font-size:clamp(1.9rem,3.4vw,2.5rem);margin-bottom:18px;}
.about .lede{color:var(--ink-70);}
.ticks{margin-top:20px;display:flex;flex-direction:column;gap:14px;}
.ticks li{display:flex;gap:10px;align-items:flex-start;font-size:1rem;color:var(--ink-70);}
.ticks svg.i{width:18px;height:18px;color:var(--teal);margin-top:3px;}
.ticks a{color:var(--teal);font-weight:600;text-decoration:underline;text-underline-offset:3px;}
.photo-slot{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:4/3;margin-bottom:26px;}
.photo-slot .illustration{width:100%;height:100%;}
.pillars{display:flex;flex-direction:column;gap:20px;}
.pillar{display:flex;gap:16px;align-items:flex-start;}
.pillar-num{font-family:var(--font-mono);color:var(--coral);font-weight:600;font-size:0.85rem;padding-top:2px;}
.pillar h3{font-family:var(--font-body);font-size:1rem;font-weight:700;text-transform:none;letter-spacing:0;line-height:1.3;margin-bottom:4px;}
.pillar p{font-size:1rem;color:var(--ink-70);}

/* ---------- Process ---------- */
.how{background:var(--sand);}
.how-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;}
.how-steps::before{
  content:"";position:absolute;top:20px;left:8%;right:8%;height:2px;
  background:repeating-linear-gradient(90deg,rgba(11,43,60,0.2) 0 8px,transparent 8px 16px);
}
.step{position:relative;}
.step-num{
  width:42px;height:42px;border-radius:50%;background:var(--ink);color:var(--sand);
  display:flex;align-items:center;justify-content:center;font-family:var(--font-mono);
  font-weight:600;font-size:0.9rem;margin-bottom:16px;position:relative;z-index:1;
}
.step h3{font-family:var(--font-body);font-size:1rem;font-weight:700;text-transform:none;letter-spacing:0;line-height:1.3;margin-bottom:6px;}
.step p{font-size:1rem;color:var(--ink-70);}

/* ---------- FAQ ---------- */
.faq-list{max-width:760px;}
details{border-bottom:1px solid var(--line-strong);padding:20px 0;}
details summary{
  list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  font-weight:700;font-size:1rem;gap:20px;
}
details summary::-webkit-details-marker{display:none;}
details summary::after{content:"+";flex-shrink:0;font-size:1.6rem;font-weight:500;line-height:1;color:var(--coral);transition:transform .2s ease;}
details[open] summary::after{transform:rotate(45deg);}
details p{margin-top:14px;color:var(--ink-70);font-size:1rem;max-width:70ch;}

/* ---------- Final CTA ---------- */
.final-cta{background:var(--ink);color:var(--sand);text-align:center;position:relative;overflow:hidden;}
.final-cta h2{color:var(--sand);font-size:clamp(2rem,4vw,2.8rem);margin-bottom:16px;}
.final-cta p{color:var(--on-dark-72);max-width:52ch;margin:0 auto 34px;}
.beacon-wrap{display:flex;justify-content:center;}
.beacon{
  position:relative;display:inline-flex;align-items:center;gap:14px;
  background:var(--coral);color:#fff;padding:20px 40px;border-radius:999px;
  font-size:1.15rem;font-weight:700;box-shadow:0 10px 30px rgba(232,85,31,0.4);
  transition:transform .15s;
}
.beacon:hover{transform:translateY(-3px) scale(1.02);}
.beacon svg.i{width:24px;height:24px;position:relative;z-index:2;}
.beacon .beacon-label{position:relative;z-index:2;}
.beacon .ring.delay1{animation-delay:0.7s;}
.beacon .ring.delay2{animation-delay:1.4s;}
.final-cta .mono-note{margin-top:18px;font-family:var(--font-mono);font-size:0.78rem;color:rgba(247,245,239,0.6);}

/* ---------- Footer ---------- */
footer.site{background:var(--footer-bg);color:rgba(247,245,239,0.75);padding:56px 0 48px;font-size:0.88rem;}
.foot-grid{display:grid;grid-template-columns:1.2fr 0.85fr 0.85fr 0.85fr 0.85fr;gap:32px;margin-bottom:36px;}
.foot-brand{
  display:flex;align-items:center;gap:9px;
  font-family:var(--font-display);font-weight:800;text-transform:uppercase;
  color:var(--sand);font-size:1.15rem;margin-bottom:10px;
}
.foot-brand .brand-mark{width:28px;height:32px;color:var(--sand);}
.foot-tag{max-width:32ch;color:rgba(247,245,239,0.6);font-style:italic;}
.foot-title{
  color:var(--sand);font-size:0.78rem;letter-spacing:0.06em;text-transform:uppercase;
  margin-bottom:14px;font-family:var(--font-mono);font-weight:600;
}
.foot-col li{margin-bottom:9px;}
.foot-col a:hover{color:var(--sand);}
.foot-disclaimer{
  border-top:1px solid rgba(247,245,239,0.12);padding-top:24px;
  font-size:0.78rem;color:rgba(247,245,239,0.62);
}
.foot-disclaimer p+p{margin-top:1em;}
.foot-disclaimer a{color:rgba(247,245,239,0.75);text-decoration:underline;text-underline-offset:3px;}

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:50;
  background:var(--coral);padding:12px 20px calc(12px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 20px rgba(0,0,0,0.18);
}
.mobile-call-bar a{
  display:flex;align-items:center;justify-content:center;gap:10px;
  color:#fff;font-weight:700;font-size:1rem;position:relative;min-height:24px;
}
.mobile-call-bar svg.i{width:20px;height:20px;}
.mobile-call-bar .pulse-dot{
  width:9px;height:9px;border-radius:50%;background:#fff;margin-left:4px;
  animation:blink 1.4s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
/* ---------- Inner pages (pillar / service / geo) ---------- */
.crumbs{margin-bottom:20px;}
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:4px 0;font-family:var(--font-mono);font-size:0.78rem;letter-spacing:0.04em;text-transform:uppercase;color:var(--ink-70);}
.crumbs li{display:inline-flex;align-items:center;}
.crumbs li+li::before{content:"/";margin:0 10px;color:var(--ink-45);}
.crumbs a{color:var(--teal);font-weight:600;}
.crumbs a:hover{text-decoration:underline;}
.crumbs [aria-current]{color:var(--ink);font-weight:600;}
.hero.page-hero{padding:48px 0 56px;}
.hero.page-hero .wrap{display:block;}
.page-hero h1.hero-title{max-width:22ch;}
.page-hero .hero-ctas{margin-bottom:0;}
.page-body .page-note{max-width:720px;background:var(--sand);border-left:4px solid var(--teal);border-radius:var(--radius);padding:28px 28px;}
.page-body .page-note h2{font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:10px;}
.page-body .page-note p:not(.eyebrow){color:var(--ink-70);}
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.rel-card{display:flex;align-items:center;justify-content:space-between;gap:14px;height:100%;min-height:64px;padding:16px 20px;background:var(--foam);border:1px solid var(--line-soft);border-radius:var(--radius);font-weight:700;transition:transform .18s ease,box-shadow .18s ease;}
.rel-card::after{content:"→";flex-shrink:0;color:var(--coral);font-weight:700;transition:transform .18s;}
.rel-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(11,43,60,0.1);}
.rel-card:hover::after{transform:translateX(4px);}

@media (min-width:761px){
  body{padding-bottom:0;} /* the call bar only exists at <=760px */
}
@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr;gap:40px;}
  .services-grid,.rel-grid{grid-template-columns:repeat(2,1fr);}
  .risk .wrap,.map-section .wrap,.about .wrap{grid-template-columns:1fr;}
  .how-steps{grid-template-columns:1fr;gap:28px;}
  .how-steps::before{display:none;}
}
@media (max-width:860px){
  nav.primary{display:none;}
  .menu-toggle{display:flex;}
  .mobile-nav{display:flex;}
}
@media (max-width:760px){
  .mobile-call-bar{display:block;}
  header .btn-call{display:none;} /* avoid a duplicate CTA beside the call bar */
  .foot-grid{grid-template-columns:1fr 1fr;}
  .foot-grid>:first-child{grid-column:1/-1;}
  .img-band{height:auto;aspect-ratio:1300/867;}
}
@media (max-width:600px){
  section{padding:56px 0;}
  .hero{padding:40px 0 48px;}
  .wrap{padding:0 20px;}
  .services-grid,.rel-grid{grid-template-columns:1fr;}
  .topbar .wrap{flex-direction:column;align-items:flex-start;gap:2px;}
  .map-frame iframe{height:320px;}
  .img-band .caption{left:12px;bottom:10px;max-width:calc(100% - 24px);}
  .beacon{padding:18px 28px;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;}
}

/* ---- Pasadena polish 2026-10-17 (owner-requested, appended; nothing above edited) ----
   1. Soft surfaces: the white middle bands and panels take a faint tint, a hairline
      border and a two-layer shadow instead of flat #fff.
   2. Step indicators: round badges with centred tabular numerals and an accent ring.
   3. Scroll reveal: opacity + translate only, CSS scroll timelines, motion-safe users
      only. No layout properties change, so CLS stays at zero; browsers without
      animation-timeline simply show everything. */
html body .svc-sec.band-a{background:#f9fafb}
html body .svc-sec.band-b{background:#f8fafc}
html body .svc-sec+.svc-sec.band-a,html body .svc-sec+.svc-sec.band-b{border-top:1px solid rgba(0,0,0,.06)}
html body .svc-sec .svc-card,html body .svc-sec ul.svc-metrics li,html body .svc-sec ol.svc-steps li,
html body .svc-sec ul.svc-routes a,html body .svc-sec ul.svc-facts li,html body .svc-sec .svc-faq details,
html body .svc-sec .svc-note,html body .rel-card,html body .about .pillar,
html body .risk .wrap>div,html body .service-area .wrap>div{
  background:#ffffff;border:1px solid rgba(0,0,0,.06);
  box-shadow:0 1px 2px rgba(15,23,42,.04),0 4px 12px rgba(15,23,42,.04)}
html body .svc-sec.band-b .svc-card,html body .svc-sec.band-b ol.svc-steps li,
html body .svc-sec.band-b ul.svc-metrics li,html body .svc-sec.band-b ul.svc-facts li{background:#fcfdfe;
  border:1px solid rgba(0,0,0,.06);box-shadow:0 1px 2px rgba(15,23,42,.04),0 4px 12px rgba(15,23,42,.04)}
html body .risk .wrap>div,html body .service-area .wrap>div{background:#f9fafb}

html body .svc-sec ol.svc-steps li::before,html body .step-num,html body .about .pillar-num{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  width:2.25rem;height:2.25rem;min-width:2.25rem;padding:0;border-radius:50%;
  background:var(--ink,#142823);color:#ffffff;
  font-family:var(--font-mono,monospace);font-size:.8rem;font-weight:600;line-height:1;letter-spacing:0;
  font-variant-numeric:tabular-nums lining-nums;text-align:center;
  box-shadow:0 0 0 3px #ffffff,0 0 0 4px rgba(249,115,22,.55)}
html body .svc-sec ol.svc-steps li::before{margin-bottom:10px}
html body .tl-step .step-num{width:42px;height:42px;min-width:42px}

@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    @keyframes pz-reveal{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
    html body .svc-sec .svc-card,html body .svc-sec ol.svc-steps li,html body .svc-sec ul.svc-metrics li,
    html body .svc-sec ul.svc-facts li,html body .svc-sec .svc-note,html body .tl-step,html body .rel-card,
    html body .about .pillar,html body .risk-item{
      animation:pz-reveal linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
  }
}
@media print{html body *{animation:none!important}}

/* Card status badges ("1 of 3"): every badge grid on the site holds only .svc-card
   children numbered 1..N in DOM order (verified 2026-10-17), so a counter redraws the
   same ordinal as a round badge. The original text stays for screen readers. */
@supports selector(:has(*)){
  html body :has(>.svc-card .svc-badge){counter-reset:pzcard}
  html body .svc-card:has(.svc-badge){counter-increment:pzcard}
  html body .svc-sec .svc-card .svc-badge{
    box-sizing:border-box;position:relative;display:inline-flex;align-items:center;justify-content:center;
    align-self:flex-start;width:2rem;height:2rem;min-width:2rem;margin:0;padding:0;gap:0;
    border:0;border-radius:50%;background:#fff7ed;color:var(--ink,#142823);
    box-shadow:inset 0 0 0 1.5px rgba(249,115,22,.65);font-size:0;line-height:1;letter-spacing:0}
  html body .svc-sec .svc-card .svc-badge svg{display:none}
  html body .svc-sec .svc-card .svc-badge::before{
    content:counter(pzcard);content:counter(pzcard) / "";
    font-family:var(--font-mono,monospace);font-size:.8rem;font-weight:600;
    font-variant-numeric:tabular-nums lining-nums}
}

/* Two route links in one triage item (planned links added 2026-10-17) */
html body .route-link+.route-link{margin-left:20px}

/* ---- Contrast pass 2026-10-17 (owner review: the first tint washed out to white) ----
   Surfaces: section bands take a distinct slate tone (#f1f5f9 / #eef2f6) with a #cbd5e1 seam.
   Containers: white cards and panels sit on that surface with a crisp #cbd5e1 border and soft lift. */
html body .svc-sec.band-a{background:#f1f5f9}
html body .svc-sec.band-b{background:#eef2f6}
html body .svc-sec+.svc-sec.band-a,html body .svc-sec+.svc-sec.band-b{border-top:1px solid #cbd5e1}
html body .svc-sec .svc-card,html body .svc-sec ul.svc-metrics li,html body .svc-sec ol.svc-steps li,
html body .svc-sec ul.svc-routes a,html body .svc-sec ul.svc-facts li,html body .svc-sec .svc-faq details,
html body .svc-sec .svc-note,html body .rel-card,html body .about .pillar,
html body .risk .wrap>div,html body .service-area .wrap>div,html body .risk .risk-aside{
  border:1px solid #cbd5e1;box-shadow:0 1px 2px rgba(15,23,42,.05),0 4px 14px -2px rgba(15,23,42,.08)}
html body .svc-sec .svc-card,html body .svc-sec ul.svc-metrics li,html body .svc-sec ol.svc-steps li,
html body .svc-sec ul.svc-facts li,html body .svc-sec .svc-note,html body .rel-card,html body .about .pillar,
html body .risk .wrap>div,html body .service-area .wrap>div,
html body .svc-sec.band-b .svc-card,html body .svc-sec.band-b ol.svc-steps li,
html body .svc-sec.band-b ul.svc-metrics li,html body .svc-sec.band-b ul.svc-facts li{
  background:#ffffff;border:1px solid #cbd5e1;box-shadow:0 1px 2px rgba(15,23,42,.05),0 4px 14px -2px rgba(15,23,42,.08)}
/* Badges: dark numeral discs keep a white halo plus a solid accent ring on the slate surface. */
html body .svc-sec ol.svc-steps li::before,html body .step-num,html body .about .pillar-num{
  background:var(--ink,#142823);color:#ffffff;box-shadow:0 0 0 2px #ffffff,0 0 0 4px #ea580c}
@supports selector(:has(*)){
  html body .svc-sec .svc-card .svc-badge{background:#ffedd5;color:#142823;box-shadow:inset 0 0 0 1.5px #ea580c}
}

/* ---- Split card + semantic icons 2026-10-17 (Alhambra standard) ----
   Dark side card fits its content and stays in view beside the longer column (desktop only; the
   header is sticky at 83px, so the offset matches Alhambra's 96px rather than 2rem).
   Numbers stay only on real sequences (process steps, timeline, decision order); other card badges and
   the home feature trio show a role icon drawn as a CSS mask: no requests, same 2rem box, CLS 0. */
html body .risk .risk-aside{height:auto;align-self:start}
@media (min-width:901px){html body .risk .risk-aside{position:sticky;top:96px}}
:root{--pz-ico-droplet:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3c3.5 4.5 6 7.9 6 11a6 6 0 0 1-12 0c0-3.1 2.5-6.5 6-11z%22/%3E%3C/svg%3E");--pz-ico-gauge:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 16a8 8 0 0 1 16 0%22/%3E%3Cpath d=%22M12 16l4-5%22/%3E%3Ccircle cx=%2212%22 cy=%2216%22 r=%221.2%22/%3E%3C/svg%3E");--pz-ico-shield:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6z%22/%3E%3Cpath d=%22M9 12l2 2 4-4%22/%3E%3C/svg%3E");--pz-ico-house:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 11l9-7 9 7%22/%3E%3Cpath d=%22M5 10v10h14V10%22/%3E%3Cpath d=%22M10 20v-5h4v5%22/%3E%3C/svg%3E");--pz-ico-alert:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4l9 16H3z%22/%3E%3Cpath d=%22M12 10v4%22/%3E%3Cpath d=%22M12 17h.01%22/%3E%3C/svg%3E");--pz-ico-clipboard:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%226%22 y=%224%22 width=%2212%22 height=%2217%22 rx=%222%22/%3E%3Cpath d=%22M9 3h6v3H9z%22/%3E%3Cpath d=%22M9 11h6M9 15h4%22/%3E%3C/svg%3E");--pz-ico-wrench:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14.7 6.3a4 4 0 0 0-5.4 5.4L4 17l3 3 5.3-5.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z%22/%3E%3C/svg%3E");--pz-ico-phone:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z%22/%3E%3C/svg%3E")}
html body .svc-sec.svc-mechanism{--pz-ico:var(--pz-ico-droplet)}html body .svc-sec.svc-verification{--pz-ico:var(--pz-ico-gauge)}html body .svc-sec.svc-verify{--pz-ico:var(--pz-ico-gauge)}html body .svc-sec.svc-safety{--pz-ico:var(--pz-ico-shield)}html body .svc-sec.svc-property{--pz-ico:var(--pz-ico-house)}html body .svc-sec.svc-conditions{--pz-ico:var(--pz-ico-house)}html body .svc-sec.svc-scenario{--pz-ico:var(--pz-ico-alert)}html body .svc-sec.svc-documentation{--pz-ico:var(--pz-ico-clipboard)}html body .svc-sec.svc-technique{--pz-ico:var(--pz-ico-wrench)}html body .svc-sec.svc-mission{--pz-ico:var(--pz-ico-phone)}
@supports selector(:has(*)){
  html body .svc-sec.svc-mechanism .svc-card .svc-badge::before,html body .svc-sec.svc-verification .svc-card .svc-badge::before,html body .svc-sec.svc-verify .svc-card .svc-badge::before,html body .svc-sec.svc-safety .svc-card .svc-badge::before,html body .svc-sec.svc-property .svc-card .svc-badge::before,html body .svc-sec.svc-conditions .svc-card .svc-badge::before,html body .svc-sec.svc-scenario .svc-card .svc-badge::before,html body .svc-sec.svc-documentation .svc-card .svc-badge::before,html body .svc-sec.svc-technique .svc-card .svc-badge::before,html body .svc-sec.svc-mission .svc-card .svc-badge::before{content:"";content:"" / "";display:block;width:16px;height:16px;background:currentColor;-webkit-mask:var(--pz-ico) center/contain no-repeat;mask:var(--pz-ico) center/contain no-repeat}
}
html body .about .pillar:nth-of-type(1){--pz-ico:var(--pz-ico-wrench)}html body .about .pillar:nth-of-type(2){--pz-ico:var(--pz-ico-house)}html body .about .pillar:nth-of-type(3){--pz-ico:var(--pz-ico-clipboard)}
html body .about .pillar-num{font-size:0;position:relative}
html body .about .pillar-num::before{content:"";width:18px;height:18px;background:#ffffff;-webkit-mask:var(--pz-ico) center/contain no-repeat;mask:var(--pz-ico) center/contain no-repeat}
