/* =========================================================
   Flood Damage Broward — direction "Intracoastal", ocean + aqua
   Fresh and clean: white and pale-aqua ground, harbor-ink text, one ocean
   blue for action, aqua only as light (waves, bars, the water clock's
   fill). Kept clear of the sister sites: Pinecrest water and pool tile
   blue #1f4f8c, mold Coral Gables teal, mold Broward coral. Figures are
   mono and tabular. Plain CSS, no build step.
   ========================================================= */

/* shortcut: Google Fonts via @import (one extra round trip). Self-host before the renting contractor goes live. */
@import url("https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700&family=Figtree:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  /* ground: white and pale aqua, four steps */
  --paper:  #f6fafb;   /* page */
  --card:   #ffffff;   /* raised surface */
  --paper2: #eaf4f6;   /* alternating sections */
  --well:   #e1eef1;   /* readouts, table heads */

  --rule:        #d3e3e7;
  --rule-strong: #a9c4cb;

  /* ink: harbor */
  --ink:       #0f2a36;   /* 14.95:1 on card, 12.6:1 on well */
  --ink-soft:  #44606b;   /* 6.71:1 on card, 5.65:1 on well */
  --ink-faint: #4f6973;   /* labels; 5.3:1 on card, 4.7:1 on well */

  /* ocean: the action colour. aqua: light only, never text */
  --sea:      #0b6a85;   /* 6.15:1 on card, 5.18:1 on well; white on sea 6.15:1 */
  --sea-deep: #075066;   /* hover, pressed, the CTA band. 8.94:1 on card */
  --sea-tint: #dff4f7;   /* 7.84:1 against sea-deep */
  --aqua:     #1aa3b5;   /* decorative fills and waves only (3.0:1 on card, UI-graphic level) */
  --aqua-soft:#c9eef3;

  /* legacy aliases so shared elements (the chat widget) resolve */
  --brand: var(--sea); --brand-dark: var(--sea-deep); --line: var(--rule-strong);
  --bg: var(--paper); --bg-alt: var(--paper2); --bg-dark: var(--sea-deep);
  --surface: var(--card); --text: var(--ink); --muted: var(--ink-soft);
  --border: var(--rule-strong); --accent: var(--sea); --cta: var(--sea);

  --max: 1180px;
  --radius: 10px;
  --font-head: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* the section rule: a soft aqua wave */
  --contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cg fill='none' stroke='%231aa3b5' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M0 5c8 0 8-3 12-3s4 3 12 3 8-3 12-3 4 3 12 3'/%3E%3Cpath d='M0 10c8 0 8-3 12-3s4 3 12 3 8-3 12-3 4 3 12 3' opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
  /* the list mark: a water drop */
  --buoy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M9 2.2C9 2.2 4 8 4 11.2a5 5 0 0 0 10 0C14 8 9 2.2 9 2.2z' fill='%23c9eef3' stroke='%230b6a85' stroke-width='1.4'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[id] { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sea-deep); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); letter-spacing: -.032em; font-weight: 700; text-wrap: balance; }
h2 { text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); letter-spacing: -.026em; }
h3 { font-size: 1.2rem; line-height: 1.25; }
h4 { font-size: 1rem; }
p + p { margin-top: 1.05em; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--ink-faint); font-size: .95rem; }
.lead { font-size: 1.14rem; color: var(--ink-soft); }

