/* Hallmark · v2.0.0 · Clear Report · theme: custom, the written report as long document (by assignment) · genre: editorial · job: get matched with a licensed independent mold assessor · nav: document masthead, wordmark and phone, links under a rule · footer: a closing document block, disclosure set as the last paragraph of the report */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 · weakest: E, Google Fonts cannot load on this desk so local shots render the fallback stack; stacks chosen so the fallbacks keep the document feel */
:root {
  --paper: #fcfcfa;
  --sheet: #fffffe;
  --ink: #14213d;
  --ink-soft: #44506a;
  --accent: #0e7c7b;
  --accent-deep: #0a5f5e;
  --stamp: #b3402a;
  --line: #d9dce1;
  --line-strong: #b9bfc9;
  --wash: #eef2f1;
  --shadow: #14213d;
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
  --measure: 70rem;
  --gap: 1.5rem;
  --radius: 4px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
::selection { background: var(--accent); color: var(--sheet); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; overflow-wrap: break-word; min-width: 0; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Masthead */
.mast { border-bottom: 2px solid var(--ink); background: var(--paper); }
.mast-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding-top: 1rem; padding-bottom: 0.9rem; }
.brand { font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: 0; }
.brand span { color: var(--accent); }
.mast-phone { font-family: var(--font-mono); font-size: 1rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mast-phone:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 0.2em; }
.navrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.4rem; padding-bottom: 0.85rem; }
.navrow nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.navrow nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.navrow nav a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 0.25em; }
.navrow nav a[aria-current="page"] { color: var(--accent-deep); font-weight: 600; box-shadow: inset 0 -3px 0 var(--accent); }
.langs { margin-left: auto; display: flex; gap: 0.65rem; font-size: 0.85rem; color: var(--ink-soft); }
.langs .on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: var(--radius); padding: 0.8rem 1.5rem; border: 2px solid var(--ink); cursor: pointer; transition: transform 160ms ease, background-color 160ms ease, color 160ms ease; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--sheet); transform: translateY(-2px); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--wash); color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Hero: the report itself */
.hero { padding: 3rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: start; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); margin-bottom: 1.1rem; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 26rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero-note { margin-top: 1.2rem; font-size: 0.95rem; color: var(--ink-soft); max-width: 24rem; }

.report { position: relative; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 14px 14px 0 var(--wash), 15px 15px 0 var(--line-strong); padding: 1.6rem 1.6rem 1.4rem; transform: rotate(0.6deg); }
.report-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; border-bottom: 1px solid var(--line-strong); padding-bottom: 0.9rem; margin-bottom: 1.1rem; }
.report-title { font-size: 1.15rem; font-weight: 700; }
.report-no { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink-soft); text-align: right; }
.report dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 1.2rem; margin: 0 0 1.2rem; font-size: 0.95rem; }
.report dt { color: var(--ink-soft); }
.report dd { margin: 0; font-weight: 600; }
.stage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; padding: 0.85rem 0; border-top: 1px dashed var(--line-strong); }
.stage:first-of-type { border-top: 0; }
.tick { width: 1.7rem; height: 1.7rem; border: 2px solid var(--ink); border-radius: 3px; display: grid; place-items: center; margin-top: 0.15rem; background: var(--sheet); }
.tick svg { width: 1.05rem; height: 1.05rem; opacity: 1; transform: scale(1); transition: opacity 300ms ease, transform 300ms ease; }
.tick path { stroke: var(--accent); }
.stage h2 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.stage p { font-size: 0.95rem; color: var(--ink-soft); }
.stage .fee { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink); }
.js .tick svg { opacity: 0; transform: scale(0.4); }
.js .report.seen .stage.s1 .tick svg { transition-delay: 150ms; }
.js .report.seen .stage.s2 .tick svg { transition-delay: 650ms; }
.js .report.seen .stage.s3 .tick svg { transition-delay: 1150ms; }
.js .report.seen .tick svg { opacity: 1; transform: scale(1); }
.stamp { position: absolute; right: 1.1rem; bottom: 1rem; border: 2.5px solid var(--stamp); color: var(--stamp); font-weight: 700; font-size: 0.95rem; padding: 0.3rem 0.7rem; border-radius: 3px; transform: rotate(-7deg); background: transparent; }
.report-foot { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-soft); max-width: 75%; }

