/* Option 01, Work Order. A printed carbonless work order, set crisp and modern. */
:root {
  --paper: #F6F3EC;
  --sheet: #FFFFFF;
  --print: #3F6E82;
  --steel: #5E93A9;
  --deep: #2C505F;
  --ink: #14181B;
  --ink2: #3A4550;
  --rule: #C6D7DF;
  --edge: #8FAFBE;
  --tint: #EAF1F4;
  --dup: #DCE8EE;
  --pad: 16px;
  --sans: "Encode Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --logo-roof: #5E93A9;
  --logo-word: #000000;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }
.menu :focus-visible, .band :focus-visible, .bottombar :focus-visible, .btn-primary:focus-visible, .btn-head:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 5px #fff; }
.menu :focus-visible { outline-color: #fff; box-shadow: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -0.02em; }
p, li, dd, figcaption, summary { text-wrap: pretty; }
p { margin: 0; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; }
.nw { white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; }
.box { width: 28px; height: 28px; flex: none; color: var(--print); }
.box .tick, .box use { color: inherit; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 2px solid transparent; border-radius: 0;
  font: 700 17px/1.1 var(--sans); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--print); border-color: var(--print); color: #fff; }
.btn-primary:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn-line { background: var(--sheet); border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-onink { background: transparent; border-color: #fff; color: #fff; }
.btn-onink:hover { background: #fff; color: var(--ink); }

/* the shared options bar is 2 px too wide at 390 once its small label shows: hide that label a little longer */
@media (max-width: 409px) { .cfbar-home small { display: none; } }
p a[href^="tel:"], .nextdoor a { white-space: nowrap; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--edge); }
.head-in { display: flex; align-items: center; gap: 14px; max-width: 1280px; margin: 0 auto; padding: 8px 14px 8px 12px; min-height: 64px; }
.brand { display: block; width: 66px; flex: none; margin-right: auto; }
.brand svg, .stub-logo svg { width: 100%; height: auto; }
.nav { display: none; }
.btn-head { min-height: 44px; padding: 0 14px; background: var(--print); border-color: var(--print); color: #fff; font-size: 16px; }
.btn-head:hover { background: var(--deep); color: #fff; }
.btn-head .long { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: var(--sheet); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; font: 700 16px/1 var(--sans); cursor: pointer;
}
.menu-lines { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

/* Menu layer: full height, solid ink, cannot blend into the page */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--ink); color: #fff; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: max(14px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.menu-title { font: 900 15px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.menu-title span { font-weight: 500; letter-spacing: .08em; opacity: .8; margin-left: 8px; }
.menu-close { min-height: 44px; padding: 0 16px; background: transparent; color: #fff; border: 2px solid #fff; font: 700 16px/1 var(--sans); cursor: pointer; }
.menu-list { list-style: none; margin: 8px 0 24px; padding: 0; }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; font: 800 26px/1.15 var(--sans); letter-spacing: -0.01em; }
.menu-list .mono { font-size: 14px; font-weight: 500; color: #A9C6D3; width: 18px; }
.menu-actions { display: grid; gap: 12px; margin-top: auto; }
html.menu-open { overflow: hidden; }

/* ---------- The desk and the sheet ---------- */
.desk { padding: 14px 14px 28px 8px; isolation: isolate; }
.sheet { position: relative; max-width: 1200px; margin: 0 auto; background: var(--sheet); border: 1px solid var(--edge); padding: 0 var(--pad); }
/* the duplicate (customer copy) peeking out under the top sheet */
.sheet::before { content: ""; position: absolute; inset: 0; transform: translate(6px, 6px); background: var(--dup); border: 1px solid var(--edge); z-index: -1; }
main { display: block; }

/* shared form language */
.flabel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font: 700 12.5px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--print); }
.flabel b { font-weight: 600; }
.strip {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 0 calc(-1 * var(--pad)); padding: 10px var(--pad); min-height: 46px;
  background: var(--tint); border-top: 2px solid var(--print); border-bottom: 1px solid var(--edge);
  font: 700 12.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--print);
}
.strip p:first-child { display: flex; align-items: center; gap: 10px; }
.strip p:first-child .mono { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--print); font-size: 13px; letter-spacing: 0; color: var(--ink); background: var(--sheet); }
.strip-r { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: 12.5px; }
.sec { padding-bottom: 40px; }
.sec-head { padding: 30px 0 22px; }
.sec-head h2 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3rem); line-height: 1.04; }
.intro { margin-top: 12px; font-size: 18px; color: var(--ink2); max-width: 60ch; }
.go { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--deep); text-decoration: underline; }
.go .ic { width: 18px; height: 18px; }

