@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap");

:root {
  --paper: #efe4ce;
  --paper-light: #f8f1e5;
  --ink: #171714;
  --ink-soft: #302f2a;
  --muted: #655f54;
  --line: #b8aa92;
  --oxblood: #6f261c;
  --red: #be3a25;
  --cobalt: #2852d8;
  --white: #fffaf0;
  --success: #1f6849;
  --error: #a32121;
  --shell: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 "Manrope", Arial, sans-serif; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 11px 16px; background: var(--ink); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; font-family: "Syne", "Manrope", sans-serif; line-height: .97; letter-spacing: -.055em; }
h1 { font-size: clamp(4rem, 7.7vw, 7.9rem); }
h2 { font-size: clamp(2.75rem, 5.35vw, 5.6rem); }
h3 { font-size: clamp(1.8rem, 3vw, 3.15rem); }

/* header: the split line feels like a workshop label, not app chrome */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 2px solid var(--ink); background: rgba(239,228,206,.96); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 24px; }
.brand { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-copy { display: grid; line-height: 1.04; }
.brand-copy strong { font-size: .96rem; font-weight: 800; letter-spacing: -.035em; }
.brand-copy small { margin-top: 4px; color: var(--oxblood); font-size: .59rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.header-tools { margin-left: auto; }
.language-switch { display: none; align-items: center; border: 1px solid var(--ink); background: var(--paper-light); }
.language-switch.is-visible { display: flex; }
.language-switch button { min-width: 43px; min-height: 36px; padding: 0 9px; border: 0; background: transparent; color: var(--ink); font-size: .68rem; font-weight: 800; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--cobalt); color: #fff; }
.language-switch-label { padding: 0 9px; border-right: 1px solid var(--ink); color: var(--muted); font-size: .62rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .78rem; font-weight: 750; text-decoration: none; }
.site-nav a:not(.nav-action):hover { text-decoration: underline 2px; text-underline-offset: 5px; }
.nav-action { padding: 0 18px; background: var(--ink); color: #fff; }
.nav-action:hover { background: var(--red); }
.menu-button { width: 48px; height: 48px; display: none; place-content: center; gap: 7px; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.menu-button > span:not(.sr-only) { width: 20px; border-top: 2px solid currentColor; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 0; font-size: .82rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform 140ms ease, background-color 140ms ease; }
.button:hover { transform: translate(-2px,-2px); }
.button-primary { background: var(--red); color: #fff; box-shadow: 5px 5px 0 var(--ink); }
.button-primary:hover { background: var(--oxblood); }
.button-cobalt { width: 100%; background: var(--cobalt); color: #fff; box-shadow: 5px 5px 0 var(--ink); }
.button-paper { background: var(--paper-light); color: var(--ink); box-shadow: 5px 5px 0 #050504; }
.button-dark { background: var(--ink); color: #fff; }
.plain-action { min-height: 46px; display: inline-flex; align-items: center; font-size: .8rem; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.section-code { margin-bottom: 0; color: var(--oxblood); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-code-light { color: #84a1ff; }

/* home: field inspection / repair desk */
.hero-lab { overflow: hidden; padding: 52px 0 0; border-bottom: 2px solid var(--ink); }
.hero-lab-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 52px; align-items: start; }
.hero-statement { display: flex; flex-direction: column; padding: 18px 0 48px; }
.dispatch-line { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 42px; padding-bottom: 11px; border-bottom: 1px solid var(--ink); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dispatch-line b { color: var(--red); }
.hero-statement h1 { max-width: 780px; }
.hero-lede { max-width: 690px; margin: 30px 0 0 13%; font-size: clamp(1rem,1.45vw,1.22rem); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 34px 0 0 13%; }
.service-ledger { display: grid; grid-template-columns: repeat(3,1fr); margin: auto 0 0; padding-top: 42px; }
.service-ledger div { padding: 13px 15px 0 0; border-top: 1px solid var(--ink); }
.service-ledger div + div { padding-left: 15px; border-left: 1px solid var(--ink); }
.service-ledger dt { color: var(--muted); font-size: .59rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.service-ledger dd { margin: 4px 0 0; font-size: .76rem; font-weight: 750; }
.hero-case { min-width: 0; margin: 0; border: 2px solid var(--ink); border-bottom: 0; background: var(--ink); color: #fff; transform: rotate(1deg); transform-origin: bottom; }
.case-photo { position: relative; height: 640px; overflow: hidden; clip-path: inset(0 100% 0 0); animation: case-open 780ms cubic-bezier(.22,.8,.22,1) 120ms forwards; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; filter: saturate(.85) contrast(1.05); }
.case-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 60%,rgba(0,0,0,.38)); content: ""; }
.case-ring { position: absolute; z-index: 2; border: 3px solid #ff553b; border-radius: 50%; transform: rotate(-12deg); }
.case-ring-one { right: 13%; bottom: 23%; width: 42%; height: 20%; }
.hero-case figcaption { min-height: 80px; display: grid; align-content: center; gap: 4px; padding: 14px 18px; }
.hero-case figcaption strong { color: #ff7a63; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-case figcaption span { color: #bdb8ae; font-size: .64rem; }
.hero-ticker { overflow: hidden; border-top: 2px solid var(--ink); background: var(--red); color: #fff; font: 800 1rem/46px "Syne",sans-serif; white-space: nowrap; transform: rotate(-.7deg) scale(1.02); }
.hero-ticker span { display: block; width: max-content; }
@keyframes case-open { to { clip-path: inset(0); } }

.damage-lab { padding: 118px 0 130px; background: var(--paper-light); }
.lab-heading { display: grid; grid-template-columns: .44fr 1.56fr; gap: 42px; align-items: start; margin-bottom: 54px; }
.lab-heading > div { display: grid; grid-template-columns: 1.25fr .75fr; gap: 42px; align-items: end; }
.lab-heading p:last-child { margin-bottom: 7px; color: var(--muted); }
.inspection-board { display: grid; grid-template-columns: 1.15fr .85fr; border: 2px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--oxblood); }
.inspection-photo { position: relative; min-height: 680px; overflow: hidden; border-right: 2px solid var(--ink); background: #6a5743; }
.inspection-photo::after { position: absolute; inset: 0; background: rgba(27,24,20,.1); pointer-events: none; content: ""; }
.inspection-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hotspot { position: absolute; z-index: 3; min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border: 2px solid var(--ink); background: var(--paper-light); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); cursor: pointer; }
.hotspot span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .61rem; }
.hotspot b { font-size: .65rem; }
.hotspot.is-active { background: #ff5a40; color: #fff; }
.hotspot.is-active span { background: var(--cobalt); }
.hotspot-scratch { top: 24%; left: 12%; }
.hotspot-tear { top: 47%; right: 8%; }
.hotspot-color { bottom: 21%; left: 10%; }
.hotspot-peeling { right: 12%; bottom: 8%; }
.hotspot.is-active::after { position: absolute; inset: -10px; border: 2px solid #ff5a40; content: ""; animation: inspect-pulse 1.8s ease-out infinite; }
.inspection-board.is-used .hotspot.is-active::after { display: none; }
@keyframes inspect-pulse { 0% { opacity: .9; transform: scale(.92); } 70%,100% { opacity: 0; transform: scale(1.17); } }
.diagnosis { display: flex; flex-direction: column; padding: clamp(28px,4vw,54px); }
.diagnosis-top { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.diagnosis-top span { color: var(--cobalt); font: 800 2.1rem/1 "Syne",sans-serif; }
.diagnosis-top p { margin: 0; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.diagnosis h3 { margin-top: 32px; }
.diagnosis-summary { margin: 20px 0 0; color: var(--ink-soft); font-size: 1.02rem; }
.diagnosis-notes { margin: 28px 0; border-top: 1px solid var(--ink); }
.diagnosis-notes div { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.diagnosis-notes dt { color: var(--oxblood); font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.diagnosis-notes dd { margin: 0; font-size: .76rem; }
.diagnosis-caveat { margin: 20px 0 0; color: var(--muted); font-size: .68rem; }
.diagnosis.is-changing > :not(.diagnosis-top) { animation: diagnosis-swap 230ms ease-out; }
@keyframes diagnosis-swap { from { opacity: .15; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.method-sheet { padding: 120px 0; background: var(--ink); color: #fff; }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.method-heading { position: sticky; top: 112px; align-self: start; }
.method-heading h2 { margin-top: 28px; }
.method-heading > p:last-child { max-width: 600px; margin: 30px 0 0; color: #bdb7ad; }
.work-order { border-top: 2px solid #fff; }
.work-order-row { display: grid; grid-template-columns: 105px 1fr; gap: 6px 25px; padding: 28px 0 34px; border-bottom: 1px solid #5a5851; }
.work-order-row > span { grid-row: 1 / 3; padding-top: 4px; color: #86a3ff; font-size: .63rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.work-order-row strong { font: 700 clamp(1.3rem,2vw,2rem)/1.15 "Syne",sans-serif; }
.work-order-row p { max-width: 560px; margin: 10px 0 0; color: #aaa69e; }

.material-truth { padding: 126px 0; }
.material-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; }
.material-title h2 { margin-top: 26px; }
.material-lead { margin-bottom: 55px; font-size: clamp(1.25rem,2.1vw,1.85rem); line-height: 1.35; letter-spacing: -.025em; }
.material-columns { border-top: 2px solid var(--ink); }
.material-columns > div { display: grid; grid-template-columns: 190px 1fr; gap: 25px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.material-columns strong { color: var(--oxblood); font-size: .76rem; text-transform: uppercase; }
.material-columns p { margin: 0; color: var(--muted); }

.photo-desk { overflow: hidden; padding: 115px 0; background: var(--cobalt); color: #fff; }
.photo-desk-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: 90px; align-items: center; }
.contact-sheet { position: relative; min-height: 620px; }
.photo-card { position: absolute; margin: 0; border: 8px solid var(--paper-light); background: var(--paper-light); color: var(--ink); box-shadow: 10px 12px 0 rgba(0,0,0,.35); }
.photo-card img { width: 100%; height: calc(100% - 48px); object-fit: cover; }
.photo-card figcaption { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 9px; font-size: .67rem; font-weight: 750; }
.photo-card figcaption b { color: var(--red); font-size: 1.1rem; }
.photo-card-wide { top: 0; left: 0; width: 72%; height: 385px; transform: rotate(-3deg); }
.photo-card-close { right: 0; bottom: 0; width: 45%; height: 390px; transform: rotate(4deg); }
.contact-sheet-note { position: absolute; z-index: 3; bottom: 20px; left: 2%; width: 48%; padding: 21px; border: 2px solid var(--ink); background: #f65a3e; color: #fff; transform: rotate(-1deg); }
.contact-sheet-note strong { font-family: "Syne",sans-serif; text-transform: uppercase; }
.contact-sheet-note p { margin: 7px 0 0; font-size: .72rem; }
.photo-desk-copy h2 { margin-top: 27px; }
.photo-desk-copy > p:not(.section-code) { margin: 28px 0 32px; color: #d7defc; }

.local-strip { padding: 95px 0; border-bottom: 2px solid var(--ink); background: #ff6045; }
.local-strip-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 80px; align-items: center; }
.radius-mark { aspect-ratio: 1; display: grid; grid-template-rows: auto auto auto; place-items: center; align-content: center; gap: 18px; padding: 34px; border: 3px solid var(--ink); border-radius: 50%; text-align: center; transform: rotate(-5deg); }
.radius-mark span, .radius-mark small { position: relative; z-index: 2; max-width: 82%; font-size: .64rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.radius-mark strong { font: 800 clamp(5.5rem,10vw,8.5rem)/.68 "Syne",sans-serif; }
.local-strip-copy h2 { margin: 25px 0 0; }
.local-strip-copy > p:not(.section-code) { max-width: 760px; margin: 27px 0 18px; }

.trust-ledger { padding: 120px 0; background: var(--paper-light); }
.trust-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 74px; align-items: start; }
.specialist-note { display: grid; grid-template-columns: 150px 1fr; gap: 36px; }
.specialist-monogram { width: 150px; height: 195px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--oxblood); color: #fff; font: 800 6rem/1 "Syne",sans-serif; transform: rotate(-2deg); }
.specialist-note h2 { margin-top: 24px; }
.specialist-note p:not(.section-code) { max-width: 620px; margin: 28px 0 10px; color: var(--muted); }
.telegram-proof { border: 2px solid var(--ink); background: #d9d0bd; transform: rotate(1deg); }
.proof-header { display: flex; justify-content: space-between; gap: 15px; padding: 13px 17px; border-bottom: 2px solid var(--ink); background: var(--cobalt); color: #fff; font-size: .63rem; text-transform: uppercase; }
.proof-header span { opacity: .75; }
.telegram-proof article { min-height: 190px; padding: 25px; background: var(--paper-light); }
.telegram-proof article + article { border-top: 1px solid var(--ink); margin-left: 24px; }
.telegram-proof small { color: var(--oxblood); font-weight: 800; text-transform: uppercase; }
.telegram-proof blockquote { margin: 28px 0 24px; font: 700 1.2rem/1.3 "Syne",sans-serif; }
.telegram-proof article p { margin: 0; color: var(--muted); font-size: .7rem; }

.quote { padding: 125px 0; }
.quote-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.quote-copy { position: sticky; top: 110px; }
.quote-copy h2 { margin-top: 27px; }
.quote-copy > p:not(.section-code) { max-width: 500px; margin: 28px 0; color: var(--muted); }
.quote-route { display: grid; gap: 4px; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.quote-route span { color: var(--oxblood); font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.quote-route strong { font-size: .82rem; }
.quote-route small { color: var(--muted); }
.quote-form { padding: 34px; border: 2px solid var(--ink); background: var(--paper-light); box-shadow: 9px 9px 0 var(--cobalt); }
.preview-notice { display: grid; grid-template-columns: 120px 1fr; gap: 15px; margin-bottom: 30px; padding: 14px 0; border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.preview-notice strong { color: var(--oxblood); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { margin-bottom: 18px; }
.field > label:not(.file-picker) { display: block; margin-bottom: 7px; font-size: .72rem; font-weight: 800; }
.field label em { color: var(--muted); font-size: .66rem; font-style: normal; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 51px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); }
.field input, .field select { padding: 0 12px; }
.field textarea { min-height: 130px; padding: 12px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 17px; display: block; margin-top: 4px; color: var(--error); font-size: .68rem; }
.file-picker { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 2px dashed var(--ink); background: var(--paper); cursor: pointer; }
.file-picker strong, .file-picker small { display: block; }
.file-picker strong { font-size: .82rem; }
.file-picker small { margin-top: 5px; color: var(--muted); font-size: .66rem; }
.file-picker b { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; background: var(--ink); color: #fff; font-size: .69rem; }
.file-input { position: absolute; width: 1px!important; height: 1px; min-height: 1px!important; margin: -1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.selected-files { margin-top: 7px; color: var(--muted); font-size: .68rem; }
.consent { min-height: 44px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: .73rem; }
.consent input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--red); }
.form-submit { width: 100%; margin-top: 13px; border: 0; }
.form-submit[disabled] { cursor: wait; opacity: .7; transform: none; }
.form-status { min-height: 22px; margin: 13px 0 0; font-size: .73rem; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

.site-footer { padding: 65px 0 24px; background: var(--ink); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 45px; }
.brand-footer { margin-bottom: 14px; }
.brand-footer .brand-copy small { color: #ff7760; }
.footer-main > div > p { color: #aaa69e; font-size: .76rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-content: start; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: #d7d3cc; font-size: .77rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #4a4944; color: #8f8b83; font-size: .66rem; }
.footer-bottom p { margin-bottom: 0; }

/* Inner pages keep the same identity without forcing the home composition on them. */
.kicker, .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #ff826b; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kicker::before, .eyebrow::before, .kicker > span { width: 30px; flex: 0 0 30px; border-top: 2px solid currentColor; content: ""; }
.kicker:has(> span)::before { display: none; }
.kicker-dark, .eyebrow-dark { color: var(--oxblood); }
.page-hero { padding: 92px 0 82px; border-bottom: 8px solid var(--red); background: var(--ink); color: #fff; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.4rem,6.2vw,6.4rem); }
.page-hero-copy { max-width: 700px; margin: 25px 0 0; color: #c5c1b9; font-size: 1.04rem; }
.page-hero-aside { padding: 23px 0 3px 24px; border-left: 4px solid var(--cobalt); color: #bbb7ae; font-size: .8rem; }
.page-hero-aside strong { display: block; margin-bottom: 7px; color: #fff; }
.page-section { padding: 96px 0; }
.page-section-muted { background: #ded2bc; }
.page-two-column { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.page-two-column > div > p:not(.eyebrow), .page-copy p, .service-card p, .area-card p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); }
.resource-index { padding: 104px 0; border-block: 2px solid var(--ink); background: var(--cobalt); color: #fff; }
.resource-index-heading { display: grid; grid-template-columns: .48fr 1.52fr; gap: 50px; align-items: start; margin-bottom: 48px; }
.resource-index-heading h2 { max-width: 920px; font-size: clamp(2.7rem,5vw,5.2rem); }
.resource-lines { border-top: 2px solid #fff; }
.resource-lines a { display: grid; grid-template-columns: 72px minmax(0,1fr) 235px; gap: 25px; align-items: center; min-height: 108px; border-bottom: 1px solid #8da5f1; color: inherit; text-decoration: none; }
.resource-lines a:hover strong { color: #ff806a; }
.resource-lines span { color: #ff806a; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.resource-lines strong { font: 700 clamp(1.15rem,2vw,1.85rem)/1.1 "Syne",sans-serif; transition: color 140ms ease; }
.resource-lines small { color: #dce3ff; font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.service-card, .area-card { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 0; border-bottom: 1px solid var(--ink); background: var(--paper-light); }
.service-card:nth-child(odd) { border-right: 1px solid var(--ink); }
.service-card:nth-child(1) { grid-row: span 2; min-height: 500px; justify-content: flex-end; background: var(--red); color: #fff; }
.service-card:nth-child(1) p, .service-card:nth-child(1) .damage-index { color: #ffe2dc; }
.service-card h2, .area-card h2 { font-size: clamp(1.55rem,2.3vw,2.2rem); }
.damage-index { display: block; margin-bottom: 30px; color: var(--oxblood); font-size: .67rem; font-weight: 800; }
.service-card p { flex: 1; margin-top: 15px; }
.service-card a, .inline-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 10px; font-size: .76rem; font-weight: 800; text-underline-offset: 4px; }
.plain-list { margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.plain-list li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.plain-list strong { display: block; margin-bottom: 4px; color: var(--ink); }
.page-cta { padding: 70px 0; border-block: 2px solid var(--ink); background: var(--red); color: #fff; }
.page-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.page-cta h2 { max-width: 760px; font-size: clamp(2.3rem,4.4vw,4rem); }
.page-cta p { max-width: 620px; margin: 12px 0 0; color: #ffe2da; }
.page-cta .button { background: #fff; color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.area-grid-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 2px solid var(--ink); }
.area-card { min-height: 235px; border-right: 1px solid var(--ink); }
.area-card:last-child { border-right: 0; }
.area-card strong { margin-bottom: 38px; color: var(--cobalt); font: 800 2.8rem/1 "Syne",sans-serif; }
.empty-work { min-height: 350px; display: grid; place-items: center; padding: 45px; border: 2px dashed var(--ink); text-align: center; }
.empty-work > div { max-width: 600px; }
.empty-work h2 { margin-bottom: 18px; }
.legal-content { max-width: 820px; padding-top: 90px; padding-bottom: 110px; }
.legal-content h1 { margin-bottom: 32px; }
.legal-content h2 { margin-top: 43px; font-size: 1.8rem; }
.legal-content p { color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 80px; }
.footer-grid > div:first-child > p { color: #aaa69e; font-size: .78rem; }
.footer-meta { grid-column: 1/-1; margin: 0; padding-top: 22px; border-top: 1px solid #4a4944; color: #89867f; font-size: .68rem; }

/* Page covers change with the question each page answers. */
.page-area .page-hero { border-bottom-color: var(--ink); background: #ff6045; color: var(--ink); }
.page-area .page-hero-copy { color: #3f1f19; }
.page-area .page-hero-aside { aspect-ratio: 1; display: grid; place-content: center; padding: 42px; border: 3px solid var(--ink); border-radius: 50%; color: var(--ink); transform: rotate(5deg); }
.page-area .page-hero-aside strong { color: var(--ink); font: 800 clamp(1.4rem,2.4vw,2.1rem)/1.05 "Syne",sans-serif; }
.page-area .page-hero .eyebrow { color: var(--ink); }

.page-contact .page-hero { border-bottom: 8px solid var(--ink); background: var(--cobalt); }
.page-contact .page-hero-copy { color: #e1e6ff; }
.page-contact .page-hero-aside { padding: 34px; border: 2px solid var(--ink); background: var(--paper-light); color: var(--ink); box-shadow: 8px 8px 0 var(--ink); transform: rotate(2deg); }
.page-contact .page-hero-aside strong { color: var(--oxblood); font: 800 1.2rem/1.1 "Syne",sans-serif; }
.page-contact .page-hero .eyebrow { color: #dbe3ff; }
.page-contact .page-section { background: var(--paper); }

.page-about .page-hero { border-bottom-color: var(--cobalt); background: var(--paper-light); color: var(--ink); }
.page-about .page-hero-copy { color: var(--muted); }
.page-about .page-hero-aside { min-height: 290px; display: grid; place-content: end; padding: 35px; border: 2px solid var(--ink); background: var(--oxblood); color: #efdcd2; transform: rotate(-2deg); }
.page-about .page-hero-aside::before { display: block; margin-bottom: auto; color: #fff; font: 800 7rem/.75 "Syne",sans-serif; content: "V"; }
.page-about .page-hero-aside strong { color: #fff; }
.page-about .page-hero .eyebrow { color: var(--oxblood); }

.page-work .page-hero { border-bottom: 2px dashed var(--ink); background: var(--paper); color: var(--ink); }
.page-work .page-hero-copy { color: var(--muted); }
.page-work .page-hero-aside { padding: 32px; border: 2px dashed var(--ink); color: var(--ink); transform: rotate(1deg); }
.page-work .page-hero-aside strong { color: var(--red); }
.page-work .page-hero .eyebrow { color: var(--oxblood); }

.page-scratches .page-hero { border-bottom-color: var(--ink); background: var(--paper); color: var(--ink); }
.page-scratches .page-hero-copy { color: var(--muted); }
.page-scratches .page-hero-aside { padding: 32px; border: 2px solid var(--ink); background: #ff6045; color: var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.page-scratches .page-hero-aside strong, .page-scratches .page-hero .eyebrow { color: var(--ink); }

.page-tears .page-hero { border-bottom-color: #8aa4ff; }
.page-tears .page-hero-aside { border: 2px solid #8aa4ff; color: #cbc9c2; }

.page-color .page-hero { border-bottom-color: var(--ink); background: var(--cobalt); }
.page-color .page-hero-copy { color: #e1e6ff; }
.page-color .page-hero-aside { padding: 32px; border: 2px solid #fff; color: #e1e6ff; transform: rotate(-1deg); }

/* Process page: every row is a handoff in one job, so it reads as a ledger. */
.process-page-hero { background: var(--ink); }
.process-ticket { padding: 34px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 var(--cobalt); transform: rotate(2deg); }
.process-ticket strong { color: var(--oxblood); font: 800 1.35rem/1.1 "Syne",sans-serif; }
.process-ticket span { display: block; }
.process-route { background: var(--paper-light); }
.route-ledger { margin-top: 38px; border-top: 2px solid var(--ink); }
.route-ledger article { display: grid; grid-template-columns: 90px 1fr 210px; gap: 30px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.route-ledger article > span { color: var(--cobalt); font: 800 .7rem/1 "Manrope",sans-serif; letter-spacing: .08em; }
.route-ledger h2 { max-width: 650px; font-size: clamp(1.8rem,3vw,3.2rem); }
.route-ledger p { max-width: 700px; margin: 15px 0 0; color: var(--muted); }
.route-ledger small { padding: 12px; border: 1px solid var(--ink); color: var(--oxblood); font-size: .65rem; font-weight: 800; text-transform: uppercase; transform: rotate(1deg); }
.prep-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; }
.prep-grid h2 { margin: 24px 0; }
.prep-grid > div:first-child > p:last-child { max-width: 650px; color: var(--muted); }
.prep-sheet { border: 2px solid var(--ink); background: var(--paper-light); }
.prep-sheet strong, .prep-sheet p { display: block; margin: 0; padding: 18px 22px; }
.prep-sheet strong { border-bottom: 1px solid var(--ink); color: var(--cobalt); font-size: .69rem; text-transform: uppercase; }
.prep-sheet p + strong { border-top: 2px solid var(--ink); }
.prep-sheet p { color: var(--muted); }
.decision-split { padding: 0; }
.decision-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.decision-grid > div { min-width: 0; min-height: 520px; padding-block: 78px; }
.decision-grid > div:first-child { padding-left: max(24px,calc((100vw - var(--shell))/2)); padding-right: clamp(32px,6vw,96px); background: var(--cobalt); color: #fff; }
.decision-grid > div:last-child { padding-right: max(24px,calc((100vw - var(--shell))/2)); padding-left: clamp(32px,6vw,96px); background: #ff6045; }
.decision-grid h2 { margin-top: 25px; }
.decision-grid ul { margin: 40px 0 0; padding: 0; border-top: 2px solid currentColor; list-style: none; }
.decision-grid li { padding: 17px 0; border-bottom: 1px solid currentColor; }

/* Photo guide: a contact sheet is the page cover because framing is the product. */
.photo-guide-hero { overflow: hidden; padding: 85px 0 100px; background: var(--cobalt); color: #fff; }
.photo-guide-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.photo-guide-hero h1 { margin-top: 24px; }
.photo-guide-hero p:last-child { max-width: 610px; margin: 28px 0 0; color: #dfe5ff; }
.guide-stack { position: relative; min-height: 570px; }
.guide-stack figure { position: absolute; margin: 0; border: 7px solid var(--paper-light); background: var(--paper-light); color: var(--ink); box-shadow: 10px 10px 0 rgba(0,0,0,.35); }
.guide-stack figure:first-child { top: 0; left: 0; width: 70%; height: 360px; transform: rotate(-4deg); }
.guide-stack figure:nth-child(2) { right: 0; bottom: 0; width: 48%; height: 390px; transform: rotate(5deg); }
.guide-stack img { width: 100%; height: calc(100% - 44px); object-fit: cover; }
.guide-stack figcaption { height: 44px; padding: 12px; font-size: .68rem; font-weight: 800; }
.guide-stack > span { position: absolute; z-index: 4; bottom: 34px; left: 2%; padding: 18px; border: 2px solid var(--ink); background: #ff6045; color: var(--ink); font-size: .72rem; transform: rotate(-2deg); }
.shot-sequence { background: var(--paper-light); }
.shot-row { display: grid; grid-template-columns: 90px 1fr .8fr; gap: 35px; align-items: start; padding: 33px 0; border-bottom: 1px solid var(--line); }
.shot-row:first-of-type { margin-top: 38px; border-top: 2px solid var(--ink); }
.shot-row > span { color: var(--red); font: 800 2.8rem/.9 "Syne",sans-serif; }
.shot-row h2 { font-size: clamp(1.8rem,3vw,3.2rem); }
.shot-row p { margin: 0; color: var(--muted); }
.light-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.light-good > span { display: inline-grid; width: 90px; height: 90px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: #ff6045; font-weight: 800; }
.light-good h2 { margin: 28px 0; }
.light-good p { max-width: 700px; color: var(--muted); }
.light-bad { padding: 34px; border: 2px solid var(--ink); background: var(--ink); color: #fff; transform: rotate(1deg); }
.light-bad strong { color: #8aa4ff; text-transform: uppercase; }
.light-bad ul { margin: 25px 0 0; padding-left: 20px; }
.light-bad li + li { margin-top: 15px; }
.guide-details-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; }
.guide-details h2 { margin-top: 25px; }
.guide-details dl { margin: 0; border-top: 2px solid var(--ink); }
.guide-details dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.guide-details dt { color: var(--oxblood); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.guide-details dd { margin: 0; color: var(--muted); }

/* Material guide: a sample ledger differentiates surfaces without pretending to diagnose remotely. */
.material-hero { padding: 105px 0; border-bottom: 2px solid var(--ink); background: #ff6045; }
.material-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: end; }
.material-hero h1 { margin-top: 26px; }
.material-hero-note { padding: 32px; border: 2px solid var(--ink); background: var(--paper-light); box-shadow: 8px 8px 0 var(--ink); transform: rotate(2deg); }
.material-hero-note strong { color: var(--oxblood); text-transform: uppercase; }
.material-hero-note p { margin: 15px 0 0; color: var(--muted); }
.material-ledger { background: var(--paper-light); }
.material-row { display: grid; grid-template-columns: 80px 1fr 220px; gap: 35px; align-items: start; padding: 35px 0; border-bottom: 1px solid var(--line); }
.material-row:first-of-type { margin-top: 38px; border-top: 2px solid var(--ink); }
.material-row > span { color: var(--red); font: 800 2.5rem/1 "Syne",sans-serif; }
.material-row h2 { font-size: clamp(1.8rem,3vw,3.3rem); }
.material-row p { max-width: 700px; margin: 15px 0 0; color: var(--muted); }
.material-row aside { padding: 14px; border: 1px solid var(--ink); color: var(--cobalt); font-size: .68rem; font-weight: 800; transform: rotate(-1deg); }
.label-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.label-grid h2 { margin: 25px 0; }
.label-grid > div:first-child > p:last-child { color: var(--muted); }
.label-map { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); }
.label-map span { min-height: 150px; display: grid; place-items: center; padding: 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-weight: 800; text-align: center; }
.label-map span:nth-child(even) { border-right: 0; }
.label-map span:nth-child(n+3) { border-bottom: 0; }
.finish-reading { background: var(--cobalt); color: #fff; }
.finish-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.finish-grid h2 { margin-top: 25px; }
.finish-grid dl { margin: 0; border-top: 2px solid #fff; }
.finish-grid dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 25px; padding: 19px 0; border-bottom: 1px solid #89a0ed; }
.finish-grid dt { color: #fff0ec; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.finish-grid dd { margin: 0; color: #e4e8ff; }
.material-warning { background: var(--ink); color: #fff; }
.warning-grid { display: grid; grid-template-columns: .7fr 1.1fr auto; gap: 50px; align-items: center; }
.warning-grid > strong { color: #ff7b64; font: 800 1.25rem/1.1 "Syne",sans-serif; text-transform: uppercase; }
.warning-grid p { margin: 0; color: #bbb7ae; }

.file-picker:has(.file-title) { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title action" "help action"; align-content: center; }
.file-title { grid-area: title; font-size: .82rem; font-weight: 800; }
.file-help { grid-area: help; color: var(--muted); font-size: .66rem; }
.file-action { grid-area: action; min-height: 44px; display: inline-flex; align-items: center; align-self: center; padding: 0 14px; background: var(--ink); color: #fff; font-size: .69rem; font-weight: 800; }

@media (max-width: 1020px) {
  .menu-button { display: grid; }
  .site-nav { position: absolute; inset: 74px 0 auto; display: none; padding: 14px 24px 22px; border-bottom: 2px solid var(--ink); background: var(--paper); }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 50px; padding: 0 8px; }
  .site-nav .nav-action { margin-top: 7px; }
  .hero-lab-grid, .lab-heading > div, .inspection-board, .method-grid, .material-grid, .photo-desk-grid, .trust-grid, .quote-grid, .page-hero-grid, .page-two-column, .photo-guide-hero-grid, .material-hero-grid, .prep-grid, .light-grid, .guide-details-grid, .label-grid, .finish-grid { grid-template-columns: 1fr; }
  .page-hero-grid > *, .photo-guide-hero-grid > *, .material-hero-grid > * { min-width: 0; }
  .hero-statement { min-height: 620px; }
  .hero-case { width: 76%; margin-left: auto; }
  .case-photo { height: 560px; }
  .lab-heading { grid-template-columns: 180px 1fr; }
  .inspection-photo { min-height: 620px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .method-heading, .quote-copy { position: static; }
  .photo-desk-grid { gap: 55px; }
  .contact-sheet { min-height: 610px; }
  .local-strip-grid { grid-template-columns: 280px 1fr; gap: 55px; }
  .specialist-note { grid-template-columns: 130px 1fr; }
  .specialist-monogram { width: 130px; height: 170px; }
  .route-ledger article, .shot-row, .material-row { grid-template-columns: 72px 1fr; }
  .route-ledger small, .material-row aside { grid-column: 2; }
  .decision-grid { width: auto; grid-template-columns: 1fr; }
  .decision-grid > div { min-height: 0; padding-inline: 24px; }
  .guide-stack { width: min(100%,680px); }
  .warning-grid { grid-template-columns: 1fr; }
  .resource-index-heading { grid-template-columns: 1fr; gap: 18px; }
  .resource-lines a { grid-template-columns: 58px minmax(0,1fr); }
  .resource-lines small { grid-column: 2; padding-bottom: 20px; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  h1 { font-size: clamp(3rem,15vw,4.35rem); }
  h2 { font-size: clamp(2.45rem,12vw,3.5rem); }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .header-inner { min-height: 68px; gap: 10px; }
  .site-nav { inset-block-start: 68px; }
  .header-tools { margin-left: auto; }
  .language-switch-label { display: none; }
  .language-switch button { min-width: 39px; min-height: 36px; }
  .brand-copy strong { font-size: .83rem; }
  .brand-copy small { font-size: .52rem; }
  .brand img { width: 32px; height: 32px; }
  .menu-button { width: 44px; height: 44px; }
  .page-hero-grid > *, .page-two-column > *, .page-cta-grid > * { min-width: 0; }
  .kicker, .eyebrow { display: block; overflow-wrap: anywhere; }
  .kicker::before, .eyebrow::before, .kicker > span { display: block; margin-bottom: 10px; }

  .hero-lab { padding-top: 20px; }
  .hero-lab-grid { gap: 18px; }
  .hero-statement { min-height: auto; padding: 14px 0 30px; }
  .dispatch-line { margin-bottom: 30px; }
  .hero-statement h1 { max-width: 98%; }
  .hero-lede, .hero-actions { margin-left: 0; }
  .hero-lede { margin-top: 23px; font-size: .96rem; }
  .hero-actions { display: grid; gap: 9px; margin-top: 25px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .plain-action { justify-content: center; }
  .service-ledger { margin-top: 28px; padding-top: 0; }
  .service-ledger dd { font-size: .64rem; }
  .service-ledger div { padding-right: 7px; }
  .service-ledger div + div { padding-left: 7px; }
  .hero-case { width: calc(100% + 14px); margin-left: -7px; transform: none; }
  .case-photo { height: 440px; }
  .hero-case figcaption { min-height: 70px; }
  .hero-ticker { font-size: .8rem; line-height: 38px; }

  .damage-lab, .method-sheet, .material-truth, .photo-desk, .trust-ledger, .quote, .page-section { padding: 76px 0; }
  .lab-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .lab-heading > div { gap: 20px; }
  .lab-heading > div p { font-size: .86rem; }
  .inspection-board { box-shadow: 6px 6px 0 var(--oxblood); }
  .inspection-photo { min-height: 510px; }
  .hotspot { min-height: 39px; padding-right: 7px; }
  .hotspot b { max-width: 74px; font-size: .57rem; line-height: 1.1; }
  .hotspot-scratch { top: 16%; left: 6%; }
  .hotspot-tear { top: 41%; right: 4%; }
  .hotspot-color { bottom: 27%; left: 4%; }
  .hotspot-peeling { right: 5%; bottom: 7%; }
  .diagnosis { padding: 25px 19px 28px; }
  .diagnosis-notes div { grid-template-columns: 90px 1fr; gap: 12px; }

  .method-grid, .material-grid, .trust-grid, .quote-grid { gap: 52px; }
  .method-heading h2, .material-title h2, .quote-copy h2 { margin-top: 20px; }
  .work-order-row { grid-template-columns: 78px 1fr; gap: 6px 13px; }
  .work-order-row p { font-size: .82rem; }
  .material-lead { margin-bottom: 35px; }
  .material-columns > div { grid-template-columns: 1fr; gap: 7px; }

  .photo-desk-grid { gap: 45px; }
  .contact-sheet { min-height: 510px; }
  .photo-card { border-width: 5px; }
  .photo-card-wide { width: 83%; height: 300px; }
  .photo-card-close { width: 51%; height: 315px; }
  .contact-sheet-note { bottom: 12px; width: 55%; padding: 14px; }
  .contact-sheet-note p { font-size: .64rem; }
  .photo-desk-copy .button { width: 100%; }

  .local-strip { padding: 75px 0; }
  .local-strip-grid { grid-template-columns: 1fr; gap: 38px; }
  .radius-mark { width: 230px; gap: 13px; padding: 27px; transform: rotate(-3deg); }
  .radius-mark strong { font-size: 5.8rem; }
  .specialist-note { grid-template-columns: 84px 1fr; gap: 19px; }
  .specialist-monogram { width: 84px; height: 116px; font-size: 4rem; }
  .telegram-proof article + article { margin-left: 13px; }

  .quote-form { padding: 22px 15px; box-shadow: 6px 6px 0 var(--cobalt); }
  .preview-notice, .field-row { grid-template-columns: 1fr; }
  .file-picker { align-items: stretch; flex-direction: column; }
  .file-picker b { justify-content: center; }
  .footer-main, .footer-grid, .footer-links { grid-template-columns: 1fr; }
  .footer-main, .footer-grid { gap: 30px; }
  .footer-meta { grid-column: 1; }
  .footer-bottom { display: grid; gap: 7px; }

  .page-hero { padding: 68px 0 62px; }
  .page-hero h1 { font-size: clamp(2.8rem,13vw,3.75rem); }
  .page-hero-grid { gap: 38px; }
  .page-area .page-hero-aside { width: min(100%,290px); justify-self: center; padding: 34px; transform: rotate(2deg); }
  .page-color .page-hero-aside { transform: none; }
  .page-contact .page-hero-aside, .page-scratches .page-hero-aside, .process-ticket, .material-hero-note { box-shadow: 5px 5px 0 var(--ink); }
  .page-about .page-hero-aside { min-height: 230px; }
  .service-grid, .area-grid-cards, .page-cta-grid { grid-template-columns: 1fr; }
  .resource-index { padding: 72px 0; }
  .resource-index-heading { margin-bottom: 34px; }
  .resource-lines a { grid-template-columns: 38px minmax(0,1fr); gap: 14px; padding: 19px 0; }
  .resource-lines strong { font-size: 1.08rem; }
  .resource-lines small { grid-column: 2; padding-bottom: 0; }
  .service-card:nth-child(1) { grid-row: auto; min-height: 290px; }
  .service-card:nth-child(odd), .area-card { border-right: 0; }
  .page-cta .button { width: 100%; }
  .route-ledger article, .shot-row, .material-row { grid-template-columns: 50px 1fr; gap: 17px; padding: 27px 0; }
  .route-ledger article > span { padding-top: 5px; }
  .route-ledger small, .material-row aside { grid-column: 1 / -1; }
  .decision-grid > div { min-height: 0; padding: 68px 14px; }
  .photo-guide-hero, .material-hero { padding: 70px 0 76px; }
  .photo-guide-hero-grid, .material-hero-grid { gap: 45px; }
  .guide-stack { min-height: 470px; }
  .guide-stack figure:first-child { width: 82%; height: 285px; }
  .guide-stack figure:nth-child(2) { width: 52%; height: 300px; }
  .guide-stack > span { bottom: 20px; max-width: 48%; }
  .light-bad { padding: 26px 21px; }
  .guide-details dl > div, .finish-grid dl > div { grid-template-columns: 105px 1fr; gap: 16px; }
  .label-map span { min-height: 120px; padding: 12px; font-size: .78rem; }
  .warning-grid .button { width: 100%; }
  .field-row { grid-template-columns: minmax(0,1fr); }
  .field, .field input, .field select, .field textarea { min-width: 0; }
  .file-picker:has(.file-title) { grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "help" "action"; }
  .file-action { justify-content: center; margin-top: 12px; }
  .legal-page .header-inner { min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding-block: 10px; }
  .legal-page .header-tools { margin-left: auto; }
  .legal-page .nav-action { width: 100%; min-height: 42px; grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}