/* Sections */
.section { padding: 3rem 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1rem; max-width: 34rem; }
.section .intro { color: var(--ink-soft); max-width: 38rem; margin-bottom: 1.8rem; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cols h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.cols p { color: var(--ink-soft); font-size: 0.98rem; }
.rule-num { font-family: var(--font-mono); font-size: 0.95rem; color: var(--accent-deep); display: block; margin-bottom: 0.5rem; }

/* The peak: the flat fee */
.peak { background: var(--ink); color: var(--paper); padding: 3.5rem 0; }
.peak-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.peak .amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(4.6rem, 13vw, 8.5rem); font-weight: 700; line-height: 1; color: var(--paper); }
.peak .amount-line { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; margin-top: 0.8rem; max-width: 20rem; }
.peak p { color: var(--paper); opacity: 0.88; max-width: 30rem; }
.peak .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); margin-top: 1.4rem; }
.peak .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--sheet); }

/* Photo band */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.photos figure { margin: 0; }
.photos img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; box-shadow: 8px 8px 0 var(--wash); }
.photos figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.55rem; }
.photo-wide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; }
.photo-wide img { border-radius: var(--radius); box-shadow: 12px 12px 0 var(--wash); width: 100%; }
.photo-wide h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1rem; }
.photo-wide p { color: var(--ink-soft); margin-bottom: 1rem; }

/* Price document */
.price-doc { border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--sheet); box-shadow: 12px 12px 0 var(--wash); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; padding: 1.4rem 1.6rem; border-top: 1px dashed var(--line-strong); align-items: start; }
.price-row:first-child { border-top: 0; }
.price-row h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.price-row p { color: var(--ink-soft); font-size: 0.97rem; max-width: 36rem; }
.price-row .figure { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.7rem; font-weight: 700; white-space: nowrap; }
.price-row .figure small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); text-align: right; }

/* Page heads for inner pages */
.pagehead { padding: 2.8rem 0 2.2rem; }
.pagehead h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: 0.9rem; max-width: 40rem; }
.pagehead .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }

/* Form */
.form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: start; }
form.match { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 12px 12px 0 var(--wash); padding: 1.6rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: 0.97rem; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 0.65rem 0.75rem; caret-color: var(--accent); }
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.checkline { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: start; margin: 1.2rem 0; font-size: 0.93rem; color: var(--ink-soft); }
.checkline input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--accent); }
.form-note { font-size: 0.93rem; color: var(--ink-soft); margin-top: 1rem; }
.ack { display: none; border: 1.5px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.2rem; margin-top: 1.2rem; background: var(--wash); }
.ack.show { display: block; }
.side-doc { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.side-doc h2 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.side-doc p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 0.98rem; }
.side-doc .figure { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--ink); }

/* Guides index */
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: baseline; padding: 0.95rem 0.2rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.guide-list a:hover { color: var(--accent-deep); }
.guide-list .gnum { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink-soft); font-weight: 400; }

/* 404 */
.notfound { padding: 3.5rem 0 4rem; }
.notfound .code { font-family: var(--font-mono); font-size: clamp(3.4rem, 10vw, 6rem); font-weight: 700; line-height: 1; color: var(--stamp); }
.notfound h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 1rem 0; }
.notfound p { color: var(--ink-soft); max-width: 32rem; margin-bottom: 1.8rem; }

/* Footer */
.foot { border-top: 2px solid var(--ink); margin-top: 1rem; padding: 2.6rem 0 2.2rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; }
.foot .brand { font-size: 1.3rem; }
.foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem 1.5rem; }
.foot nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.foot nav a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 0.25em; }
.disclosure { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); max-width: 62rem; }
.disclosure p { margin-bottom: 0.8rem; }
.disclosure strong { color: var(--ink); }
.foot-phone { font-family: var(--font-mono); margin-top: 1rem; display: inline-block; }

@media (max-width: 56rem) {
  .hero-grid, .peak-grid, .form-grid, .photo-wide, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .cols, .photos { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2rem; }
  .report { transform: none; }
  .report-foot { max-width: 100%; }
  .stamp { position: static; display: inline-block; margin-top: 1rem; }
  .langs { margin-left: 0; }
  .price-row { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .price-row .figure small { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .tick svg { transition: none; }
  .btn:hover { transform: none; }
  .js .tick svg { opacity: 1; transform: none; }
}
