/* North Texas Plumbing, demo rebuild. Navy, copper, spec-sheet. Mobile first. */
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #071526;
  --navy: #0a2540;
  --navy-2: #12345a;
  --paper: #eceff1;
  --paper-2: #dde2e7;
  --copper: #b87333;
  --copper-hi: #e0a067;
  --copper-lo: #8a5022;
  --yellow: #ffc400;
  --text: #0c1a2a;
  --muted: #4c5a6a;
  --on-dark: #eef2f6;
  --on-dark-muted: #a9b8c8;
  --line-dark: rgba(224, 160, 103, 0.28);
  --line-light: rgba(10, 37, 64, 0.16);
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: #111; padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.92; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(56px, 15vw, 152px); }
h2 { font-size: clamp(40px, 9vw, 88px); }
h3 { font-size: clamp(26px, 5.4vw, 34px); line-height: 1; }
p { margin: 0 0 1em; text-wrap: pretty; }
.spec { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.lede { font-size: clamp(18px, 2.3vw, 21px); line-height: 1.5; max-width: 38ch; }
.copper { color: var(--copper-hi); }
.on-paper .copper { color: var(--copper-lo); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--on-dark); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.top.solid { background: rgba(7, 21, 38, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 74px; height: auto; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.05; color: var(--on-dark-muted); }
.nav { display: none; }
.nav a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 2px; position: relative; color: var(--on-dark); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--copper-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { transition: letter-spacing .25s ease, color .25s ease; }
.nav a[aria-current="page"]:hover { color: var(--copper-hi); letter-spacing: .17em; }
.nav a[aria-current="page"]:hover::after { height: 5px; bottom: 2px; }
.call-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius); background: var(--yellow); color: #111; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .04em; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.call-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.call-btn svg { width: 18px; height: 18px; }
.call-btn .num { display: none; }
.menu-btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--on-dark); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.right { display: flex; align-items: center; gap: 10px; }
.drawer { position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--ink); color: var(--on-dark); padding: 28px var(--pad) 40px; display: flex; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.menu-open .drawer { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.drawer a { font-family: var(--display); font-weight: 800; font-size: 44px; text-transform: uppercase; text-decoration: none; line-height: 1.15; border-bottom: 1px solid var(--line-dark); padding: 8px 0; }
.drawer a[aria-current="page"] { color: var(--copper-hi); }
.drawer .spec { margin-top: 18px; color: var(--on-dark-muted); }
@media (min-width: 980px) {
  .nav { display: flex; gap: 28px; }
  .menu-btn, .drawer { display: none; }
  .call-btn .num { display: inline; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--radius); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 0; position: relative; overflow: hidden; isolation: isolate; transition: color .3s var(--ease), transform .2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-copper { background: #9c5d26; color: #fff; }
.btn-copper::before { background: var(--copper-lo); }
.btn-ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(238, 242, 246, .5); }
.btn-ghost::before { background: var(--on-dark); }
.btn-ghost:hover { color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy::before { background: var(--copper-lo); }
.btn:active { transform: translateY(1px); }

/* ---------- hero scene stage ---------- */
.stage { position: relative; height: 260vh; background: #0a1a2c; color: var(--on-dark); }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fallback { position: absolute; inset: 0; background: url(../img/medgas-21.webp) center/cover no-repeat; opacity: .5; transition: opacity 1.2s; }
.scene-ready .stage-fallback { opacity: 0; }
#scene { opacity: 0; transition: opacity 1.2s; }
.scene-ready #scene { opacity: 1; }
.stage-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(7,21,38,.86) 0%, rgba(7,21,38,.62) 45%, rgba(7,21,38,.55) 62%, rgba(7,21,38,.92) 100%); }
@media (min-width: 1000px) { .stage-shade { background: linear-gradient(90deg, rgba(7,21,38,.94) 0%, rgba(7,21,38,.72) 30%, rgba(7,21,38,0) 58%), linear-gradient(180deg, rgba(7,21,38,.5) 0%, rgba(7,21,38,0) 22%, rgba(7,21,38,0) 75%, rgba(7,21,38,.85) 100%); } }
.hero-copy { position: absolute; left: 0; right: 0; top: 0; padding: 96px var(--pad) 0; }
.hero-copy .spec { color: var(--copper-hi); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; }
.hero-copy h1 { max-width: 9ch; }
.hero-copy h1 em { font-style: normal; color: var(--copper-hi); }
.hero-sub { margin-top: 18px; max-width: 30ch; font-size: 17px; color: var(--on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.steps { list-style: none; margin: 0; padding: 0; position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.step { border-top: 2px solid rgba(238,242,246,.22); padding-top: 10px; color: var(--on-dark-muted); transition: color .4s var(--ease), border-color .4s var(--ease); }
.step b { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: inherit; line-height: 1.05; }
.step .spec { font-size: 12px; }
.step.on { color: var(--on-dark); border-color: var(--copper-hi); }
.step.on .spec { color: var(--copper-hi); }
.scroll-cue { position: absolute; right: var(--pad); top: 50%; writing-mode: vertical-rl; color: var(--on-dark-muted); display: none; }
@media (min-width: 1000px) {
  .hero-copy { top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 120px; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
  .hero-copy h1 { font-size: clamp(64px, min(9.5vw, 13.5vh), 150px); }
  .hero-sub { font-size: 19px; }
  .steps { left: auto; right: var(--pad); width: min(560px, 46vw); bottom: 40px; }
  .step b { font-size: 22px; }
}
@media (max-width: 380px) { .hero-copy h1 { font-size: 52px; } }

/* ---------- sections ---------- */
section { position: relative; }
.band { padding: clamp(72px, 12vw, 140px) 0; }
.dark { background: var(--navy); color: var(--on-dark); }
.ink { background: var(--ink); color: var(--on-dark); }
.on-paper { background: var(--paper); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--copper-lo); margin-bottom: 18px; }
.dark .kicker, .ink .kicker { color: var(--copper-hi); }
.kicker::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); }
@media (min-width: 900px) { .head { grid-template-columns: 1.15fr .85fr; align-items: end; gap: 48px; } .head p { margin: 0; } }
.head p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.dark .head p, .ink .head p { color: var(--on-dark-muted); }

/* pipe divider: a copper run with a brazed joint */
.pipe { height: 14px; position: relative; background: linear-gradient(180deg, transparent 5px, var(--copper) 5px, var(--copper-hi) 7px, var(--copper-lo) 9px, transparent 9px); }
.pipe::after { content: ""; position: absolute; left: 18%; top: 2px; width: 18px; height: 10px; border-radius: 2px; background: linear-gradient(180deg, var(--copper-hi), var(--copper-lo)); }

/* credential ticker */
.creds { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.creds-track { display: flex; gap: 48px; padding: 18px 0; flex-wrap: wrap; justify-content: center; row-gap: 12px; column-gap: 40px; padding-left: var(--pad); padding-right: var(--pad); }
.creds-track span[aria-hidden="true"] { display: none; }
.creds-track span { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.creds-track span::before { content: ""; width: 7px; height: 7px; background: var(--copper); transform: rotate(45deg); flex: none; }
@media (max-width: 759px) { .creds-track { display: grid; grid-template-columns: 1fr; justify-items: start; row-gap: 10px; } }
@keyframes tick { to { transform: translateX(-50%); } }

/* two doors */
.doors { display: grid; gap: 16px; }
@media (min-width: 860px) { .doors { grid-template-columns: 1fr 1fr; gap: 24px; } }
.door { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,21,38,.05) 25%, rgba(7,21,38,.92) 78%); }
.door:hover img, .door:focus-visible img { transform: scale(1.06); }
.door::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: inherit; transition: border-color .3s var(--ease); pointer-events: none; }
.door:hover::after { border-color: var(--copper-hi); }
.door:focus-visible::after { border-color: var(--yellow); }
.door .spec { color: var(--copper-hi); margin-bottom: 10px; }
.door h3 { font-size: clamp(38px, 7vw, 56px); line-height: .95; }
.door ul { list-style: none; padding: 0; margin: 16px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.door li { font-size: 14px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; }
.door .go { font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .06em; display: inline-flex; gap: 10px; align-items: center; }
.door .go .arr { transition: transform .3s var(--ease); }
.door:hover .go .arr { transform: translateX(6px); }

/* specialty rows */
.spec-row { display: grid; gap: 28px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line-light); }
.dark .spec-row { border-color: var(--line-dark); }
@media (min-width: 900px) { .spec-row { grid-template-columns: 1fr 1fr; gap: 64px; } .spec-row.flip .media { order: 2; } }
.media { position: relative; border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(7,21,38,.86); color: var(--on-dark); padding: 6px 10px; border-radius: 2px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--copper); }
.dark .ticks li::before { background: var(--copper-hi); }
.gas-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 2px; }
.chip.o2 { background: #1f7a3a; color: #fff; } .chip.air { background: #f1c21b; color: #111; } .chip.vac { background: #f4f4f0; color: #111; box-shadow: inset 0 0 0 1px #c7c3b8; }
.chip.n2o { background: #1d4f9c; color: #fff; } .chip.n2 { background: #111; color: #fff; } .chip.co2 { background: #5f6368; color: #fff; } .chip.wagd { background: #6b2f86; color: #fff; }

/* figures / stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--navy); padding: 26px 20px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 8vw, 72px); line-height: .9; color: var(--copper-hi); }
.stat span { display: block; margin-top: 8px; color: var(--on-dark-muted); font-size: 15px; }

/* family */
.family { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .family { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.quote { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 5vw, 50px); line-height: 1.02; text-transform: uppercase; margin: 0 0 18px; }
.quote::before { content: "\201C"; color: var(--copper); }
.quote::after { content: "\201D"; color: var(--copper); }

/* rules grid */
.rules { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rule { background: var(--paper); padding: 28px 24px; }
.rule .spec { color: var(--copper-lo); }
.rule h3 { margin: 10px 0 10px; }
.rule p { color: var(--muted); margin: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--navy-2); }
.gallery figure.wide { grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; background: linear-gradient(180deg, transparent, rgba(7,21,38,.88)); font-size: 14px; line-height: 1.3; }
.gallery figcaption .spec { display: block; color: var(--copper-hi); font-size: 12px; margin-bottom: 3px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-light); background: transparent; font: 600 15px var(--body); color: var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters button[aria-pressed="true"]:hover { background: #9c5d26; border-color: #9c5d26; }
.gallery figure[hidden] { display: none; }

/* service cards */
.cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(10,37,64,.45); border-color: var(--copper); }
.card .spec { color: var(--copper-lo); }
.card h3 { font-size: 28px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.dark .card { background: var(--navy-2); border-color: var(--line-dark); }
.dark .card p { color: var(--on-dark-muted); }
.dark .card .spec { color: var(--copper-hi); }

/* page hero (inner pages) */
.page-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; padding: 120px 0 48px; color: var(--on-dark); background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,21,38,.55), rgba(7,21,38,.35) 40%, rgba(7,21,38,.94) 92%); }
.page-hero h1 { font-size: clamp(54px, 13vw, 132px); max-width: 11ch; }
.page-hero .lede { margin-top: 18px; color: var(--on-dark); }
.page-hero .spec { color: var(--copper-hi); margin-bottom: 14px; display: block; }
@keyframes settle { to { transform: scale(1); } }
.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; }
.crumb a { text-decoration: none; display: inline-block; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease), color .2s; } .crumb a:hover { color: var(--copper-hi); background-size: 100% 1.5px; }

