/* Upkeep Desk, v1. Tokens first; everything reads from them. */
:root {
  /* v3 palette (2026-10-22, Snow): cream, blue, black. Editorial serif for display, grotesk for text, mono for labels. */
  --paper: #f4efe4;
  --panel: #fffdf8;
  --ink: #0f1114;
  --slate: #3b4250;
  --muted: #646a76;
  --line: #e2dccd;
  --accent: #1f4fd6;        /* marks, rules, ticks */
  --accent-ink: #1a3fb0;    /* text and buttons: 7.7:1 on paper */
  --accent-deep: #102a6b;
  --accent-soft: #e7ecfb;
  --accent-line: #c6d2f3;
  --dark: #0f1114;
  --dark-2: #1a1d23;
  --dark-line: #2c3039;
  --dark-text: #ede8dc;
  --dark-muted: #a3a89f;
  --wrap: 1080px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(27,29,33,.04), 0 10px 28px rgba(27,29,33,.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.58; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; margin-bottom: 14px; }
h2 { font-size: clamp(24px, 2.7vw, 32px); line-height: 1.16; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.28; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--slate); max-width: 36em; }
.muted { color: var(--muted); }
.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 12px; }
.hide { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 2px solid transparent; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent-ink); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }

/* top */
.previewbar { background: var(--dark); color: var(--dark-muted); font-size: 13px; padding: 8px 0; }
.previewbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.previewbar a { color: var(--dark-text); }
header.top { position: sticky; top: 0; z-index: 20; background: rgba(247,245,240,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Playfair Display', serif; font-weight: 500; font-size: 19px; white-space: nowrap; letter-spacing: -.005em; }
.brand .mark { width: 30px; height: 30px; }
nav.nav { display: flex; gap: 20px; }
nav.nav a { color: var(--slate); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.nav a:hover { color: var(--ink); }
.topcta { display: flex; align-items: center; gap: 14px; }
.topcta .phone { font-weight: 600; color: var(--ink); text-decoration: none; }
@media (max-width: 860px) { nav.nav { display: none; } .topcta .phone { display: none; } }

/* hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.hero .fine { font-size: 14px; color: var(--muted); max-width: 40em; }
.report { background: var(--dark); color: var(--dark-text); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.report .sample { position: absolute; top: 14px; right: 16px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); border: 1px solid var(--dark-line); border-radius: 999px; padding: 3px 8px; }
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-right: 70px; margin-bottom: 12px; }
.report-head strong { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 20px; color: #fff; }
.report-head span { font-size: 13px; color: var(--dark-muted); }
.report ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.report li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.report .tick { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 999px; background: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.report .tick svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.2; fill: none; }
.report .zone { display: block; color: #fff; font-weight: 500; }
.report .note { display: block; color: var(--dark-muted); font-size: 13px; }
.report-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--dark-line); font-size: 12.5px; color: var(--dark-muted); }
@media (max-width: 860px) { .hero { padding: 36px 0 28px; } .hero .wrap { grid-template-columns: 1fr; gap: 26px; } }

/* sections */
section { padding: 44px 0; border-top: 1px solid var(--line); }
section.band { background: var(--panel); }
.sec-head { margin-bottom: 22px; max-width: 70ch; }
.sec-head p { color: var(--slate); margin: 8px 0 0; }
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof { min-width: 0; border-top: 2px solid var(--accent); padding-top: 12px; }
.proof h3 { margin-bottom: 4px; }
.proof p { color: var(--slate); font-size: 15px; margin: 0; }
@media (max-width: 760px) { .proofs { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--slate); font-size: 15px; margin: 0; }
.tile .why { display: block; margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
ol.steps li { counter-increment: s; min-width: 0; position: relative; padding-top: 44px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--accent-ink); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 13px; display: grid; place-items: center; }
ol.steps h3 { font-size: 17px; margin-bottom: 4px; }
ol.steps p { color: var(--slate); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { ol.steps { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.box { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.box.soft { background: var(--accent-soft); border-color: var(--accent-line); }
.box ul { margin: 10px 0 0; padding-left: 18px; color: var(--slate); font-size: 15px; display: grid; gap: 6px; }
.box ul b { color: var(--ink); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.crew-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.crew-card .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.crew-card h3 { font-size: 22px; }
.crew-card .city { color: var(--muted); font-size: 14px; margin: 2px 0 10px; }
.crew-card p { color: var(--slate); font-size: 15px; margin: 0; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
@media (max-width: 760px) { .crew { grid-template-columns: 1fr; } }

/* vendor band */
section.vendors { background: var(--dark); color: var(--dark-text); border-top: 0; }
section.vendors h2, section.vendors h3 { color: #fff; }
section.vendors .eyebrow { color: #e5a57c; }
section.vendors p { color: var(--dark-muted); }
section.vendors .two .box { background: var(--dark-2); border-color: var(--dark-line); box-shadow: none; }
section.vendors .box ul { color: var(--dark-muted); }
section.vendors .box ul b { color: #fff; }
section.vendors .btn-primary { background: var(--accent); }
section.vendors .btn-primary:hover { background: var(--accent-ink); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
form.lead { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.status { margin-top: 12px; font-size: 14.5px; min-height: 22px; }
.status.ok { color: #1d6b3a; }
.status.err { color: #9b1c1c; }
.contact-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--slate); font-size: 15px; }
.contact-card .big { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; display: block; margin: 6px 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 24px 0 48px; color: var(--muted); font-size: 13px; }
footer.site .fineprint { font-size: 11.5px; line-height: 1.5; margin: 6px 0 0; }
footer.site .fineprint a { color: var(--muted); }
footer.site .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
footer.site b { color: var(--ink); }
footer.site ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }

/* visuals */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.photos figure { min-width: 0; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.photos img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photos figcaption { padding: 10px 14px 12px; font-size: 14px; color: var(--slate); }
.photos figcaption b { color: var(--ink); }
.photos-note { font-size: 12.5px; margin: 10px 0 0; }
@media (max-width: 760px) { .photos { grid-template-columns: 1fr; } .photos img { height: 200px; } }
.banner { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 26px; }
.banner img { width: 100%; height: 320px; object-fit: cover; display: block; }
.banner-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; background: linear-gradient(180deg, rgba(27,29,33,0) 0%, rgba(27,29,33,.82) 60%); color: #fff; }
.banner-cap .eyebrow { margin-bottom: 6px; }
.banner-cap strong { display: block; font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.25; max-width: 30em; }
@media (max-width: 760px) { .banner img { height: 220px; } .banner-cap { padding: 16px; } }
.diagram { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 6px; margin-bottom: 18px; box-shadow: var(--shadow); overflow-x: auto; }
.diagram svg { width: 100%; min-width: 620px; height: auto; display: block; font-family: 'Space Grotesk', system-ui, sans-serif; }
.dg-title { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; fill: var(--accent-ink); }
.dg-note { font-size: 13px; fill: var(--muted); }
.dg-small { font-size: 11px; fill: var(--dark-muted); }
.dg-you rect { fill: var(--accent-soft); stroke: var(--accent-line); }
.dg-you text { font-size: 14px; font-weight: 600; fill: var(--ink); }
.dg-vendor rect { fill: #fff; stroke: var(--line); }
.dg-vendor text { font-size: 13px; fill: var(--slate); }
.dg-vendor.small text { font-size: 12px; }
.dg-desk rect { fill: var(--dark); }
.dg-desk text { font-size: 14px; font-weight: 600; fill: #fff; }
.dg-line path { fill: none; stroke: var(--line); stroke-width: 2; }
.dg-line.strong path { stroke: var(--accent-ink); stroke-width: 3; }
.dg-sep { stroke: var(--line); stroke-dasharray: 4 6; }

/* two doors on the home page, and the web desk page */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.door { min-width: 0; display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.door:hover { border-color: var(--accent-line); }
.door .eyebrow { margin-bottom: 6px; }
.door h3 { margin-bottom: 4px; }
.door p { color: var(--slate); font-size: 15px; margin: 0; }
.door .go { display: inline-block; margin-top: 10px; color: var(--accent-ink); font-weight: 600; font-size: 14px; }
@media (max-width: 640px) { .doors { grid-template-columns: 1fr; } }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.price { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price.featured { border-color: var(--accent); border-width: 2px; }
.price .amt { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 600; color: var(--ink); margin: 6px 0 2px; }
.price .amt small { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 400; color: var(--muted); }
.price .from { font-size: 13px; color: var(--muted); }
.price ul { margin: 12px 0 16px; padding-left: 18px; color: var(--slate); font-size: 14.5px; display: grid; gap: 6px; flex: 1; }
.price .btn { align-self: flex-start; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 0 0 18px; }
.toggle button { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

ol.steps.seven { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { ol.steps.seven { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { ol.steps.seven { grid-template-columns: 1fr; } }
.guarantee { margin-top: 28px; background: var(--dark); color: var(--dark-text); border-radius: 16px; padding: 22px 26px; }
.guarantee .eyebrow { color: #9db4ff; }
.guarantee p { margin: 0; font-size: 17px; }
.guarantee b { color: #fff; font-family: 'Playfair Display', serif; font-weight: 500; font-size: 24px; }
