/* DOSSIER — tokens, primitives, components, composition, responsive variants. */
:root {
  --font-text: 'Newsreader', Georgia, serif;
  --font-label: 'IBM Plex Mono', monospace;
  --fs-xs: clamp(.75rem, .725rem + .1vw, .8125rem);
  --fs-sm: clamp(1rem, .96rem + .08vw, 1rem);
  --fs-body: clamp(1.0625rem, 1rem + .14vw, 1.125rem);
  --fs-lead: clamp(1.25rem, 1.1rem + .3vw, 1.375rem);
  --fs-3: clamp(1.5rem, 1.3rem + .5vw, 1.75rem);
  --fs-4: clamp(1.75rem, 1.5rem + .6vw, 2.1875rem);
  --fs-5: clamp(2.1875rem, 1.9rem + .8vw, 2.75rem);
  --fs-6: clamp(2.5rem, 1.9rem + 1.5vw, 3.5rem);
  --fs-hero: clamp(2.75rem, 1.9rem + 2.8vw, 4.375rem);
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 80px; --s-8: 96px;
  --s-9: 128px; --s-10: 160px; --s-11: 192px; --s-12: 256px;
  --paper: #FBFAF7; --desk: #ECEAE4; --ink: #1A1D24; --muted: #5B606B;
  --red: #B23A2E; --navy: #22355A; --line: #D6D4CD; --line-dark: #92918B;
  --radius: 0; --radius-round: 50%;
  --shadow-paper: 0 8px 32px #1A1D2406;
  --duration: 240ms; --duration-slow: 480ms; --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(20px, 5vw, 72px); --sheet-pad: clamp(32px, 3.33vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-4); }