/* spec table */
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.table th { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-lo); width: 34%; }
.dark .table th, .dark .table td { border-color: var(--line-dark); }
.dark .table th { color: var(--copper-hi); }

/* checklist (grease trap helper) */
.check { display: grid; gap: 10px; counter-reset: c; }
.check label { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line-light); padding: 16px; border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.check label:hover { border-color: var(--copper); }
.check input { width: 22px; height: 22px; accent-color: var(--copper); margin-top: 2px; flex: none; }
.check input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--copper); }
.meter { margin-top: 16px; height: 10px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--copper-lo), var(--copper-hi)); transition: width .5s var(--ease); }
.meter-label { margin-top: 10px; color: var(--muted); }

/* form */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .legend { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-lo); }
.field input, .field textarea, .field select { font: 400 17px var(--body); padding: 14px; border: 1.5px solid var(--line-light); border-radius: var(--radius); background: #fff; color: var(--text); min-height: 52px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(184,115,51,.18); }
.field input:user-invalid { border-color: #b3261e; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; }
@media (min-width: 640px) { .types { grid-template-columns: repeat(4, 1fr); } }
.types label { position: relative; display: block; cursor: pointer; }
.types input { position: absolute; inset: 0; appearance: none; -webkit-appearance: none; background: transparent; border: 0; margin: 0; padding: 0; cursor: pointer; }
.types input:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 2px; }
.types span { display: flex; flex-direction: column; gap: 2px; min-height: 64px; justify-content: center; padding: 10px 12px; border: 1.5px solid var(--line-light); border-radius: var(--radius); background: #fff; font-weight: 600; font-size: 15px; transition: border-color .2s, background .2s; }
.types span small { font-weight: 400; color: var(--muted); font-size: 13px; }
.types input:checked + span { border-color: var(--copper); background: #f5ece3; box-shadow: inset 0 0 0 1px var(--copper); }
.types input:focus-visible + span { outline: 3px solid var(--copper-hi); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--muted); }
.sent { display: none; padding: 18px; border-top: 3px solid var(--copper); background: #fff; }
.form.done .sent { display: block; }

/* contact panel */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.lines { display: grid; gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.lines > * { background: var(--navy-2); padding: 18px 20px; display: block; text-decoration: none; }
.lines a:hover { background: #17406b; }
.lines .spec { color: var(--copper-hi); display: block; margin-bottom: 4px; }
.lines b { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: .02em; }

/* CTA band */
.cta { background: #9c5d26; color: #fff; padding: clamp(64px, 10vw, 120px) 0; overflow: hidden; position: relative; }

.cta .wrap { position: relative; display: grid; gap: 24px; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.3fr .7fr; align-items: end; } }
.cta h2 { font-size: clamp(46px, 10vw, 104px); }
.cta .spec { color: #ffffff; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn-navy { background: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper::before { background: #fff; }

/* footer */
footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 110px; font-size: 15px; }
footer .grid { display: grid; gap: 32px; }
@media (min-width: 900px) { footer .grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } footer { padding-bottom: 48px; } }
footer .fh { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-hi); margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
footer ul a { display: inline-block; padding: 6px 0; min-height: 32px; }
footer a { text-decoration: none; color: var(--on-dark); }
footer a:hover { color: var(--copper-hi); }
footer .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
footer .big { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--on-dark); text-transform: uppercase; line-height: 1; margin-bottom: 12px; }

/* sticky mobile call bar */
.callbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: grid; grid-template-columns: 1fr auto; gap: 8px; transform: translateY(140%); transition: transform .4s var(--ease); }
.callbar.show { transform: none; }
.callbar a { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--radius); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.callbar .c1 { background: var(--yellow); color: #111; white-space: nowrap; }
.callbar svg { width: 20px; height: 20px; flex: none; }
.callbar .c2 { white-space: nowrap; }
.callbar .c2 { background: var(--navy); color: #fff; padding: 0 18px; border: 1px solid var(--line-dark); }
@media (min-width: 980px) { .callbar { display: none; } }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv:focus-within { opacity: 1; transform: none; transition: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--on-dark); padding: 120px var(--pad) 60px; }
.nf h1 { font-size: clamp(64px, 16vw, 160px); }
.nf p { color: var(--on-dark-muted); max-width: 40ch; margin: 16px auto 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .creds-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* review pass 2: focus, selection, legibility */
::selection { background: var(--copper-hi); color: var(--ink); }
.btn:focus-visible, .door:focus-visible, .card:focus-visible, .call-btn:focus-visible, .callbar a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(7,21,38,.9); }
.btn:focus-visible { filter: brightness(1.18); }
footer a:focus-visible, .card p a:focus-visible { background-color: rgba(255,196,0,.4); }
.card p a { display: inline-block; padding: 5px 1px; margin: -5px 0; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible, .types input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.brand { transition: opacity .2s; } .brand:hover { opacity: .8; }
.brand:hover img { transform: rotate(-4deg); } .brand img { transition: transform .3s var(--ease); }
.lines b.email { font-family: var(--body); font-weight: 600; font-size: 18px; letter-spacing: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .lines b.email { font-size: 14.5px; letter-spacing: -0.01em; } }
@media (min-width: 1000px) { .stage-shade { background: linear-gradient(90deg, rgba(7,21,38,.97) 0%, rgba(7,21,38,.9) 34%, rgba(7,21,38,.35) 52%, rgba(7,21,38,0) 64%), linear-gradient(180deg, rgba(7,21,38,.5) 0%, rgba(7,21,38,0) 22%, rgba(7,21,38,0) 75%, rgba(7,21,38,.85) 100%); } }