/* ---------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule-strong); }
.nav { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 22px; min-height: 68px; }
.nav__logo { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; flex: 0 0 auto; }
/* logomark = favicon: a waterline over a datum on magenta */
.nav__logo::before {
  content: ""; width: 30px; height: 30px; flex: 0 0 auto;
  background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 13c3.7 0 3.7-3 7.3-3s3.7 3 7.4 3 3.6-3 7.3-3' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='square'/%3E%3Cpath d='M5 21h22' stroke='%23ffffff' stroke-width='2.4'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
  border-radius: var(--radius);
}
.nav__logo strong { font-weight: 700; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: .93rem; font-weight: 500; }
.nav__links a:hover { color: var(--sea); }
.nav__call { font-family: var(--font-mono); font-weight: 600; font-size: .88rem !important; letter-spacing: -.02em; color: var(--sea) !important; white-space: nowrap; }
.nav__end { display: none; align-items: center; gap: 14px; margin-left: auto; }
.nav__toggle { background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); width: 42px; height: 38px; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.nav__toggle svg { width: 21px; height: 21px; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: -14px; min-width: 300px; background: var(--card); border: 1px solid var(--rule-strong); list-style: none; padding: 7px 0; opacity: 0; visibility: hidden; transition: opacity .15s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 9px 18px; font-weight: 400; font-size: .92rem; }
.dropdown a:hover { background: var(--well); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em;
  padding: 15px 28px; border: 1px solid var(--sea); border-radius: var(--radius);
  background: var(--sea); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: transform .12s var(--ease-out), background .12s;
}
.btn { border-radius: 999px; }
.btn:hover { background: var(--sea-deep); color: var(--paper); transform: translateY(-2px); }
.btn:active { transform: translateY(0); background: var(--sea-deep); }
.btn--lg { padding: 18px 32px; font-size: 1.07rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--sea); border-color: var(--sea); transform: translateY(-2px); }

/* ---------------------------------------------------------- section marker: number, contour, label */
.dim { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dim__no { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--sea); letter-spacing: .06em; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.dim__line { flex: 1 1 auto; height: 12px; background-image: var(--contour); background-repeat: repeat-x; background-position: left center; background-size: 48px 12px; }
.dim__label { font-family: var(--font-mono); font-size: .73rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); flex: 0 0 auto; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--paper2) 100%); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--rule-strong); }
/* the waterline: one magenta band across the hero at the height a water line
   sits on a wall, with faint contours under it. The "photograph the water
   line" habit, drawn. No photograph in this direction. */
.hero__photo { position: absolute; left: 0; right: 0; bottom: 92px; height: 40px; pointer-events: none;
  background:
    linear-gradient(var(--aqua), var(--aqua)) left top / 100% 2px no-repeat,
    var(--contour) left 10px / 48px 12px repeat-x;
  opacity: .55; transform-origin: left center; }
/* the photo layer: the image sits under a white wash that is strongest behind
   the text column, so body text keeps full contrast; the right side shows more
   of the photo behind the clock card, which has its own solid surface. */
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center right; pointer-events: none; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(246,250,251,.62) 62%, rgba(234,244,246,.4) 100%),
              linear-gradient(180deg, rgba(255,255,255,0) 60%, var(--paper2) 100%); }
.hero__stats { background: rgba(246,250,251,.94) !important; }
.hero__in { position: relative; max-width: var(--max); margin: 0 auto; padding: 74px 28px 84px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 52px; align-items: start; }
.hero h1 { color: var(--ink); max-width: 18ch; }
.hero__sub { margin-top: 22px; font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; }
.hero__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero__stats { position: relative; margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--rule-strong); max-width: 470px; background: var(--paper); }
.hero__stat { padding: 14px 19px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero__stat:nth-child(2n) { border-right: 0; }
.hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
/* soundings: real KB figures only, printed the way a chart prints a depth */
.hero__stat b { display: block; font-family: var(--font-mono); font-size: 1.08rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sea); }
.hero__stat span { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-faint); }

