/* OilFieldServiceCompanies.ca
   Film first. Full-width cinematic loops and stills carry the identity; type is condensed and
   heavy; colour is crude black, hi-vis yellow and ticket paper. No icons and no drawn
   illustration anywhere: pictures or type. */
:root {
  --crude: #10171a; --steel: #1b262b; --steel-2: #2a383e; --rule-dark: #34454c;
  --on-dark: #e9efed; --on-dark-muted: #a8b7b5;
  --paper: #efede6; --surface: #fffefb; --panel: #e6e8e1; --line: #cdd2c9; --line-strong: #8d9c98;
  --ink: #12181b; --ink-2: #2b3a40; --muted: #4c5d62;
  --hivis: #ffb81c; --hivis-deep: #d99400; --hivis-soft: #fff1c9; --flare: #d9480f; --maple: #c8102e;
  --link: #0b5560; --ok: #1f7a4a; --focus: #d9480f;
  --mono: 'Cascadia Mono', 'Cascadia Code', Consolas, 'SFMono-Regular', Menlo, monospace;
  --sans: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --cond: Bahnschrift, 'DIN Alternate', 'DIN Condensed', 'Roboto Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;
  --wrap: 1480px;
  --pad: max(28px, calc((100vw - var(--wrap)) / 2 + 28px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
h1, h2, h3, p, ul, ol, dl, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--cond); font-stretch: 88%; }
h1 { font-size: clamp(34px, 4vw, 58px); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 16px; max-width: 20ch; text-transform: uppercase; }
h2 { font-size: 25px; font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; margin-bottom: 12px; text-transform: uppercase; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: 0.02em; margin: 20px 0 8px; text-transform: uppercase; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--flare); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 2px; background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; font: 700 14px var(--cond); letter-spacing: 0.06em; text-transform: uppercase; }
button:hover, .button:hover { background: var(--hivis-soft); color: var(--ink); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
button[aria-pressed="true"] { background: var(--ink); color: var(--hivis); }
.primary { background: var(--hivis); border-color: var(--ink); color: var(--ink); }
.primary:hover { background: var(--hivis-deep); color: var(--ink); }
.link-button { border: 0; background: none; padding: 4px 0; min-height: 0; text-decoration: underline; font: 400 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--link); }
.link-button:hover { background: none; color: var(--flare); }
input, select, textarea { display: block; width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--surface); color: var(--ink); }
input[type="checkbox"], input[type="radio"] { display: inline-block; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 5px; }
kbd { font: 12px var(--mono); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 3px; padding: 1px 5px; background: var(--surface); color: var(--ink); }
.icon { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted, .fineprint { color: var(--muted); }
.fineprint { font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
.unknown, .unknown-block { color: var(--muted); font-style: italic; }
.unknown-block { margin: 0 0 8px; }
.tag { display: inline-block; font: 11px var(--mono); border: 1px solid var(--hivis-deep); background: var(--hivis-soft); padding: 1px 6px; border-radius: 2px; margin-left: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--hivis); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 10px; }

/* Top bar */
.topbar { background: var(--crude); color: var(--on-dark); border-bottom: 3px solid var(--hivis); }
.utility { display: flex; align-items: center; gap: 12px; padding: 6px var(--pad); font: 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); border-bottom: 1px solid var(--rule-dark); }
.utility-where b { font-weight: 400; margin-left: 10px; padding: 1px 5px; border: 1px solid var(--rule-dark); color: var(--on-dark); }
.utility-right { margin-left: auto; }
.site-header { display: flex; align-items: center; gap: 18px; padding: 14px var(--pad); }
.brand { text-decoration: none; color: var(--on-dark); }
.brand:hover { color: #fff; }
.brandname { font: 400 23px/1 var(--cond); font-stretch: 85%; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.brandname b { font-weight: 800; color: #fff; }
.brandname i { font-style: normal; font-weight: 800; color: var(--hivis); }
.site-nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { padding: 9px 13px; text-decoration: none; font: 700 15px var(--cond); letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-dark); border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: #5a6b70; color: #fff; }
.site-nav a[aria-current] { border-bottom-color: var(--hivis); color: var(--hivis); }
.film-toggle { min-height: 34px; padding: 6px 10px; background: transparent; border: 1px solid #5a6b70; color: var(--on-dark-muted); font: 12px var(--mono); letter-spacing: 0.08em; }
.film-toggle:hover { background: var(--steel-2); color: #fff; }
.film-toggle[aria-pressed="true"] { background: transparent; color: var(--on-dark); border-color: var(--on-dark-muted); }
.header-compare { font: 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--hivis); padding: 8px 10px; border-radius: 2px; white-space: nowrap; color: var(--hivis); }
.header-compare:hover { background: var(--hivis); color: var(--ink); }
.header-compare span { display: inline-block; min-width: 20px; text-align: center; background: var(--hivis); color: var(--ink); border-radius: 10px; padding: 0 6px; margin-left: 4px; font-weight: 700; }
.header-compare:hover span { background: var(--ink); color: var(--hivis); }
main { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px 20px; }

/* Film: a poster the script upgrades to a muted loop. Always behind a shade so type stays legible. */
.film { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--crude); }
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity 0.8s ease; }
.film video.is-playing { opacity: 1; }
.film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(16 23 26 / 92%) 0%, rgb(16 23 26 / 74%) 42%, rgb(16 23 26 / 22%) 100%), linear-gradient(0deg, rgb(16 23 26 / 88%) 0%, rgb(16 23 26 / 0%) 46%); }
.film-tag { position: absolute; right: 16px; bottom: 12px; z-index: 2; font: 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 78%); text-shadow: 0 1px 2px #000; }
.has-film > *:not(.film) { position: relative; z-index: 1; }

