/* Piedmont Media Partners v4 — Job Site layout in the PMP brand colours. Colours and fonts live in tokens.css. */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); padding: .7rem 1rem; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.grid-bg {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Type ----------
   The logo's two fonts: Newsreader for headlines, Public Sans for everything else. */
.display, .h1 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.05;
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.4rem);
}
.h2, .sec-head h2 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.005em; line-height: 1.05;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem);
  margin-bottom: 1.1rem;
}
h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; font-size: 1.35rem; }
.label {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .8125rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .14em;
}
.label::before { content: ""; width: 10px; height: 10px; background: var(--accent); border: 1.5px solid var(--ink); flex: none; }
.label-plain::before { display: none; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 38rem; margin: 0; }
.on-ink .lede, .on-ink p { color: var(--muted-on-dark); }
.mono { font-family: var(--font-body); font-variant-numeric: tabular-nums; }
/* Emphasised word in the closing call to action */
.outline { text-decoration: underline var(--white); text-decoration-thickness: .1em; text-underline-offset: .12em; text-decoration-skip-ink: none; }

mark { background: none; color: inherit; }

/* Placeholder marker: caution yellow, deliberately off-brand */
.todo {
  display: inline-flex; align-items: center; flex: none; vertical-align: middle;
  font: 600 .625rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  padding: .32em .5em; background: var(--caution); color: var(--ink); border: 1.5px solid var(--ink); font-variant-numeric: tabular-nums;
}
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: 140px; padding: 3rem 1.25rem 1.5rem; border: 2px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--bg-2) 0 12px, var(--bg) 12px 24px);
  font: 600 .8125rem/1.45 var(--font-body); color: var(--muted);
}
.ph::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; border-bottom: 2px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--caution) 0 10px, var(--ink) 10px 20px);
}
.ph > .todo { position: absolute; top: 24px; left: 10px; }
.ph-label { max-width: 26ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.3rem;
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); box-shadow: var(--hard-sm);
  font: 700 1.125rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background-color .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-accent { background: var(--accent); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--accent); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--accent); }
.btn-ink:active { box-shadow: 0 0 0 var(--accent); }
.on-ink .btn { box-shadow: 4px 4px 0 var(--accent); }
.on-ink .btn:hover { box-shadow: 6px 6px 0 var(--accent); }
.on-ink .btn-accent { box-shadow: 4px 4px 0 var(--white); }
.on-ink .btn-accent:hover { box-shadow: 6px 6px 0 var(--white); }
.btn-lg { min-height: 60px; padding: 1rem 1.6rem; font-size: 1.25rem; }
.btn-sm { min-height: 44px; padding: .55rem .95rem; font-size: 1rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 1.125rem/1 var(--font-body);
  color: var(--ink); text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 3px no-repeat;
  transition: gap .25s var(--ease), background-size .25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: .8rem; background-size: 100% 100%; }
.on-ink .link-arrow { color: var(--white); }
.on-ink .link-arrow:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 2px solid var(--ink); view-transition-name: site-header; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; flex: none; text-decoration: none; color: var(--ink); }
.wm-mark { width: 34px; height: 34px; }
.wm-text { display: flex; flex-direction: column; gap: 4px; padding-left: 11px; border-left: 1.5px solid var(--line); }
.wm-name { font: 500 1.35rem/1 var(--font-logo); letter-spacing: -.01em; }
.wm-sub { font: 600 .5625rem/1 var(--font-logo-sub); letter-spacing: .3em; text-transform: uppercase; color: var(--tape-ink); }
.on-ink .wm-text { border-color: var(--ink-3); }
.on-ink .wm-sub { color: var(--tape); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: .25rem; list-style: none; }
.primary-nav a {
  display: block; padding: .55rem .7rem;
  font: 700 1.0625rem/1 var(--font-body);
  color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat;
  transition: background-size .25s var(--ease);
}
.primary-nav a:hover { background-size: 100% 3px; }
.primary-nav a[aria-current="page"] { background-size: 100% 100%; }
.header-actions { display: flex; align-items: center; gap: .85rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font: 700 1.125rem/1 var(--font-body); letter-spacing: .03em; white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; color: var(--accent-ink); }
.header-phone:hover { color: var(--accent-ink); }
.icon-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .14s, box-shadow .14s; }
.icon-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.header-call { background: var(--accent); }
.bars { display: grid; gap: 5px; }
.bars span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1079px) {
  .primary-nav, .header-phone { display: none; }
  .header-actions { margin-left: auto; gap: .6rem; }
  .icon-btn { display: inline-flex; }
}
@media (max-width: 599px) {
  .header-actions .btn { display: none; }
  .wm-name { font-size: 1.2rem; }
  .wm-mark { width: 30px; height: 30px; }
}

/* Tape measure scroll progress */
.tape {
  position: absolute; left: 0; top: 100%; margin-top: 2px; height: 11px;
  width: calc(var(--progress, 0) * 100%); max-width: 100%;
  background-color: var(--tape);
  background-image:
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(20, 35, 60, .7) 1px, transparent 1px);
  background-size: 48px 100%, 8px 45%;
  background-repeat: repeat-x;
  border-bottom: 1.5px solid var(--ink);
  pointer-events: none;
}
.tape::after { content: ""; position: absolute; right: -4px; top: -2px; bottom: -2px; width: 5px; background: var(--ink); }
html:not(.js) .tape { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--white);
}
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 1rem; padding: .8rem 0;
  border-bottom: 1.5px solid var(--ink-3); text-decoration: none; color: var(--white);
  font: 500 clamp(1.8rem, 1.4rem + 2.4vw, 2.4rem)/1.1 var(--font-display);
}
.mobile-menu li a[aria-current="page"] { color: var(--accent); }
.mm-num { font: 700 .875rem/1 var(--font-body); color: var(--tape); letter-spacing: .08em; }
.mm-actions { display: grid; gap: .9rem; margin-top: auto; }
.mm-actions .btn-ink { background: var(--paper); color: var(--ink); }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) li { animation: mmIn .45s var(--ease) both; }
  .mobile-menu li:nth-child(2) { animation-delay: .04s; }
  .mobile-menu li:nth-child(3) { animation-delay: .08s; }
  .mobile-menu li:nth-child(4) { animation-delay: .12s; }
  .mobile-menu li:nth-child(5) { animation-delay: .16s; }
}
@keyframes mmIn { from { opacity: 0; transform: translateX(-14px); } }