/* the water clock: how long it has been wet, and what that means now */
.hero__plan { position: relative; }
.clock { border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); box-shadow: 0 18px 40px -24px rgba(15,42,54,.45); overflow: hidden; }
.clock__head { padding: 20px 22px 18px; background: var(--sea-deep); color: #fff; }
.clock__label { display: block; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sea-tint); }
.clock__fig { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.clock__fig b { font-family: var(--font-mono); font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #fff; }
.clock__fig span { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sea-tint); }
.clock__ctl { padding: 16px 22px 6px; }
.clock__ctl label { display: block; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }
.clock input[type=range] { width: 100%; margin-top: 8px; accent-color: var(--sea); height: 28px; }
/* the timeline: an aqua fill rising to "now", with the KB's real marks on it */
.clock__bar { position: relative; height: 12px; margin: 4px 22px 0; border-radius: 6px; background: var(--well); overflow: hidden; }
.clock__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--aqua-soft), var(--aqua)); border-radius: 6px; transition: width .25s var(--ease-out); }
.clock__ticks { position: relative; height: 34px; margin: 0 22px; font-family: var(--font-mono); font-size: .66rem; color: var(--ink-faint); }
.clock__ticks span { position: absolute; top: 6px; transform: translateX(-50%); white-space: nowrap; }
.clock__ticks span::before { content: ""; position: absolute; left: 50%; top: -8px; width: 1px; height: 6px; background: var(--rule-strong); }
.clock__ticks span:first-child { transform: none; }
.clock__ticks span:last-child { transform: translateX(-100%); }
.clock__now { padding: 6px 22px 16px; border-bottom: 1px solid var(--rule); }
.clock__stage { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.clock__now p { margin-top: 4px; font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.clock__facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clock__facts li { padding: 12px 14px; border-right: 1px solid var(--rule); }
.clock__facts li:last-child { border-right: 0; }
.clock__facts b { display: block; font-family: var(--font-mono); font-size: .98rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sea); }
.clock__facts span { display: block; margin-top: 2px; font-size: .78rem; line-height: 1.35; color: var(--ink-soft); }
.clock__facts li[data-hot="1"] { background: var(--sea-tint); }
.clock__foot { padding: 12px 22px 14px; border-top: 1px solid var(--rule); background: var(--paper2); font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }

/* inner-page hero: shorter, no card; the waterline stays */
.hero--inner .hero__in { grid-template-columns: 1fr; padding: 56px 28px 62px; max-width: 900px; }
.hero--inner h1 { max-width: 24ch; font-size: clamp(2rem, 4.3vw, 3.05rem); }
.hero--inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--contour) left center / 48px 12px repeat-x; opacity: .7; }

/* ---------------------------------------------------------- sections */
.sec { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.sec--alt { background: var(--paper2); }
.sec__body > p, .sec__body > ul, .sec__body > h3, .sec__body > .muted { max-width: 60ch; }
.sec__body h3 { margin-top: 2.1em; margin-bottom: .55em; }
.sec__body > :first-child { margin-top: 0; }
.sec__body p { color: var(--ink-soft); }
.sec__body ul { margin: 18px 0 0; padding-left: 0; list-style: none; }
.sec__body li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-soft); }
.sec__body li::before { content: ""; position: absolute; left: 0; top: .34em; width: 18px; height: 18px; background: var(--buoy) no-repeat; background-size: 18px 18px; }

/* cards */
.cards { border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); margin-top: 32px; border: 1px solid var(--rule-strong); background: var(--card); }
.card { padding: 26px 24px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.card__no { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; color: var(--sea); letter-spacing: .08em; display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.card h3 { margin-bottom: 8px; font-size: 1.13rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--sea); text-decoration: underline; }
.card p { font-size: .96rem; color: var(--ink-soft); }

/* link list */
.linklist { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.wrap > h3 { margin-top: 2.1em; }
.wrap > h2 + h3 { margin-top: 1.1em; }
.linklist a { display: inline-block; padding: 9px 15px; background: var(--card); border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: .92rem; font-weight: 500; }
.linklist a:hover { border-color: var(--sea); color: var(--sea); }

/* steps */
.steps { counter-reset: step; display: grid; margin-top: 32px; border-top: 1px solid var(--rule-strong); }
.step { counter-increment: step; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 1.02rem; font-weight: 600; color: var(--sea); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 5px; font-size: 1.1rem; }
.step p { color: var(--ink-soft); }

/* tables */
.table-wrap { border-radius: var(--radius); overflow-x: auto; border: 1px solid var(--rule-strong); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); }
th { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink); background: var(--well); }
td { color: var(--ink-soft); }
td:last-child { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.07rem; letter-spacing: -.012em; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-family: var(--font-mono); font-size: 1.25rem; color: var(--sea); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 40px 19px 0; color: var(--ink-soft); }