/* ---------- A. Hero: the work order ---------- */
.band {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between;
  margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); background: var(--print); color: #fff;
}
.band-title { display: flex; align-items: center; min-height: 48px; font: 900 17px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.band-fields { display: flex; margin: 0; }
.band-fields > div { display: flex; flex-direction: column; justify-content: center; padding: 6px 0 6px 14px; }
.band-fields dt { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: .92; }
.band-fields dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.band-fields dd a { color: #fff; text-decoration: none; }
.band-fields .box { width: 18px; height: 18px; color: #fff; }
.bf-lic, .bf-phone { display: none !important; }

.hero-grid { padding: 26px 0 24px; }
.kicker { font: 700 13px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--print); }
.hero h1 { margin-top: 12px; font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 850; }
.lead { margin-top: 16px; font-size: 17.5px; line-height: 1.6; color: var(--ink2); max-width: 40em; }
.ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.ctas .btn-primary { grid-column: 1 / -1; }
.ctas .btn-line { padding: 0 12px; }
.note { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }

.job { margin-top: 26px; }
.job .flabel { padding-bottom: 6px; border-bottom: 1.5px solid var(--print); }
.job-lines { list-style: none; margin: 0; padding: 0; }
.job-lines li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; min-height: 46px; padding: 11px 0 9px; border-bottom: 1px solid var(--rule); }
.job-lines .ln { font-size: 13px; color: var(--print); }
.job-lines .t { font-size: 16.5px; line-height: 1.5; color: var(--ink); font-weight: 450; }
.caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--print); }

.attach { margin: 28px 0 0; }
.attach .flabel { padding-bottom: 6px; margin-bottom: 10px; border-bottom: 1.5px solid var(--print); }
.attach-frame img { width: 100%; height: auto; }
.cap { display: grid; gap: 4px; margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.cap-k { font: 700 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--print); }
.cap-v { font-size: 14.5px; line-height: 1.55; color: var(--ink); text-wrap: balance; }

.terms { display: grid; grid-template-columns: 1fr; margin: 0 calc(-1 * var(--pad)); border-top: 1.5px solid var(--print); }
.terms > div { display: grid; grid-template-columns: 92px 1fr; align-items: baseline; padding: 12px var(--pad) 13px; border-bottom: 1px solid var(--rule); }
.terms dt { font: 700 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--print); }
.terms dd { display: flex; align-items: flex-start; gap: 10px; margin: 0; font: 500 15px/1.45 var(--mono); }
.terms dd .box { width: 22px; height: 22px; margin-top: -1px; }

/* ---------- B. Line items ---------- */
.items { width: 100%; border-collapse: collapse; }
.items thead tr { background: var(--print); color: #fff; }
.items thead th { padding: 11px 12px; text-align: left; font: 700 12.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.items tbody tr { border-bottom: 1px solid var(--rule); }
.items tbody th { font-size: 14px; font-weight: 500; color: var(--print); text-align: left; vertical-align: baseline; }
.items .w { font-weight: 800; font-size: 18.5px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.items td { vertical-align: baseline; color: var(--ink2); }
@media (max-width: 767px) {
  .items, .items tbody { display: block; }
  .items thead { display: block; }
  .items thead tr { display: grid; grid-template-columns: 50px 1fr; }
  .items thead th:nth-child(3) { display: none; }
  .items tbody tr { display: grid; grid-template-columns: 50px 1fr; padding: 14px 0 15px; }
  .items tbody th { grid-row: 1 / span 2; padding: 3px 0 0 12px; }
  .items td { padding: 0 8px 0 0; }
  .items td:last-child { margin-top: 4px; font-size: 16px; line-height: 1.5; }
}
.items-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 22px; }
.closing { font-size: 19px; font-weight: 750; line-height: 1.35; max-width: 34ch; letter-spacing: -0.01em; }

/* ---------- C. Attachments ---------- */
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
/* Attachments 1 to 6: a swipe strip of big squares on phones and tablets, a composed sheet on desktop */
.atts { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc(100vw - 92px); gap: 12px;
  margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad) 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--edge) transparent; }