/* ---------- Live reply line ---------- */
.live { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font: 400 1rem/1.4 var(--font-body); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live); border: 1.5px solid var(--ink); flex: none; }
.on-ink .live-dot { border-color: var(--white); }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: blink 1.6s steps(2, start) infinite; } }
@keyframes blink { to { visibility: hidden; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero .label { margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: 1.6rem; }
.hero-lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); max-width: 34rem; margin: 0 0 2.2rem; color: var(--ink-3); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-bottom: 1.75rem; }
.call-big { display: inline-flex; flex-direction: column; gap: .3rem; text-decoration: none; }
.call-big .call-label { font: 700 .9375rem/1.1 var(--font-body); color: var(--muted); }
.call-big .call-num { display: flex; align-items: center; gap: .5rem; font: 700 2rem/1 var(--font-body); letter-spacing: .01em; }
.call-big:hover .call-num { color: var(--accent-ink); }
@media (max-width: 899px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } }

/* Work-order ticket (hero "wow" + form page) */
.printer { position: relative; width: min(100%, 410px); justify-self: end; }
@media (max-width: 899px) { .printer { justify-self: start; } }
.printer-slot {
  position: relative; z-index: 2; height: 26px;
  background: var(--ink); border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: var(--hard-sm);
}
.printer-slot::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; height: 4px; translate: 0 -50%; background: #000; border-radius: 2px; }
.printer-slot::after { content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; translate: 0 -50%; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.ticket-clip { position: relative; margin: -12px 20px 0; padding-bottom: 26px; overflow: hidden; }
.ticket {
  position: relative; background: var(--white); color: var(--ink);
  padding: 1.75rem 1.35rem 1.25rem; margin-top: 12px;
  font: 400 .9375rem/1.4 var(--font-body);
  box-shadow: 0 16px 30px rgba(20, 35, 60, .16); font-variant-numeric: tabular-nums;
}
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background:
    linear-gradient(135deg, var(--white) 50%, transparent 50%) 0 0 / 16px 12px repeat-x,
    linear-gradient(225deg, var(--white) 50%, transparent 50%) 0 0 / 16px 12px repeat-x;
}
@media (prefers-reduced-motion: no-preference) {
  .js .printing .ticket { animation: print 1.9s cubic-bezier(.45, .05, .3, 1) .1s both; }
  .js .printing .stamp { animation: stamp .45s cubic-bezier(.3, 1.6, .5, 1) 2.05s both; }
}
@keyframes print { 0% { transform: translateY(-58%); } 70% { transform: translateY(-3%); } 100% { transform: translateY(0); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(2.2); } to { opacity: .92; transform: rotate(-14deg) scale(1); } }
.t-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.t-title { font: 800 1.35rem/1.15 var(--font-body); text-transform: uppercase; }
.t-no { font-weight: 700; }
.t-sub { margin: .35rem 0 1rem; font-size: .8125rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.t-rule { border: 0; border-top: 1.5px dashed var(--ink); margin: .9rem 0; }
.t-rows { margin: 0; display: grid; gap: .35rem; }
.t-row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .4rem; text-transform: uppercase; }
.t-row dt { color: var(--muted); }
.t-row .t-lead { border-bottom: 1.5px dotted var(--line); transform: translateY(-.25em); }
.t-row dd { margin: 0; font-weight: 700; text-align: right; max-width: 16ch; overflow-wrap: anywhere; }
.t-total { display: flex; justify-content: space-between; align-items: baseline; text-transform: uppercase; font-weight: 600; }
.t-total b { font: 700 2rem/1 var(--font-body); }
.t-barcode { height: 38px; margin: 1rem 0 .5rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); }
.t-foot { margin: 0; max-width: 54%; font-size: .8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stamp {
  position: absolute; right: 1.1rem; bottom: 2.6rem; z-index: 2;
  padding: .2rem .8rem; border: 4px double var(--accent-ink); border-radius: 4px;
  color: var(--accent-ink); font: 800 2.2rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-14deg); opacity: .92; mix-blend-mode: multiply; pointer-events: none;
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--white); border-bottom: 2px solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: marquee 32s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-list { display: flex; list-style: none; padding: 1rem 0; }
.marquee-list li { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; white-space: nowrap; font: 500 clamp(1.2rem, 1rem + .9vw, 1.7rem)/1 var(--font-display); }
.marquee-list li::after { content: "\2731"; color: var(--accent); font-size: .7em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); border-bottom: 2px solid var(--ink); }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--white); }
.on-ink { color: var(--white); }
.sec-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.sec-head .label { margin-bottom: 1.25rem; }
.sec-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem 3rem; align-items: end; max-width: none; }
.sec-split .lede { margin-bottom: .5rem; }
@media (max-width: 859px) { .sec-split { grid-template-columns: minmax(0, 1fr); } }

/* Spec cards (services overview) */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.spec {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: 1.6rem 1.6rem 1.5rem; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--hard);
  color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.section-paper .spec { background: var(--white); }