/* CTA band: the one magenta flood on the site, with a contour along its top */
.cta { position: relative; background: var(--sea-deep); color: var(--paper); padding: 80px 0 78px; border-bottom: 1px solid var(--sea-deep); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 12px; opacity: .35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cg fill='none' stroke='%23dff4f7' stroke-width='1'%3E%3Cpath d='M0 3c8 0 8-2 12-2s4 2 12 2 8-2 12-2 4 2 12 2'/%3E%3Cpath d='M0 9c8 0 8-2 12-2s4 2 12 2 8-2 12-2 4 2 12 2'/%3E%3C/g%3E%3C/svg%3E") left center / 48px 12px repeat-x; }
.cta h2 { color: var(--paper); font-size: clamp(2rem, 4.3vw, 3.05rem); font-weight: 700; letter-spacing: -.03em; max-width: 18ch; }
.cta p { margin-top: 14px; color: var(--sea-tint); max-width: 54ch; }
.cta__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 13px; }
.cta .btn { background: #fff; color: var(--sea-deep); border-color: #fff; }
.cta .btn:hover { background: #fff; color: var(--sea-deep); }
.cta .btn--ghost { background: transparent; color: var(--paper); border-color: #7fd6e0; }
.cta .btn--ghost:hover { background: var(--paper); color: var(--sea-deep); border-color: var(--paper); }

/* split heading */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 38px; align-items: end; }
.split p { color: var(--ink-soft); }

/* ---------------------------------------------------------- the Water Source Sorter
   Questions on chart paper on the left; the "sounding" on the right, a
   readout card whose left edge is a depth scale that deepens with the
   category (1, 2, 3). Source names are italic, as water is on a chart. */
.sorter { border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--rule-strong); background: var(--card); margin-top: 32px; }
.sorter__in { padding: 28px 26px; border-right: 1px solid var(--rule-strong); }
.sorter__q { border: 0; margin-bottom: 24px; }
.sorter__q:last-of-type { margin-bottom: 0; }
.sorter__q legend { font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 10px; }
.sorter__opts { display: flex; flex-wrap: wrap; gap: 7px; }
.sorter__opts label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 999px; font-family: var(--font-body); font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.sorter__opts label:hover { border-color: var(--sea); color: var(--ink); }
.sorter__opts label:has(input:checked) { border-color: var(--sea); background: var(--sea-tint); color: var(--ink); }
.sorter__opts input { accent-color: var(--sea); width: 16px; height: 16px; }
.sorter__out { padding: 28px 26px 26px 40px; background: var(--well); position: relative; }
/* the depth scale: three ticks down the left edge, filled to the category */
.sorter__out::before { content: ""; position: absolute; left: 16px; top: 28px; bottom: 26px; width: 5px; border-radius: 3px; background: var(--rule-strong); }
.sorter__out:has([data-cat="1"])::before { background: linear-gradient(var(--aqua) 33%, var(--rule-strong) 33%); }
.sorter__out:has([data-cat="2"])::before { background: linear-gradient(var(--aqua) 66%, var(--rule-strong) 66%); }
.sorter__out:has([data-cat="3"])::before { background: var(--sea-deep); }
.sorter__head { font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sea); margin-bottom: 14px; }
.sorter__line { padding: 12px 0; border-top: 1px solid var(--rule-strong); }
.sorter__line:first-child { border-top: 0; padding-top: 0; }
.sorter__line dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.sorter__line:first-child dd p { font-family: var(--font-head); font-size: 1.06rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.sorter__line dd p, .sorter__line dd li { font-size: .93rem; line-height: 1.55; color: var(--ink-soft); }
.sorter__line ol { padding-left: 1.3em; }
.sec__body .sorter__line li { margin-bottom: 3px; padding-left: 0; }
.sec__body .sorter__line li::before { content: none; }
.sorter__line li::marker { font-family: var(--font-mono); color: var(--sea); font-size: .85em; }
.sorter__note { margin-top: 16px; font-size: .84rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------------------------------------------------------- form */
.form-card { border-radius: var(--radius); box-shadow: 0 10px 30px -18px rgba(15,42,54,.35); background: var(--card); border: 1px solid var(--rule-strong); padding: 27px 24px; }
.form-card h2 { font-size: 1.4rem; }
.form-card p { color: var(--ink-soft); }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink-faint); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { border-color: var(--sea); outline: 2px solid rgba(11,106,133,.26); outline-offset: 0; }
.form-error { color: var(--sea-deep); font-weight: 600; font-size: .94rem; margin-bottom: 12px; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--paper2); color: var(--ink-soft); padding: 58px 0 0; font-size: .95rem; border-top: 1px solid var(--rule-strong); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--sea); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; border: 1px solid var(--rule-strong); background: var(--card); }
.footer-grid > div { padding: 25px 22px; border-right: 1px solid var(--rule-strong); }
.footer-grid > div:last-child { border-right: 0; }
.site-footer h3 { font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--sea); margin-bottom: 14px; line-height: 1.4; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer p { color: var(--ink-soft); }
/* the chart's title block */
.titleblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule-strong); border-bottom: 0; background: var(--well); }
.titleblock div { padding: 12px 22px; border-right: 1px solid var(--rule-strong); }
.titleblock div:last-child { border-right: 0; }
.titleblock dt { font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-faint); }
.titleblock dd { font-family: var(--font-mono); font-size: .73rem; font-variant-numeric: tabular-nums; color: var(--ink); margin-top: 3px; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--rule-strong); padding: 21px 0 94px; font-family: var(--font-mono); font-size: .77rem; color: var(--ink-faint); letter-spacing: .02em; }

