/* FieldBridge Environmental: customer site.
   Owner, 2026-11-30: keep the original FieldBridge look: the bridge logo, white and blue,
   serif headings. Colors and type are the same values as site/style.css. Light only. */
:root {
  --paper: #ffffff; --paper-2: #f4f7fc; --ink: #14213d; --ink-2: #4a5a78; --heading: #0c3b8c; --line: #dce4f0;
  --accent: #1d5fd1; --accent-ink: #ffffff; --accent-tint: #e8f0fc;
  --alert: #0c3b8c; --alert-ink: #ffffff; --tbc: #4a5a78; --field: #8a99b4;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, .chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--heading); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; }
h3 { font-family: var(--body); font-size: 18px; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
figure { margin: 0; }
.mono { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.label { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sel { user-select: all; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--accent); padding: 10px 14px; z-index: 30; }
.skip:focus { left: 8px; top: 8px; }

/* preview bar: only the private preview adds this element */
.preview { background: var(--heading); color: var(--paper); font-size: 14px; }
.preview .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-block: 8px; }

/* header */
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-block: 18px; border-bottom: 3px solid var(--accent); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-family: var(--body); font-size: 20px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.mark img { width: 36px; height: 36px; flex: none; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 16px; }
.top nav a { color: var(--ink-2); text-decoration: none; padding-block: 4px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }
.top nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.top nav a.tel { background: var(--accent-tint); color: var(--accent); padding: 6px 12px; border-radius: 8px; font-weight: 600; box-shadow: none; }
@media (max-width: 860px) { .top nav { width: 100%; gap: 0 18px; font-size: 15.5px; } .top nav a { padding-block: 11px; } .top nav a.tel { display: none; } .mark { font-size: 18px; } .mark img { width: 30px; height: 30px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 17px/1.2 var(--body); padding: 12px 18px; border-radius: 8px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; }
.btn.line { background: var(--accent-tint); color: var(--accent); border-color: var(--accent-tint); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* home hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 44px 52px; }
.hero .text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lede { font-size: 20px; color: var(--ink-2); max-width: 34em; }
.facts { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; font-size: 16px; }
.facts li { display: flex; gap: 9px; align-items: baseline; }
.facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.sheet { min-width: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.sheet svg { display: block; width: 100%; height: auto; }
.sheet figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 15px; }
.sheet figcaption .n { font-family: var(--body); font-weight: 800; font-size: 22px; color: var(--accent); grid-row: span 2; }
.sheet figcaption .mono { color: var(--ink-2); }
.under { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 40px; } }
@media (max-width: 460px) { .facts { grid-template-columns: minmax(0, 1fr); } .lede { font-size: 18px; } }

/* plan drawing */
.pl-wall { fill: none; stroke: var(--heading); stroke-width: 4; }
.pl-part { fill: none; stroke: var(--heading); stroke-width: 2; }
.pl-thin { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.pl-area { fill: var(--accent-tint); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 4; }
.pl-paper { fill: var(--paper); }
.pl-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.pl-pt circle { fill: var(--accent); stroke: var(--paper); stroke-width: 2; }
.pl-pt text { fill: var(--accent-ink); font: 700 11px var(--body); text-anchor: middle; }
.pl-txt { fill: var(--ink-2); font: 600 10.5px var(--body); letter-spacing: .06em; }
.pl-txt.strong { fill: var(--heading); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .pl-pt circle { animation: mark 5.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .pl-pt:nth-of-type(2) circle { animation-delay: .9s } .pl-pt:nth-of-type(3) circle { animation-delay: 1.8s }
  .pl-pt:nth-of-type(4) circle { animation-delay: 2.7s } .pl-pt:nth-of-type(5) circle { animation-delay: 3.6s }
  .pl-pt:nth-of-type(6) circle { animation-delay: 4.5s }
  @keyframes mark { 0%, 12%, 100% { transform: scale(1) } 6% { transform: scale(1.3) } }
}

/* page heading on inner pages */
.pagehead .wrap { padding-block: 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.pagehead h1 { max-width: 18em; }

/* sections */
.band { border-top: 1px solid var(--line); }
.band .wrap { padding-block: 52px; display: flex; flex-direction: column; gap: 26px; }
.band.tint { background: var(--paper-2); }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 40em; }
.head p { color: var(--ink-2); font-size: 18px; }
.signs { border-left: 4px solid var(--accent); padding: 10px 14px; background: var(--paper-2); border-radius: 0 8px 8px 0; font-size: 15.5px; max-width: 46em; }
.band.tint .signs { background: var(--paper); }

/* services schedule: a ruled list, not cards */
.sched { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sched li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) minmax(0, 15em); gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sched .when { color: var(--ink-2); font-size: 15.5px; }
.sched h3 a { color: var(--heading); text-decoration: none; }
.sched h3 a:hover { color: var(--accent); }
@media (max-width: 860px) { .sched li { grid-template-columns: minmax(0, 1fr); } }

/* one service, on the services page */
.svc { display: grid; grid-template-columns: minmax(0, 18em) minmax(0, 1fr); gap: 16px 44px; }
.svc > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.svc .when { color: var(--ink-2); }
.spec { margin: 0; display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 0 20px; }
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 15px; }
@media (max-width: 860px) { .svc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .spec { grid-template-columns: minmax(0, 1fr); } .spec dt { border-bottom: 0; padding-bottom: 0; } .spec dd { padding-top: 4px; } }

/* work stopped */
.stop { background: var(--alert); color: var(--alert-ink); }
.stop h1, .stop h2 { color: var(--alert-ink); }
.stop .wrap { padding-block: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; }
.stop h1, .stop h2 { font-size: clamp(34px, 5.4vw, 54px); }
.stop p { font-size: 19px; max-width: 30em; margin-top: 12px; }
.stop .call { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.stop .call a { font-family: var(--body); font-weight: 800; font-size: clamp(26px, 4.4vw, 38px); color: var(--alert-ink); text-decoration: none; border-bottom: 3px solid var(--alert-ink); user-select: all; }
.stop .label { color: var(--alert-ink); }
.stop a.more { color: var(--alert-ink); font-weight: 600; }
.stop a:focus-visible { outline-color: var(--alert-ink); }
@media (max-width: 760px) { .stop .wrap { grid-template-columns: minmax(0, 1fr); } }

/* numbered sequences (real order) */
.run { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.run.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.run li { padding: 18px 18px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.run li + li { border-left: 1px solid var(--line); padding-left: 18px; }
.run .mono { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }
.band.tint .run .mono { background: var(--paper); }
.run p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .run, .run.four { grid-template-columns: minmax(0, 1fr); } .run li { padding: 16px 0; } .run li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* four-tap job form */
.intake { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-family: var(--body); color: var(--heading); font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
legend .mono { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: block; font: 500 16px/1.2 var(--body); padding: 11px 14px; border-radius: 8px; border: 1.5px solid var(--field); background: var(--paper); color: var(--ink); }
.chips input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; color: var(--ink-2); }
.field input { font: 400 17px var(--body); padding: 12px; border: 1.5px solid var(--field); border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.trap { position: absolute; left: -9999px; }
.ticket { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: sticky; top: 16px; }
.ticket dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 16px; }
.ticket dt { font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.ticket dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.ticket .note { font-size: 15px; color: var(--ink-2); }
.said { font-size: 15px; padding: 10px 12px; background: var(--accent-tint); border-left: 3px solid var(--accent); }
@media (max-width: 900px) { .intake { grid-template-columns: minmax(0, 1fr); } .ticket { position: static; } }

/* two columns, ruled lists */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.two > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.two p { color: var(--ink-2); }
.packet { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.packet li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.packet .mono { color: var(--ink-2); white-space: nowrap; }
.packet.wide li { display: grid; grid-template-columns: minmax(0, 16em) minmax(0, 1fr); gap: 4px 28px; }
.packet.wide strong { color: var(--heading); font-size: 17px; font-weight: 700; }
.packet.wide span { color: var(--ink-2); }
.plain { margin: 0; padding-left: 1.15em; display: flex; flex-direction: column; gap: 8px; max-width: 42em; }
@media (max-width: 800px) { .two { grid-template-columns: minmax(0, 1fr); gap: 36px; } .packet.wide li { grid-template-columns: minmax(0, 1fr); } }

/* person and photos */
.person { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: start; }
.person > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.person img.portrait { display: block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.person .role { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.person p { color: var(--ink-2); max-width: 38em; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.ph { border: 2px dashed var(--tbc); background: var(--paper-2); display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; border-radius: 10px; font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; color: var(--tbc); aspect-ratio: 4 / 3; max-width: 100%; }
.ph.portrait { aspect-ratio: 4 / 5; }
.tbc { border: 2px dashed var(--tbc); padding: 1px 6px; border-radius: 4px; color: var(--tbc); font-family: var(--mono); font-size: 13px; }
@media (max-width: 700px) { .person { grid-template-columns: minmax(0, 1fr); } .person .ph { max-width: 220px; } .photos { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.contact > div { padding: 18px 18px 6px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.contact .big { font-family: var(--body); font-weight: 700; font-size: 19px; color: var(--heading); text-decoration: none; overflow-wrap: anywhere; }
.contact p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 800px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 28px 36px; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; font-size: 15.5px; color: var(--ink-2); }
footer strong { color: var(--heading); font-size: 16px; font-weight: 800; }
footer .mono { font-size: 14.5px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
footer a { color: var(--accent); }

/* thumb bar on phones */
.thumb { position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(12, 59, 140, .08); padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.thumb a { display: flex; align-items: center; justify-content: center; min-height: 48px; font: 600 16px/1.1 var(--body); text-decoration: none; border-radius: 8px; border: 2px solid var(--accent-tint); background: var(--accent-tint); color: var(--accent); text-align: center; }
.thumb a.go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (min-width: 861px) { .thumb { display: none; } body { padding-bottom: 0; } }