/* Footer over a film still */
.footer-wrap { position: relative; background: var(--crude); color: var(--on-dark-muted); margin-top: 56px; border-top: 3px solid var(--hivis); }
.footer-wrap .film::after { background: linear-gradient(0deg, rgb(16 23 26 / 96%) 0%, rgb(16 23 26 / 82%) 60%, rgb(16 23 26 / 55%) 100%); }
.footer-wrap .film-tag { top: 12px; bottom: auto; }
.site-footer { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 150px 28px 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px 40px; font-size: 14px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--hivis); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: start; }
.footer-brand a { font: 800 clamp(16px, 4.6vw, 24px) var(--cond); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; overflow-wrap: anywhere; }
.footer-brand p, .footer-note { margin: 6px 0 0; }
.footer-note { grid-column: 1 / -1; font-size: 13px; border-top: 1px solid rgb(255 255 255 / 18%); padding-top: 12px; }

/* Page furniture */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font: 12px var(--mono); color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark) !important; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--line-strong); }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 600 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--hivis); margin-bottom: 12px; }
.page-head { position: relative; background: var(--crude); color: var(--on-dark); padding: 26px var(--pad) 34px; margin: 0 0 30px; border-bottom: 1px solid var(--rule-dark); }
.page-head.has-film { padding-top: 30px; padding-bottom: 54px; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-head.has-film .crumbs { margin-bottom: auto; padding-bottom: 60px; }
.page-head h1 { color: #fff; text-shadow: 0 2px 18px rgb(0 0 0 / 45%); }
.page-head a:not(.button) { color: #ffd66b; }
.answer { font-size: 17px; line-height: 1.55; border-left: 4px solid var(--hivis); padding: 4px 0 4px 16px; margin-bottom: 16px; max-width: 78ch; }
.lede { font-size: 16px; max-width: 76ch; }
.page-head .lede { color: #d3dedb; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.page-head button, .page-head .button { background: rgb(16 23 26 / 55%); border-color: #9fb0b3; color: #fff; }
.page-head button:hover, .page-head .button:hover { background: var(--steel-2); color: #fff; }
.page-head .primary { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }
.page-head .primary:hover { background: #ffd04d; color: var(--ink); }
.page-head button[aria-pressed="true"] { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.section-head h2 { margin: 0; font-size: 30px; }
.section-head a { font: 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.section-intro { color: var(--muted); max-width: 80ch; }
.band { position: relative; padding: 28px 0 6px; border-top: 3px solid var(--crude); margin-top: 30px; }
.band::before { content: ''; position: absolute; left: 0; top: -3px; width: 72px; height: 3px; background: var(--hivis); }
.panel { background: var(--surface); border: 1px solid var(--line-strong); border-top: 5px solid var(--crude); padding: 20px 22px; margin-bottom: 20px; min-width: 0; box-shadow: 0 1px 0 var(--line-strong); }
.panel h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.panel h2::before { content: ''; width: 6px; height: 20px; flex: none; background: var(--hivis); }
.panel h2 .icon { display: none; }
.panel > :last-child { margin-bottom: 0; }
.outlink { border-top-color: var(--hivis-deep); }
.reference-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.reference-grid > * { min-width: 0; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }

/* Home hero: film, headline and a readout band */
.hero.has-film { min-height: min(86vh, 820px); padding-bottom: 0; }
.hero h1 { max-width: 15ch; font-size: clamp(42px, 5.4vw, 88px); line-height: 0.98; letter-spacing: -0.015em; margin-bottom: 20px; }
.hero .lede { font-size: 18px; max-width: 60ch; color: #e3ebe9; }
.hero .film::after { background: linear-gradient(90deg, rgb(16 23 26 / 90%) 0%, rgb(16 23 26 / 62%) 40%, rgb(16 23 26 / 8%) 100%), linear-gradient(0deg, rgb(16 23 26 / 78%) 0%, rgb(16 23 26 / 0%) 34%); }
.hero .actions { margin: 20px 0 38px; }
.hero .button { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.readouts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 calc(-1 * var(--pad)); padding: 0 calc(var(--pad) - 18px); border-top: 1px solid rgb(255 255 255 / 22%); background: rgb(16 23 26 / 72%); backdrop-filter: blur(6px); }
.readouts div { padding: 16px 18px 18px; border-right: 1px solid rgb(255 255 255 / 14%); }
.readouts div:last-child { border-right: 0; }
.readouts dt { font: 10px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.readouts dd { margin: 6px 0 0; font: 700 34px/1 var(--cond); color: var(--hivis); letter-spacing: 0.01em; }
.readouts dd time { font-size: 22px; }
.quick-links { list-style: none; max-width: var(--wrap); padding: 0 28px; margin: -30px auto 38px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wrap > .quick-links { padding: 0; }
.quick-links a { display: block; height: 100%; padding: 18px 20px 20px; background: var(--surface); color: var(--ink); text-decoration: none; border: 1px solid var(--line-strong); border-bottom: 5px solid var(--crude); }
.quick-links a:hover { border-bottom-color: var(--hivis-deep); box-shadow: 0 3px 0 var(--hivis); color: var(--ink); }
.ql-n { display: block; font: 700 12px var(--mono); color: var(--flare); letter-spacing: 0.1em; }
.quick-links strong { display: block; font: 800 21px/1.1 var(--cond); letter-spacing: 0.03em; text-transform: uppercase; margin: 6px 0 4px; }
.quick-links span:last-child { font-size: 14px; color: var(--muted); }

/* Image tiles and thumbnails */
.tiles { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--crude); color: #fff; text-decoration: none; }
.tile .thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover .thumb { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(16 23 26 / 92%) 0%, rgb(16 23 26 / 10%) 62%); }
.tile-text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.tile-text strong { display: block; font: 800 24px/1.05 var(--cond); letter-spacing: 0.03em; text-transform: uppercase; }
.tile-text span { font: 12px var(--mono); letter-spacing: 0.06em; color: var(--hivis); }
.tile:hover { color: #fff; }
.tile:hover .tile-text strong { text-decoration: underline; text-decoration-color: var(--hivis); text-underline-offset: 5px; }
.thumb { display: block; width: 100%; height: auto; }

/* Company header as a wellsite sign */
.has-sign { padding-top: 26px; padding-bottom: 30px; }
.sign-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sign-row .map { margin: 4px 0 0; border: 1px solid var(--rule-dark); border-top: 4px solid var(--hivis); }
.sign-row .lease-sign { max-width: none; }
.lease-sign { position: relative; max-width: 820px; margin: 4px 0 46px; background: var(--surface); color: var(--ink); border: 5px solid #05080a; border-radius: 6px; box-shadow: 0 0 0 2px #fff; }
.lease-sign::before, .lease-sign::after { content: ''; position: absolute; top: calc(100% + 5px); width: 12px; height: 34px; background: linear-gradient(90deg, #5d6b6e, #a9b6b8 45%, #5d6b6e); }
.lease-sign::before { left: 12%; }
.lease-sign::after { right: 12%; }
.sign-band { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 18px; background: var(--maple); color: #fff; font: 700 13px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.sign-id { margin-left: auto; font-weight: 400; }
.lease-sign h1 { text-shadow: none; color: var(--ink); margin: 16px 20px 14px; max-width: none; font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; overflow-wrap: anywhere; }
.sign-rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 3px solid #05080a; }
.sign-rows div { padding: 10px 16px 12px; border-right: 1px solid var(--line-strong); }
.sign-rows div:last-child { border-right: 0; }
.sign-rows dt { font: 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sign-rows dd { margin: 3px 0 0; font: 700 18px/1.2 var(--cond); letter-spacing: 0.02em; overflow-wrap: anywhere; }

/* Directory workspace: control panel on the left, grid on the right */
.kbd-hint { margin: 0; font-size: 12px; color: var(--muted); }
.workspace { display: grid; grid-template-columns: 280px minmax(0, 1fr); border: 2px solid var(--crude); background: var(--surface); }
.facets { background: var(--steel); color: var(--on-dark); padding: 16px; }
.facet-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--hivis); padding-bottom: 8px; }
.facet-head h3 { margin: 0; font-size: 18px; letter-spacing: 0.1em; color: #fff; }
.facets .link-button, .facets a { color: var(--hivis); }
.facets label { font: 600 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin: 12px 0 4px; color: var(--on-dark-muted); }
.facets select, .facets input { font-size: 14px; min-height: 36px; padding: 6px 8px; border-color: #5a6b70; }
.facets .checks label { display: flex; gap: 8px; align-items: flex-start; font: 400 14px var(--sans); text-transform: none; letter-spacing: 0; margin: 6px 0; color: var(--on-dark); }
.facets input[type="checkbox"] { accent-color: var(--hivis); }
.facets fieldset { border: 0; border-top: 1px solid var(--rule-dark); padding: 10px 0 0; margin: 14px 0 0; }
.facets legend { font: 700 13px var(--cond); letter-spacing: 0.1em; text-transform: uppercase; padding: 0 8px 0 0; color: var(--hivis); }
.facets .fineprint, .facets .muted { color: var(--on-dark-muted); }
.facet-pair { display: grid; grid-template-columns: 1fr 96px; gap: 6px; }
.views { border-top: 1px solid var(--rule-dark); margin-top: 16px; padding-top: 10px; }
.views summary { cursor: pointer; font: 700 14px var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.views button { margin-top: 8px; font-size: 12px; min-height: 34px; }
#saved-views { display: grid; gap: 6px; margin-top: 10px; }
.saved-view { display: flex; gap: 6px; }
.saved-view button:first-child { flex: 1; justify-content: flex-start; }
.results { padding: 16px; min-width: 0; }
.search-label { margin-top: 0; font: 600 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.searchbar { position: relative; }
.searchbar input { font-size: 17px; min-height: 50px; padding-right: 44px; border: 3px solid var(--ink); }
.searchbar input:focus { border-color: var(--hivis-deep); }
.searchbar kbd { position: absolute; right: 12px; top: 15px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; font-size: 13px; }
.toolbar > p { margin: 0 auto 0 0; font: 700 14px var(--mono); }
.toolbar label { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; }
.toolbar select { width: auto; min-height: 34px; padding: 4px 8px; font-size: 13px; }
.toolbar button, .toolbar summary { min-height: 34px; padding: 5px 10px; font-size: 12px; border-width: 1px; }
.view-toggle { display: inline-flex; }
.view-toggle button + button { border-left: 0; }
.columns { position: relative; }
.columns summary { list-style: none; cursor: pointer; border: 1px solid var(--ink); border-radius: 2px; display: inline-flex; align-items: center; background: var(--surface); font: 700 12px var(--cond); letter-spacing: 0.06em; text-transform: uppercase; }
.columns > div { position: absolute; right: 0; top: 40px; z-index: 6; background: var(--surface); border: 2px solid var(--ink); padding: 10px 14px; min-width: 230px; box-shadow: 0 8px 24px rgb(16 23 26 / 25%); }
.columns label { display: flex; gap: 8px; margin: 6px 0; font-size: 14px; font-weight: 400; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.active-filters button { min-height: 28px; padding: 2px 8px; font: 12px var(--mono); letter-spacing: 0; text-transform: none; background: var(--hivis-soft); border: 1px solid var(--hivis-deep); }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 12px; font: 13px var(--mono); }
.pagination button { min-height: 34px; font-size: 12px; }

/* Tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line-strong); max-width: 100%; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; background: var(--surface); }
.data-table caption { caption-side: top; text-align: left; padding: 8px 12px; font: 12px var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface); }
.data-table th, .data-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: var(--steel); color: var(--on-dark); white-space: nowrap; border-bottom: 3px solid var(--hivis); }
.data-table tbody th { font-weight: 700; min-width: 170px; }
.data-table tbody th a { color: var(--ink); text-decoration-color: var(--hivis-deep); text-decoration-thickness: 2px; }
.data-table tbody tr:nth-child(even) { background: #f7f6f0; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--hivis-soft); }
.data-table time, .checked, .fact-source { font: 12px var(--mono); white-space: nowrap; }
.directory-table tbody tr.is-focused { outline: 3px solid var(--flare); outline-offset: -3px; background: var(--hivis-soft); }
.col-compare { width: 74px; white-space: nowrap; }
.col-compare button { min-height: 28px; width: 28px; padding: 0; font: 700 12px var(--mono); border-width: 1px; letter-spacing: 0; }
.col-compare button + button { margin-left: 2px; }
.more { font: 12px var(--mono); color: var(--muted); }
.facts th { width: 30%; }
.facts .quiet { font-size: 12px; margin-left: 6px; }
.empty-note { padding: 18px; border: 2px dashed var(--line-strong); background: var(--surface); }
.empty-state { padding: 34px 18px; text-align: center; border: 2px dashed var(--line-strong); }

/* Cards as equipment nameplates */
.card-grid, .tool-steps, .company-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.card { display: flex; gap: 14px; align-items: flex-start; width: 100%; height: 100%; text-align: left; padding: 14px; background: var(--surface); border: 1px solid var(--line-strong); border-bottom: 4px solid var(--crude); border-radius: 2px; text-decoration: none; color: var(--ink); font: 400 15px var(--sans); letter-spacing: 0; text-transform: none; min-height: 0; justify-content: flex-start; }
.card:hover { border-color: var(--crude); border-bottom-color: var(--hivis-deep); background: var(--surface); color: var(--ink); box-shadow: 0 3px 0 var(--hivis); }
.card strong { display: block; font: 700 18px/1.15 var(--cond); letter-spacing: 0.04em; text-transform: uppercase; }
.card.has-thumb { flex-direction: column; gap: 0; padding: 0; }
.card.has-thumb .thumb { aspect-ratio: 16 / 9; object-fit: cover; }
.card.has-thumb > span { display: block; padding: 14px 16px 16px; }
.card-text { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.card-meta, .step-number { display: block; font: 12px var(--mono); color: var(--muted); margin-top: 8px; }
.step-number { margin: 0 0 2px; color: var(--flare); font-weight: 700; }
button.card[aria-pressed="true"] { background: var(--hivis-soft); color: var(--ink); border-color: var(--crude); }
.company-card { background: var(--surface); border: 1px solid var(--line-strong); border-top: 5px solid var(--crude); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.company-card h3 { margin: 0; font-size: 19px; }
.company-card h3 a { color: var(--ink); }
.company-card p { margin: 0; font-size: 13px; }
.company-card .card-actions { margin-top: auto; display: flex; gap: 6px; padding-top: 8px; }
.company-card .card-actions button { min-height: 32px; font-size: 12px; padding: 4px 8px; border-width: 1px; }
.company-card.is-focused { outline: 3px solid var(--flare); }

/* Lists */
.tag-list, .pill-list, .link-list, .company-list, .check-list, .tick-list, .coverage, .town-rank { list-style: none; padding: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { border: 1px solid var(--ink); background: var(--surface); padding: 3px 10px; font-size: 14px; border-radius: 2px; border-left: 4px solid var(--hivis); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list a { display: inline-flex; align-items: baseline; gap: 8px; border: 1px solid var(--ink); border-left: 5px solid var(--crude); background: var(--surface); padding: 6px 12px; text-decoration: none; border-radius: 2px; font: 700 15px var(--cond); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.pill-list a:hover { border-left-color: var(--hivis-deep); background: var(--hivis-soft); }
.pill-list span { font: 12px var(--mono); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.link-list li, .company-list li, .town-rank li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child, .company-list li:last-child, .town-rank li:last-child { border-bottom: 0; }
.link-list span, .company-list span, .town-rank span { font-size: 13px; color: var(--muted); }
.company-list li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto; }
.company-list a:first-child { font-weight: 700; color: var(--ink); }
.town-rank { counter-reset: rank; }
.town-rank li::before { counter-increment: rank; content: counter(rank, decimal-leading-zero); font: 700 12px var(--mono); color: var(--flare); margin-right: 10px; }
.town-rank li { justify-content: flex-start; }
.town-rank span { margin-left: auto; font-family: var(--mono); font-size: 12px; }
.check-list li, .tick-list li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list li:last-child, .tick-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 13px; height: 13px; border: 2px solid var(--ink); background: var(--hivis-soft); }
.tick-list li { padding-left: 0; }
.tick-list label, .checklist-item label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; margin: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 8px; }
.kv dt { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 4px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.questions { padding-left: 20px; }
.questions li { margin-bottom: 8px; }
.questions li::marker { font: 700 15px var(--mono); color: var(--flare); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }

/* Sources as inspection tags */
.sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0 0; }
.sources-label { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-right: 2px; }
.chip { position: relative; display: inline-flex; flex-direction: column; border: 1px solid var(--ink); background: var(--hivis-soft); padding: 3px 9px 3px 22px; font: 12px var(--mono); text-decoration: none; max-width: 100%; color: var(--ink); border-radius: 10px 2px 2px 10px; }
.chip::before { content: ''; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-radius: 50%; border: 1px solid var(--ink); background: var(--surface); }
.chip:hover { background: var(--hivis); color: var(--ink); }
.chip-host { overflow-wrap: anywhere; }
.chip time { font-size: 11px; color: var(--ink-2); }
.source-groups dt { font: 700 15px var(--cond); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 14px; }
.source-groups dd { margin: 0; }
.source-groups .sources { margin-top: 6px; }

/* Lifecycle strip: six stations on a line */
.lifecycle { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--steel); border-top: 4px solid var(--hivis); }
.lifecycle li { padding: 14px 14px 16px; border-right: 1px solid var(--rule-dark); display: flex; flex-direction: column; gap: 5px; color: var(--on-dark-muted); position: relative; }
.lifecycle li:last-child { border-right: 0; }
.lifecycle .thumb { aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 6px; }
.lifecycle strong { font: 700 16px/1.15 var(--cond); letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.lifecycle-step { font: 700 11px var(--mono); color: var(--hivis); }
.lifecycle-text { font-size: 12px; line-height: 1.4; }
.lifecycle .is-active { background: var(--steel-2); box-shadow: inset 0 -5px 0 var(--hivis); }
.lifecycle .is-primary { background: var(--hivis); color: var(--ink); }
.lifecycle .is-primary strong, .lifecycle .is-primary .lifecycle-step { color: var(--ink); }
.lifecycle:has(.is-primary) li:not(.is-primary):not(.is-active) .thumb { filter: grayscale(0.85) brightness(0.75); }

/* Coverage strip and control-room map */
.coverage { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 28px; }
.coverage a { display: grid; grid-template-columns: minmax(0, 1.3fr) 96px 108px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; }
.coverage a:hover .coverage-name { text-decoration: underline; }
.coverage-name { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 600; }
.coverage-bar { width: 96px; height: 8px; }
.coverage-track { fill: #c7ccc3; }
.coverage-fill { fill: var(--crude); }
.coverage-count { font: 12px var(--mono); color: var(--muted); text-align: right; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.map { margin: 0 0 16px; background: var(--crude); border-top: 4px solid var(--hivis); }
.map svg { display: block; width: 100%; height: auto; }
.map figcaption { font: 11px/1.5 var(--mono); color: var(--on-dark-muted); padding: 8px 12px 10px; border-top: 1px solid var(--rule-dark); }
.map-sea { fill: #10171a; }
.map-province { fill: #1f2c31; stroke: #586d73; stroke-width: 1.2; }
.map-parallel { stroke: #3a4b51; stroke-dasharray: 4 5; stroke-width: 1; }
.map-label { font: 700 17px var(--cond); letter-spacing: 0.1em; fill: #7d9196; }
.map-note { font: 11px var(--mono); fill: #9db0b3; }
.map-dot { fill: var(--hivis); fill-opacity: 0.85; stroke: #10171a; stroke-width: 1.2; }
a:hover .map-dot, a:focus .map-dot { fill: #fff; fill-opacity: 1; }
.map-dot.is-marked { fill: var(--flare); fill-opacity: 1; stroke: #fff; stroke-width: 2; }
.locations-layout { display: block; }

/* Prose */
.prose-page, .prose { max-width: 880px; }
.prose-page section, .prose section { margin-bottom: 26px; }
.prose-page > section > h2, .prose > section > h2 { border-top: 3px solid var(--crude); padding-top: 14px; position: relative; }
.prose-page > section > h2::after, .prose > section > h2::after { content: ''; position: absolute; left: 0; top: -3px; width: 56px; height: 3px; background: var(--hivis); }
.prose-page li, .prose li { margin-bottom: 6px; }
.guide .reference-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.prose .data-table, .prose-page .data-table { margin: 6px 0 4px; }

/* Tools */
.tool { margin-bottom: 20px; }
.local-note { border-left: 4px solid var(--ok); padding-left: 12px; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 0 0 16px; background: var(--steel); border-top: 4px solid var(--hivis); }
.progress button { width: 100%; border: 0; border-radius: 0; background: transparent; color: var(--on-dark); justify-content: flex-start; min-height: 50px; font-size: 14px; border-right: 1px solid var(--rule-dark); }
.progress button:hover { background: var(--steel-2); color: #fff; }
.progress li:last-child button { border-right: 0; }
.progress span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--on-dark-muted); font: 700 12px var(--mono); }
.progress .is-done span { background: #35c26f; border-color: #35c26f; color: var(--ink); }
.progress .is-current button { background: var(--hivis); color: var(--ink); }
.progress .is-current span { border-color: var(--ink); }
.step[hidden] { display: none; }
.step-nav { display: flex; gap: 8px; align-items: center; }
.step-nav .link-button { margin-left: auto; }
.checklist-group h3 { margin-top: 16px; }
.checklist-group fieldset { border: 1px solid var(--line); padding: 4px 14px 8px; margin: 0 0 12px; }
.checklist-group legend { font: 700 13px var(--cond); letter-spacing: 0.08em; text-transform: uppercase; padding: 0 6px; }
.checklist-item { padding: 6px 0; border-bottom: 1px solid var(--line); }
.checklist-item:last-child { border-bottom: 0; }
.shortlist-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.shortlist-row button { min-height: 32px; font-size: 12px; border-width: 1px; }
.rfq-preview { border: 2px solid var(--ink); background: #fff; padding: 22px; max-height: 520px; overflow: auto; margin-bottom: 14px; }
.rfq-preview h2 { font-size: 24px; }
.rfq-preview h3 { margin-top: 18px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.finder-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; }
.finder-form label { margin-top: 0; }
.worksheet-table input { min-height: 32px; padding: 4px 6px; font-size: 13px; min-width: 76px; }
.worksheet-table input.num { text-align: right; font-family: var(--mono); }
.worksheet-table th input { font-weight: 700; min-width: 130px; }
.worksheet-table td, .worksheet-table th { padding: 5px 6px; }
.worksheet-table .line-total, .worksheet-table tfoot td { font: 700 13px var(--mono); text-align: right; white-space: nowrap; }
.worksheet-table tfoot th, .worksheet-table tfoot td { background: var(--hivis-soft); border-top: 3px solid var(--ink); }
.worksheet-table .item-cell input { min-width: 190px; }
.worksheet-table label { margin: 0; font-weight: 400; display: flex; gap: 6px; font-size: 12px; white-space: nowrap; }
.board-list { margin-bottom: 20px; }
.board-list header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.board-list header input { flex: 1 1 220px; font-weight: 700; }
.guided-question { margin: 0 0 14px; border: 0; padding: 0; }
.guided-question legend { font: 700 17px var(--cond); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.guided-question .options { display: grid; gap: 6px; }
.guided-question .options label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; margin: 0; padding: 9px 10px; border: 1px solid var(--line-strong); background: var(--surface); }
.paths .card { cursor: pointer; }

/* Compare tray, dialog, toast */
.compare-tray { position: sticky; bottom: 12px; z-index: 20; max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; background: var(--crude); color: var(--on-dark); border-top: 6px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--hivis) 0 10px, var(--crude) 10px 20px) 6; box-shadow: 0 6px 24px rgb(16 23 26 / 40%); }
.compare-tray[hidden] { display: none; }
.compare-tray strong { font: 700 13px var(--mono); letter-spacing: 0.06em; color: var(--hivis); }
.compare-tray ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 auto 0 0; }
.compare-tray li button { min-height: 30px; padding: 2px 8px; font: 12px var(--sans); letter-spacing: 0; text-transform: none; background: transparent; color: var(--on-dark); border: 1px solid #6d8287; }
.compare-tray > button { min-height: 34px; font-size: 12px; border-color: var(--on-dark); background: transparent; color: var(--on-dark); }
.compare-tray > .primary { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }
dialog { width: min(1200px, 96vw); max-height: 90vh; border: 3px solid var(--ink); border-top: 8px solid var(--hivis); padding: 18px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(16 23 26 / 70%); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.dialog-head h2 { margin: 0; }
.compare-table th[scope="col"] { min-width: 190px; white-space: normal; text-transform: none; font: 700 16px var(--cond); letter-spacing: 0.03em; }
.compare-table th[scope="col"] a { color: var(--hivis); }
.compare-table tbody th { min-width: 130px; width: 150px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table td { overflow-wrap: anywhere; }
.compare-table ul { margin: 0; padding-left: 16px; }
#toast { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: 360px; background: var(--crude); color: #fff; padding: 12px 16px; font-size: 14px; border-left: 6px solid var(--hivis); display: none; }
#toast.is-active { display: block; }

/* Unique stills: banners that are a picture, not a loop, drift slowly instead */
.film.is-still img { transform-origin: 60% 40%; animation: still-drift 36s ease-in-out infinite alternate; }
@keyframes still-drift { from { transform: scale(1); } to { transform: scale(1.07); } }
.page-head.has-film.is-tool { min-height: 300px; padding-bottom: 36px; }
.page-head.has-film.is-tool .crumbs { padding-bottom: 36px; }
.tiles-wide .tile { aspect-ratio: 16 / 9; }
.tool-steps .card.has-thumb .step-number { margin-bottom: 4px; }

/* Related sites band: AlbertaOil.ca first */
.network { position: relative; overflow: hidden; background: var(--crude); color: var(--on-dark); padding: 56px 40px 44px; margin: 44px 0 0; border-top: 3px solid var(--hivis); }
.network h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); max-width: 18ch; margin: 0 0 12px; text-shadow: 0 2px 18px rgb(0 0 0 / 45%); }
.network .lede { max-width: 62ch; color: var(--on-dark); margin-bottom: 26px; }
.network-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.network-links a { display: block; height: 100%; padding: 18px 20px 20px; background: rgb(16 23 26 / 78%); border: 1px solid rgb(255 255 255 / 22%); border-bottom: 4px solid var(--hivis); color: var(--on-dark); text-decoration: none; }
.network-links a:hover { background: rgb(16 23 26 / 94%); border-color: var(--hivis); color: #fff; }
.network-links strong { display: block; font: 800 26px/1.05 var(--cond); letter-spacing: 0.03em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.network-links li:first-child strong { color: var(--hivis); }
.network-links span { font-size: 14px; color: var(--on-dark-muted); }
.site-footer .footer-network { grid-column: 1 / -1; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--rule-dark); }
.footer-network span { font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-right: 6px; }
.footer-network a { font: 700 17px var(--cond); letter-spacing: 0.04em; text-transform: uppercase; }

/* Quick answers */
.faq details { border-top: 1px solid var(--line); padding: 2px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; padding: 10px 0; font: 700 17px/1.25 var(--cond); letter-spacing: 0.03em; text-transform: uppercase; }
.faq summary:hover { color: var(--hivis-deep); }
.faq details p { margin: 0 0 12px; max-width: 78ch; }

@media (max-width: 760px) {
  .network { padding: 40px 16px 30px; }
  .network-links { grid-template-columns: 1fr; }
  .page-head.has-film.is-tool { min-height: 240px; }
}

@media (max-width: 1080px) {
  .workspace { grid-template-columns: 240px minmax(0, 1fr); }
  .map-layout, .locations-layout, .sign-row { grid-template-columns: 1fr; }
  .sign-row .map { max-width: 520px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .readouts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .readouts div:nth-child(3) { border-right: 0; }
  .readouts div:nth-child(-n+3) { border-bottom: 1px solid rgb(255 255 255 / 14%); }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifecycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lifecycle li:nth-child(3) { border-right: 0; }
  .lifecycle li:nth-child(-n+3) { border-bottom: 1px solid var(--rule-dark); }
  .finder-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  :root { --pad: 16px; }
  .utility-right { display: none; }
  .site-header { flex-wrap: wrap; padding-top: 12px; padding-bottom: 6px; gap: 10px; }
  .brandname { font-size: clamp(13px, 4.1vw, 19px); letter-spacing: 0.01em; }
  .brand { max-width: 100%; overflow: hidden; }
  .film-toggle { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; gap: 0 2px; }
  .site-nav a { padding: 8px 9px; font-size: 14px; white-space: nowrap; }
  .wrap { padding: 0 16px 10px; }
  .site-footer { grid-template-columns: minmax(0, 1fr); padding: 110px 16px 26px; }
  .hero.has-film { min-height: 640px; }
  .hero .lede { font-size: 16px; }
  .readouts { padding: 0; }
  .readouts dd { font-size: 26px; }
  .readouts dd time { font-size: 17px; }
  .quick-links { grid-template-columns: 1fr; margin-top: -18px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile-text strong { font-size: 18px; }
  .page-head.has-film { min-height: 360px; padding-bottom: 40px; }
  .film::after { background: linear-gradient(0deg, rgb(16 23 26 / 94%) 0%, rgb(16 23 26 / 62%) 55%, rgb(16 23 26 / 40%) 100%); }
  .film-tag { font-size: 9px; right: 10px; bottom: 8px; }
  .sign-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sign-rows div:nth-child(2) { border-right: 0; }
  .sign-rows div:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .sign-band { flex-wrap: wrap; font-size: 11px; padding: 8px 12px; }
  .lease-sign h1 { margin: 12px 14px 10px; }
  .workspace { display: block; }
  .reference-grid, .profile-grid, .guide .reference-grid { grid-template-columns: 1fr; }
  .results { padding: 12px; }
  .toolbar > p { width: 100%; }
  .kbd-hint { display: none; }
  .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifecycle li { border-bottom: 1px solid var(--rule-dark); }
  .lifecycle li:nth-child(odd) { border-right: 1px solid var(--rule-dark); }
  .lifecycle li:nth-child(even) { border-right: 0; }
  .coverage { grid-template-columns: 1fr; }
  .coverage a { grid-template-columns: minmax(0, 1fr) 56px 96px; }
  .coverage-bar { width: 56px; }
  .company-list li { grid-template-columns: 1fr; }
  .progress button { flex-direction: column; font-size: 11px; padding: 6px 2px; gap: 3px; justify-content: center; letter-spacing: 0.02em; }
  .finder-form { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .panel { padding: 16px; }
  .card-grid, .tool-steps, .company-cards { grid-template-columns: 1fr; }
  .facts th { width: 40%; }
  .compare-tray { bottom: 0; }
  .columns > div { right: auto; left: 0; }
  .section-head h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .topbar, .footer-wrap, .crumbs, .film, .tiles, .network, .actions, .no-print, .compare-tray, #toast, .skip, .facets, .toolbar, .searchbar, .search-label, .pagination, .quick-links, .kbd-hint, .progress, .step-nav, .active-filters, .local-note, .hero-art, .readouts, .plate, button, .lifecycle { display: none !important; }
  main { max-width: none; padding: 0; }
  a { color: #000; text-decoration: none; }
  .page-head, .page-head.has-film { background: none; color: #000; border: 0; padding: 0; margin: 0 0 10pt; min-height: 0; display: block; }
  .page-head h1 { text-shadow: none; }
  .page-head h1, .hero h1 { color: #000; font-size: 22pt; max-width: none; }
  .page-head .lede, .hero .lede { color: #000; }
  .lease-sign { box-shadow: none; margin-bottom: 14pt; border-width: 2pt; }
  .lease-sign::before, .lease-sign::after { display: none; }
  .sign-band { background: #000; color: #fff; }
  .panel, .band { border: 0; border-top: 1px solid #999; padding: 8pt 0; margin: 0 0 6pt; background: none; box-shadow: none; break-inside: avoid-page; }
  .band::before, .panel h2::before { display: none; }
  .reference-grid, .profile-grid, .map-layout, .locations-layout, .workspace { display: block; border: 0; }
  .results { padding: 0; }
  .tablewrap { overflow: visible; border: 0; }
  .data-table { font-size: 9pt; }
  .data-table th, .data-table td { padding: 4pt 5pt; border: 1px solid #bbb; }
  .data-table thead th { background: #eee; color: #000; border-bottom: 1px solid #000; }
  .data-table tbody tr:nth-child(even) { background: none; }
  .answer { border-left: 2pt solid #000; }
  .chip { border: 0; padding: 0; display: inline; background: none; font-size: 8pt; }
  .chip::before { display: none; }
  .chip::after { content: ' (' attr(href) ') '; }
  .chip time { display: inline; margin-left: 4pt; }
  .step[hidden] { display: block !important; }
  body[data-page="rfq"] .step:not([data-step="5"]), body[data-page="rfq"] .page-head .answer { display: none !important; }
  .rfq-preview { border: 0; max-height: none; padding: 0; overflow: visible; }
  .worksheet-table input { border: 0; padding: 0; min-width: 0; width: 100%; font-size: 8.5pt; background: none; }
  .worksheet-table { table-layout: fixed; }
  body.printing-dialog main { display: none !important; }
  dialog[open] { position: static; width: 100%; max-height: none; border: 0; padding: 0; }
  .compare-table th[scope="col"], .compare-table td { min-width: 0; font-size: 8.5pt; }
  .compare-table th[scope="col"] a { color: #000; }
  .map { break-inside: avoid; max-width: 110mm; background: #fff; border: 1px solid #999; }
  .map figcaption { color: #333; border-color: #999; }
  .map-sea { fill: #fff; }
  .map-province { fill: #f1f1f1; stroke: #777; }
  .map-dot { fill: #000; fill-opacity: 1; stroke: #fff; }
  .map-label { fill: #555; }
  input[type="checkbox"] { appearance: auto; }
}

/* Contact details on the forms that send */
.contact-block { border: 1px solid var(--line); padding: 4px 14px 14px; margin: 18px 0 0; min-width: 0; }
.contact-block legend { font: 700 13px var(--cond); letter-spacing: 0.08em; text-transform: uppercase; padding: 0 6px; }
.field-pair { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.45; margin-top: 16px; }
