/* ABS Tool & Machining — site styles
   Direction: an engineering-print look. Navy and white with one red accent,
   hairline rules instead of rounded cards, mono labels like drawing callouts. */
:root {
  --ink: #0f1a2b;
  --navy: #0a3161;
  --navy-deep: #071f3f;
  --red: #d7261e;
  --text: #1b2533;
  --muted: #566274;
  --line: #d8dde4;
  --line-dark: rgba(255, 255, 255, .16);
  --mist: #f3f5f8;
  --paper: #ffffff;
  /* names used inside the illustrations */
  --rule: #d8dde4;
  --hot: #d7261e;
  --accent: #0a3161;
  --display: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); color: var(--ink); line-height: 1.04; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* Labels like drawing callouts */
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.label::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.on-dark .label { color: #a9c1ea; }

/* Utility bar */
.utility { background: var(--navy-deep); color: #c9d4e4; font-size: .8rem; }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 8px; }
.utility span { display: inline-flex; align-items: center; gap: 8px; }
.utility .items { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.utility svg { width: 14px; height: 14px; color: #8fb0e6; flex: none; }
.utility b { color: #fff; font-weight: 600; }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.mark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.mark svg { width: 72px; height: 72px; flex: none; }
.mark .words { display: grid; gap: 4px; }
.mark .name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: .9; letter-spacing: .01em; }
.mark .sub { display: flex; align-items: center; gap: 7px; font-family: var(--body); font-size: .76rem; font-weight: 600; letter-spacing: .03em; color: #2b3644; white-space: nowrap; }
.mark .sub::before { content: ""; width: 16px; height: 3px; background: var(--red); }
nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a { position: relative; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-block: 8px; }
nav.main a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .2s ease; }
nav.main a:not(.btn):hover::after, nav.main a[aria-current="page"]::after { right: 0; }
nav.main a[aria-current="page"] { color: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .82rem var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 15px 24px; border: 2px solid var(--red); background: var(--red); color: #fff; text-decoration: none; cursor: pointer; border-radius: 2px; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: #b81e17; border-color: #b81e17; }
.btn svg { width: 16px; height: 16px; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.line { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
nav.main .btn { padding: 12px 18px; font-size: .74rem; color: #fff; }

/* Home hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 62%, #12407a 100%); color: #e6edf6; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 88px 96px; }
.hero h1 { color: #fff; font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif; font-size: clamp(2.3rem, 4.9vw, 4rem); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; margin-top: 22px; }
.hero h1 span { color: #ff6a5f; }
.hero .lede { margin-top: 24px; max-width: 34em; font-size: 1.15rem; line-height: 1.6; color: #c7d3e3; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .access { display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; border-top: 1px solid var(--line-dark); }
.hero .access div { padding: 16px 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line-dark); }
.hero .access div:last-child { border-right: 0; margin-right: 0; }
.hero .access b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.1; }
.hero .access span { font-size: .82rem; color: #a9b8cc; }

/* Drawing frame around illustrations */
.drawing { border: 1px solid rgba(255,255,255,.28); background: rgba(5, 18, 38, .45); }
.drawing .art { padding: 22px 22px 6px; }
.drawing .art > svg { display: block; width: 100%; height: auto; }
.titleblock { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid rgba(255,255,255,.28); font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.titleblock div { padding: 8px 12px; border-left: 1px solid rgba(255,255,255,.28); display: grid; gap: 2px; min-width: 0; }
.titleblock div:first-child { border-left: 0; }
.titleblock small { color: #8ea3c0; font-size: .58rem; }
.titleblock b { color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: fly 2.4s ease-out infinite; transform-box: fill-box; }
  .chip:nth-of-type(2) { animation-delay: .5s; } .chip:nth-of-type(3) { animation-delay: 1.1s; }
  .chip:nth-of-type(4) { animation-delay: 1.6s; } .chip:nth-of-type(5) { animation-delay: .8s; }
  @keyframes fly { 0% { opacity: 0; transform: translate(0,0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(220deg); } }
  .spin { animation: flutes 1.2s linear infinite; }
  @keyframes flutes { to { transform: translateY(-36px); } }
}

/* Figures band */
.figures { border-bottom: 1px solid var(--line); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figure { padding: 34px 28px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure b { display: block; font-family: var(--display); font-size: 2.9rem; font-weight: 800; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.figure span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* Sections */
.section { padding-block: 104px; }
.section.mist { background: var(--mist); }
.section.dark { background: var(--navy-deep); color: #cbd6e5; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; margin-top: 16px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; max-width: 40em; }
.section.dark .sec-head p { color: #a9b8cc; }

/* Service grid (home) */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; background: var(--paper); min-width: 0; transition: background .2s; }
.svc:hover { background: #fafbfd; }
.svc .pic { background: linear-gradient(160deg, #1d2a3c, #0e1724); aspect-ratio: 16 / 11; display: grid; place-items: center; position: relative; }
.svc .pic svg { width: 76%; height: auto; }
.svc .pic .code { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; color: #9db6dd; }
.svc .txt { padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; }
.svc h3 { font-size: 1.55rem; font-weight: 700; }
.svc p { color: var(--muted); font-size: .95rem; }
.svc a.more { margin-top: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.svc a.more:hover { color: var(--red); }
.svc a.more svg { width: 14px; height: 14px; flex: none; }

/* Advantage grid */
.adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.adv > div { padding: 32px 32px 34px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; min-width: 0; }
.adv > div:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.adv svg { width: 28px; height: 28px; color: var(--red); margin-top: 2px; }
.adv h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.adv p { color: var(--muted); font-size: .94rem; margin-top: 4px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.step { border-top: 2px solid rgba(255,255,255,.22); padding-top: 22px; position: relative; min-width: 0; }
.step::before { counter-increment: step; content: "Step 0" counter(step); display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #ff7a70; margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--red); }
.step h3 { font-size: 1.6rem; font-weight: 700; }
.step p { margin-top: 8px; font-size: .95rem; color: #a9b8cc; }
.section:not(.dark) .step { border-top-color: var(--line); }
.section:not(.dark) .step::before { color: var(--red); }
.section:not(.dark) .step p { color: var(--muted); }

/* CTA band */
.cta-band { background: var(--red); color: #fff; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: 56px; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.cta-band p { margin-top: 8px; color: #ffe1de; font-size: 1.05rem; }
.cta-band .right { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cta-band .phone { font-family: var(--display); font-size: 2rem; font-weight: 700; color: #fff; user-select: all; font-variant-numeric: tabular-nums; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

/* Inner page banner */
.banner { background: linear-gradient(115deg, var(--navy-deep), var(--navy)); color: #c7d3e3; position: relative; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent 20%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); }
.banner .wrap { position: relative; padding-block: 64px 60px; display: grid; gap: 16px; }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8ea3c0; }
.crumbs a { color: #c7d3e3; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.banner h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; }
.banner p { max-width: 42em; font-size: 1.12rem; }

/* Service detail rows */
.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding-block: 64px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.svc-row:nth-child(even) .pic { order: 2; }
.svc-row .pic { background: linear-gradient(160deg, #1d2a3c, #0e1724); aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.svc-row .pic svg { width: 74%; height: auto; }
.svc-row .pic .code { position: absolute; left: 16px; top: 14px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: #9db6dd; }
.svc-row h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; margin-top: 14px; }
.svc-row p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 36em; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.checks li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--red); }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.inds div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 14px; align-items: baseline; min-width: 0; }
.inds div span { font-family: var(--mono); font-size: .7rem; color: var(--red); letter-spacing: .08em; }

/* About */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.story h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 800; margin-top: 16px; }
.story .story-copy { display: grid; gap: 18px; margin-top: 26px; font-size: 1.08rem; color: var(--muted); max-width: 40em; }
.story .pull { margin-top: 32px; padding-left: 22px; border-left: 3px solid var(--red); font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1.2; color: var(--navy); }
.spec { margin: 0; border: 1px solid var(--line); }
.spec .cap { background: var(--navy); color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 18px; }
.spec div { display: grid; grid-template-columns: 120px minmax(0, 1fr); border-top: 1px solid var(--line); }
.spec dt { padding: 14px 18px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--mist); border-right: 1px solid var(--line); }
.spec dd { margin: 0; padding: 14px 18px; font-weight: 500; font-size: .95rem; }
.why2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.shop-pic { background: linear-gradient(160deg, #1d2a3c, #0e1724); aspect-ratio: 5 / 4; position: relative; overflow: hidden; }
.shop-pic svg { width: 100%; height: 100%; display: block; }
.why-list { display: grid; border-top: 1px solid var(--line); }
.why-list > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.why-list .n { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--line); line-height: 1; }
.why-list h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 600; }
.why-list p { color: var(--muted); font-size: .96rem; margin-top: 4px; }

/* Quote */
.quote-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
form.rfq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; border: 1px solid var(--line); padding: 36px; background: var(--paper); }
form.rfq .full { grid-column: 1 / -1; }
form.rfq h2 { font-size: 2rem; font-weight: 800; }
form.rfq .sub { color: var(--muted); margin-top: 6px; }
label { display: grid; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); min-width: 0; }
label .hint { font-family: var(--mono); font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); }
input, select, textarea { font: 400 1rem var(--body); letter-spacing: 0; text-transform: none; padding: 13px 14px; border: 1px solid #c4ccd6; border-radius: 2px; background: #fbfcfd; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,49,97,.15); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .95rem; padding: 14px 16px; background: var(--mist); border-left: 3px solid var(--navy); }
aside.side { display: grid; gap: 24px; }
.side-box { border: 1px solid var(--line); }
.side-box .cap { background: var(--navy); color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 18px; }
.side-box .in { padding: 22px 20px; display: grid; gap: 8px; }
.side-box .num { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; user-select: all; font-variant-numeric: tabular-nums; }
.side-box small { color: var(--muted); font-size: .88rem; }
.copy { justify-self: start; margin-top: 6px; font: 600 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; background: transparent; border: 1px solid var(--navy); color: var(--navy); padding: 8px 12px; border-radius: 2px; cursor: pointer; }
.copy:hover { background: var(--navy); color: #fff; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li { padding: 11px 0 11px 24px; border-bottom: 1px solid var(--line); position: relative; font-size: .94rem; }
.side-box li:last-child { border-bottom: 0; }
.side-box li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--red); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--muted); max-width: 46em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: stretch; }
.map { position: relative; display: block; min-height: 380px; border: 1px solid var(--line); background: var(--paper); overflow: hidden; color: inherit; text-decoration: none; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map .open { position: absolute; right: 16px; bottom: 16px; background: var(--navy); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; }
.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 72px; }
.reach > div { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.reach > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.reach .label { margin-bottom: 14px; }
.reach h3 { font-size: 1.6rem; font-weight: 700; }
.reach p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* Footer */
footer.site { background: var(--ink); color: #9fadc0; font-size: .92rem; }
footer.site .top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 72px 56px; }
footer.site h4 { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer.site a { color: #c5d0de; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .brand { display: grid; gap: 18px; align-content: start; }
footer.site .brand .row { display: flex; align-items: center; gap: 14px; color: #fff; }
footer.site .brand .row svg { width: 52px; height: 52px; flex: none; }
footer.site .brand .row b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: .95; }
footer.site .brand p { max-width: 30em; }
footer.site .fphone { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.1); }
footer.site .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: .8rem; color: #7d8ba0; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.site .top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero .wrap, .sec-head, .svc-row, .story, .why2, .quote-grid, .contact-grid, .cta-band .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .svc-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .svc-row:nth-child(even) .pic { order: 0; }
  .hero .wrap { padding-block: 56px 64px; }
  .figures .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3) { border-left: 0; padding-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .adv { grid-template-columns: minmax(0, 1fr); }
  .adv > div, .adv > div:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .reach { grid-template-columns: minmax(0, 1fr); }
  .reach > div + div { padding-left: 0; border-left: 0; }
  .section { padding-block: 72px; }
  .sec-head { margin-bottom: 36px; }
  header.site .wrap { flex-wrap: wrap; row-gap: 4px; padding-block: 10px; min-height: 0; }
  nav.main { width: 100%; gap: 22px; overflow-x: auto; }
  nav.main a { white-space: nowrap; }
  nav.main .btn { display: none; }
  .utility .addr { display: none; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--navy-deep); }
  .callbar a { flex: 1; text-align: center; padding: 13px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
  .callbar .c1 { background: var(--red); color: #fff; }
  .callbar .c2 { border: 1px solid rgba(255,255,255,.35); color: #fff; }
  footer.site .bottom .wrap { padding-bottom: 92px; }
}
@media (max-width: 560px) {
  .mark .sub { display: none; }
  .mark svg { width: 56px; height: 56px; }
  .mark .name { font-size: 1.35rem; }
  .svc-grid, .inds, .checks, footer.site .top { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  form.rfq { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .hero .access div { border-right: 0; margin-right: 0; width: 100%; padding-right: 0; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock div:first-child { grid-column: 1 / -1; }
  .titleblock div:nth-child(2) { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .titleblock div:nth-child(3) { border-top: 1px solid rgba(255,255,255,.28); }
  .spec div { grid-template-columns: minmax(0, 1fr); }
  .spec dt { border-right: 0; padding-bottom: 6px; }
  .utility .items span:nth-child(n+2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
#quote-form { scroll-margin-top: 120px; }
nav.main a.btn[aria-current="page"] { color: #fff; }

/* ---------- Ask Bob assistant ---------- */
.askbob { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; font-family: var(--body); }
.ab-launch { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; background: var(--navy); color: #fff; border: 2px solid #fff; border-radius: 999px; font: 600 .82rem var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(7,31,63,.6); transition: transform .15s, background .15s; }
.ab-launch:hover { background: var(--navy-deep); transform: translateY(-2px); }
.ab-launch svg { width: 26px; height: 26px; color: #fff; background: var(--red); border-radius: 50%; padding: 4px; flex: none; }
.askbob.is-open .ab-launch { display: none; }
.ab-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(7,31,63,.45); }
.ab-panel[hidden] { display: none !important; }
.ab-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy); color: #fff; border-bottom: 3px solid var(--red); }
.ab-head b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 700; line-height: 1; color: #fff; }
.ab-head small { display: block; font-size: .72rem; color: #b9c8de; margin-top: 3px; }
.ab-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex: none; }
.ab-avatar svg { width: 22px; height: 22px; color: #fff; }
.ab-close { margin-left: auto; width: 34px; height: 34px; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.ab-close:hover { background: rgba(255,255,255,.1); }
.ab-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--mist); }
.ab-msg { max-width: 88%; padding: 10px 13px; font-size: .92rem; line-height: 1.5; }
.ab-msg p { margin: 0; }
.ab-bot { justify-self: start; background: #fff; border: 1px solid var(--line); color: var(--text); }
.ab-you { justify-self: end; background: var(--navy); color: #fff; }
.ab-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.ab-links a { font-size: .8rem; font-weight: 600; color: var(--red); text-decoration: none; }
.ab-links a:hover { text-decoration: underline; }
.ab-typing { display: flex; gap: 4px; padding: 13px 14px; }
.ab-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa6b6; animation: abdot 1s infinite ease-in-out; }
.ab-typing span:nth-child(2) { animation-delay: .15s; } .ab-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes abdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ab-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: #fff; border-top: 1px solid var(--line); }
.ab-chips button { font: 500 .76rem var(--body); padding: 6px 10px; border: 1px solid #c4ccd6; background: #fff; color: var(--navy); cursor: pointer; border-radius: 999px; }
.ab-chips button:hover { border-color: var(--navy); background: var(--mist); }
.ab-form { display: flex; gap: 8px; padding: 10px 12px; background: #fff; }
.ab-form input { flex: 1; min-width: 0; padding: 11px 12px; font-size: .92rem; }
.ab-form button { width: 44px; flex: none; background: var(--red); border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
.ab-form button svg { width: 18px; height: 18px; }
.ab-form button:hover { background: #b81e17; }
.ab-foot { padding: 0 12px 10px; font-size: .72rem; color: var(--muted); background: #fff; }
.ab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 900px) {
  .askbob { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
  .ab-launch { padding: 10px 16px 10px 10px; }
  .ab-panel { width: calc(100vw - 28px); height: min(520px, calc(100vh - 170px)); }
}

/* Phone number shown as an image */
img.ph { display: inline-block; height: .92em; width: auto; max-width: none; vertical-align: -.14em; }
img.ph-w { filter: brightness(0) invert(1); }
.callbar img.ph { height: 1.05em; }

/* ---------- Home page: everything on one screen ---------- */
body.home { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.home-main { flex: 1; display: flex; flex-direction: column; }
.home .hero { flex: 1; display: flex; align-items: center; }
.home .hero .wrap { width: 100%; padding-block: clamp(16px, 3.6vh, 52px); gap: clamp(28px, 4vw, 56px); }
.home .hero h1 { font-size: clamp(1.9rem, min(4.4vw, 6.6vh), 4rem); margin-top: clamp(8px, 1.6vh, 20px); }
.home .hero .lede { font-size: clamp(.92rem, 1.9vh, 1.1rem); margin-top: clamp(10px, 2vh, 22px); max-width: 36em; }
.home .hero .actions { margin-top: clamp(14px, 2.8vh, 32px); }
.home .hero .access { margin-top: clamp(14px, 2.8vh, 36px); }
.home .hero .access div { padding-top: clamp(8px, 1.4vh, 16px); }
.home .hero .access b { font-size: clamp(1.05rem, 2.4vh, 1.45rem); }
.home .drawing .art { padding: clamp(10px, 1.8vh, 22px) clamp(10px, 1.8vh, 22px) 4px; }
.home .drawing .art > svg { height: min(42vh, 440px); width: 100%; }

.home-strip { background: #fff; border-top: 3px solid var(--red); }
.home-strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-strip .tile { display: flex; align-items: center; gap: 14px; padding: clamp(10px, 1.8vh, 20px) 18px; border-left: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; transition: background .15s; }
.home-strip .tile:first-child { border-left: 0; padding-left: 0; }
.home-strip .tile:hover { background: var(--mist); }
.home-strip .tpic { flex: none; width: clamp(54px, 7vh, 72px); aspect-ratio: 4 / 3; background: linear-gradient(160deg, #1d2a3c, #0e1724); display: grid; place-items: center; }
.home-strip .tpic svg { width: 86%; height: auto; }
.home-strip .tt { display: grid; gap: 2px; min-width: 0; }
.home-strip .tt b { font-family: var(--display); font-size: 1.2rem; font-weight: 700; line-height: 1.05; }
.home-strip .tt small { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-strip .tgo { flex: none; width: 16px; height: 16px; margin-left: auto; color: var(--red); }

.home-foot { background: var(--ink); color: #9fadc0; font-size: .78rem; }
.home-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 10px; }
.home-foot .links { display: flex; gap: 18px; }
.home-foot a { color: #c5d0de; text-decoration: none; }
.home-foot a:hover { color: #fff; }
.home .askbob { bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }

/* Short screens: drop the three highlights so the rest still fits */
@media (min-width: 901px) and (max-height: 720px) {
  .home .hero .access { display: none; }
  .home .hero .label { display: none; }
}
@media (max-width: 1080px) {
  .home-strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-strip .tile:nth-child(3) { border-left: 0; padding-left: 0; }
  .home-strip .tile:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  body.home { display: block; }
  .home .drawing .art > svg { height: auto; }
  .home .askbob { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .home-foot .wrap { padding-bottom: 92px; }
}
@media (max-width: 560px) {
  .home-strip .wrap { grid-template-columns: minmax(0, 1fr); }
  .home-strip .tile { padding-left: 0; border-left: 0; }
  .home-strip .tile + .tile { border-top: 1px solid var(--line); }
}
.home .hero .access { flex-wrap: nowrap; }
.home .hero .access div { padding-right: clamp(14px, 1.6vw, 22px); margin-right: clamp(14px, 1.6vw, 22px); min-width: 0; }
.home .hero .access span { white-space: nowrap; }
@media (min-width: 901px) { .home .askbob { bottom: calc(clamp(96px, 13vh, 132px) + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 901px) and (max-height: 620px) { .home .hero .wrap { padding-block: 10px; } .home .hero .actions { margin-top: 12px; } }
.home-strip .tt small { white-space: normal; overflow: visible; line-height: 1.35; }

/* ---------- Inner pages: each fits on one screen ---------- */
body.fit { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.fit-main { flex: 1; display: flex; flex-direction: column; }
.fit-head { background: linear-gradient(115deg, var(--navy-deep), var(--navy) 70%, #12407a); color: #c7d3e3; position: relative; overflow: hidden; }
.fit-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.fit-head .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; padding-block: clamp(14px, 3vh, 36px); }
.fit-head .label a { color: inherit; text-decoration: none; }
.fit-head h1 { color: #fff; font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.8rem, min(3.6vw, 5.4vh), 3.2rem); line-height: 1; margin-top: clamp(6px, 1.2vh, 14px); }
.fit-head h1 span { color: #ff6a5f; }
.fit-lede { max-width: 30em; font-size: clamp(.9rem, 1.8vh, 1.05rem); line-height: 1.55; }
.fit-body { flex: 1; display: flex; align-items: center; }
.fit-body > .wrap { width: 100%; padding-block: clamp(14px, 3.2vh, 40px); }
.fit .askbob { bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }

/* Services */
.sv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.sv { display: grid; align-content: start; gap: clamp(6px, 1.1vh, 12px); min-width: 0; scroll-margin-top: 140px; }
.sv-pic { height: clamp(78px, 17vh, 200px); background: linear-gradient(160deg, #1d2a3c, #0e1724); display: grid; place-items: center; }
.sv-pic svg { height: 82%; width: auto; max-width: 82%; }
.sv h2 { font-size: clamp(1.2rem, 2.6vh, 1.6rem); font-weight: 700; margin-top: 4px; }
.sv p { color: var(--muted); font-size: clamp(.82rem, 1.7vh, .95rem); line-height: 1.5; }
.sv ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sv li { padding: clamp(4px, .8vh, 8px) 0 clamp(4px, .8vh, 8px) 20px; border-bottom: 1px solid var(--line); position: relative; font-size: clamp(.78rem, 1.6vh, .88rem); }
.sv li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; background: var(--red); }
.fit-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(14px, 3vh, 36px); padding-top: clamp(12px, 2.2vh, 24px); border-top: 1px solid var(--line); }
.fit-bar p { font-size: clamp(.8rem, 1.7vh, .92rem); color: var(--muted); max-width: 62em; }
.fit-bar p b { color: var(--ink); }
.fit-bar .btn { padding: 12px 20px; flex: none; }

/* About */
.ab-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ab-copy { display: grid; gap: clamp(8px, 1.4vh, 14px); margin-top: clamp(8px, 1.4vh, 14px); color: var(--muted); font-size: clamp(.86rem, 1.8vh, 1rem); line-height: 1.6; max-width: 46em; }
.why4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(8px, 1.4vh, 14px); border-top: 1px solid var(--line); }
.why4 > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: clamp(8px, 1.5vh, 16px) 0; border-bottom: 1px solid var(--line); }
.why4 .n { font-family: var(--display); font-size: 1.4rem; font-weight: 800; color: var(--red); line-height: 1; }
.why4 h3 { font-family: var(--body); font-size: clamp(.86rem, 1.8vh, .98rem); font-weight: 600; line-height: 1.3; }
.why4 p { color: var(--muted); font-size: clamp(.78rem, 1.6vh, .88rem); line-height: 1.45; margin-top: 2px; }
.spec.compact div { grid-template-columns: 104px minmax(0, 1fr); }
.spec.compact .cap { padding: 10px 16px; }
.spec.compact dt { padding: clamp(6px, 1.2vh, 12px) 14px; font-size: .66rem; }
.spec.compact dd { padding: clamp(6px, 1.2vh, 12px) 14px; font-size: clamp(.8rem, 1.7vh, .92rem); line-height: 1.45; }

/* Quote */
.qt-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
form.rfq.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vh, 16px) 16px; padding: clamp(14px, 2.6vh, 28px); }
form.rfq.compact label { font-size: .68rem; gap: 5px; }
form.rfq.compact input, form.rfq.compact select { padding: clamp(7px, 1.2vh, 11px) 11px; font-size: .92rem; }
form.rfq.compact textarea { min-height: clamp(52px, 9vh, 100px); height: clamp(52px, 9vh, 100px); padding: 9px 11px; font-size: .92rem; }
.qt-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.qt-send .btn { padding: 12px 20px; }
.qt-send span { font-size: .84rem; color: var(--muted); }
.qt-grid .side { gap: clamp(12px, 2vh, 20px); }
.qt-grid .side-box .in { padding: clamp(12px, 2vh, 20px) 18px; }
.qt-grid .side-box li { padding-block: clamp(6px, 1.1vh, 10px); font-size: .88rem; }
.qt-grid .side-box li::before { top: 50%; }

/* Contact */
.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3.4vw, 48px); align-items: stretch; }
.ct-left { display: grid; gap: clamp(12px, 2.4vh, 24px); align-content: start; }
.ct-phone .ph { height: 1.5em; }
.reach3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.reach3 > div { padding: clamp(8px, 1.6vh, 16px) 14px clamp(8px, 1.6vh, 16px) 0; min-width: 0; }
.reach3 > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.reach3 .label { font-size: .64rem; margin-bottom: 6px; }
.reach3 .label::before { width: 14px; }
.reach3 h3 { font-size: clamp(1.05rem, 2.2vh, 1.3rem); font-weight: 700; }
.reach3 p { color: var(--muted); font-size: clamp(.76rem, 1.5vh, .86rem); line-height: 1.45; margin-top: 4px; }
.ct-map { min-height: clamp(220px, 44vh, 520px); }

/* Short screens */
@media (min-width: 901px) and (max-height: 700px) {
  .fit-lede { display: none; }
  .sv ul li:nth-child(4) { display: none; }
}

@media (max-width: 1080px) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-pic { height: 140px; }
}
@media (max-width: 900px) {
  body.fit { display: block; }
  .ab-grid, .qt-grid, .ct-grid { grid-template-columns: minmax(0, 1fr); }
  form.rfq.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit .askbob { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .fit .home-foot .wrap { padding-bottom: 92px; }
  .ct-map { min-height: 300px; }
}
@media (max-width: 560px) {
  .sv-grid, .why4, .reach3 { grid-template-columns: minmax(0, 1fr); }
  .reach3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  form.rfq.compact { grid-template-columns: minmax(0, 1fr); }
}
/* tighter fit for inner pages */
.fit-head .wrap { padding-block: clamp(10px, 2.2vh, 26px); align-items: center; }
.fit-head h1 { margin-top: 4px; }
.sv-pic { height: clamp(70px, 14vh, 190px); }
form.rfq.compact textarea { min-height: clamp(44px, 7vh, 90px); height: clamp(44px, 7vh, 90px); }
.fit-bar { margin-top: clamp(10px, 2.2vh, 30px); padding-top: clamp(10px, 1.8vh, 20px); }
@media (min-width: 901px) and (max-height: 820px) {
  header.site .wrap { min-height: 80px; }
  .mark svg { width: 60px; height: 60px; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .fit .utility { display: none; }
  .fit-head .label { display: none; }
  header.site .wrap { min-height: 72px; }
  .mark svg { width: 54px; height: 54px; }
  .why4 p { display: none; }
  .reach3 p { display: none; }
}
@media (min-width: 901px) and (max-height: 620px) {
  form.rfq.compact { gap: 6px 14px; padding: 12px 16px; }
  form.rfq.compact input, form.rfq.compact select { padding-block: 6px; }
  .fit-body > .wrap { padding-block: 10px; }
  .qt-send .btn { padding-block: 10px; }
}
@media (min-width: 901px) and (max-height: 620px) {
  form.rfq.compact textarea { min-height: 38px; height: 38px; }
  .fit-head .wrap { padding-block: 8px; }
}
/* Dock Ask Bob in the footer bar on one-screen pages so it never covers content */
@media (min-width: 901px) {
  .home .askbob, .fit .askbob { bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  .home .ab-launch, .fit .ab-launch { padding: 7px 16px 7px 8px; font-size: .74rem; border-width: 1px; box-shadow: none; }
  .home .ab-launch svg, .fit .ab-launch svg { width: 22px; height: 22px; }
  .home-foot .wrap { min-height: 50px; align-items: center; padding-right: max(24px, calc(180px - (100vw - 1200px) / 2)); }
}
@media (min-width: 901px) and (max-height: 700px) {
  .fit-body > .wrap { padding-block: 10px; }
  .qt-grid .side-box li { padding-block: 5px; }
}
/* Home drawing: ball nose cutter traverses the recess */
@media (prefers-reduced-motion: no-preference) {
  .tool { animation: traverse 5s ease-in-out infinite alternate; }
  @keyframes traverse { from { transform: translateX(-52px); } to { transform: translateX(52px); } }
}
/* Rendered cutter: step through the spin frames */
@media (prefers-reduced-motion: no-preference) {
  .cutter-spin { animation: cutterspin .22s steps(12) infinite; }
  @keyframes cutterspin { to { transform: translateX(-2784px); } }
}
/* Services: each picture links to the quote form */
a.sv-pic { position: relative; text-decoration: none; overflow: hidden; outline-offset: 3px; transition: box-shadow .2s, transform .2s; }
a.sv-pic svg { transition: transform .25s; }
a.sv-pic:hover, a.sv-pic:focus-visible { box-shadow: inset 0 0 0 3px var(--red); }
a.sv-pic:hover svg, a.sv-pic:focus-visible svg { transform: scale(1.06); }
.sv-go { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 12px; background: var(--red); color: #fff; font: 600 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; transform: translateY(100%); transition: transform .2s; }
a.sv-pic:hover .sv-go, a.sv-pic:focus-visible .sv-go { transform: translateY(0); }
@media (hover: none) { .sv-go { transform: none; } }
/* Home page: Ask Bob sits in the white services strip */
@media (min-width: 901px) {
  .home-strip { position: relative; }
  .home-strip .wrap { padding-right: max(24px, calc(176px - (100vw - 1200px) / 2)); }
  .home-strip .askbob { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: 50%; bottom: auto; transform: translateY(-50%); }
  .home-strip .askbob.is-open { top: auto; bottom: 8px; transform: none; }
  .home-strip .ab-launch { padding: 9px 18px 9px 10px; font-size: .78rem; border: 0; box-shadow: 0 6px 18px -8px rgba(7,31,63,.55); }
  .home-strip .ab-launch svg { width: 24px; height: 24px; }
}
@media (max-width: 900px) {
  .home-strip .askbob { position: fixed; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .home-strip .tt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* Services page: blueprint-style technical drawings (different from the home page icons) */
.sv-pic { background-color: #0d3a73; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(160deg, #124786, #0a2c5c); background-size: 12px 12px, 12px 12px, 100% 100%; border: 1px solid #0a2c5c; }
.sv-pic svg { height: 92%; max-width: 94%; }

/* ---------- Individual service pages ---------- */
.sp-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-switch a { color: #c7d3e3; text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); }
.sp-switch a:hover { border-color: #fff; color: #fff; }
.sp-switch a[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.sp-lede { font-size: clamp(.95rem, 2vh, 1.12rem); color: var(--ink); font-weight: 500; max-width: 60em; margin-bottom: clamp(10px, 2vh, 22px); }
.sp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(24px, 3.6vw, 52px); align-items: start; }
.sp-tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--line); }
.sp-tabs button { font: 600 .74rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: none; border: 0; padding: clamp(8px, 1.4vh, 12px) 14px; margin-bottom: -2px; border-bottom: 2px solid transparent; cursor: pointer; }
.sp-tabs button:hover { color: var(--navy); }
.sp-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--red); }
.sp-panels { display: grid; padding-top: clamp(12px, 2.2vh, 24px); }
.sp-panel { grid-area: 1 / 1; }
.js-tabs .sp-panel[hidden] { display: block !important; visibility: hidden; }
.sp-copy { display: grid; gap: clamp(8px, 1.4vh, 14px); color: var(--text); font-size: clamp(.88rem, 1.85vh, 1rem); line-height: 1.62; max-width: 48em; }
.sp-panel .label { margin-top: clamp(12px, 2.2vh, 22px); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sp-chips span { font-size: .84rem; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); background: var(--mist); }
.sp-chips.big span { font-size: .95rem; padding: 9px 16px; border-left: 3px solid var(--red); background: #fff; }
.sp-note { margin-top: clamp(12px, 2.2vh, 20px); color: var(--muted); font-size: clamp(.86rem, 1.8vh, .98rem); max-width: 46em; padding-left: 14px; border-left: 3px solid var(--navy); }
.sp-what { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.sp-what > div, .sp-faq > div { padding: clamp(7px, 1.3vh, 13px) 0; border-bottom: 1px solid var(--line); }
.sp-what h3, .sp-faq h3 { font-family: var(--body); font-size: clamp(.86rem, 1.8vh, .98rem); font-weight: 600; line-height: 1.3; }
.sp-what p, .sp-faq p { color: var(--muted); font-size: clamp(.8rem, 1.65vh, .9rem); line-height: 1.45; margin-top: 2px; }
.sp-faq { border-top: 1px solid var(--line); }
.sp-steps { list-style: none; margin: 0; padding: 0; counter-reset: sp; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sp-steps li { counter-increment: sp; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; padding: clamp(6px, 1.2vh, 11px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sp-steps li::before { content: "0" counter(sp); grid-row: span 2; font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--red); line-height: 1; }
.sp-steps b { font-size: clamp(.88rem, 1.8vh, .98rem); color: var(--ink); }
.sp-steps span { color: var(--muted); font-size: clamp(.8rem, 1.65vh, .9rem); }
.sp-side { display: grid; gap: clamp(10px, 1.8vh, 18px); }
.sp-draw { height: clamp(110px, 24vh, 250px); display: grid; place-items: center; background-color: #0d3a73; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(160deg, #124786, #0a2c5c); background-size: 12px 12px, 12px 12px, 100% 100%; }
.sp-draw svg { height: 92%; width: auto; max-width: 94%; }
.sp-facts { margin: 0; }
.sp-facts div:first-child { border-top: 0; }
.sp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sp-cta .btn { padding: 12px 20px; }
.sp-call { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.sp-call .ph { height: 1.15em; vertical-align: -.2em; margin-left: 4px; }
@media (min-width: 901px) and (max-height: 700px) {
  .sp-lede { display: none; }
  .sp-switch a { padding: 6px 9px; font-size: .66rem; }
}
@media (max-width: 1080px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } .sp-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .sp-cta { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sp-what { grid-template-columns: minmax(0, 1fr); } .sp-side { grid-template-columns: minmax(0, 1fr); } .sp-tabs button { padding: 8px 10px; } }
.sv-title { color: inherit; text-decoration: none; }
.sv-title:hover { color: var(--red); }

/* October special badge on the home page */
.hero-visual { position: relative; min-width: 0; }
.promo { position: absolute; z-index: 3; top: clamp(-34px, -3vh, -18px); left: clamp(-44px, -3vw, -22px); width: clamp(104px, min(10vw, 18vh), 150px); aspect-ratio: 1; display: block; border-radius: 50%; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); transform: rotate(-8deg); transition: transform .25s ease; }
.promo svg { width: 100%; height: 100%; display: block; }
.promo:hover, .promo:focus-visible { transform: rotate(0deg) scale(1.06); }
.promo:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .promo-spin { transform-origin: 100px 100px; animation: promo-spin 22s linear infinite; }
  @keyframes promo-spin { to { transform: rotate(360deg); } }
}
@media (max-width: 900px) {
  .promo { top: -18px; left: auto; right: -6px; width: 104px; }
}
.promo { width: clamp(120px, min(12vw, 21vh), 176px); }
@media (max-width: 900px) {
  .promo { width: 112px; }
  .home .hero .access { flex-wrap: wrap; }
  .home .hero .access span { white-space: normal; }
}
.promo-note { margin: 0; padding: 8px 12px; background: #fff3f2; border-left: 3px solid var(--red); font-size: .86rem; color: var(--ink); }
.promo-note b { color: var(--red); }
@media (min-width: 901px) and (max-height: 820px) {
  form.rfq.compact textarea { height: clamp(40px, 6vh, 70px); min-height: 40px; }
  .promo-note { padding-block: 6px; }
}
/* Badge on the right side of the drawing */
@media (min-width: 901px) {
  .promo { left: auto; right: clamp(-44px, -3vw, -22px); transform: rotate(8deg); }
  .promo:hover, .promo:focus-visible { transform: rotate(0deg) scale(1.06); }
}
/* Engraving animation: the cutter is positioned by script, chips only fly while cutting */
.tool { animation: none !important; }
.tool:not(.cutting) .chip { visibility: hidden; }

/* Five services: home strip and services grid */
.home-strip .wrap { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-strip .tile { gap: 10px; padding-inline: 12px; }
.home-strip .tt b { font-size: 1.08rem; }
.home-strip .tpic { width: clamp(46px, 6vh, 64px); }
.sv-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.sv h2 { font-size: clamp(1.1rem, 2.4vh, 1.45rem); }
.sp-switch a { padding: 7px 10px; font-size: .68rem; }
@media (max-width: 1080px) {
  .home-strip .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-strip .tile:nth-child(3) { border-left: 1px solid var(--line); padding-left: 12px; }
  .home-strip .tile:nth-child(4) { border-left: 0; padding-left: 0; }
  .home-strip .tile:nth-child(n+4) { border-top: 1px solid var(--line); }
  .sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .home-strip .wrap, .sv-grid { grid-template-columns: minmax(0, 1fr); }
  .home-strip .tile { padding-left: 0; border-left: 0 !important; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .sv-pic { height: clamp(64px, 11.5vh, 150px); }
  .sv p { font-size: .82rem; }
}
/* Home strip: line every tile's words up along the top */
.home-strip .tile { align-items: flex-start; }
.home-strip .tt { align-content: start; }
.home-strip .tgo { margin-top: 4px; }

/* ---------- Cutter & feed libraries page ---------- */
.fl-grid { grid-template-columns: minmax(0, 6.4fr) minmax(0, 4.6fr); }
.fl-terms { margin-top: clamp(10px, 2vh, 20px); }
.fl-table { overflow-x: auto; border: 1px solid var(--line); }
.fl-table table { width: 100%; border-collapse: collapse; font-size: clamp(.8rem, 1.65vh, .9rem); font-variant-numeric: tabular-nums; }
.fl-table th { text-align: left; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 8px 12px; font-weight: 500; }
.fl-table td { padding: clamp(4px, .8vh, 7px) 12px; border-top: 1px solid var(--line); }
.fl-table tr:nth-child(even) td { background: var(--mist); }
.fl-table td + td { text-align: right; } .fl-table th + th { text-align: right; }
.fl-formulas { display: grid; gap: 10px; }
.fl-formulas div { display: grid; gap: 4px; padding: 12px 14px; border-left: 3px solid var(--red); background: var(--mist); }
.fl-formulas span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fl-formulas code { font-family: var(--mono); font-size: clamp(.9rem, 1.9vh, 1.05rem); color: var(--navy); font-weight: 500; }
.fl-calc { border: 1px solid var(--line); background: #fff; }
.fl-calc .cap { background: var(--navy); color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: 11px 16px; }
.fl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.4vh, 12px) 12px; padding: clamp(12px, 2vh, 18px) 16px 6px; }
.fl-form .full { grid-column: 1 / -1; }
.fl-form label { font-size: .66rem; gap: 4px; }
.fl-form input, .fl-form select { padding: clamp(6px, 1vh, 9px) 10px; font-size: .9rem; }
.fl-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: clamp(8px, 1.4vh, 12px) 16px 0; border: 1px solid var(--line); }
.fl-out div { display: grid; padding: clamp(8px, 1.4vh, 12px) 14px; }
.fl-out div + div { border-left: 1px solid var(--line); }
.fl-out span { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fl-out b { font-family: var(--display); font-size: clamp(1.7rem, 4vh, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1.05; font-variant-numeric: tabular-nums; }
.fl-out small { color: var(--red); font-weight: 600; font-size: .74rem; letter-spacing: .1em; }
.fl-detail { margin: 8px 16px 0; font-size: .82rem; color: var(--ink); min-height: 1.3em; }
.fl-fine { margin: 6px 16px 14px; font-size: .74rem; color: var(--muted); }
/* six links in the home strip */
.home-strip .wrap { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.home-strip .tile { gap: 8px; padding-inline: 10px; }
.home-strip .tt b { font-size: 1rem; }
.home-strip .tt small { font-size: .74rem; }
.home-strip .tgo { display: none; }
@media (max-width: 1080px) { .fl-grid { grid-template-columns: minmax(0, 1fr); } .home-strip .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-strip .wrap { grid-template-columns: minmax(0, 1fr); } .fl-form { grid-template-columns: minmax(0, 1fr); } }
.fl-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.fl-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fl-form .span2 { grid-column: span 2; }
.fl-out b { font-size: clamp(1.5rem, 3.4vh, 2.1rem); }
.fl-detail, .fl-fine { font-size: .76rem; }
@media (min-width: 901px) and (max-height: 820px) {
  .fl-grid ~ *, .fit-body .sp-lede { }
  .feedlib .sp-lede { display: none; }
}
@media (max-width: 560px) { .fl-form { grid-template-columns: minmax(0, 1fr); } .fl-form .span2 { grid-column: auto; } }
@media (min-width: 901px) and (max-height: 820px) { .fl-lede { display: none; } }
@media (min-width: 901px) and (max-height: 820px) {
  .fl-calc .cap { padding-block: 8px; }
  .fl-form { padding-top: 10px; gap: 8px 10px; }
  .fl-out div { padding-block: 6px; }
  .fl-fine { margin-bottom: 8px; }
  .fl-terms > div { padding-block: 6px; }
}
@media (min-width: 901px) and (max-height: 640px) {
  .fl-fine { display: none; }
  .fl-form input, .fl-form select { padding-block: 5px; }
}
.fl-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fl-link { display: grid; gap: 2px; padding: clamp(7px, 1.2vh, 11px) 12px; border: 1px solid var(--line); border-left: 3px solid var(--navy); text-decoration: none; color: var(--text); min-width: 0; transition: border-color .15s, background .15s; }
.fl-link:hover { border-left-color: var(--red); background: var(--mist); }
.fl-link span { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fl-link b { font-size: .9rem; color: var(--navy); }
.fl-link small { font-size: .76rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 560px) { .fl-links { grid-template-columns: minmax(0, 1fr); } }
.fl-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.fl-table td { padding-block: clamp(3px, .6vh, 6px); }
.fl-table th { padding-block: 7px; }
.fl-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .fl-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fl-links, .fl-split { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) and (max-height: 700px) {
  .fl-terms p, .fl-link small { display: none; }
  .sp-note { margin-top: 8px; font-size: .8rem; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .fl-fine { display: none; }
  .fl-detail { margin-bottom: 10px; }
  .fl-table td { padding-block: 2px; font-size: .8rem; }
  .fl-table th { padding-block: 5px; }
  #p-fl-2 .sp-note, #p-fl-5 .sp-note { margin-top: 8px; font-size: .78rem; padding-left: 10px; }
}
.fl-grid .sp-tabs button { padding-inline: 9px; letter-spacing: .06em; }

/* Seven links in the home strip, six service cards */
.home-strip .wrap { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.home-strip .tile { gap: 7px; padding-inline: 8px; }
.home-strip .tpic { width: clamp(38px, 5vh, 52px); }
.home-strip .tt b { font-size: .94rem; }
.home-strip .tt small { font-size: .7rem; }
.sv-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.sv h2 { font-size: clamp(1rem, 2.2vh, 1.3rem); }
.sv p { font-size: .8rem; }
.sv li { font-size: .76rem; padding-left: 16px; }
.sp-switch a { padding: 6px 8px; font-size: .62rem; letter-spacing: .06em; }
@media (max-width: 1080px) {
  .home-strip .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .home-strip .wrap, .sv-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) and (max-height: 820px) { .sv ul li:nth-child(4) { display: none; } }

/* Header logo: the ABS mark from Bob's business card */
.mark svg.card-mark { width: 86px; height: 70px; }
.mark { color: #161b22; gap: 14px; }
.mark .name { font-family: "Arimo", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 1.62rem; letter-spacing: -.01em; line-height: 1; color: #161b22; }
.mark .sub::before { background: #e2381a; }
@media (max-width: 900px) { .mark svg.card-mark { width: 66px; height: 54px; } .mark .name { font-size: 1.25rem; } }
@media (min-width: 901px) and (max-height: 820px) { .mark svg.card-mark { width: 74px; height: 60px; } }
@media (max-width: 560px) { .mark svg.card-mark { width: 56px; height: 46px; } .mark .name { font-size: 1.05rem; } }

/* ---------- Quote page (Nov 2026): steps strip, files, inline errors, success state ---------- */
.qt-head .wrap { align-items: center; }
.qt-lede { font-size: clamp(.84rem, 1.7vh, .98rem); margin-top: clamp(4px, .8vh, 10px); color: #c7d3e3; }
.qt-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 0; counter-reset: none; }
.qt-steps li { display: flex; align-items: center; gap: 12px; padding: clamp(6px, 1.2vh, 12px) 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); position: relative; color: #fff; font: 600 clamp(.78rem, 1.6vh, .9rem)/1.25 var(--body); }
.qt-steps li + li { border-left: 0; }
.qt-steps li + li::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.35); border-right: 1px solid rgba(255,255,255,.35); transform: translateY(-50%) rotate(45deg); }
.qt-steps b { flex: none; display: grid; place-items: center; width: clamp(26px, 3.6vh, 34px); height: clamp(26px, 3.6vh, 34px); background: var(--red); color: #fff; font: 800 clamp(1rem, 2.2vh, 1.25rem)/1 var(--display); }
.qt-form .req, .qt-send .req { color: var(--red); font-style: normal; }
.qt-form label { position: relative; }
.qt-form .qt-desc { grid-column: span 2; }
form.rfq.compact.qt-form .qt-desc textarea { height: auto; align-self: stretch; min-height: clamp(64px, 10vh, 120px); }
.qt-form .qt-desc { grid-template-rows: auto 1fr; }
.qt-form .fe { font: 500 .74rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: #b3261e; }
.qt-form [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.qt-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.qt-files { display: grid; gap: 5px; align-content: start; min-width: 0; }
.qt-flab { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.qt-flab i, .qt-files small { font-style: normal; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.qt-drop { display: grid; justify-items: center; text-align: center; gap: 3px; padding: clamp(8px, 1.4vh, 14px) 10px; border: 2px dashed var(--red); background: var(--mist); cursor: pointer; font: 400 .84rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--text); transition: border-color .15s, background .15s; }
.qt-drop:hover, .qt-drop.over, .qt-drop:focus-within { border-color: #a81c15; border-style: solid; background: #fff3f2; }
.qt-drop svg { width: 22px; height: 22px; color: var(--navy); }
.qt-drop b { color: var(--navy); }
.qt-drop small { font-size: .7rem; line-height: 1.35; }
.qt-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.qt-drop.bad { border-color: #b3261e; border-style: solid; }
.qt-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.qt-flist li { display: flex; align-items: center; gap: 6px; font: 400 .76rem/1.3 var(--mono); background: #fff; border: 1px solid var(--line); padding: 3px 4px 3px 8px; min-width: 0; }
.qt-flist .fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-flist .fs { color: var(--muted); flex: none; }
.qt-flist button { flex: none; border: 0; background: none; color: var(--muted); font: 600 1rem/1 var(--body); padding: 2px 6px; cursor: pointer; }
.qt-flist button:hover { color: #b3261e; }
.qt-send .btn[disabled] { opacity: .7; cursor: progress; }
.form-note.ok { color: #1f7a3a; font-weight: 600; border-left-color: #1f7a3a; }
.form-note.err { color: #b3261e; font-weight: 600; border-left-color: #b3261e; background: #fff8f7; }
.qt-main { min-width: 0; }
.qt-done { border: 1px solid var(--line); border-top: 4px solid #1f7a3a; background: var(--paper); padding: clamp(24px, 6vh, 64px) clamp(20px, 4vw, 48px); display: grid; justify-items: start; gap: 12px; outline: 0; }
.qt-done svg { width: 44px; height: 44px; color: #fff; background: #1f7a3a; padding: 8px; }
.qt-done h2 { font-family: var(--display); font-size: clamp(1.6rem, 3.6vh, 2.2rem); font-weight: 800; text-transform: uppercase; color: var(--navy); line-height: 1; }
.qt-done p { max-width: 36em; color: var(--text); }
.qt-why li { display: grid; gap: 1px; }
.qt-why li b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--navy); text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.qt-why li span { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.qt-grid .side-box.qt-why li::before { top: clamp(13px, 1.9vh, 17px); }
@media (min-width: 901px) and (max-height: 820px) {
  form.rfq.compact.qt-form .qt-desc textarea { min-height: 60px; }
  .qt-lede { display: none; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .qt-grid .side-box:not(.qt-why) { display: none; }
  .qt-drop small { display: none; }
}
@media (max-width: 1080px) and (min-width: 901px) {
  .qt-steps li { padding-inline: 12px; }
  .qt-steps br { display: none; }
}
@media (max-width: 900px) {
  .qt-head .wrap { align-items: flex-start; }
  .qt-steps { width: 100%; }
  .qt-steps li { flex: 1; padding: 8px 10px; gap: 8px; font-size: .78rem; }
  .qt-steps br { display: none; }
}
@media (max-width: 560px) {
  .qt-steps { flex-direction: column; }
  .qt-steps li + li { border-left: 1px solid rgba(255,255,255,.18); border-top: 0; }
  .qt-steps li + li::before { display: none; }
  .qt-form .qt-desc { grid-column: 1 / -1; }
  .qt-form input, .qt-form select, .qt-form textarea { font-size: 16px; }
}
@media (max-width: 900px) and (min-width: 561px) {
  .qt-form .qt-desc, .qt-files { grid-column: 1 / -1; }
}
/* Quote page: keep everything on one desktop screen */
@media (min-width: 901px) {
  .qt-head .wrap { padding-block: clamp(8px, 1.8vh, 22px); }
  .qt-grid .side-box.qt-why li::before { top: calc(clamp(4px, .75vh, 8px) + 9px); }
  .fit-body:has(.qt-grid) > .wrap { padding-block: clamp(10px, 2vh, 24px); }
  .qt-grid .side { gap: clamp(10px, 1.6vh, 16px); }
  .qt-grid .side-box .cap { padding-block: clamp(7px, 1.1vh, 11px); }
  .qt-grid .side-box .in { padding: clamp(4px, .8vh, 10px) 18px; gap: 0; }
  .qt-grid .side-box li { padding-block: clamp(4px, .75vh, 8px); }
}
@media (min-width: 901px) and (max-height: 960px) {
  .qt-lede { display: none; }
}
/* Contact page: Email Bob button */
.ct-email { display: flex; align-items: center; }
.ct-email .btn { padding: 7px 14px; font-size: .74rem; gap: 8px; }
.ct-email .btn svg { width: 15px; height: 15px; }
.qt-form label, .qt-files { align-content: start; }
.ct-email { flex-wrap: wrap; gap: 6px 16px; }
.ct-email .mail-text { font-weight: 500; color: var(--navy); }

/* ---------- Terms & Disclaimers page (legal.html): a reading page, allowed to scroll ---------- */
.lg-body > .wrap { padding-block: clamp(24px, 4vh, 48px) clamp(32px, 6vh, 64px); }
.lg-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.lg-toc { position: sticky; top: 16px; border: 1px solid var(--line); }
.lg-toc .cap { background: var(--navy); color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding: 11px 16px; }
.lg-toc ol { list-style: none; margin: 0; padding: 8px 16px 10px; counter-reset: lg; }
.lg-toc li { counter-increment: lg; border-bottom: 1px solid var(--line); }
.lg-toc li:last-child { border-bottom: 0; }
.lg-toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--text); text-decoration: none; font-size: .88rem; }
.lg-toc a::before { content: counter(lg); flex: none; width: 1.4em; font: 600 .78rem/1.6 var(--mono); color: var(--red); }
.lg-toc a:hover { color: var(--navy); text-decoration: underline; }
.lg-text { max-width: 50em; display: grid; gap: clamp(18px, 3vh, 28px); }
.lg-text section { scroll-margin-top: 16px; padding-top: clamp(14px, 2.4vh, 22px); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.lg-text h2 { display: flex; align-items: center; gap: 12px; font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(1.2rem, 2.6vh, 1.5rem); color: var(--navy); line-height: 1.15; }
.lg-text h2 b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; background: var(--red); color: #fff; font: 800 1.05rem/1 var(--display); }
.lg-text p { color: var(--text); font-size: .98rem; line-height: 1.65; }
.lg-text p b { color: var(--ink); }
.lg-intro { font-size: 1.04rem !important; padding: 14px 18px; background: var(--mist); border-left: 3px solid var(--navy); }
.lg-warn { padding: 12px 16px; background: #fff3f2; border-left: 3px solid var(--red); }
.lg-date { font-family: var(--mono); font-size: .78rem !important; color: var(--muted) !important; letter-spacing: .04em; }
@media (max-width: 900px) {
  .lg-grid { grid-template-columns: minmax(0, 1fr); }
  .lg-toc { position: static; }
  .lg-toc ol { columns: 2; column-gap: 20px; }
  .lg-toc li { break-inside: avoid; }
}
@media (max-width: 560px) { .lg-toc ol { columns: 1; } }
/* Short legal notes on other pages */
.sp-legal { font-size: .82rem; line-height: 1.4; color: var(--muted); }
.qt-send span a, .fl-fine a, .sp-legal a { color: inherit; text-decoration: underline; }
.ab-foot a { color: inherit; text-decoration: underline; }
.sp-legal-note { margin-top: clamp(12px, 2.2vh, 22px); padding: 8px 12px; background: #fff3f2; border-left: 3px solid var(--red); color: var(--ink); }
.sp-legal-note b { color: var(--red); }
/* Contact page Find Us: phone image digits match the text in the other rows */
dd.ct-phone .ph { height: .95em; vertical-align: -.14em; }

/* Quote form: 4 fields across the third row on desktop, to make room for "How did you hear about us?" */
@media (min-width: 901px) {
  form.rfq.compact.qt-form { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .qt-form > label { grid-column: span 4; }
  .qt-form > label[for="q-qty"], .qt-form > label[for="q-date"], .qt-form > label[for="q-tol"], .qt-form > label.qt-heard { grid-column: span 3; }
  .qt-form > label.qt-desc { grid-column: span 8; }
  .qt-form > .qt-files { grid-column: span 4; }
  .qt-form > .full, .qt-form > .form-note { grid-column: 1 / -1; }
  .qt-form > label.qt-heard { min-width: 0; }
}
