/* Header, full-screen menu, button and footer for the retained search, pricing and guide pages. Copied from home-r5.css (lines 13-54, 89-96, 110-116, 174-187, 229-234); keep in step if the shared header or footer changes. */
:root { --hh: 72px; --hp: clamp(20px, 2vw, 32px); }
.hdr { position: fixed; z-index: 999; top: 0; left: 0; right: 0; height: var(--hh); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--hp); background: #fff; color: #010101; transition: background-color .3s var(--ease), color .3s var(--ease), transform .5s var(--ease); }
.hdr.lt { background: transparent; color: #fff; }
.hdr.hide { transform: translate3d(0, -100%, 0); }
.hl { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; line-height: 1; letter-spacing: -.035em; }
.hl img { width: 22px; height: 22px; filter: invert(1); transition: filter .3s var(--ease); }
.hdr.lt .hl img { filter: none; }
.hmenu { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 8px; border: 0; background: none; color: inherit; font: inherit; font-size: var(--fs); line-height: 1.5; cursor: pointer; }
.hmenu i { display: grid; gap: 5px; width: 22px; }
.hmenu i::before, .hmenu i::after { content: ""; display: block; border-top: 2px solid currentColor; transition: transform .3s var(--ease); }
@media (hover: hover) { .hmenu:hover i::before { transform: scaleX(.8); transform-origin: right; } .hmenu:hover i::after { transform: scaleX(.55); transform-origin: right; } }
.hdr .hl span, .hdr .hmenu span { max-width: 5em; overflow-x: clip; white-space: nowrap; transition: max-width .25s var(--ease), opacity .25s var(--ease); }
.hdr .hl img { transition: filter .3s var(--ease), width .25s var(--ease), height .25s var(--ease); }
.hdr .hmenu { transition: gap .25s var(--ease); }
.hdr.sc .hl span, .hdr.sc .hmenu span { max-width: 0; opacity: 0; }
.hdr.sc .hl img { width: 34px; height: 34px; }
.hdr.sc .hmenu { gap: 0; }
@media (prefers-reduced-motion: reduce) { .hdr .hl span, .hdr .hmenu span, .hdr .hl img, .hdr .hmenu { transition: none; } }
.mn { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); grid-template-rows: auto 1fr; padding: 0 var(--hp) var(--hp); background: #010101; color: #fff; overflow: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.mn.on { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease); }
.mn .hl img { filter: none; }
.mn-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; height: var(--hh); }
.mn-x { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 8px; border: 0; background: none; color: #fff; font: inherit; font-size: var(--fs); cursor: pointer; }
.mn-x i { position: relative; width: 22px; height: 22px; }
.mn-x i::before, .mn-x i::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; border-top: 2px solid #fff; transform: rotate(45deg); }
.mn-x i::after { transform: rotate(-45deg); }
.mn-l { grid-column: 1 / 7; align-self: center; display: flex; flex-direction: column; }
.mn-l a { display: block; overflow: hidden; font-size: clamp(40px, calc(4.5 * var(--vw)), 64px); line-height: 1.12; letter-spacing: -.05em; transition: opacity .3s var(--ease); }
.mn-l a span { display: block; transform: translate3d(0, 105%, 0); transition: transform .8s var(--ease); transition-delay: 0s; }
.mn.on .mn-l a span { transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
@media (hover: hover) { .mn-l:hover a:not(:hover) { opacity: .3; } }
.mn-pv { position: absolute; z-index: 0; top: 50%; transform: translateY(-50%); left: calc(var(--hp) + 5 * (100% - 2 * var(--hp) - 11 * var(--gut)) / 12 + 5 * var(--gut)); width: calc(3 * (100% - 2 * var(--hp) - 11 * var(--gut)) / 12 + 2 * var(--gut)); aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; background: #1c1c1c; clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease); pointer-events: none; }
.mn-pv.vis { clip-path: inset(0); }
.mn-pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s var(--ease); }
.mn-pv img.on { opacity: 1; }
.mn-s { grid-column: 10 / 13; align-self: center; display: flex; flex-direction: column; gap: 40px; padding-top: 20px; }
.mn-s h3 { margin: 0 0 12px; font: 500 10px/1.6 "Switzer", sans-serif; letter-spacing: .04em; text-transform: uppercase; opacity: .6; }
.mn-s ul { margin: 0; padding: 0; list-style: none; }
.mn-s li, .mn-s p { font-size: var(--fs); line-height: 1.5; }
.mn-s a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mn-l .mn-cta { display: block; align-self: flex-start; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -.05em; }
.mn-cta i { font-style: normal; font-size: .6em; letter-spacing: 0; transition: transform .4s var(--ease); }
@media (hover: hover) { .mn-cta:hover i { transform: translate(4px, 2px); } }
@media (max-width: 999px) { .mn-l, .mn-s { grid-column: 1 / -1; } .mn-pv { display: none; } .mn-s { margin-top: 40px; } .mn-l { align-self: start; } .mn-l a { font-size: clamp(40px, 11vw, 56px); } }
@media (prefers-reduced-motion: reduce) { .mn, .mn.on { transition: none; } .mn-l a span { transform: none; transition: none; } }
body.mnl { overflow: hidden; }
:root { --vw: 1vw; --gm: calc(7.3611 * var(--vw)); --gut: 20px; --ease: cubic-bezier(.215,.61,.355,1);
  --fs: clamp(14px, calc(1.1111 * var(--vw)), 16px); --fs-l: clamp(26px, calc(1.875 * var(--vw)), 27px); --fs-h1: clamp(36px, calc(5.5556 * var(--vw)), 80px); --fs-huge: clamp(56px, calc(9.7222 * var(--vw)), 140px); --fs-h4: clamp(28px, calc(2.5 * var(--vw)), 36px);
  --sp-large: clamp(52px, calc(5.5556 * var(--vw)), 80px); --sp-big: clamp(80px, calc(11.1111 * var(--vw)), 160px); --sp-huge: clamp(100px, calc(13.8889 * var(--vw)), 200px); --sp-enorm: clamp(140px, calc(17.3611 * var(--vw)), 250px); --sp-sec: clamp(96px, calc(13.8889 * var(--vw)), 200px);
  --w3: calc(.25 * (100 * var(--vw) - 2 * var(--gm)) - .75 * var(--gut)); --w6: calc(.5 * (100 * var(--vw) - 2 * var(--gm)) - .5 * var(--gut)); }
@media (max-width: 999px) { :root { --gm: 20px; --gut: 10px; } }
@media (max-width: 699px) { :root { --gm: 10px; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pb { display: inline-flex; align-items: center; gap: 1em; min-height: 35px; padding: .5em 1em .4em; font: 500 12px/1.6 "Switzer", sans-serif; letter-spacing: .04em; color: var(--c, #fff); background: var(--cb, #010101); border: 1px solid var(--cb, #010101); border-radius: 4px; cursor: pointer; transition: opacity .198s var(--ease), background-color .198s var(--ease), color .198s var(--ease); }
.pb.w { --c: #010101; --cb: #fff; }
.pb.o { --c: #010101; --cb: transparent; border-color: #010101; }
.pb.o.on { --c: #fff; --cb: #010101; }
@media (hover: hover) { .pb:hover { background: var(--c); color: var(--cb); } .pb.o:hover { background: #010101; color: #fff; } .pb.o.on:hover { background: transparent; color: #010101; } .pb.w:hover { background: transparent; color: #fff; border-color: #fff; } }
.pb > [aria-hidden="true"] { display: inline-block; min-width: .84em; }
.pb:focus-visible { outline: 2px solid #010101; outline-offset: 2px; }
.ft { position: relative; display: grid; min-height: 100vh; color: #fff; background: #010101; clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0); }
.ft-sa { position: relative; top: -100vh; height: calc(100% + 100vh); clip-path: polygon(0 100vh, 0 100%, 100% 100%, 100% 100vh); }
.ft-m { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 0 var(--gm); background: #010101; }
.ft-m a:hover { text-decoration: underline; }
.ft-logo { display: flex; align-items: center; gap: 8px; margin: 32px 0; font-weight: 700; font-size: 21px; letter-spacing: -.035em; }
.ft-logo img { width: 22px; height: 22px; }
.sm { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); margin: var(--sp-big) 0; }
.sm h3 { margin-bottom: 40px; font: 500 10px/1.6 "Switzer", sans-serif; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.sm li, .sm p { font-size: var(--fs); line-height: 1.5; }
.lg { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em var(--gut); margin: 40px 0; font-size: 12px; line-height: 1.6; }
@media (max-width: 699px) { .sm { grid-template-columns: 1fr 1fr; gap: 40px var(--gut); margin: 80px 0; } .sm h3 { margin-bottom: 20px; } .lg { grid-template-columns: 1fr; } .ft-logo { margin: 30px 0; } }
/* phone tap targets: at least 44px (shared header, buttons, footer) */
@media (max-width: 699px) {
  .hl, .hmenu, .pb { min-height: 44px; }
  .hl { display: inline-flex; }
  .ft-m .sm a, .mn-s li a { display: inline-block; padding: 12px 0; }
}

/* resets the retained pages' own stylesheets do not give the shared header, menu and footer (home-r5.css has them globally) */
.hdr, .mn, .ft { font: 400 var(--fs, 16px) / 1.5 "Switzer", "Helvetica Neue", Arial, sans-serif; letter-spacing: normal; -webkit-font-smoothing: antialiased; }
.mn ul, .ft ul, .mn h3, .ft h3, .mn p, .ft p { margin: 0; padding: 0; }
.mn ul, .ft ul { list-style: none; }
.hdr a, .mn a, .ft a { color: inherit; text-decoration: none; }
.hdr button, .mn button { font-family: inherit; }

/* ---------- retained pages read as the same site: white, Switzer, plain H1s, the v5 button, square cards (body.wt-v5 is added by build-release.mjs; the page bodies are untouched) ---------- */
html:has(body.wt-v5), body.wt-v5, body.wt-v5.on-tint, body.wt-v5.on-plain, body.wt-v5.is-dark { background: #fff; }
body.wt-v5 { --paper: #fff; --sans: "Switzer", "Helvetica Neue", Arial, sans-serif; --serif: var(--sans); --pr-grey: #5f5f5a; --pr-line: #e6e6e6; font-family: var(--sans); color: #010101; }
body.wt-v5 :is(h1, h2, h3, h4, .pr-big, .pr-num, .pr-dn, .pr-spec, .proj-next b, .proj-quote, .proj-cta h2) { letter-spacing: -.03em; }
.wt-v5 .pr-main .pr-h1, .wt-v5 .proj h1 { font-family: var(--sans); font-weight: 500; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -.03em; margin-top: 28px; text-wrap: balance; }
.wt-v5 .pr-main .pr-h1 .pr-lt { font-weight: 400; }
.wt-v5 .proj h1 { max-width: 14em; }
.wt-v5 :is(.pr-btn, .pill, .pill-light) { min-height: 44px; height: auto; padding: .5em 1.2em; border-radius: 4px; font: 500 14px/1.6 var(--sans); letter-spacing: .02em; border: 1px solid #010101; background: #010101; color: #fff; box-shadow: none; }
.wt-v5 :is(.pr-btn, .pill):hover { background: #fff; color: #010101; transform: none; box-shadow: none; }
.wt-v5 .pill:not([data-goo]) { background: transparent; color: #010101; box-shadow: none; }
.wt-v5 .pill:not([data-goo]):hover { background: #010101; color: #fff; }
.wt-v5 .pill-light { background: #fff; color: #010101; }
.wt-v5 .pill-light:hover { background: #010101; color: #fff; }
.wt-v5 :is(.pr-drow, .sp-table, .sp-thumb, .proj-show, .proj-next img) { border-radius: 4px; }
.wt-v5 .pr-main .pr-dh:focus-visible, .wt-v5 .pr-main .sp-build:focus-visible, .wt-v5 .pr-main .sp-price:focus-visible { border-radius: 4px; }
.wt-v5 .pr-lede { color: #4a4a45; }
/* /pricing on a phone: the open/close circle sits on the first line next to the price, not floating between the two lines, and is not a solid black disc */
@media (max-width: 760px) {
  .wt-v5 .pr-dc { align-self: start; width: 40px; height: 40px; }
  .wt-v5 .pr-drow.is-open .pr-dc { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px rgba(1, 1, 1, .25); }
}