.att { scroll-snap-align: start; border: 1px solid var(--rule); border-top: 1.5px solid var(--print); background: var(--sheet); }
.att figure { margin: 0; padding: 12px; display: flex; flex-direction: column; height: 100%; }
.att .flabel { padding-bottom: 8px; }
.att .flabel .mono { font-weight: 600; letter-spacing: .02em; }
.ph { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tint); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-carpentry-fence-gates img { object-position: 50% 0%; transform: scale(1.34); transform-origin: 50% 6%; }
.ph-carpentry-ac-screen img { object-position: 56% 60%; }
.ph-outdoor-rock-drainage img { object-position: 50% 62%; }
.att .cap { flex: 1; align-content: start; border-bottom: 0; padding-bottom: 2px; }
.cap-t { font-weight: 800; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.att .cap-v { font-size: 14px; }
.swipe-hint { margin-top: 2px; }
.swipe-hint .mono { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.swipe-hint .ic { width: 18px; height: 18px; }
@media (max-width: 399px) { .swipe-hint .mono { display: none; } }

/* ---------- D. Procedure ---------- */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--print); }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.steps .box { grid-row: 1 / span 3; width: 40px; height: 40px; margin-top: 2px; }
.step-n { font-size: 13px; font-weight: 500; color: var(--print); letter-spacing: .02em; }
.steps h3 { margin-top: 2px; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.steps p:last-child { margin-top: 6px; color: var(--ink2); }

/* ---------- E. Terms ---------- */
.sec-head-stamp { display: grid; grid-template-columns: 1fr 104px; gap: 14px 16px; align-items: center; }
.sec-head-stamp > div { display: contents; }
.sec-head-stamp h2 { grid-column: 1 / -1; }
.sec-head-stamp .intro { grid-column: 1; margin-top: 0; }
.sec-head-stamp .stamp { grid-column: 2; grid-row: 2; }
.stamp { width: 104px; height: 104px; color: var(--print); transform: rotate(-9deg); margin-top: 4px; }
.stamp-ring { font: 700 13px var(--sans); letter-spacing: .5px; fill: currentColor; }
.stamp-big { font: 900 31px var(--sans); letter-spacing: 2px; fill: currentColor; }
.termbox { margin: 0; border-top: 1.5px solid var(--print); }
.tb { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.tb dt { display: flex; flex-direction: column; }
.tb-n { font-size: 12.5px; font-weight: 500; color: var(--print); }
.fig { display: block; margin-top: 4px; font-size: 40px; line-height: 1.05; font-weight: 600; letter-spacing: -0.06em; color: var(--ink); }
.fig-90 { font-size: 104px; line-height: .95; letter-spacing: -0.06em; font-weight: 800; color: var(--print); }
.tb-k { margin-top: 8px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.tb dd { margin: 6px 0 0; color: var(--ink2); }

/* ---------- F. Service address ---------- */
.area-label { padding-bottom: 8px; }
.area-label span:last-child { font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 14px; color: var(--ink2); }
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--print); border-left: 1px solid var(--rule); }
.cities li { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cities .box { width: 26px; height: 26px; }
.city { font-weight: 800; font-size: 16.5px; line-height: 1.2; letter-spacing: -0.01em; }
.st { display: none; }
.cities .st { margin-left: auto; font-size: 12.5px; color: var(--print); }
.area-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 20px; }
.nextdoor { max-width: 62ch; color: var(--ink2); }
.nd-k { font-weight: 800; color: var(--ink); }

/* ---------- G. Notes ---------- */
.notes { border-top: 1.5px solid var(--print); }
.notes details { border-bottom: 1px solid var(--rule); }
.notes summary { display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 10px; min-height: 64px; padding: 12px 0; cursor: pointer; list-style: none; }
.notes summary::-webkit-details-marker { display: none; }
.nn { font-size: 13px; color: var(--print); }
.q { font-weight: 800; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.pm { position: relative; width: 28px; height: 28px; border: 1.5px solid var(--print); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--print); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: none; }
.notes summary:hover .q { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.notes .a { padding: 0 0 20px 48px; }
.notes .a p { max-width: 68ch; color: var(--ink2); }

/* ---------- H. Customer (quote) ---------- */
.quote-grid { display: grid; gap: 30px; padding-top: 30px; }
.quote-side h2 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3rem); line-height: 1.04; }
.fast-k { margin-top: 18px; font: 700 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--print); }
.bignum { display: block; margin-top: 6px; padding-bottom: 6px; font-family: var(--sans); font-size: clamp(2.25rem, 1.5rem + 3vw, 3.6rem); line-height: 1.1; font-weight: 850; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--print); }
.bignum:hover { color: var(--deep); }
.fast-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.or { margin-top: 24px; color: var(--ink2); }
.helpful { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.helpful li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.helpful .box { width: 24px; height: 24px; margin-top: 1px; }

.qform { border-top: 1.5px solid var(--print); padding-top: 12px; }
.form-label { padding-bottom: 4px; }
.fgrid { display: grid; grid-template-columns: 1fr; gap: 6px 26px; }
.f { display: flex; flex-direction: column; padding-top: 14px; }
.f label { font: 700 12.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--print); }
.req { color: var(--ink); }
.f input, .f select, .f textarea {
  width: 100%; margin-top: 4px; padding: 8px 2px 8px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: 450 17px/1.4 var(--mono); min-height: 48px;
}
.f select { -webkit-appearance: none; appearance: none; padding-right: 30px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%233F6E82' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 4px center / 18px; }
.f textarea {
  resize: vertical; min-height: 182px; padding: 0 2px; line-height: 36px; border-bottom: 0;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, var(--rule) 35px, var(--rule) 36px);
  background-attachment: local; border-top: 0;
}
.f textarea::placeholder, .f input::placeholder { color: #69757F; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--print); box-shadow: 0 2px 0 0 var(--print); background-color: #F7FAFB; }
.f textarea:focus { box-shadow: inset 0 -2px 0 0 var(--print); }
.hp { display: none; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.submit-row .btn { width: 100%; }
.status { font-size: 14px; color: var(--deep); min-height: 1px; }

/* ---------- Tear-off stub (footer) ---------- */
.stub { position: relative; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 22px; background: #F1F6F8; }
.perf { height: 22px; margin: 0 calc(-1 * var(--pad)); background:
  radial-gradient(circle at 8px 11px, var(--paper) 0 3.2px, var(--edge) 3.3px 4.2px, transparent 4.3px) 0 0 / 16px 22px repeat-x,
  linear-gradient(var(--sheet), var(--sheet)); }
.strip-stub { border-top: 0; border-bottom: 1px solid var(--edge); background: transparent; }
.stub-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px 20px; padding-top: 22px; align-items: start; }
.stub-brand { grid-column: 1 / -1; align-content: start; }
.stub-logo { display: block; width: 92px; margin-bottom: 14px; }
.stub-brand p { max-width: 44ch; color: var(--ink2); }
.stub-phone { white-space: nowrap; color: var(--ink); font-family: var(--sans); font-weight: 750; }
.stub-col .flabel { padding-bottom: 6px; border-bottom: 1.5px solid var(--print); }
.stub-col ul { list-style: none; margin: 0; padding: 0; }
.stub-col li { border-bottom: 1px solid var(--rule); }
.stub-col a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.stub-col a { text-wrap: balance; }
.stub-col a:hover { color: var(--deep); text-decoration: underline; }
.copy { margin: 22px calc(-1 * var(--pad)) 0; padding: 14px var(--pad) 0; border-top: 1px solid var(--edge); font-size: 13.5px; color: var(--ink2); }

/* ---------- Phone bottom bar ---------- */
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); border-top: 1px solid var(--ink); }
.bb { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; color: #fff; font: 700 17px/1 var(--sans); text-decoration: none; }
.bb-call { background: var(--print); }
.bb-quote { background: var(--ink); }
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }

/* ---------- 600 and up ---------- */
@media (min-width: 600px) {
  :root { --pad: 28px; }
  .desk { padding: 20px 28px 36px 20px; }
  .sheet::before { transform: translate(8px, 8px); }
  .bf-lic, .bf-phone { display: flex !important; }
  .band-fields > div { padding: 6px 0 6px 18px; margin-left: 18px; border-left: 1px solid rgba(255, 255, 255, .45); }
  .band-title { font-size: 20px; min-height: 58px; }
  .ctas { display: flex; flex-wrap: wrap; }
  .ctas .btn-line { padding: 0 20px; }
  .atts { grid-auto-columns: calc(46vw - 49px); gap: 16px; }
  .terms { grid-template-columns: 1fr 1fr; }
  .terms > div:nth-child(odd) { border-right: 1px solid var(--rule); }
  .steps li { grid-template-columns: 48px 120px 1fr; }
  .steps .box { grid-row: 1 / span 2; width: 44px; height: 44px; }
  .step-n { grid-column: 2; grid-row: 1 / span 2; padding-top: 10px; }
  .steps h3 { grid-column: 3; }
  .steps p:last-child { grid-column: 3; }
  .sec-head-stamp { grid-template-columns: 1fr 150px; }
  .sec-head-stamp > div { display: block; }
  .sec-head-stamp h2 { grid-column: auto; }
  .sec-head-stamp .intro { margin-top: 12px; }
  .sec-head-stamp .stamp { grid-column: 2; grid-row: 1; }
  .stamp { width: 150px; height: 150px; }
  .cities li { min-height: 72px; }
  .st { display: inline; }
  .city { font-size: 19px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .f-wide { grid-column: 1 / -1; }
  .submit-row .btn { width: auto; }
  .stub-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stub-col a { font-size: 16px; }
  .stub-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; align-content: start; }
  .stub-logo { width: 110px; margin: 0; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .attach-frame { aspect-ratio: 4 / 3; overflow: hidden; }
  .attach-frame img { height: 100%; object-fit: cover; object-position: 50% 64%; }
}

/* ---------- 768 and up ---------- */
@media (min-width: 768px) {
  .bottombar { display: none; }
  body { padding-bottom: 0; }
  .btn-head .long { display: inline; }
  .btn-head .short { display: none; }
  .head-in { padding: 10px 28px 10px 20px; }
  .brand { width: 72px; }
  .items thead th:first-child, .items tbody th { width: 90px; padding-left: 16px; }
  .items thead th:nth-child(2) { width: 34%; }
  .items tbody th, .items td { padding: 17px 16px 18px; }
  .items td:last-child { font-size: 17px; }
  .tb { display: grid; grid-template-columns: 270px 1fr; column-gap: 36px; align-items: end; }
  .tb dd { margin: 0; padding-bottom: 3px; }
  .cities { grid-template-columns: repeat(4, 1fr); }
  .quote-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
}

/* ---------- 1024 and up ---------- */
@media (min-width: 1024px) {
  :root { --pad: 40px; }
  .desk { padding: 28px 40px 56px; }
  .sheet::before { transform: translate(11px, 11px); }
  .head-in { padding: 10px 40px; min-height: 72px; gap: 28px; }
  .brand { width: 76px; margin-right: 0; }
  .nav { display: flex; gap: 4px; margin-right: auto; }
  .nav a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); font-weight: 650; font-size: 16px; text-decoration: none; border-bottom: 2px solid transparent; }
  .nav a:hover { border-bottom-color: var(--print); color: var(--deep); }
  .menu-btn { display: none; }
  .band-title { font-size: 24px; min-height: 64px; letter-spacing: .24em; }
  .band-fields dd { font-size: 16px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 48px; padding: 36px 0 34px; align-items: start; }
  .attach { display: block; margin: 4px 0 0; }
  .attach .cap { margin-top: 10px; }
  .lead { font-size: 19px; }
  .job { margin-top: 30px; }
  .job-lines .t { font-size: 17.5px; }
  .steps li { grid-template-columns: 52px 130px minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 20px; align-items: start; padding: 26px 0 28px; }
  .steps .box { grid-row: 1; }
  .step-n { grid-row: 1; padding-top: 12px; }
  .steps h3 { grid-column: 3; grid-row: 1; padding-top: 4px; font-size: 25px; }
  .steps p:last-child { grid-column: 4; grid-row: 1; margin-top: 0; padding-top: 6px; }
  .sec-head-stamp { grid-template-columns: 1fr 186px; align-items: center; padding-bottom: 6px; }
  .stamp { width: 186px; height: 186px; margin: -8px 8px -14px 0; }
  .termbox { display: grid; grid-template-columns: 1fr 1.35fr 1fr; }
  .tb { display: block; padding: 24px 24px 26px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .tb:first-child { padding-left: 0; }
  .tb:last-child { border-right: 0; padding-right: 0; }
  .tb dd { margin-top: 6px; padding: 0; }
  .tb-k { margin-top: 14px; }
  .terms { grid-template-columns: repeat(4, 1fr); }
  .terms > div { display: block; border-right: 1px solid var(--rule); padding: 14px var(--pad) 16px; }
  .terms dd { margin-top: 8px; font-size: 16px; }
  .terms > div:last-child { border-right: 0; }
  .fig { height: 128px; display: flex; align-items: flex-end; font-size: 44px; }
  .fig.fig-90 { font-size: 150px; line-height: .8; }
  .sec-head { padding: 40px 0 28px; }
  .sec { padding-bottom: 52px; }
  .stub-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
  .stub-brand { grid-column: auto; grid-template-columns: 1fr; gap: 16px; }
  .stub-logo { width: 116px; }
}
@media (min-width: 1024px) {
  .atts { display: grid; grid-auto-flow: row; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0;
    overflow: visible; border-top: 1.5px solid var(--print); border-left: 1px solid var(--rule); }
  .att { border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); grid-column: span 3; }
  .att-feature { grid-column: span 8; }
  .att-tall { grid-column: span 4; }
  .att-feature .ph { aspect-ratio: 16 / 9; }
  .att-feature .ph img { object-position: 50% 4%; transform: none; }
  .att-tall .cap { flex: 0 0 auto; }
  .att-sm .cap-t { font-size: 16px; letter-spacing: -0.015em; }
  .att-tall .ph { aspect-ratio: auto; flex: 1 1 0; min-height: 260px; }
  .att-feature .cap-t { font-size: 22px; }
  .att-feature .cap-v { font-size: 15.5px; }
  .att-feature .flabel, .att-feature .cap-k { font-size: 13px; }
  .swipe-hint { display: none; }
}
@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 56px; }
  .att figure { padding: 14px; }
}

/* ---------- Motion (enhancement only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  [data-tick].primed .tick { stroke-dasharray: 30; stroke-dashoffset: 30; }
  [data-tick].is-ticked .tick { animation: tick .5s cubic-bezier(.3, .7, .3, 1) forwards; }
  @keyframes tick { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
  .btn, .go, .nav a { transition: background-color .15s, color .15s, border-color .15s; }
}
.band-fields .box .tick { stroke: #fff; }

/* Production: the current page in the header nav */
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