/* ---------------------------------------------------------- sticky phone bar */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; border-top: 1px solid var(--sea-deep); }
.sticky-cta a { flex: 1 1 0; text-align: center; padding: 16px 8px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; text-decoration: none; }
.sticky-cta__call { background: var(--sea); color: var(--paper); }
.sticky-cta__est { background: var(--card); color: var(--ink); border-left: 1px solid var(--rule-strong); }
.sticky-cta__call:hover { background: var(--sea-deep); color: var(--paper); }
.sticky-cta__est:hover { background: var(--well); color: var(--ink); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1140px) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock div:nth-child(2n) { border-right: 0; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--rule-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; display: none; }
  .nav__links.open { display: flex; }
  .nav__links > li > a { display: block; padding: 12px 28px; }
  .nav__links .nav__call { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; border: 0; padding: 0 0 6px 14px; min-width: 0; background: none; }
  .nav__end { display: flex; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 20ch; }
  .hero__photo { display: none; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.93) 55%, var(--paper2) 100%); }
  .clock { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .sorter { grid-template-columns: 1fr; }
  .sorter__in { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(2n) { border-right: 0; }
  .footer-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule-strong); }
}
@media (max-width: 700px) {
  .wrap, .nav, .hero__in { padding-left: 18px; padding-right: 18px; }
  .sec { padding: 50px 0; }
  .hero__in { padding: 46px 18px 54px; }
  .hero h1, .hero__sub, .hero__stats, .clock { max-width: 100%; }
  .clock__head, .clock__ctl, .clock__now, .clock__foot { padding-left: 18px; padding-right: 18px; }
  .clock__bar, .clock__ticks { margin-left: 18px; margin-right: 18px; }
  .clock__facts li { padding: 10px 10px; }
  .sorter__in { padding: 24px 18px; }
  .sorter__out { padding: 24px 18px 22px 34px; }
  .sorter__out::before { left: 13px; }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-grid > div:last-child { border-bottom: 0; }
  .sticky-cta { display: flex; }
}
@media (max-width: 560px) {
  .nav__end .nav__call { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 480px) {
  .nav__logo { font-size: .93rem; }
  .nav__logo::before { width: 26px; height: 26px; background-size: 26px 26px; }
  .hero__btns .btn { width: 100%; }
}
