/* Hyde Park Exterior Care, v0 holding page (2026-10-01).
   Brand: night green #15211B, paper #F4EFE3, light blue #7FC3EA (the one action color).
   Type: Hanken Grotesk once it is self-hosted (v1); system sans until then. One spacing unit: 0.5rem. */
:root { --night: #15211B; --paper: #F4EFE3; --light: #7FC3EA; --muted: #C9CFC9; --u: 0.5rem; }
* { box-sizing: border-box; }
html { background: var(--night); color: var(--paper); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem; line-height: 1.5; -webkit-text-size-adjust: 100%;
}
main { flex: 1; width: 100%; max-width: 38rem; margin: 0 auto; padding: calc(var(--u) * 8) calc(var(--u) * 3) calc(var(--u) * 4); }
h1 { margin: 0 0 calc(var(--u) * 4); line-height: 0; }
h1 img, .back img { display: block; max-width: 100%; height: auto; }
h1 img { width: 26rem; }
.slogan { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; margin: calc(var(--u) * -2) 0 calc(var(--u) * 4); padding-bottom: calc(var(--u) * 2); border-bottom: 1px solid rgba(244, 239, 227, 0.25); }
.lead { font-size: 1.375rem; line-height: 1.4; margin: 0 0 calc(var(--u) * 2); text-wrap: balance; }
p { margin: 0 0 calc(var(--u) * 3); }
a { color: var(--light); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
.action {
  display: inline-block; margin-top: var(--u); padding: calc(var(--u) * 1.5) calc(var(--u) * 2.5);
  border: 2px solid var(--light); border-radius: 4px; text-decoration: none; font-weight: 600; overflow-wrap: anywhere;
}
.action:hover { background: var(--light); color: var(--night); }
footer {
  width: 100%; max-width: 38rem; margin: 0 auto; padding: calc(var(--u) * 3);
  display: flex; flex-wrap: wrap; gap: var(--u) calc(var(--u) * 3); font-size: 0.875rem; color: var(--muted);
}
.page h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 var(--u); }
.page h2 { font-size: 1.125rem; margin: calc(var(--u) * 4) 0 var(--u); }
.page .meta { color: var(--muted); font-size: 0.875rem; }
.back { margin-bottom: calc(var(--u) * 5); }
.back img { width: 12rem; }
/* Scope sheet request form, /request (2026-10-24). Same tokens; light blue stays the one action color. */
[hidden] { display: none !important; }
.form { margin-top: calc(var(--u) * 4); }
.form .row { margin: 0 0 calc(var(--u) * 3); padding: 0; border: 0; min-width: 0; }
.form label, .form legend, .form .label { display: block; font-weight: 600; margin: 0 0 var(--u); padding: 0; }
.form .req { font-weight: 400; font-size: 0.8125rem; color: var(--muted); margin-left: 0.25em; }
.form .hint { color: var(--muted); font-size: 0.9375rem; margin: var(--u) 0 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--night); background: var(--paper);
  border: 2px solid var(--paper); border-radius: 4px; padding: calc(var(--u) * 1.25) calc(var(--u) * 1.5);
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.form .opt { font-weight: 400; display: flex; gap: calc(var(--u) * 1.5); align-items: flex-start; margin: 0 0 var(--u); cursor: pointer; }
.form .opt input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--light); }
.form .consent { font-size: 0.9375rem; line-height: 1.45; }
.form .error { color: var(--light); font-weight: 600; margin: var(--u) 0 0; }
.form button.action { font: inherit; font-weight: 600; color: var(--light); background: transparent; cursor: pointer; }
.form button.action:hover { background: var(--light); color: var(--night); }
.form .done { border-left: 3px solid var(--light); padding-left: calc(var(--u) * 2); }
/* v1 draft pages (2026-10-29): nav, section headings, lists. Same tokens. */
.nav { width: 100%; max-width: 38rem; margin: 0 auto; padding: calc(var(--u) * 2) calc(var(--u) * 3) 0; display: flex; flex-wrap: wrap; gap: var(--u) calc(var(--u) * 3); font-size: 0.9375rem; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"], .nav a:hover { text-decoration: underline; }
main h2 { font-size: 1.125rem; margin: calc(var(--u) * 5) 0 calc(var(--u) * 1.5); }
.steps, .list { margin: 0 0 calc(var(--u) * 3); padding-left: 1.25rem; }
.steps li, .list li { margin: 0 0 calc(var(--u) * 1.5); }
.list.cols { columns: 2; column-gap: calc(var(--u) * 4); }
.meta { color: var(--muted); font-size: 0.875rem; }
/* Services jump links (2026-10-31 draft). */
.jump { list-style: none; margin: calc(var(--u) * 3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--u) calc(var(--u) * 2.5); font-size: 0.9375rem; font-weight: 600; }
section { scroll-margin-top: calc(var(--u) * 2); }
.page section h2 + .meta { margin-top: calc(var(--u) * -1); }
/* Trade grid, trade pages and the home intro (2026-10-31 draft). Same tokens. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--u) * 2); margin: 0 0 calc(var(--u) * 3); }
.tile { display: flex; flex-direction: column; gap: calc(var(--u) * 0.5); padding: calc(var(--u) * 2); border: 1px solid rgba(244, 239, 227, 0.25); border-radius: 4px; color: var(--paper); text-decoration: none; }
.tile img { width: 100%; height: auto; margin-bottom: var(--u); }
.tile strong { color: var(--light); line-height: 1.25; }
.tile span { color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.tile:hover, .tile:focus-visible { border-color: var(--light); }
@media (max-width: 30rem) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { flex-direction: row; flex-wrap: wrap; align-items: center; } .tile img { width: 6rem; margin: 0 var(--u) 0 0; } .tile strong { flex: 1; } .tile span { flex-basis: 100%; } }
.art img { display: block; width: 100%; max-width: 20rem; height: auto; }
.checks { list-style: none; margin: 0 0 calc(var(--u) * 3); padding: 0; }
.checks li { position: relative; padding-left: 1.75rem; margin: 0 0 calc(var(--u) * 1.25); }
.checks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.45rem; height: 0.8rem; border: solid var(--light); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.page h3 { font-size: 1rem; margin: calc(var(--u) * 2.5) 0 calc(var(--u) * 0.5); }
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 10; background: var(--night); cursor: pointer; animation: intro-out 0s 6s forwards; }
@keyframes intro-out { to { visibility: hidden; } }
.intro svg { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; overflow: visible; }
.intro line { stroke: var(--paper); stroke-width: 4; stroke-linecap: square; fill: none; }
.intro .ray { stroke: var(--light); stroke-width: 3.6; stroke-linecap: round; }
.intro circle { fill: var(--light); }
.intro line, .intro .ray { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro circle { opacity: 0; }
.intro-line { position: absolute; left: 0; right: 0; bottom: 14vh; margin: 0; text-align: center; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.intro.play line { animation: intro-draw 220ms cubic-bezier(.4, 0, .2, 1) forwards; animation-delay: var(--d); }
.intro.play circle { animation: intro-lamp 260ms ease-out 860ms forwards; transform-box: fill-box; transform-origin: center; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-lamp { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.intro.settle { background: transparent; transition: background-color 300ms ease 600ms; }
.intro.settle svg { transition: transform 650ms cubic-bezier(.65, 0, .35, 1); transform: none !important; }
.intro.settle .intro-line { opacity: 0; transition: opacity 250ms ease; }
.intro.settle line, .intro.settle circle { animation: none; stroke-dashoffset: 0; opacity: 1; }
/* Measuring page (draft 2026-10-31) */
.m-go { display: flex; gap: var(--u); }
.m-go input { flex: 1; min-width: 0; }
.m-go .action { margin: 0; font: inherit; font-weight: 600; color: var(--light); background: transparent; cursor: pointer; white-space: nowrap; }
.m-go .action:hover { background: var(--light); color: var(--night); }
.m-status { color: var(--light); font-weight: 600; }
.m-result:focus { outline: none; }
.m-map { margin: 0 0 calc(var(--u) * 3); }
.m-frame { position: relative; line-height: 0; }
.m-frame img, .m-frame svg { display: block; width: 100%; height: auto; }
.m-frame svg { position: absolute; inset: 0; height: 100%; }
.m-bar { position: absolute; left: 3%; bottom: 3%; border-top: 3px solid #fff; color: #fff; font-size: 0.75rem; line-height: 1.6; font-weight: 600; text-shadow: 0 0 3px #000; }
.m-map figcaption { color: var(--muted); font-size: 0.8125rem; margin-top: var(--u); line-height: 1.4; }
.m-table { width: 100%; border-collapse: collapse; margin: 0 0 calc(var(--u) * 2); }
.m-table th, .m-table td { text-align: left; padding: var(--u) 0; border-bottom: 1px solid rgba(244, 239, 227, 0.2); }
.m-table th:last-child, .m-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.m-table label { display: inline-flex; gap: var(--u); align-items: center; cursor: pointer; }
.m-table input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--light); }
.m-table input.m-sq { width: 5.5rem; height: auto; padding: calc(var(--u) * 0.5); font: inherit; text-align: right; color: inherit; background: transparent; border: 1px solid rgba(244, 239, 227, 0.45); border-radius: 4px; }
.m-table input.m-sq:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.m-key { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; margin-right: var(--u); vertical-align: 0.05em; }
.m-lot td { color: var(--muted); border-bottom: 0; }
.m-result .hint { color: var(--muted); font-size: 0.9375rem; margin: 0 0 calc(var(--u) * 1.5); }
.m-range { font-size: 1.25rem; font-weight: 600; margin: calc(var(--u) * 2) 0 var(--u); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .cf-turnstile { min-height: 65px; }
.m-note { border-left: 3px solid var(--light); padding-left: calc(var(--u) * 2); margin: calc(var(--u) * 2) 0; font-weight: 600; }