body { margin: 0; color: var(--ink); background: var(--desk); font: 400 var(--fs-body)/1.65 var(--font-text); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: var(--navy); color: var(--paper); }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; color: inherit; border-radius: var(--radius); }
button, summary, select { cursor: pointer; }
button { background: none; }
button:disabled { cursor: default; opacity: .55; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, blockquote, dl, dd, p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
p { max-width: 38rem; }
p + p { margin-top: var(--s-3); }
h1, h2, h3 { font-weight: 400; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--fs-hero); letter-spacing: -.035em; }
h2 { font-size: var(--fs-6); letter-spacing: -.025em; }
h3 { font-size: var(--fs-3); letter-spacing: -.015em; }
em { font-weight: 400; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: var(--s-2); left: var(--s-2); z-index: 100; padding: var(--s-2); background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.mono, .eyebrow, .button, .text-link, label, .section-label { font: 400 var(--fs-xs)/1.6 var(--font-label); }
.eyebrow, .section-label { text-transform: uppercase; letter-spacing: .1em; }
.eyebrow { color: var(--muted); }
.section-label { color: var(--red); display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); }
.section-label::after { content: ''; width: var(--s-4); height: 1px; background: currentColor; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.button { min-height: 52px; padding: var(--s-2) var(--s-3); display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3); text-decoration: none; color: var(--paper); background: var(--navy); border: 1px solid var(--navy); transition: background var(--duration) var(--ease), transform var(--duration) var(--ease); }
.button:hover { background: var(--ink); border-color: var(--ink); }
.button:active { transform: translateY(2px); }
.button--secondary { color: var(--navy); background: transparent; }
.button--secondary:hover { background: var(--navy); color: var(--paper); }
.button .icon { transition: transform var(--duration) var(--ease); }
.button:hover .icon { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; text-decoration: none; }
.text-link span { border-bottom: 1px solid var(--line-dark); transition: border-color var(--duration), color var(--duration); }
.text-link:hover { color: var(--red); }
.text-link:hover span { border-color: var(--red); }
.micro { font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.masthead { max-width: 1320px; margin: auto; width: calc(100% - 2 * var(--gutter)); min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 48px; height: 48px; color: var(--red); }
.brand-name { display: block; font-size: 26px; line-height: 1.05; letter-spacing: -.025em; }
.brand-subtitle { display: block; margin-top: var(--s-1); font: var(--fs-xs)/1 var(--font-label); letter-spacing: .08em; }
.header-links { display: flex; align-items: center; gap: var(--s-4); }
.header-links > a { font: var(--fs-xs)/1.5 var(--font-label); text-decoration: none; }
.header-links > a:hover { color: var(--red); }
.header-contact { display: flex; align-items: center; gap: var(--s-4); }
.header-phone { text-decoration: none; font: var(--fs-xs)/1.5 var(--font-label); }
.header-contact .button { min-height: 48px; padding-block: var(--s-1); }
.menu-toggle { display: none; min-height: 48px; border: 0; padding: var(--s-1) 0 var(--s-1) var(--s-2); align-items: center; gap: var(--s-2); font: var(--fs-xs)/1 var(--font-label); }
.document-layout { max-width: 1320px; width: calc(100% - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 152px minmax(0,1fr); gap: var(--s-3); align-items: start; }
.contents { position: sticky; top: var(--s-4); padding-block: var(--s-4) var(--s-2); max-height: calc(100dvh - var(--s-6)); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-dark) transparent; }
.contents .eyebrow { margin-bottom: var(--s-3); font-size: var(--fs-xs); }
.contents a { display: flex; align-items: baseline; gap: var(--s-1); padding: var(--s-1) 0 var(--s-1) var(--s-1); border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font: var(--fs-xs)/1.65 var(--font-label); }
.contents a span { font-size: var(--fs-xs); color: var(--muted); flex-shrink: 0; }
.contents a:hover, .contents a[aria-current] { color: var(--red); }
.contents a[aria-current] { font-weight: 500; border-left-color: var(--red); }
.contents a[aria-current] span { color: inherit; }
.contents .contents-sub { font-size: 12px; padding-left: var(--s-2); }
.contents .contents-sub span { font-size: inherit; }
.contents-contact { border-top: 1px solid var(--line-dark); margin-top: var(--s-4); padding-top: var(--s-2); }
.contents-contact p { font: var(--fs-xs)/1.8 var(--font-label); color: var(--muted); }
.contents-contact a { color: var(--ink); }
.sheet { min-width: 0; background: var(--paper); box-shadow: var(--shadow-paper); border-top: 3px solid var(--red); padding-inline: var(--sheet-pad); }
.running-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding-block: var(--s-3); border-bottom: 1px solid var(--line); color: var(--muted); font: var(--fs-xs)/1.5 var(--font-label); text-transform: uppercase; letter-spacing: .09em; }
.document-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--s-3); row-gap: var(--s-4); }
.body-column { grid-column: 1 / 9; min-width: 0; }
.margin-column { grid-column: 10 / 13; min-width: 0; }
.full-column { grid-column: 1 / -1; min-width: 0; }
.hero { padding-top: var(--s-4); }
.hero h1 { margin-bottom: var(--s-2); }
.hero h1 em { color: var(--navy); }
.hero .lead { max-width: 38rem; }
.hero-actions { margin-top: var(--s-3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); }
.hero .micro { margin-top: var(--s-2); max-width: 29rem; }
.hero .margin-column { grid-column: 9 / 13; padding-left: var(--s-4); display: flex; flex-direction: column; align-items: flex-start; }
.seal { width: 152px; height: 152px; color: var(--red); transform: rotate(-13deg); }
.case-label { display: none; }
.case-meta { width: 100%; margin-top: var(--s-3); }
.case-meta > div { padding-block: var(--s-2); border-top: 1px solid var(--line); }
.case-meta dt { color: var(--muted); font: var(--fs-xs)/1.5 var(--font-label); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s-1); }
.case-meta dd { font-size: var(--fs-sm); line-height: 1.45; }
.hero-contact { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-1); }
.hero-contact .text-link { color: var(--muted); }
.attachment { margin: var(--s-4) 0 0; position: relative; }
.attachment .photo { overflow: hidden; border: 1px solid var(--line-dark); padding: var(--s-1); background: var(--paper); }
.attachment img { width: 100%; object-fit: cover; filter: saturate(.6) contrast(1.05); }
.attachment::before { content: ''; position: absolute; z-index: 1; width: 15px; height: 48px; border: 1px solid var(--line-dark); border-radius: 12px; transform: rotate(-12deg); top: -16px; right: 32px; box-shadow: inset 3px 0 0 var(--paper); pointer-events: none; }
.attachment figcaption { display: flex; align-items: baseline; gap: var(--s-3); padding-top: var(--s-2); color: var(--muted); font: var(--fs-xs)/1.65 var(--font-label); }
.attachment figcaption .attachment-no { color: var(--red); flex-shrink: 0; }
.hero-photo { margin-top: var(--s-4); }
.hero-photo img { height: clamp(176px, 16vw, 224px); object-position: 100% 40%; }
.proof { margin-top: var(--s-5); padding-block: var(--s-4); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--ink); }
.proof > div { padding-inline: var(--s-2); border-right: 1px solid var(--line); }
.proof > div:first-child { padding-left: 0; }
.proof > div:last-child { border: 0; padding-right: 0; }
.proof strong { display: block; font-size: var(--fs-3); line-height: 1.15; }
.proof small { display: block; margin-top: var(--s-1); color: var(--muted); font: var(--fs-xs)/1.6 var(--font-label); }
.chapter { padding-block: var(--s-8); border-bottom: 1px solid var(--line); scroll-margin-top: var(--s-4); }
.chapter h2 { max-width: 46rem; }
.chapter-intro { margin-top: var(--s-3); }
.service-intro { padding-top: var(--s-8); }
.service-intro h2 { font-size: var(--fs-5); max-width: 30rem; }
.service-intro .lead { margin-top: var(--s-3); }
.service { padding-top: var(--s-6); }
.service + .service { padding-top: var(--s-8); }
.service h2 { font-size: var(--fs-6); }
.service .service-lead { margin-top: var(--s-3); }
.service .attachment { margin-block: var(--s-4) var(--s-5); }
.service .attachment img { aspect-ratio: 2.2; }
.service--damage .attachment img { object-position: center 48%; }
.service--valuation .attachment img { object-position: center 48%; }
.scope-header { margin-bottom: var(--s-3); display: flex; justify-content: space-between; gap: var(--s-2); align-items: center; }
.scope-header .eyebrow { color: var(--ink); }
.scope-list { counter-reset: scope; }
.scope-list li { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: var(--s-2); padding-block: var(--s-2); border-top: 1px solid var(--line); counter-increment: scope; }
.scope-list li::before { content: attr(data-number); color: var(--red); padding-top: 3px; font: var(--fs-xs)/1.6 var(--font-label); }
.scope-list strong { display: block; font-size: var(--fs-lead); line-height: 1.2; margin-bottom: var(--s-1); }
.scope-list p { font-size: var(--fs-body); line-height: 1.55; }
.sidenote { border-top: 1px solid var(--red); color: var(--muted); padding-top: var(--s-2); }
.sidenote summary { color: var(--ink); display: flex; justify-content: space-between; gap: var(--s-1); align-items: baseline; font: var(--fs-xs)/1.6 var(--font-label); list-style: none; cursor: default; }
.sidenote summary::-webkit-details-marker { display: none; }
.sidenote summary .icon { display: none; }
.sidenote summary span:first-child { color: var(--red); margin-right: var(--s-1); }
.sidenote p { font-size: var(--fs-body); line-height: 1.6; margin-top: var(--s-2); }
.sidenote ul { margin-top: var(--s-2); }
.sidenote li { font-size: var(--fs-body); line-height: 1.5; margin-bottom: var(--s-2); }
.sidenote li::before { content: '—'; color: var(--red); display: block; font-size: 14px; }
.service-description { margin-bottom: var(--s-4); }
.conclusions { margin-top: var(--s-4); padding: var(--s-4); border-left: 2px solid var(--navy); background: var(--desk); }
.conclusions h3 { font: var(--fs-xs)/1.5 var(--font-label); text-transform: uppercase; letter-spacing: .1em; color: var(--navy); }
.conclusions h3 span { color: var(--muted); display: block; font-size: var(--fs-xs); margin-top: var(--s-1); letter-spacing: .04em; }
.conclusions p { margin-top: var(--s-2); font-size: var(--fs-lead); line-height: 1.5; }
.service-cta { margin-top: var(--s-4); }
.service-cta .micro { margin-top: var(--s-2); }
.inspection { margin-top: var(--s-5); padding: var(--s-4); border: 1px solid var(--line-dark); }
.inspection-head { display: flex; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-dark); }
.inspection h3 { max-width: 19rem; font-size: var(--fs-4); }
.inspection-price { flex-shrink: 0; text-align: right; }
.inspection-price strong { font-size: var(--fs-5); line-height: 1; }
.inspection-price .mono { display: block; color: var(--muted); margin-top: var(--s-1); }
.inspection-list { margin-top: var(--s-3); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-4); counter-reset: check; }
.inspection-list li { display: flex; gap: var(--s-2); counter-increment: check; padding-block: var(--s-1); line-height: 1.4; font-size: var(--fs-body); }
.inspection-list li::before { content: counter(check,decimal-leading-zero); color: var(--muted); flex: 0 0 22px; font: var(--fs-xs)/2 var(--font-label); }
.inspection > .micro { margin-top: var(--s-3); }
.valuation-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
.valuation-scope li { grid-template-columns: 56px minmax(0,1fr); }
.valuation-scope strong { font-size: var(--fs-lead); }
.valuation-scope p { font-size: var(--fs-body); }
.steps { margin-top: var(--s-5); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-5); row-gap: var(--s-5); }
.step { padding-top: var(--s-3); border-top: 1px solid var(--line-dark); }
.step-number { color: var(--red); display: block; font: var(--fs-xs)/1 var(--font-label); margin-bottom: var(--s-3); }
.step h3 { font-size: var(--fs-3); max-width: 18rem; margin-bottom: var(--s-2); }
.step p { font-size: var(--fs-body); }
.about-layout { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-5); margin-top: var(--s-5); align-items: start; }
.about-layout .attachment { margin-top: 0; }
.portrait img { aspect-ratio: .78; object-position: center 35%; }
.about-text .lead { margin-bottom: var(--s-3); }
.about-text p { font-size: var(--fs-body); }
.signature { width: 200px; height: 72px; color: var(--navy); margin-block: var(--s-3) var(--s-2); }
.credential { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line-dark); display: flex; align-items: flex-start; gap: var(--s-2); }
.credential .icon { color: var(--red); margin-top: 3px; }
.credential p { font-size: var(--fs-sm); }
.cities { margin-top: var(--s-4); display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
.cities li { padding-block: var(--s-2); border-bottom: 1px solid var(--line); font-size: var(--fs-3); line-height: 1.2; }
.cities li:first-child { color: var(--red); }
.cities li:last-child { font-size: var(--fs-body); color: var(--muted); align-content: center; }
.article-list { margin-top: var(--s-5); }
.article-link { display: grid; grid-template-columns: 40px 144px minmax(0,1fr) 24px; align-items: center; gap: var(--s-3); padding-block: var(--s-3); border-top: 1px solid var(--line); text-decoration: none; }
.article-link:last-child { border-bottom: 1px solid var(--line); }
.article-link .article-number { color: var(--red); font: var(--fs-xs)/1.5 var(--font-label); }
.article-link img { width: 100%; aspect-ratio: 1.4; object-fit: cover; filter: saturate(.6) contrast(1.05); }
.article-link h3 { font-size: var(--fs-3); line-height: 1.15; }
.article-link .mono { margin-top: var(--s-2); color: var(--muted); display: block; }
.article-link:hover h3 { color: var(--red); }
.article-link > .icon { transition: transform var(--duration); }
.article-link:hover > .icon { transform: translate(3px,-3px); }
.faq-list { margin-top: var(--s-5); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 32px 1fr 24px; align-items: baseline; gap: var(--s-2); padding-block: var(--s-3); list-style: none; font-size: var(--fs-lead); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .mono { color: var(--red); }
.faq-item summary .icon { align-self: center; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--red); }
.faq-item p { margin: 0 40px var(--s-3) 48px; }
.contact { border-bottom: 0; }
.contact-grid { margin-top: var(--s-5); }
.contact-details { color: var(--muted); }
.contact-details h3 { color: var(--ink); font-size: var(--fs-3); }
.contact-details .address { margin-top: var(--s-2); font-size: var(--fs-sm); }
.contact-details .contact-phone { display: block; margin-top: var(--s-4); color: var(--navy); font-size: var(--fs-3); white-space: nowrap; text-decoration: none; }
.contact-details .email { display: block; margin-top: var(--s-2); overflow-wrap: anywhere; font-size: var(--fs-sm); }
.contact-details .micro { margin-top: var(--s-3); }
.form-title { font-size: var(--fs-4); margin-bottom: var(--s-2); }
.prototype-note { color: var(--red); font: var(--fs-xs)/1.7 var(--font-label); margin-bottom: var(--s-4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: var(--s-1); color: var(--ink); }
.optional { color: var(--muted); font-size: var(--fs-xs); }
input:not([type=checkbox]):not([type=file]), textarea, select { width: 100%; border: 1px solid var(--line-dark); min-height: 52px; padding: var(--s-1) var(--s-2); background: transparent; font: 400 var(--fs-body)/1.5 var(--font-text); box-shadow: none; }
select { padding-right: var(--s-4); }
textarea { min-height: 144px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 2px; }
[aria-invalid=true] { border-color: var(--red) !important; }
.field-error { color: var(--red); font: var(--fs-xs)/1.6 var(--font-label); margin-top: var(--s-1); }
.field-error:empty { display: none; }
.dropzone { border: 1px dashed var(--line-dark); padding: var(--s-3); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); transition: background var(--duration), border-color var(--duration); }
.dropzone.dragover { background: var(--desk); border-color: var(--red); }
.dropzone .file-pick { min-height: 44px; display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer; margin: 0; font: var(--fs-body)/1.5 var(--font-text); text-decoration: underline; text-underline-offset: 4px; }
.dropzone .micro { font-size: var(--fs-sm); }
.file-input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 5px; }
.file-list li { display: flex; align-items: center; gap: var(--s-2); padding-block: var(--s-1); border-bottom: 1px solid var(--line); }
.file-list .file-name { flex: 1; overflow-wrap: anywhere; font-size: var(--fs-sm); }
.file-list .file-size { font: var(--fs-xs)/1.5 var(--font-label); color: var(--muted); white-space: nowrap; }
.file-remove { border: 0; padding: var(--s-1); min-height: 44px; min-width: 44px; color: var(--red); }
.consent { display: flex; align-items: flex-start; gap: var(--s-2); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.consent label { font-family: var(--font-text); font-size: var(--fs-sm); line-height: 1.5; }
.form-submit { margin-top: var(--s-4); }
.form-success { padding: var(--s-4); border: 1px solid var(--navy); }
.form-success h3 { margin-bottom: var(--s-3); }
.form-success .button { margin-top: var(--s-3); }
.form-success:focus { outline: none; }
.sheet-footer { padding-block: var(--s-4); border-top: 1px solid var(--ink); display: flex; justify-content: space-between; gap: var(--s-3); color: var(--muted); font: var(--fs-xs)/1.7 var(--font-label); }
.sheet-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.sheet-footer .footer-links { display: flex; gap: var(--s-3); }
.colophon { max-width: 1320px; width: calc(100% - 2 * var(--gutter)); margin: auto; padding-block: var(--s-4) var(--s-5); display: flex; justify-content: space-between; font: var(--fs-xs)/1.7 var(--font-label); color: var(--muted); }
.mobile-bar, .mobile-menu { display: none; }
.reveal { transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(12px); }
.privacy-dialog { background: var(--paper); color: var(--ink); padding: var(--s-4); border: 1px solid var(--line-dark); width: min(520px, calc(100vw - 40px)); }
.privacy-dialog::backdrop { background: #1A1D2477; }
.privacy-dialog h2 { font-size: var(--fs-4); margin-bottom: var(--s-3); }
.privacy-dialog .button { margin-top: var(--s-3); }
/* Article: local index on the left, numbered chapters and notes in the paper margin. */
.article-sheet { padding-top: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--s-1); color: var(--muted); font: var(--fs-xs)/1.7 var(--font-label); padding-top: var(--s-4); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.article-header { padding-top: var(--s-5); }
.article-header h1 { font-size: var(--fs-6); max-width: 50rem; }
.article-header .lead { margin-top: var(--s-3); max-width: 43rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); color: var(--muted); margin-top: var(--s-4); padding-block: var(--s-2); border-block: 1px solid var(--line); font: var(--fs-xs)/1.6 var(--font-label); }
.article-cover { margin-block: var(--s-5); }
.article-cover img { aspect-ratio: 2.2; }
.article-reading { padding-bottom: var(--s-6); }
.contents--article .contents-contact a { gap: var(--s-1); }
.contents--article .contents-contact .icon { width: 16px; height: 16px; flex-basis: 16px; }
.article-prose { min-width: 0; width: 100%; }
.article-section { padding-top: var(--s-6); align-items: start; }
.article-prose h2 .section-label { margin-bottom: var(--s-2); }
.article-subnumber { display: block; margin-bottom: var(--s-1); color: var(--red); font: var(--fs-xs)/1.6 var(--font-label); letter-spacing: .08em; }
.article-intro > p:first-child::first-letter { float: left; font-size: 64px; color: var(--red); line-height: .9; margin-right: var(--s-1); padding-top: var(--s-1); }
.article-prose p, .article-prose li { font-size: var(--fs-lead); line-height: 1.65; }
.article-prose h2 { font-size: var(--fs-4); line-height: 1.15; margin-top: 0; margin-bottom: var(--s-3); scroll-margin-top: var(--s-4); text-wrap: pretty; }
.article-prose h3 { margin-top: var(--s-4); margin-bottom: var(--s-2); }
.article-prose ul, .article-prose ol { margin-block: var(--s-3); padding-left: var(--s-3); }
.article-prose ul li { list-style: disc; padding-left: var(--s-1); }
.article-prose ol li { list-style: decimal; padding-left: var(--s-1); }
.article-prose li + li { margin-top: var(--s-1); }
.article-prose li::marker { color: var(--red); }
.article-prose a { color: var(--navy); overflow-wrap: anywhere; }
.article-prose a.button { color: var(--paper); }
.article-toc { display: none; border-top: 1px solid var(--red); padding-top: var(--s-2); }
.article-toc summary { list-style: none; cursor: default; font: var(--fs-xs)/1.5 var(--font-label); color: var(--red); }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc a { display: grid; grid-template-columns: var(--s-4) minmax(0,1fr); gap: var(--s-1); font-size: var(--fs-sm); line-height: 1.3; color: var(--muted); text-decoration: none; padding-top: var(--s-2); }
.article-toc a:hover, .article-toc a[aria-current] { color: var(--red); }
.article-toc a span { font: var(--fs-xs)/1.8 var(--font-label); color: var(--red); }
.article-sidenote { scroll-margin-top: var(--s-4); }
.article-sidenote p { font-size: var(--fs-body); line-height: 1.6; }
.article-prose .note-ref { color: var(--red); font: var(--fs-xs)/1 var(--font-label); vertical-align: super; text-decoration: none; white-space: nowrap; padding: 4px 2px; }
.article-prose .note-ref:hover { text-decoration: underline; }
.article-end { padding: var(--s-4); border-block: 1px solid var(--line-dark); margin-top: var(--s-6); background: var(--desk); }
.article-end h2 { margin: 0 0 var(--s-2); }
.article-end .button { margin-top: var(--s-3); }
.article-end p { font-size: var(--fs-body); }
.article-nav { display: flex; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-5); }