.spec:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.spec:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.spec-top { display: flex; justify-content: space-between; align-items: center; font: 700 .875rem/1 var(--font-body); }
.spec-go { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--bg); transition: background-color .2s, transform .3s var(--ease); }
.spec-go svg { width: 18px; height: 18px; }
.spec:hover .spec-go { background: var(--accent); transform: rotate(-45deg); }
.spec h3 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 600; line-height: 1.1; }
.spec p { margin: 0; color: var(--muted); }
.spec-incl { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.spec-incl li { font: 700 .875rem/1.1 var(--font-body); padding: .45rem .55rem; border: 1.5px solid var(--ink); background: var(--bg); }
@media (max-width: 759px) { .specs { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.step-num { display: block; font: 500 clamp(4.5rem, 3rem + 5vw, 7.5rem)/.8 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 1rem; }
.section-ink .step { border-color: var(--white); }
.section-ink .step-num { -webkit-text-stroke-color: var(--accent); }
.step h3 { margin-bottom: .6rem; }
.step p { margin: 0; color: var(--muted); }
.section-ink .step p { color: var(--muted-on-dark); }
.js .steps.reveal-stagger.is-in .step-num { animation: numIn .7s var(--ease) both; }
@keyframes numIn { from { -webkit-text-stroke-color: transparent; color: var(--accent); } }
@media (max-width: 799px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Ruler divider */
.ruler {
  height: 22px; border-bottom: 2px solid var(--ink);
  background-image:
    linear-gradient(90deg, var(--ink) 2px, transparent 2px),
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 96px 100%, 48px 60%, 12px 30%;
  background-position: 0 100%, 0 100%, 0 100%;
  background-repeat: repeat-x;
}

/* Split */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.split p:not(.label):not(.lede) { color: var(--muted); }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Before / after ---------- */
.ba { margin: 0; }
.ba-frame {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid var(--ink); box-shadow: var(--hard); background: #fff;
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; --pos: 50%;
}
.ba-pane { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 3px; translate: -1.5px 0; background: var(--ink); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 50px; height: 50px; display: grid; place-items: center; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--ease); }
.ba-knob svg { width: 22px; height: 22px; }
.ba-frame:hover .ba-knob, .ba-frame.is-dragging .ba-knob { transform: scale(1.08); }
.ba-frame:focus-within .ba-knob { outline: 3px solid var(--ink); outline-offset: 3px; }
.ba-tag { position: absolute; bottom: 4cqw; z-index: 2; pointer-events: none; font: 700 .8125rem/1 var(--font-body); padding: .45rem .65rem; border: 2px solid var(--ink); }
.ba-tag-before { left: 4cqw; background: var(--ink); color: var(--white); }
.ba-tag-after { right: 4cqw; background: var(--accent); color: var(--ink); }
.ba figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.1rem; font-size: .9375rem; color: var(--muted); }
.ba figcaption b { color: var(--ink); }

.mock-old { height: 100%; padding: 3cqw 4cqw; overflow: hidden; background: #cfcfcf repeating-linear-gradient(45deg, #d6d6d6 0 2px, #cfcfcf 2px 6px); font-family: "Times New Roman", Times, serif; color: #111; }
.mo-marquee { background: #000080; color: #ff0; font: bold 2cqw/1.6 "Courier New", monospace; text-align: center; white-space: nowrap; overflow: hidden; margin: 6cqw -4cqw 3cqw; }
.mo-title { font: bold 5cqw/1.05 "Times New Roman", serif; color: #b00000; text-align: center; text-shadow: 2px 2px 0 #fff; }
.mo-nav { text-align: center; font-size: 2.3cqw; margin: 2cqw 0 3cqw; }
.mo-nav span { color: #0000ee; text-decoration: underline; }
.mo-body { display: grid; grid-template-columns: 34% 1fr; gap: 3cqw; background: #fff; border: 3px ridge #999; padding: 2.5cqw; }
.mo-photo { aspect-ratio: 4 / 3; background: #888; border: 2px inset #aaa; display: grid; place-items: center; color: #eee; font: 2cqw Arial, sans-serif; }
.mo-body p { margin: 0; font-size: 2.3cqw; line-height: 1.3; }
.mo-body p b { color: #b00000; }
.mo-foot { margin-top: 2.5cqw; text-align: center; font: 1.8cqw Arial, sans-serif; color: #333; }
.mo-counter { display: inline-block; background: #000; color: #0f0; font-family: "Courier New", monospace; padding: 0 .6cqw; letter-spacing: .3cqw; }
.mock-dead { height: 100%; background: #fff; display: flex; flex-direction: column; font-family: system-ui, Arial, sans-serif; color: #202124; }
.md-bar { display: flex; align-items: center; gap: 1.2cqw; padding: 1.6cqw 2.2cqw; background: #f1f3f4; border-bottom: 1px solid #dadce0; }
.md-bar i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #c4c7c5; }
.md-url { margin-left: 1.5cqw; flex: 1; padding: .8cqw 1.8cqw; border-radius: 99px; background: #fff; font-size: 1.8cqw; color: #5f6368; }
.md-body { flex: 1; padding: 9cqw 9cqw 0; }
.md-icon { display: grid; place-items: center; width: 6.5cqw; height: 6.5cqw; margin-bottom: 3cqw; border: .45cqw solid #5f6368; border-radius: 50%; }
.md-icon::after { content: "!"; font: 700 3.6cqw/1 system-ui, Arial, sans-serif; color: #5f6368; }
.md-body b { display: block; font-size: 4cqw; font-weight: 500; margin-bottom: 1.5cqw; }
.md-body p { font-size: 2cqw; color: #5f6368; margin: 0; }
.md-body code { display: block; margin-top: 3cqw; font-size: 1.5cqw; color: #9aa0a6; letter-spacing: .1em; }
.mock-new { --c: #1F4D3A; --c2: #E8A33D; height: 100%; display: flex; flex-direction: column; background: #fff; font-family: system-ui, -apple-system, Arial, sans-serif; color: #16211c; overflow: hidden; }
.mock-new.roof { --c: #6E2A22; --c2: #F2B441; }
.mn-bar { display: flex; align-items: center; gap: 2cqw; padding: 2.4cqw 4cqw; border-bottom: 1px solid #eee; }
.mn-logo { font: 700 2.5cqw/1 Georgia, serif; color: var(--c); }
.mn-links { display: flex; gap: 2cqw; margin-left: auto; }
.mn-links i { width: 6cqw; height: .9cqw; border-radius: 2px; background: #d7dbd8; }
.mn-call { padding: 1.2cqw 2cqw; border-radius: .8cqw; background: var(--c); color: #fff; font: 700 1.7cqw/1 system-ui, Arial, sans-serif; }
.mn-hero { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5cqw; align-items: center; padding: 4cqw; }
.mn-kicker { display: block; font: 700 1.5cqw/1 system-ui, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-bottom: 2cqw; }
.mn-h { display: block; font: 600 4.8cqw/1.04 Georgia, serif; letter-spacing: -.02em; margin-bottom: 2.4cqw; }
.mn-p { display: block; height: .9cqw; width: 90%; border-radius: 2px; background: #e3e6e4; margin-bottom: 1.1cqw; }
.mn-p.short { width: 60%; margin-bottom: 3cqw; }
.mn-btns { display: flex; gap: 1.4cqw; }
.mn-btn { padding: 1.6cqw 2.4cqw; border-radius: .9cqw; background: var(--c2); color: #1b1300; font: 700 1.6cqw/1 system-ui, Arial, sans-serif; }
.mn-btn.ghost { background: transparent; color: var(--c); box-shadow: inset 0 0 0 .25cqw var(--c); }
.mn-img { position: relative; height: 100%; min-height: 20cqw; border-radius: 2cqw; overflow: hidden; background: linear-gradient(170deg, #f6d9a8 0%, #e9b77a 40%, #8fa98c 41%, #4e6e50 100%); }
.mock-new.roof .mn-img { background: linear-gradient(170deg, #b9cde0 0%, #dfe8f0 45%, #7c4a3a 46%, #4a2a22 100%); }
.mn-img::before { content: ""; position: absolute; width: 9cqw; height: 9cqw; border-radius: 50%; right: 18%; top: 14%; background: #fff3d6; opacity: .9; }
.mn-img::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -8%; height: 55%; background: #2f4a33; clip-path: polygon(0 60%, 12% 20%, 22% 55%, 34% 5%, 46% 50%, 58% 15%, 70% 55%, 82% 25%, 100% 60%, 100% 100%, 0 100%); }
.mock-new.roof .mn-img::after { background: #3b2621; clip-path: polygon(0 100%, 0 55%, 30% 10%, 60% 55%, 60% 100%, 62% 100%, 62% 50%, 82% 22%, 100% 50%, 100% 100%); }
.mn-strip { display: flex; gap: 2cqw; padding: 0 4cqw 3.2cqw; }
.mn-strip span { flex: 1; display: flex; align-items: center; gap: 1cqw; font: 600 1.45cqw/1.2 system-ui, Arial, sans-serif; color: #3b4a43; }
.mn-strip span::before { content: ""; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--c2); flex: none; }

/* ---------- Notice sign (promises) ---------- */
.sign-wrap { position: relative; }
.sign {
  position: relative; background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 12px; box-shadow: 10px 10px 0 var(--accent);
  padding: 10px; max-width: 1080px; margin-inline: auto;
}
.sign-inner { border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; }
.sign-head { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .9rem 1rem; background: var(--accent); border-bottom: 3px solid var(--ink); font: 500 clamp(1.7rem, 1.3rem + 1.8vw, 2.7rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.sign-head svg { width: clamp(30px, 4vw, 48px); height: auto; flex: none; }
.sign-sub { margin: 0; padding: .8rem 1rem; text-align: center; border-bottom: 3px solid var(--ink); font: 700 .9375rem/1.3 var(--font-body); }
.rules { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rule { padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-bottom: 3px solid var(--ink); }
.rule:nth-child(odd) { border-right: 3px solid var(--ink); }
.rule:nth-last-child(-n+2) { border-bottom: 0; }
.rule-big { display: block; font: 500 clamp(2rem, 1.5rem + 1.9vw, 3.1rem)/1 var(--font-display); margin-bottom: .8rem; }
.rule h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.rule p { margin: 0; color: var(--muted); }
.rule .fine { display: block; margin-top: .7rem; font: 400 .9375rem/1.45 var(--font-body); color: var(--muted); }
.bolt { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9a9da2, #3a3d42); border: 2px solid var(--ink); z-index: 2; }
.bolt.tl { top: -8px; left: -8px; } .bolt.tr { top: -8px; right: -8px; } .bolt.bl { bottom: -8px; left: -8px; } .bolt.br { bottom: -8px; right: -8px; }
@media (max-width: 759px) {
  .rules { grid-template-columns: minmax(0, 1fr); }
  .rule:nth-child(odd) { border-right: 0; }
  .rule:nth-last-child(2) { border-bottom: 3px solid var(--ink); }
}

/* ---------- Crew badges ---------- */
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.badge { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; box-shadow: var(--hard); padding: 2.6rem 1.1rem 1.25rem; }
.section-paper .badge { background: var(--white); }
.badge-slot { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 54px; height: 10px; border-radius: 6px; background: var(--bg); border: 2px solid var(--ink); }
.badge-band { display: flex; justify-content: space-between; align-items: center; margin: 0 -1.1rem 1rem; padding: .5rem 1.1rem; background: var(--accent); border-block: 2px solid var(--ink); font: 700 .8125rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.badge .ph { aspect-ratio: 4 / 5; }
.badge h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.85rem); font-weight: 600; margin: 1rem 0 .35rem; }
.badge-role { display: block; font: 700 .875rem/1.3 var(--font-body); color: var(--muted); }
.badge p { margin: .8rem 0 0; color: var(--muted); }
.badge-mail { display: inline-block; margin-top: .8rem; font: 600 .8125rem/1.3 var(--font-body); color: var(--ink); overflow-wrap: anywhere; }
.badge-mail:hover { color: var(--accent-ink); }
@media (max-width: 799px) {
  .crew { grid-template-columns: repeat(3, 80%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1.25rem; scrollbar-width: none; }
  .badge { scroll-snap-align: start; }
}

/* ---------- Job board (testimonial placeholders) ---------- */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); padding-top: 1rem; }
.note {
  position: relative; margin: 0; padding: 2.4rem 1.5rem 1.5rem; border: 2px solid var(--ink); box-shadow: var(--hard-sm);
  background: var(--white) repeating-linear-gradient(transparent 0 27px, rgba(20, 35, 60, .08) 27px 28px);
}
.note:nth-child(1) { rotate: -1.2deg; }
.note:nth-child(2) { rotate: .8deg; translate: 0 10px; }
.note:nth-child(3) { rotate: -.5deg; }
.tape-strip { position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; translate: -50% 0; rotate: -3deg; background: rgba(184, 151, 90, .75); border: 1px solid rgba(20, 35, 60, .2); }
.note blockquote { margin: .8rem 0 1.25rem; font: 400 1.15rem/1.45 var(--font-body); color: var(--muted); }
.note figcaption { font: 700 .875rem/1.3 var(--font-body); color: var(--muted); }
.note figcaption b { color: var(--ink); }
@media (max-width: 859px) { .board { grid-template-columns: minmax(0, 1fr); } .note:nth-child(n) { rotate: none; translate: none; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--accent); border-bottom: 2px solid var(--ink); padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(20, 35, 60, .045) 22px 44px); pointer-events: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2.5rem 4rem; align-items: end; }
.cta-band h2 { font: 500 clamp(2.3rem, 1.4rem + 3.4vw, 4.6rem)/1.05 var(--font-display); letter-spacing: -.01em; }
.cta-band .label::before { background: var(--ink); }
.cta-band .label { margin-bottom: 1.25rem; }
.cta-side { display: grid; gap: 1.25rem; justify-items: start; }
.cta-side p { margin: 0; font-size: 1.0625rem; color: var(--ink); }
.cta-btns { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (max-width: 859px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: clamp(3rem, 2rem + 4vw, 5rem) 0 2rem; font-size: .9375rem; overflow: hidden; }
.footer-giant { margin: 0 0 clamp(2.5rem, 2rem + 3vw, 4rem); font: 500 clamp(4rem, 1rem + 15.5vw, 15rem)/1.05 var(--font-display); letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); white-space: nowrap; user-select: none; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; }
.footer-brand p { margin: 1.25rem 0 0; max-width: 30ch; }
.footer-h { margin: 0 0 1.1rem; font: 600 .8125rem/1.1 var(--font-body); color: var(--tape); text-transform: uppercase; letter-spacing: .14em; }
.footer-list { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: var(--white); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-contact { font: 400 .9375rem/1.4 var(--font-body); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1.5px solid var(--ink-3); font: 700 .8125rem/1.4 var(--font-body); }
.footer-base p { margin: 0; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  grid-template-columns: auto 1fr; gap: .7rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 2px solid var(--ink);
}
.mobile-bar .btn { min-height: 50px; }
@media (max-width: 759px) { .mobile-bar { display: grid; } body.has-mobile-bar { padding-bottom: 80px; } }
html.menu-open .mobile-bar { display: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; border-bottom: 2px solid var(--ink); }
.page-hero-inner { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.crumb { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; font: 700 .875rem/1.2 var(--font-body); color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb span[aria-current] { color: var(--ink); }
.page-hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.6rem); margin-bottom: 1.4rem; }
.page-hero .lede { color: var(--ink-3); }
.page-hero-meta { margin-top: 1.5rem; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; padding-top: clamp(2rem, 1.5rem + 2.5vw, 4rem); }
.svc-main, .subnav { min-width: 0; }
.subnav { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.subnav-title { margin: 0 0 .9rem; font: 600 .8125rem/1.2 var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.subnav ol { list-style: none; display: grid; gap: .4rem; }
.subnav ol a {
  display: flex; align-items: baseline; gap: .6rem; padding: .6rem .75rem; border: 2px solid transparent;
  font: 700 1.125rem/1 var(--font-body); color: var(--muted); text-decoration: none;
}
.subnav ol a:hover { color: var(--ink); border-color: var(--ink); }
.subnav ol a[aria-current="true"] { color: var(--ink); background: var(--accent); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.sn-num { font: 700 .8125rem/1 var(--font-body); }
.subnav-card { margin-top: 1.75rem; padding: 1.1rem; background: var(--ink); color: var(--white); border: 2px solid var(--ink); }
.subnav-card p { margin: 0 0 .9rem; font: 600 1.1rem/1.2 var(--font-display); }
.subnav-card .btn { box-shadow: 3px 3px 0 var(--accent); }
@media (max-width: 959px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .subnav { top: calc(var(--header-h) + 2px); z-index: 30; margin-inline: calc(var(--gutter) * -1); padding: .7rem var(--gutter); background: var(--bg); border-bottom: 2px solid var(--ink); }
  .subnav-title, .subnav-card { display: none; }
  .subnav ol { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .subnav ol a { white-space: nowrap; border-color: var(--ink); background: var(--paper); padding: .55rem .75rem; }
}
.svc-section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 2px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc-section:last-child { border-bottom: 0; }
.svc-section:first-child { padding-top: 0; }
@media (max-width: 959px) { .svc-section { scroll-margin-top: calc(var(--header-h) + 72px); } .svc-section:first-child { padding-top: 2.5rem; } }
.svc-head { margin-bottom: 1.25rem; }
.svc-code { display: block; margin-bottom: .9rem; font: 600 .8125rem/1 var(--font-body); letter-spacing: .1em; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .14em; }
.svc-head h2 { font: 500 clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem)/1.05 var(--font-display); margin-bottom: .9rem; }
.svc-tagline { margin: 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--ink-3); font-weight: 500; max-width: 36rem; }
.svc-visual { margin: 2.25rem 0 2.5rem; }
.spec-table { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--hard-sm); }
.spec-table > div { padding: 1.4rem 1.5rem; }
.spec-table > div + div { border-left: 2px solid var(--ink); }
.list-h { margin: 0 0 1rem; font: 600 .8125rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .14em; }
.check-list, .dash-list { list-style: none; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.15rem; height: 1.15rem; border: 2px solid var(--ink); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%2314233C' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E") center / 90% no-repeat; }
.dash-list li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .9rem; height: 2px; background: var(--ink); }
@media (max-width: 759px) { .spec-table { grid-template-columns: minmax(0, 1fr); } .spec-table > div + div { border-left: 0; border-top: 2px solid var(--ink); } }
.svc-foot { margin: 2rem 0 0; }
.pullquote { margin: 2.5rem 0 0; padding: 1.75rem 0 0; border-top: 2px solid var(--ink); }
.pullquote p { margin: 0; font: 500 clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem)/1.15 var(--font-display); }
.pullquote p::before { content: "\201C"; color: var(--accent-ink); }
.pullquote p::after { content: "\201D"; color: var(--accent-ink); }
.pullquote cite { display: block; margin-top: .9rem; font: 700 .875rem/1 var(--font-body); font-style: normal; color: var(--muted); }

.browser { border: 2px solid var(--ink); box-shadow: var(--hard); background: var(--white); }
.browser-bar { display: flex; align-items: center; gap: .45rem; padding: .65rem .85rem; background: var(--bg); border-bottom: 2px solid var(--ink); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); }
.browser-url { margin-left: .7rem; flex: 1; max-width: 22rem; padding: .3rem .7rem; background: var(--white); border: 1.5px solid var(--ink); font: 400 .875rem/1.2 var(--font-body); }
.browser-body { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; }
.browser-body > .todo { position: absolute; bottom: .75rem; right: .75rem; z-index: 2; }

.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.reel { margin: 0; }
.reel-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 2px solid var(--ink); box-shadow: var(--hard-sm); background: var(--ink); color: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.reel:hover .reel-frame { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.reel-frame > svg.reel-scene, .reel-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-frame .todo { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.reel-time { position: absolute; top: .8rem; right: .8rem; z-index: 2; padding: .3rem .45rem; background: var(--ink); color: var(--white); font: 700 .8125rem/1 var(--font-body); }
.reel-play { position: absolute; top: 50%; left: 50%; z-index: 2; translate: -50% -50%; width: 58px; height: 58px; display: grid; place-items: center; background: var(--accent); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .25s var(--ease), opacity .3s; }
.reel-play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.reel:hover .reel-play { transform: scale(1.08); }
.reel.is-playing .reel-play { opacity: 0; }
.reel-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 3rem .9rem .9rem; background: linear-gradient(180deg, transparent, rgba(10, 10, 12, .85)); font: 700 .875rem/1.3 var(--font-body); }
.reel figcaption { margin-top: 1rem; }
.reel figcaption b { display: block; font: 600 1.1rem/1.15 var(--font-display); margin-bottom: .3rem; }
.reel figcaption span { font: 700 .8125rem/1.3 var(--font-body); color: var(--muted); }
@media (max-width: 759px) {
  .reels { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.25rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .reel { scroll-snap-align: start; }
}

.social { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; }
.profile { padding: 1.25rem; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--hard-sm); }
.profile-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.profile-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--bg); flex: none; }
.profile-head b { display: block; font-weight: 700; }
.profile-head small { font: 700 .8125rem/1.3 var(--font-body); color: var(--muted); }
.profile-head .todo { margin-left: auto; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.profile-grid i { aspect-ratio: 1; background: linear-gradient(150deg, var(--c1, #D9CDB4), var(--c2, #A9B6C9)); }
.profile-grid i:nth-child(3n+2) { --c1: #CDAE76; --c2: #826528; }
.profile-grid i:nth-child(4n) { --c1: #E1CFA6; --c2: #8C6E3E; }
.profile-grid i:nth-child(5n) { --c1: #B6C2D3; --c2: #14233C; }
.social-copy b { display: block; font: 500 clamp(1.5rem, 1.2rem + 1.1vw, 2rem)/1.15 var(--font-display); margin-bottom: 1rem; }
@media (max-width: 759px) { .social { grid-template-columns: minmax(0, 1fr); } }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-pair .ph { aspect-ratio: 1; }

/* ---------- Pricing ---------- */
.tape-track { position: relative; padding-top: 3.2rem; }
.tape-blade {
  position: relative; height: 54px; border: 2px solid var(--ink); background-color: var(--tape);
  background-image:
    linear-gradient(90deg, var(--ink) 2px, transparent 2px),
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(20, 35, 60, .75) 1px, transparent 1px);
  background-size: 25% 100%, 6.25% 55%, 1.5625% 30%;
  background-repeat: repeat-x; background-position: 0 0;
  box-shadow: var(--hard-sm); transform-origin: left;
}
.tape-blade::after { content: ""; position: absolute; right: -10px; top: -8px; bottom: -8px; width: 10px; background: var(--ink); }
.js .tape-track.reveal .tape-blade { transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.js .tape-track.reveal.is-in .tape-blade { transform: none; }
.tape-marks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.25rem; }
.tape-marks li { padding-right: 1.25rem; }
.tape-marks .mk { display: block; font: 600 .8125rem/1.1 var(--font-body); color: var(--accent-ink); margin-bottom: .55rem; text-transform: uppercase; letter-spacing: .14em; }
.tape-marks strong { display: block; font: 600 1.25rem/1.15 var(--font-display); margin-bottom: .45rem; }
.tape-marks p { margin: 0; color: var(--muted); font-size: .9375rem; }
.tape-label { position: absolute; top: 0; font: 700 .8125rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; padding: .35rem .5rem; background: var(--ink); color: var(--white); font-variant-numeric: tabular-nums; }
.tape-label::after { content: ""; position: absolute; left: 10px; top: 100%; border: 6px solid transparent; border-top-color: var(--ink); }
.tape-label.l1 { left: 0; } .tape-label.l2 { left: 25%; } .tape-label.l3 { left: 50%; }
.tape-label.l4 { left: 75%; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); }
.tape-label.l4::after { border-top-color: var(--ink); }
@media (max-width: 799px) { .tape-marks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 0; } .tape-label { display: none; } }

.estimates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
.estimates-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 54rem; }
.estimate { position: relative; display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--hard); }
.est-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem 1.1rem; background: var(--ink); color: var(--white); font: 600 .8125rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; }
.estimate.featured .est-head { background: var(--accent); color: var(--ink); border-bottom: 2px solid var(--ink); }
.est-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.2rem 1.3rem; }
.estimate h3 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); font-weight: 600; margin-bottom: .35rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.est-for { margin: 0 0 1.2rem; color: var(--muted); font-size: .9375rem; }
.est-lines { list-style: none; margin: 0 0 1.2rem; padding: .9rem 0; border-block: 1.5px dashed var(--ink); display: grid; gap: .5rem; font: 400 .9375rem/1.35 var(--font-body); flex: 1; font-variant-numeric: tabular-nums; }
.est-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: .4rem; align-items: baseline; }
.est-lines li::after { content: "INCL."; color: var(--muted); }
.est-lines li span:first-child { overflow-wrap: anywhere; }
.est-lines .lead { border-bottom: 1.5px dotted var(--line); transform: translateY(-.25em); }
.est-lines .ph-line { color: var(--muted); }
.est-total { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: 1.3rem; font: 700 .875rem/1 var(--font-body); font-variant-numeric: tabular-nums; }
.est-total b { font: 500 3rem/1 var(--font-display); letter-spacing: 0; }
.est-total small { font: inherit; color: var(--muted); }
.est-upkeep { margin: -.5rem 0 1.25rem; color: var(--muted); font-size: .875rem; }
.est-stamp { position: absolute; right: 12px; top: 64px; padding: .15rem .5rem; border: 3px solid var(--accent-ink); color: var(--accent-ink); font: 800 1.15rem/1 var(--font-body); text-transform: uppercase; transform: rotate(10deg); opacity: .8; pointer-events: none; }
@media (max-width: 959px) { .estimates, .estimates-2 { grid-template-columns: minmax(0, 1fr); max-width: 30rem; } }

.included { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--hard-sm); }
.included li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1.4rem; border-bottom: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.included li:nth-child(3n) { border-right: 0; }
.included li:nth-last-child(-n+3) { border-bottom: 0; }
.included svg { width: 26px; height: 26px; padding: 4px; background: var(--accent); border: 2px solid var(--ink); }
.included b { display: block; font: 600 1.05rem/1.2 var(--font-display); margin-bottom: .3rem; }
.included span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 899px) {
  .included { grid-template-columns: minmax(0, 1fr); }
  .included li { border-right: 0; }
  .included li:nth-last-child(-n+3) { border-bottom: 2px solid var(--ink); }
  .included li:last-child { border-bottom: 0; }
}

.faq { max-width: 56rem; border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--hard-sm); }
.faq details + details { border-top: 2px solid var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font: 600 clamp(1.05rem, .95rem + .4vw, 1.25rem)/1.25 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--ink); font: 600 1.3rem/1 var(--font-body); background: var(--bg); transition: background-color .2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--accent); }
.faq summary:hover { background: var(--bg); }
.faq-a { padding: 0 3.5rem 1.4rem 1.4rem; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- Work page ---------- */
.filter-bar { position: sticky; top: calc(var(--header-h) + 2px); z-index: 20; background: var(--bg); border-bottom: 2px solid var(--ink); }
.filter-inner { display: flex; gap: .55rem; padding-block: .8rem; overflow-x: auto; scrollbar-width: none; }
.filter-btn { flex: none; padding: .6rem .9rem; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font: 700 1.0625rem/1 var(--font-body); transition: background-color .15s; }
.filter-btn:hover { background: var(--white); }
.filter-btn[aria-pressed="true"] { background: var(--accent); box-shadow: 3px 3px 0 var(--ink); }
.filter-btn .count { margin-left: .4rem; font: 700 .875rem/1 var(--font-body); }
.work-group { padding-block: clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 2px solid var(--ink); }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.photo-grid .ph { aspect-ratio: 1; }
@media (max-width: 859px) { .ba-grid { grid-template-columns: minmax(0, 1fr); } .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- About ---------- */
.story-lead { margin: 0 0 1.5rem; font: 500 clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem)/1.15 var(--font-display); }
.shop-rules { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.shop-rules li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.5rem; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--hard-sm); }
.section-paper .shop-rules li { background: var(--white); }
.sr-num { font: 500 3.2rem/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.shop-rules h3 { margin-bottom: .45rem; font-size: 1.3rem; }
.shop-rules p { margin: 0; color: var(--muted); }
@media (max-width: 759px) { .shop-rules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Free sample: work-order form ---------- */
.wo-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 959px) { .wo-layout { grid-template-columns: minmax(0, 1fr); } }
.wo-card { background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--hard); }
.wo-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.3rem; background: var(--ink); color: var(--white); font: 600 .8125rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; }
.wo-body { padding: clamp(1.3rem, 1rem + 2vw, 2.25rem); }
.wo-body h2 { font: 500 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.1 var(--font-display); margin-bottom: .6rem; }
.form-intro { margin: 0 0 1.75rem; color: var(--muted); }
.field { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
@media (max-width: 599px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field label, .choice legend { font: 700 1rem/1.3 var(--font-body); }
.req { color: var(--accent-ink); }
.opt { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .8rem .9rem;
  border: 2px solid var(--ink); border-radius: 0; background: var(--white); font-size: 1rem;
  transition: box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2314233C' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") right .85rem center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--accent); background-color: #FFFDF8; }
.field input:user-invalid, .field select:user-invalid { border-color: var(--accent-ink); box-shadow: 4px 4px 0 var(--accent-ink); }
.choice { border: 0; padding: 0; margin: 0 0 1.2rem; }
.choice legend { padding: 0; margin-bottom: .5rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cc-body { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: center; height: 100%; padding: 1rem; border: 2px solid var(--ink); background: var(--white); transition: background-color .15s, box-shadow .15s, transform .15s; }
.cc-box { grid-row: span 2; width: 26px; height: 26px; border: 2px solid var(--ink); background: var(--white); display: grid; place-items: center; }
.cc-box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .2s var(--ease); }
.cc-body b { font: 600 1.15rem/1 var(--font-display); }
.cc-body small { color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.choice-card:hover .cc-body { box-shadow: 3px 3px 0 var(--ink); }
.choice-card input:checked + .cc-body { background: #F1E7D3; box-shadow: 4px 4px 0 var(--ink); }
.choice-card input:checked + .cc-body .cc-box { background: var(--accent); }
.choice-card input:checked + .cc-body .cc-box svg { opacity: 1; transform: none; }
.choice-card input:focus-visible + .cc-body { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 419px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { margin: 1rem 0 0; font: 400 .9375rem/1.45 var(--font-body); color: var(--muted); text-align: center; }
.form-status { margin: 1rem 0 0; padding: .8rem 1rem; border: 2px solid var(--ink); background: var(--accent); font-weight: 700; }
.form-status:empty { display: none; }
.success { padding: 1rem 0; text-align: center; }
.success:focus { outline: none; }
.success-stamp { display: inline-block; margin: 1rem 0 1.5rem; padding: .3rem 1.1rem; border: 5px double var(--accent-ink); color: var(--accent-ink); font: 800 2.6rem/1 var(--font-body); text-transform: uppercase; transform: rotate(-8deg); }
@media (prefers-reduced-motion: no-preference) { .success:not([hidden]) .success-stamp { animation: stamp2 .5s cubic-bezier(.3, 1.6, .5, 1) .15s both; } }
@keyframes stamp2 { from { opacity: 0; transform: rotate(-8deg) scale(2.2); } }
.success h2 { font: 500 clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem)/1.1 var(--font-display); margin-bottom: .8rem; }
.success p { color: var(--muted); max-width: 30rem; margin-inline: auto; }
.wo-aside { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.5rem; }
@media (max-width: 959px) { .wo-aside { position: static; } }
.ticket-static .ticket-clip { margin-top: -12px; }
.wo-call { padding: 1.2rem 1.3rem; background: var(--ink); color: var(--white); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--accent); }
.wo-call .call-label { color: var(--muted-on-dark); }
.wo-note { display: flex; gap: .75rem; padding: 1.1rem 1.2rem; border: 2px solid var(--ink); background: var(--paper); color: var(--muted); font-size: .9375rem; }
.wo-note svg { width: 22px; height: 22px; flex: none; color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - var(--header-h) - 2px); display: grid; align-items: center; padding-block: 4rem; }
.notfound .display { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.6rem); }

/* ---------- Utilities ---------- */
.ar-43 { aspect-ratio: 4 / 3; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Reveal (JS only; everything is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > :nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > :nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > :nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > :nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > :nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Logo colours (same mark as the live site: navy/cream back peak, gold front) */
.wm-back { fill: var(--navy); }
.wm-front { fill: var(--tape); }
.on-ink .wm-back, .site-footer .wm-back, .mobile-menu .wm-back { fill: var(--paper); }
/* The sign is a white panel inside dark sections: pin its colours */
.sign .sign-head, .sign .sign-sub { margin: 0; color: var(--ink); }
.sign .rule p, .sign .rule .fine { color: var(--muted); }
.sign h3 { color: var(--ink); }
.site-footer .footer-giant { font-size: min(calc((100vw - 2 * var(--gutter)) / 4.5), 17.2rem); color: #1C2E4D; -webkit-text-stroke: 0; }
.estimate h3 { padding-right: 5.5rem; }
.site-header .wm-sub { color: #765A21; }
.cta-band .btn-ink { box-shadow: 4px 4px 0 var(--white); }
.cta-band .btn-ink:hover { box-shadow: 6px 6px 0 var(--white); }
.cta-band .btn-ink:active { box-shadow: 0 0 0 var(--white); }

/* =====================================================================
   REVIEW FIXES (critique pass)
   ===================================================================== */

/* Focus: navy ring on light backgrounds, gold ring on navy ones */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .section-ink :focus-visible, .site-footer :focus-visible,
.mobile-menu :focus-visible, .wo-call :focus-visible, .subnav-card :focus-visible { outline-color: var(--accent); }

/* Hero: keep the main button on the first screen of common laptops */
.hero-inner { padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero .label { margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.5rem, min(.6rem + 5.2vw, 10vh), 5.6rem); margin-bottom: 1.25rem; }
.hero-lede { margin-bottom: 1.6rem; }
.hero-actions { margin-bottom: 1.25rem; }
@media (max-width: 899px) { .printer { justify-self: center; } }

/* Header: current page gets a navy bar, so the gold button is the only gold block */
.primary-nav a[aria-current="page"] { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 100% 3px; }
/* Keep the menu visible down to 900px: drop the phone text first, keep the call icon */
@media (min-width: 900px) and (max-width: 1079px) {
  .primary-nav { display: block; }
  .primary-nav ul { gap: 0; }
  .primary-nav a { padding: .55rem .55rem; }
  .header-actions { margin-left: .75rem; }
  .menu-toggle { display: none; }
}

/* Motion: the trades banner pauses on hover/focus and has a pause button; the live dot stops */
.marquee { position: relative; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-list a { color: inherit; text-decoration: none; }
.marquee-list a:hover { color: var(--accent); }
.marquee-toggle {
  position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 2px solid var(--paper); box-shadow: 3px 3px 0 var(--accent);
}
.marquee-toggle svg { width: 16px; height: 16px; }
.marquee-toggle .i-play { display: none; }
.marquee.is-paused .marquee-toggle .i-play { display: block; }
.marquee.is-paused .marquee-toggle .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .marquee-toggle { display: none; } .marquee-track { flex-wrap: wrap; width: auto; } .marquee-list[aria-hidden="true"] { display: none; } }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation-iteration-count: 3; } }

/* Readable line length */
.faq-a p, .prose p, .prose li { max-width: 31em; }

/* Phones: sticky section menus stop sticking, so they don't eat a third of the screen */
@media (max-width: 959px) { .subnav { position: static; } }
@media (max-width: 759px) { .filter-bar { position: static; } }

/* Free sample page on phones: form starts on the first screen */
@media (max-width: 759px) {
  .page-hero-compact .page-hero-inner { padding-block: 1.25rem 1.1rem; }
  .page-hero-compact .crumb { display: none; }
  .page-hero-compact h1 { font-size: 2.1rem; margin-bottom: .6rem; }
  .page-hero-compact .lede { font-size: 1rem; }
  .page-hero-compact .ruler { height: 12px; background-size: 96px 100%, 48px 60%, 12px 0; }
  .page-hero-compact + .section { padding-top: 1.5rem; }
  .wo-body h2 { font-size: 1.5rem; }
  .form-intro { margin-bottom: 1.1rem; }
}
/* Compact live work order that sticks above the form on phones */
.wo-mini { display: none; }
@media (max-width: 959px) {
  .wo-mini {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem .75rem;
    position: sticky; top: calc(var(--header-h) + 2px); z-index: 5;
    padding: .6rem 1rem; background: var(--white); border-bottom: 2px solid var(--ink);
    font: 400 .875rem/1.25 var(--font-body); text-transform: uppercase; font-variant-numeric: tabular-nums; }
  .wo-mini span { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .04em; }
  .wo-mini b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wo-mini b.is-filled { color: var(--ink); }
  .wo-aside .ticket-static { display: none; }
}

/* Inline form errors */
.field-error { margin: .1rem 0 0; font: 700 .9375rem/1.35 var(--font-body); color: #9E2A0E; }
.field-error:empty { display: none; }
.field [aria-invalid="true"], .choice[aria-invalid="true"] .cc-body { border-color: #9E2A0E; box-shadow: 4px 4px 0 #9E2A0E; }

/* Privacy page and other long text */
.prose { max-width: 46rem; }
.prose h2 { font: 500 clamp(1.4rem, 1.2rem + .8vw, 1.8rem)/1.15 var(--font-display); margin: 2.5rem 0 .8rem; }
.prose p, .prose li { color: var(--ink-3); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; }
.prose a { overflow-wrap: anywhere; }

/* Footer: trades column and social links */
.footer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, .85fr) minmax(0, 1.35fr) minmax(0, .95fr); }
@media (max-width: 1079px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; list-style: none; }
.footer-social a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border: 1.5px solid var(--ink-3); font: 700 .8125rem/1 var(--font-body); }
.footer-social a:hover { border-color: var(--accent); }

/* Trade pages */
.trade-ideas { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.trade-ideas li { padding: 1.4rem; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--hard-sm); }
.trade-ideas b { display: block; margin-bottom: .5rem; font: 600 1.35rem/1.15 var(--font-display); }
.trade-ideas p { margin: 0; color: var(--muted); }
@media (max-width: 859px) { .trade-ideas { grid-template-columns: minmax(0, 1fr); } }
.trade-links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.trade-links a { display: inline-block; padding: .55rem .85rem; border: 2px solid var(--ink); background: var(--paper); font: 700 1.0625rem/1 var(--font-body); text-decoration: none; }
.trade-links a:hover, .trade-links a[aria-current="page"] { background: var(--accent); }

/* Notice sign: the PMP mark instead of hazard triangles */
.sign-head svg { width: clamp(34px, 4vw, 46px); }
.sign-head .wm-back { fill: var(--ink); }
.sign-head .wm-front { fill: var(--paper); }

/* Size-matched fallbacks (measured): while the web fonts load, text takes up the
   same width, so headlines don't jump to a different number of lines. */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 93%; }
@font-face { font-family: "Public Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Roboto"); size-adjust: 104%; }
.marquee::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: calc(var(--gutter) + 72px); z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(20, 35, 60, 0), var(--ink) 55%); }