@media (max-width: 1199px) {
  .document-layout { grid-template-columns: 144px minmax(0,1fr); gap: var(--s-2); }
  .sheet { --sheet-pad: 32px; }
  .header-links { gap: var(--s-3); }
  .header-contact { gap: var(--s-3); }
  .header-contact .button { display: none; }
  .hero .margin-column { padding-left: var(--s-2); }
  .hero h1 { font-size: var(--fs-6); }
  .proof strong { font-size: var(--fs-lead); }
  .margin-column { grid-column: 9 / 13; padding-left: var(--s-2); }
  .about-layout { gap: var(--s-4); }
  .valuation-scope { gap: 0 var(--s-3); }
  .article-toc { grid-column: 9 / 13; }
}
@media (max-width: 999px) {
  .masthead { min-height: 96px; }
  .document-layout { display: block; }
  .contents { display: none; }
  .header-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-contact .header-phone { display: none; }
  .hero h1 { font-size: var(--fs-hero); }
  .running-head { font-size: var(--fs-xs); }
  .sheet { --sheet-pad: 40px; }
  .mobile-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--paper); padding: var(--s-3) var(--gutter); overflow-y: auto; }
  .mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-dark); }
  .menu-close { border: 0; min-height: 48px; display: flex; align-items: center; gap: var(--s-1); font: var(--fs-xs)/1.5 var(--font-label); }
  .mobile-menu nav { margin-block: var(--s-4); }
  .mobile-menu nav a { display: flex; align-items: baseline; gap: var(--s-3); text-decoration: none; font-size: var(--fs-4); padding-block: var(--s-2); border-bottom: 1px solid var(--line); }
  .mobile-menu nav span { font: var(--fs-xs)/1.5 var(--font-label); color: var(--red); }
  .mobile-menu .menu-contact { margin-top: auto; padding-top: var(--s-3); }
  .mobile-menu .menu-contact > a { display: block; font-size: var(--fs-4); text-decoration: none; color: var(--navy); }
  .mobile-menu .micro { margin-top: var(--s-2); }
  .contact-grid .body-column { grid-column: 1 / 9; }
  .contact-grid .margin-column { grid-column: 9 / 13; }
  .contact-phone { font-size: var(--fs-lead) !important; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; --fs-hero: clamp(2.6rem, 9.5vw + .4rem, 3.5rem); }
  html { scroll-padding-top: var(--s-3); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .masthead { width: calc(100% - 40px); min-height: 88px; gap: var(--s-2); }
  .brand { gap: var(--s-1); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 23px; }
  .brand-subtitle { font-size: var(--fs-xs); margin-top: var(--s-1); }
  .menu-toggle { gap: var(--s-1); font-size: var(--fs-xs); padding-left: 0; }
  .document-layout { width: 100%; }
  .sheet { --sheet-pad: 20px; box-shadow: none; }
  .running-head { padding-block: var(--s-2); gap: var(--s-2); font-size: var(--fs-xs); }
  .running-head span:last-child { white-space: nowrap; }
  .document-grid { display: block; }
  .hero { padding-top: var(--s-4); }
  .section-label { font-size: var(--fs-xs); margin-bottom: var(--s-3); }
  .hero h1 { margin-bottom: var(--s-2); }
  .hero .lead { font-size: 21px; }
  .hero-actions { margin-top: var(--s-3); }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero .micro { font-size: 16px; margin-top: var(--s-2); }
  .hero-contact { gap: var(--s-3); margin-top: var(--s-1); }
  .hero-contact .text-link { font-size: var(--fs-xs); }
  .hero .hero-dossier { position: relative; margin-top: var(--s-3); padding: var(--s-2); display: block; border: 1px solid var(--line); }
  .hero-dossier .seal { position: absolute; top: var(--s-1); right: var(--s-1); width: 64px; height: 64px; }
  .hero-dossier .seal-caption { display: none; }
  .case-label { display: flex; align-items: center; min-height: var(--s-6); padding-right: var(--s-7); color: var(--muted); font: var(--fs-xs)/1.6 var(--font-label); letter-spacing: .08em; text-transform: uppercase; }
  .case-meta { margin: 0; }
  .case-meta > div { padding-block: var(--s-1); }
  .case-meta dt { font-size: var(--fs-xs); margin-bottom: 0; }
  .case-meta dd { font-size: 16px; }
  .hero-photo { margin-top: var(--s-4); }
  .hero-photo img { height: 184px; object-position: 100% 40%; transform: scale(1.2); transform-origin: 100% 40%; }
  .attachment::before { right: 24px; height: 40px; top: -12px; }
  .attachment .photo { padding: 4px; }
  .attachment figcaption { gap: var(--s-2); font-size: var(--fs-xs); padding-top: var(--s-1); }
  .proof { margin-top: var(--s-4); grid-template-columns: 1fr 1fr; padding-block: 0; }
  .proof > div { padding: var(--s-3) var(--s-2); }
  .proof > div:nth-child(odd) { padding-left: 0; }
  .proof > div:nth-child(even) { padding-right: 0; border-right: 0; }
  .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof strong { font-size: 25px; }
  .proof small { font-size: var(--fs-xs); }
  .chapter { padding-block: var(--s-7); }
  .chapter h2 { font-size: var(--fs-5); line-height: 1.1; }
  .service-intro { padding-top: var(--s-7); }
  .service-intro h2 { font-size: var(--fs-4); }
  .service-intro .lead { font-size: var(--fs-body); }
  .service { padding-top: var(--s-6); }
  .service + .service { padding-top: var(--s-7); }
  .service .service-lead { font-size: 20px; }
  .service .attachment { margin-top: var(--s-4); margin-bottom: var(--s-4); }
  .service .attachment img { aspect-ratio: 1.42; }
  .service-description { margin-bottom: var(--s-3); }
  .scope-header { margin-bottom: var(--s-2); }
  .scope-list li { grid-template-columns: 48px minmax(0,1fr); gap: var(--s-1); padding-block: var(--s-2); }
  .scope-list strong { font-size: 21px; }
  .scope-list p { font-size: 17px; }
  .scope-list li::before { font-size: var(--fs-xs); }
  .margin-column { margin-top: var(--s-4); padding: 0; }
  .sidenote { border-bottom: 1px solid var(--line); padding-block: var(--s-2); }
  .sidenote summary { cursor: pointer; }
  .sidenote summary .icon { display: block; width: 16px; height: 16px; }
  .sidenote[open] summary .icon { transform: rotate(45deg); }
  .sidenote li { padding-left: var(--s-2); position: relative; font-size: 17px; }
  .sidenote li::before { position: absolute; left: 0; }
  .sidenote p { font-size: 17px; }
  .conclusions { padding: var(--s-3); }
  .conclusions p { font-size: 21px; }
  .service-cta .button { width: 100%; justify-content: space-between; gap: var(--s-2); text-align: left; }
  .button { font-size: var(--fs-xs); }
  .inspection { margin-top: var(--s-4); padding: var(--s-3); }
  .inspection-head { display: block; }
  .inspection h3 { font-size: var(--fs-4); }
  .inspection-price { display: flex; align-items: baseline; justify-content: space-between; text-align: left; margin-top: var(--s-3); gap: var(--s-2); }
  .inspection-price strong { font-size: 35px; }
  .inspection-price .mono { font-size: var(--fs-xs); }
  .inspection-list { grid-template-columns: 1fr; margin-top: var(--s-2); }
  .inspection-list li { font-size: 17px; }
  .valuation-scope { display: block; }
  .steps { grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-4); }
  .step { display: grid; grid-template-columns: 32px 1fr; gap: 0 var(--s-2); padding-top: var(--s-3); }
  .step-number { grid-row: span 2; margin: 6px 0 0; }
  .step h3 { font-size: 25px; }
  .step p { grid-column: 2; }
  .about-layout { grid-template-columns: 1fr; margin-top: var(--s-4); gap: var(--s-4); }
  .portrait { max-width: 100%; }
  .portrait img { aspect-ratio: .92; object-position: center 31%; }
  .about-text p { font-size: 18px; }
  .about-text .lead { font-size: 21px; }
  .signature { margin-top: var(--s-3); }
  .cities { gap: 0 var(--s-2); }
  .cities li { font-size: 23px; }
  .cities li:last-child { font-size: 16px; }
  .article-list { margin-top: var(--s-4); }
  .article-link { grid-template-columns: 80px minmax(0,1fr) 16px; gap: var(--s-2); padding-block: var(--s-3); align-items: start; }
  .article-number { display: none; }
  .article-link img { aspect-ratio: .8; }
  .article-link h3 { font-size: 23px; }
  .article-link .mono { font-size: var(--fs-xs); margin-top: var(--s-1); }
  .article-link > .icon { width: 16px; height: 16px; margin-top: var(--s-1); }
  .faq-list { margin-top: var(--s-4); }
  .faq-item summary { grid-template-columns: 24px 1fr 20px; gap: var(--s-1); font-size: 21px; }
  .faq-item p { margin: 0 0 var(--s-3) var(--s-4); font-size: 18px; }
  .contact-grid { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-4); }
  .contact-grid .margin-column { order: -1; margin-top: 0; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line-dark); }
  .contact-details .contact-phone { font-size: 35px !important; margin-top: var(--s-3); }
  .contact-details .email { font-size: 20px; margin-top: var(--s-1); }
  .contact-details .address { font-size: 18px; }
  .contact-details .micro { margin-top: var(--s-2); max-width: 22rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field label { font-size: var(--fs-xs); }
  .consent label { font-size: 16px; }
  .form-submit .button { width: 100%; justify-content: space-between; }
  .form-title { font-size: 30px; }
  .sheet-footer { flex-direction: column; gap: var(--s-2); }
  .colophon { width: calc(100% - 40px); padding-block: var(--s-3); font-size: var(--fs-xs); }
  .mobile-bar { display: grid; grid-template-columns: 1fr .7fr 1.8fr; position: fixed; z-index: 45; bottom: 0; left: 0; right: 0; min-height: 64px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--navy); background: var(--paper); }
  .mobile-bar a { display: flex; justify-content: center; align-items: center; gap: var(--s-1); font: var(--fs-xs)/1.4 var(--font-label); text-decoration: none; min-height: 64px; }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar a:last-child { background: var(--navy); color: var(--paper); }
  .mobile-bar .icon { width: 16px; height: 16px; flex-basis: 16px; }
  .breadcrumbs { font-size: var(--fs-xs); padding-top: var(--s-3); }
  .article-header { padding-top: var(--s-4); }
  .article-header h1 { font-size: 38px; line-height: 1.08; text-wrap: pretty; }
  .article-header .section-label { font-size: var(--fs-xs); }
  .article-header .lead { font-size: 21px; }
  .article-meta { font-size: var(--fs-xs); gap: var(--s-1) var(--s-3); margin-top: var(--s-3); }
  .article-cover { margin-block: var(--s-4); }
  .article-cover img { aspect-ratio: 1.4; }
  .article-reading { display: flex; flex-direction: column; }
  .article-toc { order: -1; position: static; margin-bottom: var(--s-4); padding-block: var(--s-2); width: 100%; border-bottom: 1px solid var(--line); }
  .article-toc summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; justify-content: space-between; }
  .article-toc summary::after { content: '+'; font-size: 20px; }
  .article-toc[open] summary::after { content: '−'; }
  .article-toc a { padding-block: var(--s-1); font-size: 18px; }
  .article-prose p, .article-prose li { font-size: 19px; }
  .article-section { padding-top: var(--s-5); }
  .article-prose h2 { font-size: 29px; }
  .article-prose .article-sidenote p { font-size: 17px; }
  .article-prose h3 { font-size: 25px; }
  .article-end { padding: var(--s-3); }
  .article-end .button { text-align: left; gap: var(--s-2); }
  .article-nav { display: flex; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 359px) {
  .brand-name { font-size: 20px; }
  .brand-mark { width: 32px; height: 32px; }
  .menu-toggle span { display: none; }
  .running-head { font-size: var(--fs-xs); letter-spacing: .03em; }
  .hero h1 { font-size: 39px; }
  .hero-contact { gap: var(--s-2); flex-wrap: wrap; }
  .seal { width: 88px; height: 88px; flex-basis: 88px; }
  .article-link { grid-template-columns: 64px minmax(0,1fr); }
  .article-link > .icon { display: none; }
  .article-header h1 { font-size: 34px; }
  .inspection { padding: var(--s-2); }
  .mobile-bar a { font-size: var(--fs-xs); }
}
/* Review 1: preserve document rhythm without empty rows beneath sidenotes. */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.service > .document-grid { row-gap: 0; align-items: start; }
.service:not(.service--valuation) > .document-grid > .margin-column { grid-row: 1 / 3; }
.service:not(.service--valuation) > .document-grid > .body-column:last-child { grid-row: 2; }
.service--valuation .document-grid > .full-column { margin-top: var(--s-4); }
.about-text .mono { font-size: var(--fs-xs); }
@media (min-width: 701px) and (max-width: 999px) {
  .service > .document-grid { display: flex; flex-direction: column; }
  .service > .document-grid > * { width: 100%; }
  .service > .document-grid > .margin-column { padding: 0; margin-bottom: var(--s-4); }
  .service .body-column, .service .full-column { grid-column: 1 / -1; }
  .contact-grid { display: flex; flex-direction: column; }
  .contact-grid > * { width: 100%; }
  .contact-grid > .margin-column { order: -1; padding-left: 0; margin-bottom: var(--s-3); }
  .contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-1) var(--s-4); }
  .contact-details > .contact-phone { grid-column: 2; grid-row: 1; margin: 0; font-size: 28px !important; }
  .contact-details > .email { grid-column: 2; grid-row: 2; margin: 0; }
  .contact-details > .micro { grid-column: 2; grid-row: 3; margin: 0; }
  .contact-details > .text-link { grid-column: 2; }
  .article-reading { display: flex; flex-direction: column; }
  .article-toc { position: static; order: -1; margin-bottom: var(--s-4); width: 100%; }
  .article-prose { max-width: none; }
}
@media (max-width: 999px) {
  .article-prose > .document-grid, .article-section { display: block; }
  .article-section > .body-column, .article-intro, .article-section > .margin-column { max-width: 38rem; }
  .article-section > .margin-column { margin-top: var(--s-3); padding-left: 0; }
  .article-toc { display: block; }
  .sidenote { border-bottom: 1px solid var(--line); padding-block: var(--s-2); }
  .sidenote summary, .article-toc summary { cursor: pointer; }
  .sidenote summary .icon { display: block; }
  .sidenote[open] summary .icon { transform: rotate(45deg); }
  .article-toc summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
  .article-toc summary::after { content: '+'; font-size: 20px; }
  .article-toc[open] summary::after { content: '−'; }
}
@media (max-width: 700px) {
  .service .margin-column { margin-bottom: var(--s-3); }
  .service--valuation .document-grid > .full-column { margin-top: 0; }
  .running-head { letter-spacing: .03em; font-size: var(--fs-xs); }
  .running-head span:first-child { max-width: 56%; }
  .running-head span:last-child { font-size: var(--fs-xs); }
  .hero .section-label { margin-bottom: var(--s-2); }
  .hero .lead { font-size: 20px; }
  .brand-subtitle { letter-spacing: .03em; }
  .attachment figcaption { line-height: 1.5; }
}
/* Review 2: place the valuation note beside the findings, free the full scope list. */
@media (min-width: 1000px) {
  .service--valuation > .document-grid > .full-column { display: contents; }
  .service--valuation > .document-grid > .body-column:first-child { grid-column: 1 / 9; grid-row: 1; }
  .service--valuation .scope-header { grid-column: 1 / -1; grid-row: 2; }
  .service--valuation .scope-list { grid-column: 1 / -1; grid-row: 3; }
  .service--valuation .conclusions { grid-column: 1 / 9; grid-row: 4; }
  .service--valuation .service-cta { grid-column: 1 / 9; grid-row: 5; }
  .service--valuation > .document-grid > .margin-column { grid-column: 10 / 13; grid-row: 4 / 6; margin-top: var(--s-4); }
}
@media (max-width: 999px) {
  .sidenote { padding-block: var(--s-1); }
  .sidenote summary { min-height: 44px; align-items: center; }
}
@media (max-width: 700px) {
  .running-head .running-extra { display: none; }
  .button { min-height: 56px; padding: var(--s-1) var(--s-2); line-height: 1.4; }
}
/* Review 3: continuous helper text follows the minimum body size; mono stays compact. */
@media (min-width: 701px) {
  .micro, .case-meta dd, .contact-details .address, .contact-details .email,
  .dropzone .micro, .file-list .file-name, .consent label, .article-toc a { font-size: var(--fs-body); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
